[FFmpeg-user] Streaming to ustream/twitch from Raspberry Pi
Matt Conway
conwayxd at gmail.com
Thu Feb 19 14:21:03 CET 2015
Compiled ffmpeg from source with libx264, the same command works from a
windows desktop, below is the output. Trying to stream an RTSP input to
ustream. When streaming from Raspberry Pi 2 it comes out incorrectly on
ustream. I'm not sure if the Pi can support full multiplexing or if I maybe
missed something when compiling.
pi at raspberrypi /usr/src/ffmpeg $ ffmpeg -i rtsp://
root:FishAxisFood12 at 192.168.0.4/axis-media/media.amp -an -r 30 -f flv
rtmp://ustreamurl
ffmpeg version N-69945-g2280552 Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.6 (Debian 4.6.3-14+rpi1)
configuration: --arch=armel --target-os=linux --enable-gpl
--enable-libx264 --enable-nonfree
libavutil 54. 18.100 / 54. 18.100
libavcodec 56. 22.100 / 56. 22.100
libavformat 56. 22.100 / 56. 22.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.100 / 5. 11.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, rtsp, from 'rtsp://
root:FishAxisFood12 at 192.168.0.4/axis-media/media.amp?streamprofile=VidWall':
Metadata:
title : Media Presentation
Duration: N/A, start: 0.066644, bitrate: N/A
Stream #0:0: Video: h264 (Baseline), yuvj420p(pc, bt709), 1280x720 [SAR
1:1 DAR 16:9], 30 tbr, 90k tbn, 180k tbc
[swscaler @ 0x1b19bb0] deprecated pixel format used, make sure you did set
range correctly
Output #0, flv, to 'rtmp://ustreamurl:
Metadata:
title : Media Presentation
encoder : Lavf56.22.100
Stream #0:0: Video: flv1 (flv) ([2][0][0][0] / 0x0002), yuv420p,
1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 30 fps, 1k tbn, 30 tbc
Metadata:
encoder : Lavc56.22.100 flv
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> flv1 (flv))
Press [q] to stop, [?] for help
[NULL @ 0x1b23b70] RTP: missed 1350 packetstime=00:00:01.30
bitrate=1240.3kbits/s
[h264 @ 0x1c45770] corrupted macroblock 26 36 (total_coeff=-1)
[h264 @ 0x1c45770] error while decoding MB 26 36
[h264 @ 0x1c45770] concealing 743 DC, 743 AC, 743 MV errors in I frame
[NULL @ 0x1b23b70] RTP: missed 31 packetsB time=00:00:01.46
bitrate=1115.5kbits/s
[h264 @ 0x1c45e30] Cannot use next picture in error concealment
[h264 @ 0x1c45e30] concealing 713 DC, 713 AC, 713 MV errors in P frame
[NULL @ 0x1b23b70] RTP: missed 44 packets
[h264 @ 0x1c464f0] Cannot use next picture in error concealment
[h264 @ 0x1c464f0] concealing 1269 DC, 1269 AC, 1269 MV errors in P frame
[NULL @ 0x1b23b70] RTP: missed 44 packets
[h264 @ 0x1c73720] Cannot use next picture in error concealment
[h264 @ 0x1c73720] concealing 1376 DC, 1376 AC, 1376 MV errors in P frame
[NULL @ 0x1b23b70] RTP: missed 29 packets
[h264 @ 0x1c450b0] Cannot use next picture in error concealment
[h264 @ 0x1c450b0] concealing 726 DC, 726 AC, 726 MV errors in P frame
[NULL @ 0x1b23b70] RTP: missed 17 packetsB time=00:00:06.96 bitrate=
251.9kbits/s
[h264 @ 0x1c450b0] Cannot use next picture in error concealment
[h264 @ 0x1c450b0] concealing 1744 DC, 1744 AC, 1744 MV errors in P frame
[NULL @ 0x1b23b70] RTP: missed 26 packets
[h264 @ 0x1c45770] Cannot use next picture in error concealment
[h264 @ 0x1c45770] concealing 211 DC, 211 AC, 211 MV errors in P frame
[NULL @ 0x1b23b70] RTP: missed 36 packetsB time=00:00:07.36 bitrate=
276.6kbits/s
[h264 @ 0x1c45e30] Cannot use next picture in error concealment
[h264 @ 0x1c45e30] concealing 409 DC, 409 AC, 409 MV errors in P frame
[NULL @ 0x1b23b70] RTP: missed 37 packets
[NULL @ 0x1b23b70] RTP: missed 72 packets
[NULL @ 0x1b23b70] RTP: missed 39 packets
[h264 @ 0x1c73720] Cannot use next picture in error concealment
[h264 @ 0x1c73720] concealing 466 DC, 466 AC, 466 MV errors in P frame
[NULL @ 0x1b23b70] RTP: missed 30 packetsB time=00:00:07.60 bitrate=
280.0kbits/s
[h264 @ 0x1c45770] Cannot use next picture in error concealment
[h264 @ 0x1c45770] concealing 3224 DC, 3224 AC, 3224 MV errors in P frame
[NULL @ 0x1b23b70] RTP: missed 32 packets
[NULL @ 0x1b23b70] RTP: missed 19 packetsB time=00:00:07.96 bitrate=
278.3kbits/s
[h264 @ 0x1c464f0] Cannot use next picture in error concealment
[h264 @ 0x1c464f0] concealing 2957 DC, 2957 AC, 2957 MV errors in P frame
[h264 @ 0x1c450b0] Cannot use next picture in error concealment
[h264 @ 0x1c450b0] concealing 2392 DC, 2392 AC, 2392 MV errors in P frame
[NULL @ 0x1b23b70] RTP: missed 22 packets
[h264 @ 0x1c45e30] Cannot use next picture in error concealment
[h264 @ 0x1c45e30] concealing 3334 DC, 3334 AC, 3334 MV errors in P frame
[NULL @ 0x1b23b70] RTP: missed 34 packets
[NULL @ 0x1b23b70] RTP: missed 17 packets
[h264 @ 0x1c450b0] Cannot use next picture in error concealment
[h264 @ 0x1c464f0] Cannot use next picture in error concealment
[h264 @ 0x1c464f0] concealing 627 DC, 627 AC, 627 MV errors in P frame
[h264 @ 0x1c450b0] concealing 2278 DC, 2278 AC, 2278 MV errors in P frame
[NULL @ 0x1b23b70] RTP: missed 33 packets
[NULL @ 0x1b23b70] RTP: missed 95 packetsB time=00:00:07.96 bitrate=
278.3kbits/s
[NULL @ 0x1b23b70] RTP: missed 67 packets
[h264 @ 0x1c464f0] concealing 3492 DC, 3492 AC, 3492 MV errors in I frame
[h264 @ 0x1c45e30] Cannot use next picture in error concealment
[h264 @ 0x1c45e30] concealing 3176 DC, 3176 AC, 3176 MV errors in P frame
[h264 @ 0x1c73720] Cannot use next picture in error concealment
[h264 @ 0x1c73720] concealing 2564 DC, 2564 AC, 2564 MV errors in P frame
[NULL @ 0x1b23b70] RTP: missed 31 packets
[h264 @ 0x1c450b0] Cannot use next picture in error concealment
[h264 @ 0x1c450b0] concealing 3120 DC, 3120 AC, 3120 MV errors in P frame
[NULL @ 0x1b23b70] RTP: missed 65 packetsB time=00:00:09.66 bitrate=
255.7kbits/s
[h264 @ 0x1c73720] Cannot use next picture in error concealment
[h264 @ 0x1c73720] concealing 2527 DC, 2527 AC, 2527 MV errors in P frame
[NULL @ 0x1b23b70] RTP: missed 27 packetsB time=00:00:10.30 bitrate=
285.8kbits/s
[h264 @ 0x1c450b0] Cannot use next picture in error concealment
[h264 @ 0x1c450b0] concealing 3337 DC, 3337 AC, 3337 MV errors in P frame
[NULL @ 0x1b23b70] RTP: missed 90 packetsB time=00:00:10.70 bitrate=
287.5kbits/s
[h264 @ 0x1c45770] Cannot use next picture in error concealment
[h264 @ 0x1c45770] concealing 666 DC, 666 AC, 666 MV errors in P frame
[NULL @ 0x1b23b70] RTP: missed 30 packets
[h264 @ 0x1c464f0] Cannot use next picture in error concealment
[h264 @ 0x1c464f0] concealing 3221 DC, 3221 AC, 3221 MV errors in P frame
[NULL @ 0x1b23b70] RTP: missed 21 packetsB time=00:00:10.90 bitrate=
286.6kbits/s
[h264 @ 0x1c45770] Cannot use next picture in error concealment
[h264 @ 0x1c45770] concealing 3216 DC, 3216 AC, 3216 MV errors in P frame
[NULL @ 0x1b23b70] RTP: missed 36 packets
[h264 @ 0x1c73720] Cannot use next picture in error concealment
[h264 @ 0x1c73720] concealing 2935 DC, 2935 AC, 2935 MV errors in P frame
^C
More information about the ffmpeg-user
mailing list