[Libav-user] Problem with running ffmpeg with input SDP file

Sandeep K S kssandeep at gmail.com
Wed Nov 13 18:38:45 CET 2013


I have compiled the ffmpeg, and wanted to run a instance to receive a live
audio+video stream.

However, everytime i run the ffpmeg instance, it throws the below error:

"Could not find codec parameters for stream 1 (Video: vp8, yuv420p):
unspecified size"

can someone please tell me whats wrong here?what does this "unspecified
size" error mean?

-Sandeep K S

Logs:
ffmpeg -i test.sdp test.webm
ffmpeg version git-2013-10-06-efff756 Copyright (c) 2000-2013 the FFmpeg
developers
  built on Nov  6 2013 16:22:24 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --prefix=/home/sandeep/ffmpeg_build
--extra-cflags=-I/home/sandeep/ffmpeg_build/include
--extra-ldflags=-L/home/sandeep/ffmpeg_build/lib --bindir=/home/sandeep/bin
--extra-libs=-ldl --enable-gpl --enable-libass --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
--enable-x11grab --disable-yasm
  libavutil      52. 46.100 / 52. 46.100
  libavcodec     55. 34.100 / 55. 34.100
  libavformat    55. 19.100 / 55. 19.100
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 88.101 /  3. 88.101
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
[sdp @ 0xa676d40] Estimating duration from bitrate, this may be inaccurate
[sdp @ 0xa676d40] Could not find codec parameters for stream 1 (Video: vp8,
yuv420p): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Guessed Channel Layout for  Input Stream #0.0 : mono
Input #0, sdp, from 'test.sdp':
  Metadata:
    title           : -
  Duration: 00:00:00.04, bitrate: 63 kb/s
    Stream #0:0: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
    Stream #0:1: Video: vp8, yuv420p, 90k tbr, 90k tbn, 90k tbc
Output #0, webm, to 'test.webm':
  Metadata:
    title           : -
    encoder         : Lavf55.19.100
    Stream #0:0: Audio: vorbis (libvorbis), 8000 Hz, mono, fltp
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_mulaw -> libvorbis)
Press [q] to stop, [?] for help
test.sdp: Connection timed out
[libvorbis @ 0xa6dbfc0] Trying to remove 256 samples, but the queue is empty
[webm @ 0xa6db8c0] Encoder did not produce proper pts, making some up.
size=       3kB time=00:00:00.00 bitrate=3061.0kbits/s
video:0kB audio:0kB subtitle:0 global headers:3kB muxing overhead 17.912173%


SDP file contents:
v=0
o=- 1376063087593 1 IN IP4 127.0.0.1
s=-
t=0 0
m=audio 50008 RTP/AVP 0
c=IN IP4 192.168.2.196
a=rtcp:50009 IN IP4 192.168.2.196
a=rtpmap:0 PCMU/8000
a=sendrecv
m=video 50010 RTP/AVP 120
c=IN IP4 192.168.2.196
a=rtcp:50011 IN IP4 192.168.2.196
a=rtpmap:120 VP8/90000
a=sendrecv
a=rtcp-fb:* nack
a=rtcp-fb:* ccm fir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20131113/be2773b2/attachment.html>


More information about the Libav-user mailing list