[FFmpeg-user] ffmpeg ussing tee

Javier Fuentes jfuentes at flumotion.com
Tue Apr 2 21:34:09 EEST 2019


Hello Michael
When   I tried using only one rtmp works fine, without problem
Thanks
Best regards


El mar., 2 abr. 2019 19:48, Micael Silva <micaelsilva at gmail.com> escribió:

> On Tue, Apr 2, 2019 at 2:01 PM Javier Fuentes <jfuentes at flumotion.com>
> wrote:
>
> > Hello
> >
> > I'm trying to re-publish the same flow twice but I could not get it
> > This is my pipeline:
> >
> > ffmpeg -i http://app.opentest.es/test/index.m3u8 -vcodec copy -acodec
> > libfdk_aac  -ac 2 -ar 48000 -f tee -map 0:v -map 0:a \
> > "[f=flv]rtmp://
> >
> >
> xxxxx:xxxxx at p.epxxxxx.i.akamaientrypoint.net/EntryPoint/streamtv_1_400 at xxxxx
> > flashver=FMLE/3.0\20(compatible
> > <
> http://xxxxx:xxxxx@p.epxxxxx.i.akamaientrypoint.net/EntryPoint/streamtv_1_400@xxxxxflashver=FMLE/3.0%5C20(compatible
> >;\20FMSc/1.0)
> > live=true |[f=flv]rtmp://
> > xxxx:xxxx at b.ep.i.akamaientrypoint.net/EntryPoint/streamtv_1_400 at xxxxxx
> > flashver=FMLE/3.0\20(compatible
> > <
> http://xxxx:xxxx@b.ep.i.akamaientrypoint.net/EntryPoint/streamtv_1_400@xxxxxxflashver=FMLE/3.0%5C20(compatible
> >;\20FMSc/1.0)
> > live=true"
> >
> > what i doing wrong?
> > Thanks in advance
> > Best regards
> >
> > My output:
> > ffmpeg version n3.0 Copyright (c) 2000-2016 the FFmpeg developers
> >   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
> >   configuration: --prefix=/root/ffmpeg_build
> > --extra-cflags=-I/root/ffmpeg_build/include
> > --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin
> > --pkg-config-flags=--static --enable-gpl --enable-nonfree
> > --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame
> > --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264
> > --enable-libx265 --enable-libtheora --enable-filters --disable-shared
> > --enable-static --disable-outdev=xv --disable-indev=x11grab_xcb
> > --disable-libxcb --disable-xlib
> >   libavutil      55. 17.103 / 55. 17.103
> >   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
> > [h264 @ 0x33c1500] Increasing reorder buffer to 2
> > [mpegts @ 0x33bfc80] Could not find codec parameters for stream 4
> (Unknown:
> > none ([5][0][0][0] / 0x0005)): unknown codec
> > Consider increasing the value for the 'analyzeduration' and 'probesize'
> > options
> > [hls,applehttp @ 0x33b9460] Could not find codec parameters for stream 4
> > (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
> > Consider increasing the value for the 'analyzeduration' and 'probesize'
> > options
> > Input #0, hls,applehttp, from '
> http://app.openchannel.es/tdphd/index.m3u8
> > ':
> >   Duration: N/A, start: 56478.645267, bitrate: N/A
> >   Program 0
> >     Metadata:
> >       variant_bitrate : 3706000
> >     Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv,
> > bt709), 1920x1080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc
> >     Metadata:
> >       variant_bitrate : 3706000
> >     Stream #0:1: Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo,
> > fltp, 256 kb/s
> >     Metadata:
> >       variant_bitrate : 3706000
> >     Stream #0:2: Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo,
> > fltp, 192 kb/s
> >     Metadata:
> >       variant_bitrate : 3706000
> >     Stream #0:3: Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
> >     Metadata:
> >       variant_bitrate : 3706000
> >     Stream #0:4: Unknown: none ([5][0][0][0] / 0x0005)
> >     Metadata:
> >       variant_bitrate : 3706000
> > [rtmp @ 0x36c6aa0] Detected librtmp style URL parameters, these aren't
> > supported by the libavformat internal RTMP handler currently enabled. See
> > the documentation for the correct way to pass parameters.
> > [rtmp @ 0x36c6aa0] Ignoring unsupported var reason
> > [flv @ 0x35cbf60] Tag [27][0][0][0]/0x0000001b incompatible with output
> > codec id '28' ([7][0][0][0])
> > [tee @ 0x33d95e0] Slave '[f=flv]rtmp://
> > xxxxxx:xxxx at p.epxxxxx.i.akamaientrypoint.net/EntryPoint/streamtv at xxxxxxx
> > flashver=FMLE/3.020(compatible;20FMSc/1.0)
> > <
> http://xxxxxx:xxxx@p.epxxxxx.i.akamaientrypoint.net/EntryPoint/streamtv@xxxxxxxflashver=FMLE/3.020(compatible;20FMSc/1.0)
> >
> > live=true': error writing
> > header: Invalid data found when processing input
> > Output #0, tee, to '[f=flv]rtmp://
> > xxxxx:xxxxx at p.epxxxxx.i.akamaientrypoint.net/EntryPoint/streamtv at xxxxxx
> > flashver=FMLE/3.0\20(compatible
> > <
> http://xxxxx:xxxxx@p.epxxxxx.i.akamaientrypoint.net/EntryPoint/streamtv@xxxxxxflashver=FMLE/3.0%5C20(compatible
> >;\20FMSc/1.0)
> > live=true |[f=flv]rtmp://
> > xxxx:xxxxx at b.epxxxxx.i.akamaientrypoint.net/EntryPoint/streamtv at xxxxxxxx
> > flashver=FMLE/3.0\20(compatible
> > <
> http://xxxx:xxxxx@b.epxxxxx.i.akamaientrypoint.net/EntryPoint/streamtv@xxxxxxxxflashver=FMLE/3.0%5C20(compatible
> >;\20FMSc/1.0)
> > live=true':
> >   Metadata:
> >     encoder         : Lavf57.25.100
> >     Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 1920x1080
> > [SAR 1:1 DAR 16:9], q=2-31, 50 fps, 50 tbr, 25 tbn, 25 tbc
> >     Metadata:
> >       variant_bitrate : 3706000
> >     Stream #0:1: Audio: aac (libfdk_aac), 48000 Hz, stereo, s16, 139 kb/s
> >     Metadata:
> >       variant_bitrate : 3706000
> >       encoder         : Lavc57.24.102 libfdk_aac
> >     Stream #0:2: Audio: aac (libfdk_aac), 48000 Hz, stereo, s16, 139 kb/s
> >     Metadata:
> >       variant_bitrate : 3706000
> >       encoder         : Lavc57.24.102 libfdk_aac
> > Stream mapping:
> >   Stream #0:0 -> #0:0 (copy)
> >   Stream #0:1 -> #0:1 (eac3 (native) -> aac (libfdk_aac))
> >   Stream #0:2 -> #0:2 (eac3 (native) -> aac (libfdk_aac))
> > Could not write header for output file #0 (incorrect codec parameters ?):
> > Invalid data found when processing input
> >
> >
> Maybe the @ in the playpath of the Akamai entrypoint is misinterpreted by
> the ffmpeg parser as user or password and causes sending wrong credentials
> at connect. Try connecting to a server that doesnt use credentials, like
> YouTube, to check first if the connection can be made without it.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list