[FFmpeg-user] Stream Channel With ٍSubtitle
Moritz Barsnick
barsnick at gmx.net
Mon Aug 8 11:22:32 EEST 2016
On Mon, Aug 08, 2016 at 00:19:54 +0000, Eng.Hany Ahmed wrote:
> root at iptv:~# ffmpeg -i "http://85:5454@159.8.154.85:5455/RTL8" -map 0:0 -map 0:1 -scodec text -txt_page -txt_format -vcodec libx264 -maxrate 1300k -bufsize 1500k -vprofile high -vf yadif,hqdn3d=1.5:1.5:6:6 -threads 12 -preset veryfast -acodec aac -ar 44100 -ab 128k -strict experimental -f flv rtmp://127.0.0.1:9001/live/rtl8
[...]
> Codec AVOption txt_page (list of teletext page numbers to decode, * is all) specified for output file #0 (rtmp://127.0.0.1:9001/live/rtl8x) is not an encoding option.
As the message says, "-txt_page" and "-txt_format" are input options,
i.e. you need to place them before the input url ("-i").
Furthermore, both options need parameters, see the documentation here:
https://www.ffmpeg.org/ffmpeg-codecs.html#libzvbi_002dteletext
In other words, you need to specify the teletext format:
-txt_format text
and you need to specify on which teletext page the subtitles are to be
found, for example:
-txt_page 777
> ffmpeg version 2.4.3-1ubuntu1~trusty6 Copyright (c) 2000-2014 the FFmpeg developers
> built on Nov 22 2014 17:07:19 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
You do realize that this version is extremely old? If you encounter
further issues with it, we kindly ask you to update to a very recent
version (preferably git HEAD) before asking. (As you have been told
before...)
Cheers,
Moritz
More information about the ffmpeg-user
mailing list