Hany,

On Tue, Aug 09, 2016 at 11:22:37 +0000, Eng.Hany Ahmed wrote:
> ffmpeg version 2.4.3-1ubuntu1~trusty6 Copyright (c) 2000-2014 the FFmpeg 
> developers

Reto and I *did* point out that this is very old, right?

> root@iptv:~# ffmpeg -scodec text -txt_page -txt_format -i  
> "http://85:5454@159.8.154.85:5455/Gold"; -map 0:0 -map 0:1 -r 30 -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/Gold

I had written:
> > 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

Where is that reflected in your command line? Did you read my email????

>     Stream #0:0[0x917]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), 
> yuv420p(tv), 720x576 [SAR 16:15 DAR 4:3], 10000 kb/s, 25 fps, 25 tbr, 90k 
> tbn, 50 tbc
>     Stream #0:1[0x919](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, 
> stereo, s16p, 185 kb/s
>     Stream #0:2[0x91b](NAR): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, 
> stereo, s16p, 124 kb/s
>     Stream #0:3[0x918](eng,eng): Subtitle: text ([6][0][0][0] / 0x0006)

Your input has four streams. Your command line has "-map 0:0 -map 0:1",
so you are not even mapping the subtitle stream, which is 0:3. That's
why your ffmpeg output says:

> Codec AVOption txt_page (list of teletext page numbers to decode, * is all) 
> specified for input file #0 (http://85:5454@159.8.154.85:5455/Gold) has not 
> been used for any stream. The most likely reason is either wrong type (e.g. a 
> video option with no video streams) or that it is a private option of some 
> decoder which was not actually used for any stream.

Hany, you actually need to *read*. Read our answers and read the
2warnings and error messages. They are useful and they are there for a
reason!

And you need to update your ffmpeg. If you can't build and can't find a
repository, do check here:
http://johnvansickle.com/ffmpeg/

Last question: Any particular reason for using "-r 30"? Why bother?

Moritz
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to