[Libav-user] invalid AVPacket size in av_read_frame usage.

2015-04-26 Thread daggs
Greetings, I'm writing a program that needs to sample the screen in bgra format. the problem is what I try to read an av frame, I get this error: [rawvideo @ 0x1403aa0] Invalid buffer size, packet size 1228800 expected frame_size 8294400 looking at the code I see that unless stated else,

[Libav-user] avconv cannot read from RTSP source

2015-04-26 Thread hlasuj
Hi all, I am using avconv to capture stream from RTSP source. The following command prints a lot of errors similar to RTP: missed 28 packets and the resulting file is of terrible quality. [CODE]avconv -re -i rtsp://192.168.0.100/stream -vcodec copy -acodec copy -f flv out.flv[/CODE] If I open

Re: [Libav-user] avconv cannot read from RTSP source

2015-04-26 Thread Carl Eugen Hoyos
hlasuj@... writes: avconv -re -i rtsp://192.168.0.100/stream -vcodec copy -acodec copy -f flv out.flv Please test current FFmpeg git head, avconv is known to contain several hundred bugs not present in current FFmpeg. If the issue is reproducible, please provide your command line together

Re: [Libav-user] invalid AVPacket size in av_read_frame usage.

2015-04-26 Thread Carl Eugen Hoyos
daggs daggs@... writes: I'm writing a program that needs to sample the screen in bgra format. the problem is what I try to read an av frame, I get this error: [rawvideo at 0x1403aa0] Invalid buffer size, packet size 1228800 expected frame_size 8294400 Where does the packet come from