[FFmpeg-devel] [PATCH] better reporting of programs

Michael Niedermayer michaelni
Fri Oct 26 02:59:31 CEST 2007


On Thu, Oct 25, 2007 at 11:34:48PM +0200, Nico Sabbi wrote:
> Michael Niedermayer wrote:
> >hmm,  does ffmpeg -i 2st out.avi -newvideo work?
> >that is if 2st contains 2 video streams and work==copy both instead 
> >of duplicate the first?
> yes: 
> ftp://upload.mplayerhq.hu/MPlayer/samples/MPEG-VOB/sample_aac_streams/er02.ts
> contains 2 video streams (same image but resized).
> I had to add -an because the aac stream is detected incorrectly, but 
> the sample is good enough to test
>  ./ffmpeg -i /mnt/linux/home/nicodvb/tss/aac/er02.ts -an  -vcodec 
> copy -y -f mpegts x2.mpegts   -newvideo

yes but what if both video (or audio) streams are in the same program
and you select just that program (that was actually what i meant though
i see now ive not said that clearly at all)

IIRC the code looked like it would select the "first" stream twice

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071026/7ed814d6/attachment.pgp>

More information about the ffmpeg-devel mailing list