[FFmpeg-user] encoding rtsp and audio
ryan lindsay
ryan.lindsay at gmail.com
Mon Apr 22 07:42:59 CEST 2013
Hi
Ok, So I caught my mistake and have compiled ffmpeg 1.2 from source
and it seems to look a bit healthier for streaming the video, but it's
crashing out when it tries to stream the audio.
So I am running this on a beagleboard and I want to capture the local audio
from the beagle and stream it with this rtsp stream
This is the command I am using
ffmpeg -i rtsp://
192.168.1.45:8557/PSIA/Streaming/channels/2?videoCodecType=H.264 -f alsa -i
hw:0 http://localhost:8090/feed1.ffm
And it crashes out with this
root at arm:~/ffmpeg-1.2# ffmpeg -i rtsp://
192.168.1.45:8557/PSIA/Streaming/channels/2?videoCodecType=H.264 -f alsa -i
hw:0,3 http://localhost:8090/feed1.ffm
ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
built on Apr 18 2013 06:19:11 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
configuration:
libavutil 52. 18.100 / 52. 18.100
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.104 / 54. 63.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 42.103 / 3. 42.103
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
[h264 @ 0x29f8790] RTP: missed 115 packets
[h264 @ 0x29f8790] RTP: missed 47 packets
[h264 @ 0x29f8790] RTP: missed 10 packets
[h264 @ 0x29f8790] RTP: missed 5 packets
[h264 @ 0x29f8790] RTP: missed 8 packets
[h264 @ 0x29f8790] RTP: missed 5 packets
[h264 @ 0x29f8790] RTP: missed 6 packets
Last message repeated 1 times
[h264 @ 0x29f8790] left block unavailable for requested intra mode at 0 35
[h264 @ 0x29f8790] error while decoding MB 0 35, bytestream (51848)
[h264 @ 0x29f8790] concealing 1249 DC, 1249 AC, 1249 MV errors in I frame
[h264 @ 0x29f8790] RTP: missed 6 packets
[h264 @ 0x29f8790] RTP: missed 7 packets
[h264 @ 0x29f8790] RTP: missed 6 packets
[h264 @ 0x29f8790] RTP: missed 5 packets
[h264 @ 0x29f8790] RTP: missed 6 packets
[h264 @ 0x29f8790] RTP: missed 4 packets
[h264 @ 0x29f8790] RTP: missed 7 packets
[h264 @ 0x29f8790] RTP: missed 6 packets
[h264 @ 0x29f8790] RTP: missed 7 packets
[h264 @ 0x29f8790] RTP: missed 59 packets
[h264 @ 0x29f8790] RTP: missed 36 packets
[h264 @ 0x29f8790] RTP: missed 58 packets
[h264 @ 0x29f8790] RTP: missed 8 packets
[h264 @ 0x29f8790] RTP: missed 61 packets
[h264 @ 0x29f8790] Cannot use next picture in error concealment
[h264 @ 0x29f8790] concealing 5048 DC, 5048 AC, 5048 MV errors in P frame
[h264 @ 0x29f8790] RTP: missed 262 packets
[h264 @ 0x29f8790] error while decoding MB 37 17, bytestream (-5)
[h264 @ 0x29f8790] Cannot use next picture in error concealment
[h264 @ 0x29f8790] concealing 3372 DC, 3372 AC, 3372 MV errors in P frame
[h264 @ 0x29f8790] RTP: missed 670 packets
[h264 @ 0x29f8790] error while decoding MB 15 8, bytestream (-13)
[h264 @ 0x29f8790] Cannot use next picture in error concealment
[h264 @ 0x29f8790] concealing 4474 DC, 4474 AC, 4474 MV errors in P frame
[h264 @ 0x29f8790] RTP: missed 323 packets
[h264 @ 0x29f8790] error while decoding MB 47 18, bytestream (-15)
[h264 @ 0x29f8790] Cannot use next picture in error concealment
[h264 @ 0x29f8790] concealing 3242 DC, 3242 AC, 3242 MV errors in P frame
[h264 @ 0x29f8790] RTP: missed 68 packets
[h264 @ 0x29f8790] error while decoding MB 97 37, bytestream (-19)
[h264 @ 0x29f8790] Cannot use next picture in error concealment
[h264 @ 0x29f8790] concealing 912 DC, 912 AC, 912 MV errors in P frame
[h264 @ 0x29f8790] RTP: missed 734 packets
[h264 @ 0x29f8790] RTP: missed 559 packets
[h264 @ 0x29f8790] RTP: missed 277 packets
[rtsp @ 0x29f5f70] Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp://
192.168.1.45:8557/PSIA/Streaming/channels/2?videoCodecType=H.264':
Metadata:
title : RTSP/RTP stream from IPNC
comment : PSIA/Streaming/channels/2?videoCodecType=H.264
Duration: N/A, start: 2.387667, bitrate: N/A
Stream #0:0: Video: h264 (High), yuvj420p, 1920x720, 30 fps, 15.33 tbr,
90k tbn, 60 tbc
Unknown input format: 'alsa'
Have a put a command in the wrong spot or something?
How can I check if it should know about alsa?
More information about the ffmpeg-user
mailing list