On date Tuesday 2016-06-28 11:42:42 +0200, Nicolas George encoded: > Le decadi 10 messidor, an CCXXIV, Stefano Sabatini a écrit : > > +The fftextdata bytestream consists of a sequence of packets. Each > > +packet starts with a timestamps expressed in a format recognized by > > +FFmpeg (see > > +@ref{time duration syntax,,the Time duration section in the > > ffmpeg-utils(1) manual,ffmpeg-utils}) > > +followed by a sequence of spaces and the base64 encoded data for the > > +packet, terminated by ";". The data representation may contain > > +interleaved space characters (a space, a tab, or a newline) which are > > +ignored. > > + > > +At the moment a single stream can be represented by an fftextdata > > +bytestream. >
> I like the idea very much, but I feel the format is not very sympathetic to > future extensions. > > I had implemented a similar feature in the past, but I did not go to the > end. My idea was to use the default output format of ffprobe (thus, > hexadecimal rather than base64). The parser works, but I was stuck with the > problem that ffprobe outputs -show_format after -show_packets. I can post > the old patch on the list if you want. Sorry, I missed the reply. Sure, post the patch here if you can find it. Another possibility I'm exploring is using option serialization to specify the input format options - but this also will add a dependency on the FFmpeg version. In my use case, I don't care about compatibility issues, since the format is only used to inject data into other containers, so it's not used for archiviation (given the base64 encoding it would not be very efficient for that purpose). -- FFmpeg = Faithful and Foolish MultiPurpose Ecumenical Gangster _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel