[Libav-user] interleaving AVI format and av_interleaved_write_frame

2013-11-13 Thread YIRAN LI
Hi friends, here I have several questions about AVI format interleave need your help. Basically what my program is doing is quite simple, it has a loop reading out video/audio content, and send them to encode to get packets, and finally call av_write_frame to write packets into file. So when I di

[Libav-user] number of audio samples while demuxing

2013-11-13 Thread Nisar Ahmed
Hello, While demuxing a QuickTime movie the number of audio samples returned by the av_read_frame is always 1024 per channel, is it possible to increase this number to higher value such as 1920 or 48000? Thanks ___ Libav-user mailing list Libav-user@ffm

Re: [Libav-user] number of audio samples while demuxing

2013-11-13 Thread Nicolas George
Le tridi 23 brumaire, an CCXXII, Nisar Ahmed a écrit : > While demuxing a QuickTime movie the number of audio samples returned by > the av_read_frame is always 1024 per channel, is it possible to increase > this number to higher value such as 1920 or 48000? av_read_frame() does not normally read s

Re: [Libav-user] number of audio samples while demuxing

2013-11-13 Thread Nisar Ahmed
Most of the time it will be LPCM but it can be AAC as well. Thanks On Wed, Nov 13, 2013 at 6:23 PM, Nicolas George wrote: > Le tridi 23 brumaire, an CCXXII, Nisar Ahmed a écrit : > > While demuxing a QuickTime movie the number of audio samples returned by > > the av_read_frame is always 1024 p

Re: [Libav-user] number of audio samples while demuxing

2013-11-13 Thread Nicolas George
Le tridi 23 brumaire, an CCXXII, Nisar Ahmed a écrit : > Most of the time it will be LPCM but it can be AAC as well. The LPCM case is particular, since the samples are directly there. They have been packetized to be stored in the container, though, and that is what av_read_frame() will return you.

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

2013-11-13 Thread Sandeep K S
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 he

[Libav-user] Some encoding A/V synchronization questions

2013-11-13 Thread Ulf Magnusson
Hi, I'm adding a movie recording feature to an emulator using libav. I've got video (x264), audio (Android VisualON AAC), and muxing (mp4) working, but since I make no special efforts to keep audio and video synchronized, they desynchronize after a few minutes. My questions are as follows: 1. I b

Re: [Libav-user] Some encoding A/V synchronization questions

2013-11-13 Thread Andy Shaules
On 11/13/2013 7:40 PM, Ulf Magnusson wrote: Hi, I'm adding a movie recording feature to an emulator using libav. I've got video (x264), audio (Android VisualON AAC), and muxing (mp4) working, but since I make no special efforts to keep audio and video synchronized, they desynchronize after a few