[FFmpeg-user] Which command line can do dvb_teletext from ts to mp4
Henk D. Schoneveld
belcampo at zonnet.nl
Mon Feb 15 21:44:40 CET 2016
On 15 Feb 2016, at 20:43, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Henk D. Schoneveld <belcampo <at> zonnet.nl> writes:
>
>> 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
>
> The following works fine here, I will try to find out
> what fails with mov_text..
> $ ffmpeg -txt_format text -txt_page 888 -i test.ts
> -vcodec copy -acodec copy out.mkv
It ‘works' but unfortunately not as expected.
ffprobe -i base.mkv
ffprobe version N-78441-g4c44972 Copyright (c) 2007-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
[matroska,webm @ 0x24d8ba0] Failed to open codec in av_find_stream_info
[h264 @ 0x24db6a0] mmco: unref short failure
Last message repeated 1 times
[h264 @ 0x24db6a0] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 0x24db6a0] Increasing reorder buffer to 2
Input #0, matroska,webm, from 'base.mkv':
Metadata:
ENCODER : Lavf57.25.100
Duration: 00:03:32.40, start: 0.088000, bitrate: 3404 kb/s
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
Metadata:
DURATION : 00:03:03.480000000
Stream #0:1(dut): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
Metadata:
DURATION : 00:03:02.744000000
Stream #0:2: Subtitle: ass (default)
Metadata:
ENCODER : Lavc57.24.102 ass
DURATION : 00:03:32.400000000
Could not open codec for input stream 2
vlc shows 2 subtitle streams where when the 1st one is chosen the subtitles display above each other, filling the screen. 3 subtitles on 1 screen at about 00:39 in the mov file, the ‘next’ subtitle is placed above the ‘former’.
mkvtoolnix ‘says’ it’s not recognized as a supported format (exit code 2).
I’m on OSX and I use subler for mkv2mp4/ass2mov_text conversion, it accepts the mkv, but the resulting mp4 with mov_text also shows the subtitles filling the screen.
Henk
>
> 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