joolzg at btinternet.com
Wed Oct 10 19:35:29 CEST 2012
----- Original Message -----
> From: Michael Niedermayer <michaelni at gmx.at>
> To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
> Sent: Wednesday, 10 October 2012, 2:07
> Subject: Re: [FFmpeg-devel] mpegts.c
> On Wed, Oct 10, 2012 at 12:05:10AM +0100, JULIAN GARDNER wrote:
>> > From: Michael Niedermayer <michaelni at gmx.at>
>> >To: FFmpeg development discussions and patches
> <ffmpeg-devel at ffmpeg.org>
>> >Sent: Wednesday, 10 October 2012, 0:24
>> >Subject: Re: [FFmpeg-devel] mpegts.c
>> >On Tue, Oct 09, 2012 at 08:46:03PM +0100, JULIAN GARDNER wrote:
>> >> Im fixing a few problems in mpegts decoding and i need a little
>> >> I want to add an auto MAP function so you can say that you want
> audio in gre, for greek, and the mpegts system will scan the pmt and find this
> and set the mapping up correctly to use greek, but i have 2 options.
>> >> 1. remap the pids so the correct one is at the start of the stream
>> >> 2. same idea as -map, but will need a little hand here
>> >i think this is best done outside mpegts similarly to -map
>> So where would be the best place to add this?
> look at avformat_match_stream_specifier()
> if i understood you correctly it can be implemented in that quite
Thanks again, code in and working for this with one caveat, if i do a like like this, ive used ! as the language marker, dont know if this is ok, if you would like something different just let me know
ffmpeg -i xx.ts -b v:1000k -map "!a:eng" -f mpegts -t a.ts
I lose the video stream, and then need to add a -map 0:0 which causes problems when the video is not the 1st stream, can you think of a way around this?
One more thing, ive been looking at the DVBSubs overlay and im trying to find the filter-complex parser that deals wth the [#'0x123] decoding, i dont seem to be able to locate this as i would like to add in the language parsing there as well.
More information about the ffmpeg-devel