[FFmpeg-devel] MPEG-PS and "-shortest" behavior

Michael Niedermayer michaelni
Fri Jun 29 12:00:49 CEST 2007


Hi

On Thu, Jun 28, 2007 at 11:49:21AM +0200, herve.flores wrote:
> Hi,
> when I mux a short audio stream and a long video stream to mpeg-dvd,  
> the resulting vob stops at the end of the first stream (like the  
> behavior of the "-shortest" parameter but whitout specify it)
> I don't know if it's a bug, a lack of feature or normal, but some dev  
> are working on PES code actually (and this behavior is old).
> 
> PS: it's just an info for devs (I didn't post to the wrong mailing  
> list, I don't need a soluce ;-))
> 
> there is a short audio if you want to do a test (half a second)
> ffmpeg -i audio_vide.ac3 -acodec copy -i (any input m2v) -vcodec copy  
> -f dvd -y output.mpg
> 
> resulting stream is always 13 frames (= 100KB with my input.m2v)
> extract of the verbose:
> [...]
> FFmpeg version SVN-r9447, Copyright (c) 2000-2007 Fabrice Bellard, et  
> al.
> [...]
> frame=31016 fps= 39 q=0.0 size=     100kB time=1.0 bitrate= 825.8kbits/s

well as you post to the devel list, heres a appropriate devel awnser
RTFS / add av_log() around opt_shortest and eof_reached and tell us why
it doesnt work

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070629/9bebf4da/attachment.pgp>



More information about the ffmpeg-devel mailing list