Re: yuv4mpeg API audio extensions
Burkhard Plaum <[email protected]> Mon, 22 Oct 2007 14:09:11 +0200
| Newsgroups | gmane.comp.video.mjpeg.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, David McNab schrieb: [...] > I'm willing to work on some patches to the mjpegtools yuv4mpeg api to > add support for audio muxing/demuxing. What you suggested above, is a very hacky approach, but a clean way is not possible without changing the stream specifications (or better define a YUV4MPEG2 multiplex format in addition to the existing elementary video format). The question is, why do you need that? All the existing filters are video only, and are made for usage in traditional Unix-pipe manner, which makes most sense, if you have only one stream per file. And for (un)packing audio along with video in Quicktime files, there are the qttoy4m and y4mtoqt tools, with the advantage that Quicktime files are also compatible with commercial applications (although they cannot be used in pipes). I'm not an mjpeg developer so my opinion counts nothing here, but I wrote enough (de-)multiplexers to know a bit about them. Ahh, and if someone defines such a multiplex format, don't forget - per-frame timestamps - arbitrary numbers or A/V streams - Sample accurate seek support :) Burkhard ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/