[FFmpeg-user] re-streaming rtsp on arm

ryan lindsay ryan.lindsay at gmail.com
Thu Apr 18 09:04:23 CEST 2013


Hi
I am trying to take an rtsp stream and send it to ffserver, and have that
transcode it to webm
I have got the version 1.2 from the website and compiled from scratch on my
beagleboard
and it's running ubuntu 12
When I run ffmpeg I get
root at arm:~/ffmpeg-1.2# ffmpeg -i rtsp://
192.168.1.45:8557/PSIA/Streaming/channels/2?videoCodecType=H.264 -f alsa
-ac 2 -i hw:0 http://localhost:8090/feed1.ffmffmpeg version
0.8.6-6:0.8.6-0ubuntu0.12.10.1, Copyright (c) 2000-2013 the Libav developers
  built on Apr  2 2013 19:45:31 with gcc 4.7.2
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a
future release. Please use avconv instead.
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] non-existing PPS referenced
[h264 @ 0x1d62980] non-existing PPS 0 referenced
[h264 @ 0x1d62980] decode_slice_header error
[h264 @ 0x1d62980] no frame!
[h264 @ 0x1d62980] left block unavailable for requested intra mode at 0 21
[h264 @ 0x1d62980] error while decoding MB 0 21, bytestream (13442)
[h264 @ 0x1d62980] concealing 2929 DC, 2929 AC, 2929 MV errors
[rtsp @ 0x1d5eae0] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 60.00
(60/1) -> 1000.00 (1000/1)
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: 0.064000, bitrate: N/A
    Stream #0.0: Video: h264 (High), yuvj420p, 1920x720, 1k tbr, 90k tbn,
60 tbc
[alsa @ 0x1d61280] Estimating duration from bitrate, this may be inaccurate
Input #1, alsa, from 'hw:0':
  Duration: N/A, start: 612993.999981, bitrate: N/A
    Stream #1.0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Incompatible sample format '(null)' for codec 'libvorbis', auto-selecting
format 's16'
[buffer @ 0x1d721c0] w:1920 h:720 pixfmt:yuvj420p
[avsink @ 0x1d5b6a0] auto-inserting filter 'auto-inserted scaler 0' between
the filter 'src' and the filter 'out'
[scale @ 0x1d5a920] w:1920 h:720 fmt:yuvj420p -> w:1920 h:720 fmt:yuv420p
flags:0x4
Segmentation fault

I'm a little confused why it segfaults, and also wondering what the
Seems stream 0 codec frame rate differs from container frame rate: 60.00
(60/1) -> 1000.00 (1000/1)
refers to
I have set the frame rate to 30 in the ffserver con-fig, because I know the
frame rate coming from the camera is 30fps
Is the segfault related??


More information about the ffmpeg-user mailing list