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

Michael Niedermayer michaelni
Wed Oct 24 12:11:28 CEST 2007


Hi

On Tue, Oct 23, 2007 at 11:14:56PM +0200, Nico Sabbi wrote:
> hand-replied
> 
> Michael Niedermayer  wrote:
> >> @@ -1476,6 +1501,14 @@
> >>                  }
> >>  
> >>              } else {
> >> +                if(opt_programid) {
> >> +                    found = 0;
> >> +                    j = stream_index_from_inputs(input_files, 
> >nb_input_files, file_table, ost->st->codec->codec_type, 
> >opt_programid);
> >> +                    if(j != -1) {
> >> +                        ost->source_index = j;
> >> +                        found = 1;
> >> +                    }
> >> +                } else {
> 
> >wont this fail if there are more than 1 audio (or video) stream?
> 
> no, why? moreover it's the same code as in the block of the ordinary
> selection

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

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- 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/20071024/8af1857e/attachment.pgp>



More information about the ffmpeg-devel mailing list