[FFmpeg-devel] [PATCH] streamid does not work with newaudio, newvideo, newsubtitle (issue 2465)
Mike Scheutzow
mjs973
Wed Feb 2 17:54:54 CET 2011
Luca Barbato wrote:
> On 01/15/2011 06:11 PM, Mike Scheutzow wrote:
>
>> Attached is a patch to fix roundup bug 2465.
>>
>> The problem is that the ffmpeg (the app) -streamid option did not work
>> with -newaudio/-newvideo/-newsubtitle.
>>
>> The cause was a conflict between the feature where streamid values were
>> reset to default for each output filename, and the implementation of
>> -new*, which requires that the -new* option be specified after the
>> target filename.
>>
>> My patch changes the ffmpeg behavior so that user-specified streamid
>> values apply to all the following output files on the command line
>> (rather than just the next output filename.)
>>
>
> Thank you, could you please provide a command line example so everybody
> is on the same page while trying it?
>
> lu
>
>
# infile.ts has one video and two audio streams
ffmpeg -i infile.ts -streamid 0:33 -streamid 1:36 -streamid 2:37 -vcodec
copy -acodec copy out.ts -newaudio
Mike Scheutzow
More information about the ffmpeg-devel
mailing list