Hi again
this is not work with this stream i wrote the full command and the output log
without cut in the attachment file please tell me why not work
thank you
Best Regards ,
> Date: Mon, 8 Aug 2016 10:22:32 +0200
> From: [email protected]
> To: [email protected]
> Subject: Re: [FFmpeg-user] Stream Channel With ٍSubtitle
>
> On Mon, Aug 08, 2016 at 00:19:54 +0000, Eng.Hany Ahmed wrote:
> > root@iptv:~# ffmpeg -i "http://85:[email protected]: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
> _______________________________________________
> ffmpeg-user mailing list
> [email protected]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [email protected] with subject "unsubscribe".
root@iptv:~# ffmpeg -scodec text -txt_page -txt_format -i
"http://85:[email protected]: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
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)
configuration: --prefix=/usr --extra-version='1ubuntu1~trusty6'
--build-suffix=-ffmpeg --toolchain=hardened --extra-cflags= --extra-cxxflags=
--libdir=/usr/lib/x86_64-linux-gnu --shlibdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared
--disable-stripping --enable-avresample --enable-avisynth --enable-fontconfig
--enable-gnutls --enable-ladspa --enable-libass --enable-libbluray
--enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite
--enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm
--enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus
--enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine
--enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-opengl --enable-x11grab --enable-libxvid --enable-libx265
--enable-libdc1394 --enable-libiec61883 --enable-libzvbi --enable-libzmq
--enable-frei0r --enable-libx264 --enable-libsoxr --enable-openal
--enable-libopencv
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
[mp3 @ 0x872ec0] Header missing
[mp3 @ 0x8723e0] Header missing
Input #0, mpegts, from 'http://85:[email protected]:5455/Gold':
Duration: N/A, start: 52930.010633, bitrate: 10309 kb/s
Program 6504
Metadata:
service_name : GOLD
service_provider: BSkyB
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)
Codec AVOption txt_page (list of teletext page numbers to decode, * is all)
specified for input file #0 (http://85:[email protected]: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.
[libx264 @ 0x8a1ba0] using SAR=16/15
[libx264 @ 0x8a1ba0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0x8a1ba0] profile High, level 3.1
[libx264 @ 0x8a1ba0] 264 - core 142 r2389 956c8d8 - H.264/MPEG-4 AVC codec -
Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=1
deblock=1:0:0 analyse=0x3:0x113 me=hex subme=2 psy=1 psy_rd=1.00:0.00
mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11
fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=4 sliced_threads=0
nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3
b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1
keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf
mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=1300
vbv_bufsize=1500 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
Output #0, flv, to 'rtmp://127.0.0.1:9001/live/Gold':
Metadata:
encoder : Lavf56.4.101
Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p,
720x576 [SAR 16:15 DAR 4:3], q=-1--1, max. 1300 kb/s, 30 fps, 1k tbn, 30 tbc
Metadata:
encoder : Lavc56.1.100 libx264
Stream #0:1(eng): Audio: aac ([10][0][0][0] / 0x000A), 44100 Hz, stereo,
fltp, 128 kb/s
Metadata:
encoder : Lavc56.1.100 aac
Stream mapping:
Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (mp2 (native) -> aac (native))
Press [q] to stop, [?] for help
[mp2 @ 0x87c7a0] Header missing
Error while decoding stream #0:1: Invalid data found when processing input
frame= 25 fps=0.0 q=0.0 size= 0kB time=00:00:01.13 bitrate=
2.9kbits/s frame= 34 fps= 34 q=29.0 size= 49kB time=00:00:01.65 bitrate=
245.5kbits/sframe= 55 fps= 31 q=27.0 size= 166kB time=00:00:02.41
bitrate= 562.8kbits/sframe= 67 fps= 29 q=29.0 size= 231kB
time=00:00:02.92 bitrate= 646.9kbits/sframe= 79 fps= 28 q=29.0 size=
300kB time=00:00:03.39 bitrate= 723.9kbits/sframe= 93 fps= 27 q=29.0 size=
383kB time=00:00:04.08 bitrate= 768.0kbits/sframe= 115 fps= 29 q=29.0 size=
482kB time=00:00:04.62 bitrate= 854.9kbits/s[flv @ 0x8a0f00] Failed to update
header with correct duration.
[flv @ 0x8a0f00] Failed to update header with correct filesize.
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".