[libav-tools] avconv with RTSP and h264_mp4toannexb

Eberhard, Holger Holger.Eberhard at ime-actia.de
Wed Jan 16 09:24:21 CET 2013

Hi Luca,
Thanks for this advice.
Meanwhile to was able to run this task with the libav API functions.
But I also will try version 9.
Best regards 

-----Ursprüngliche Nachricht-----
Von: libav-tools-bounces at libav.org [mailto:libav-tools-bounces at libav.org] Im Auftrag von Luca Barbato
Gesendet: Sonntag, 13. Januar 2013 23:29
An: libav-tools at libav.org
Betreff: Re: [libav-tools] avconv with RTSP and h264_mp4toannexb

On 07/01/13 10:30, Eberhard, Holger wrote:
> Hi all,
> I try to get a live view of an IP camera  on an embedded platform.
> For this purpose I want to use avconv to receive via RTSP.
> Receiving the stream an write to a temp mp4- file works fine.
> avconv -i rtsp://root:conf@ -an -f 
> mp4 -vcodec copy -y  /var/tmp/iptest.mp4

Looks like there is a bug that makes it assume the h264 bitstream is not formatted as he would expect, yet, since it has extradata it fails to use the current filter.

Please check with libav9, it might had been fixed already.

libav-tools mailing list
libav-tools at libav.org

More information about the libav-tools mailing list