[FFmpeg-user] FFmpeg stops at once after start streaming
Byte
kirill89 at gmail.com
Tue Apr 15 09:47:54 CEST 2014
I use FFmpeg like this:
ffmpeg -i "http://xxx/mpegts" -map 0:2 -map 0:0 -vcodec copy -acodec
copy -f flv rtmp://localhost/live/xxx
At once after start i see this:
ffmpeg version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c)
2000-2013 the Libav developers
built on Feb 6 2014 20:56:59 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in
a future release. Please use avconv instead.
[h264 @ 0xdec460] non-existing PPS referenced
[h264 @ 0xdec460] non-existing PPS 0 referenced
[h264 @ 0xdec460] decode_slice_header error
[h264 @ 0xdec460] no frame!
... (previous 4 lines repeats 5-6 times)
[mpegts @ 0xde27a0] max_analyze_duration reached
[mpegts @ 0xde27a0] Estimating duration from bitrate, this may be
inaccurate
Input #0, mpegts, from 'http://xxx/mpegts':
Duration: N/A, start: 63077.826856, bitrate: 255 kb/s
Program 1
Stream #0.0[0x44](eng): Audio: aac, 48000 Hz, stereo, s16, 122 kb/s
Stream #0.1[0x45](rus): Audio: aac, 48000 Hz, stereo, s16, 132 kb/s
Stream #0.2[0x46]: Video: h264 (Constrained Baseline), yuv420p,
720x576 [PAR 64:45 DAR 16:9], 26.51 fps, 25 tbr, 90k tbn, 50 tbc
Output #0, flv, to 'rtmp://localhost/live/xxx':
Metadata:
encoder : Lavf53.21.1
Stream #0.0: Video: [7][0][0][0] / 0x0007, yuv420p, 720x576 [PAR
64:45 DAR 16:9], q=2-31, 1k tbn, 25 tbc
Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, 122 kb/s
Stream mapping:
Stream #0.2 -> #0.0
Stream #0.0 -> #0.1
Press ctrl-c to stop encoding
developer at myhost:
And it is all. Process stops. In RTMP server i see new connection what at
once disconnected.
What may be wrong?
Thanks.
More information about the ffmpeg-user
mailing list