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

Henk D. Schoneveld belcampo at zonnet.nl
Wed Feb 17 20:43:45 CET 2016

On 17 Feb 2016, at 20:43, Henk D. Schoneveld <belcampo at zonnet.nl> wrote:

> On 17 Feb 2016, at 20:32, Marton Balint <cus at passwd.hu> wrote:
>> On Tue, 16 Feb 2016, Henk D. Schoneveld wrote:
>>> On 16 Feb 2016, at 14:40, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
>>>> Henk D. Schoneveld <belcampo <at> zonnet.nl> writes:
>>>>> Stream #0:5 -> #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
>>>> It seems that this is only the effect of my incorrect autodetection patch, it works for samples with correctly signaled teletext.
>>>> You could try the patch Marton posted today (instead of mine):
>>>> "avformat/dvbtxt: add raw demuxer for dvb teletext probing”
>>> I applied the patch, behaviour the same. My probably/maybe ‘crippled’ source files work fine with telxcc/srt and ffmpeg as long as ass and mkv as destination are chosen.
>>> What I don’t understand is what makes ass -> mkv work and mov_text -> mp4 fail. What is the relation between one and the other. ffmpeg can decode dvb_teletext, is able to put it in ass format and NOT in mov_text format. It doesn’t make much sense to me.
>> Okay, I think I hunted this down, the problem is that the probed dvb teletext stream is only detected during avformat_find_stream_info and is not present after avformat_open_input, therefore it has no options set, so the codec defaults to a bitmap output, which has no avctx->subtitle_header, therefore mov_text encoding fails.
> ding <-> thinking, the order might be crucial ;-)
doing of course
>> I'll submit a patch which changes the order of initializations in ffmpeg.c and fixes this issue.
> That would be great
> Henk
>> Regards,
>> Marton
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20160217/a5168e2b/attachment.sig>

More information about the ffmpeg-user mailing list