[FFmpeg-user] Which command line can do dvb_teletext from ts to mp4

Moritz Barsnick barsnick at gmx.net
Mon Feb 15 16:03:00 CET 2016


On Mon, Feb 15, 2016 at 14:12:12 +0100, Henk D. Schoneveld wrote:
> Input #0, mpegts, from 'base.ts':
>   Duration: 00:58:00.67, start: 81768.399578, bitrate: 5178 kb/s
>   Program 1 
>     Stream #0:0[0x20d]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
>     Stream #0:1[0x69](dut): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp, 384 kb/s
>   No Program
>     Stream #0:2[0x2b]: Subtitle: dvb_teletext, 492x250
> Stream map '0:p:0x2b' matches no streams.
> To ignore this, add a trailing '?' to the map.

The syntax "0:p:" want a program ID, which is "1" in your case
(reported as "Program 1"). The option suffix is the stream *index*,
which would be "2" again. So you could use "0:p:1:2" instead of "0:2"
(since you have only one program in your input).

> I also added -map 0:i:0x378 to the command line with exactly the same result.

No wonder, I see only stream IDs 0x20d, 0x69, 0x2b in your input, no
0x378. So you may have wanted to specify: "0:i:0x2b". ("It works for
me.(tm)").

Moritz


More information about the ffmpeg-user mailing list