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

Henk D. Schoneveld belcampo at zonnet.nl
Mon Feb 15 16:20:18 CET 2016


On 15 Feb 2016, at 16:08, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Henk D. Schoneveld <belcampo <at> zonnet.nl> writes:
> 
>> Codec AVOption txt_page (list of teletext page numbers to 
>> decode, * is all) specified for output file #0 (base.mp4) 
>> is not an encoding option.
> 
> Please move your input options -txt_page and -txt_format in 
> front of the input file and please always post command line 
> including complete, uncut console output here if you want 
> support.
ffmpeg -y -txt_format text -txt_page 888 -i base.ts -map 0:0 -vcodec copy -map 0:1 -acodec copy -map 0:2 -scodec mov_text base.mp4
ffmpeg version N-78441-g4c44972 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8.2 (GCC)
  configuration: --prefix=/usr --enable-libfdk_aac --enable-libx264 --enable-gpl --enable-nonfree --enable-libzvbi
  libavutil      55. 17.102 / 55. 17.102
  libavcodec     57. 24.102 / 57. 24.102
  libavformat    57. 25.100 / 57. 25.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 31.100 /  6. 31.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[h264 @ 0x3ad3940] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3ad3940] decode_slice_header error
[h264 @ 0x3ad3940] no frame!
[h264 @ 0x3ad3940] non-existing PPS 0 referenced
    Last message repeated 1 times
snip
[h264 @ 0x3ad3940] decode_slice_header error
[h264 @ 0x3ad3940] no frame!
[h264 @ 0x3ad3940] mmco: unref short failure
    Last message repeated 1 times
[h264 @ 0x3ad3940] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 0x3ad3940] Increasing reorder buffer to 2
[mpegts @ 0x3acf4c0] PES packet size mismatch
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
Output #0, mp4, to 'base.mp4':
    Stream #0:0: Video: h264, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 50 tbr, 90k tbn, 90k tbc
    Stream #0:1(dut): Audio: ac3, 48000 Hz, 5.1(side), 384 kb/s
    Stream #0:2: Subtitle: mov_text, 128 kb/s
    Metadata:
      encoder         : Lavc57.24.102 mov_text
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
  Stream #0:2 -> #0:2 (dvb_teletext (libzvbi_teletextdec) -> mov_text (native))
Error while opening encoder for output stream #0:2 - maybe incorrect parameters such as bit_rate, rate, width or height
> 
> Carl Eugen
> 
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list