[Libav-user] Could not find codec for mpeg4 on rtsp?

zhangweili at ragile.com zhangweili at ragile.com
Tue Jul 5 08:49:38 CEST 2016


In RTSP SDP section, it had declared the codec parameters

m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:327
a=rtpmap:96 MPEG4-GENERIC/90000
a=framerate:30
a=fmtp:96 streamtype=4;profile-level-id=1;mode=generic;config=000001b001000001b58913000001000000012000c48d8800f50a041e1463000001b2476f6f676c65;sizelength=13;indexlength=3;indexdeltalength=3
a=control:stream=0

Is there something wrong in this section?



zhangweili at ragile.com
 
From: Hwangho Kim
Date: 2016-07-05 13:54
To: This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter.
Subject: Re: [Libav-user]Could not find codec for mpeg4 on rtsp?


[rtsp @ 00000000000ccb20] Could not find codec parameters for stream 0 (Video: none, 1 reference frame, none): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, rtsp, from 'rtsp://127.0.0.1:8554/test':

Is rtsp://127.0.0.1:8554/test works correctly?

In the log, ffmpeg need more information to check the codec.

Please see blow link

https://ffmpeg.org/pipermail/ffmpeg-user/2013-March/014297.html
https://trac.ffmpeg.org/wiki/StreamingGuide

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160705/b958f458/attachment.html>


More information about the Libav-user mailing list