Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from de.alt.rec.ascii-art, 13 Jan 2006.
Re: Lange angekuendigt ...

Re: Lange angekuendigt ...

David Dahlberg wrote:
> Michael Schierl schrieb:
>>Den ganzen Film speichern w�rde ich in der Tat nicht.
>>
>>Meine spontane Idee w�re ein zur�ckspulen �ber
>>
>>$currframe -= 10;
>>seek(FILE,0,0);
>>skip_frames($currframe-1)
>>
>>zu l�sen (unter der Annahme, dass der erste Frame 1 hei�t).
> 
> Tja, das Problem ist, dass die Frames nicht nummeriert sind.

Ist doch alles so umst�ndlich.

Ich w�rde live bei der Wiedergabe einen Index aufbauen. Am Anfang jedes
Frames:
   if ($frame_zaehler >= @frame_index) {
       push @frame_index, tell(FILE);
   }
(eventuell reicht sogar brutal '$frame_index[$frame_zaehler] =
tell(FILE)', und Perl vergr��ert das Array automatisch).

Zum Springen zu einem Frame dann einfach 'seek(FILE,
$frame_index[$frame_nummer], 0);' Ausgenommen fast-forward zu einem
Frame, der noch nicht gesehen wurde, da muss dann eben die Datei im
Schnelldurchlauf abgespielt werden.


  Stefan

Original message headers
X-Google-Thread: f7c81,3fd96599bf0e183a
X-Google-Attributes: gidf7c81,public
X-Google-Language: GERMAN,ASCII
Path: g2news1.google.com!news2.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!news.arcor.de!not-for-mail
Message-ID: <dq9...@stefan.msgid.phost.de>
Date: Fri, 13 Jan 2006 23:30:19 +0100
From: Stefan Reuther <ste...@arcor.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3.1) Gecko/20030425 Hamster/2.0.6.0
X-Accept-Language: de-de, de, en-us, en
MIME-Version: 1.0
Newsgroups: de.alt.rec.ascii-art
Subject: Re: Lange angekuendigt ...
References: <slr...@judy.das-mehdorn.de.vu> <43c784f5$0$20772$9b4...@newsread4.arcor-online.net> <slr...@hugh.das-mehdorn.de.vu> <43c7d59a$0$21027$9b4...@newsread2.arcor-online.net> <dq9...@dnews.usenetverwaltung.de>
In-Reply-To: <dq9...@dnews.usenetverwaltung.de>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Lines: 32
Organization: Arcor
NNTP-Posting-Date: 13 Jan 2006 23:38:48 MET
NNTP-Posting-Host: c6d8dab0.newsread2.arcor-online.net
X-Trace: DXC=Bf>?YbU2BU0?0I78\m5cj:Q5U85hF6f;4jW\KbG]kaM8Q>n?D9BSA]<b>8@;A6D\V6M?6^XT]KoA5aRfPAT<?J2:
X-Complaints-To: use...@arcor.de
Xref: g2news1.google.com de.alt.rec.ascii-art:76
About this message. This message was posted publicly to the newsgroup de.alt.rec.ascii-art in 2006 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post