On 10/20/2011 02:15 PM, Luca Barbato wrote:

> On 19/10/2011 15:44, Luca Barbato wrote:
>> It currently use the simple api and is using the latency information
>> provided only to offset the stream start.
> 
> This version seems to keep audio and video sort of sync when capturing
> something like
> 
> avconv -f pulse -i default -f video4linux2 -s 640x480 -i /dev/video0
> -c:v any_but_not_copy -c:a mp2_ac3_and_speex_tried_successfully
> out.mkv_or_nut

works mostly fine for me on my laptop.
Ubuntu 11.04
pulseaudio 0.9.22-24-g67d18

> I should use the input name as device target and there are still some
> quirks. I'd like to have some people trying and reporting me how it
> compares with the other inputs.
> 
> Apparently streamcopy is completely broken for yet to discover reasons.


The a/v sync issues I'm having seem to be related to v4l2, not to the
audio device.  In the cases where there is sync loss, the video seems to
have some leftover garbage at the beginning.  I have the same issue
whether I'm using stream copy or not.

Another problem I'm having is the data terminating too early. Either all
the packets don't make it to the output stream or maybe the data never
makes it to the pulse demuxer.

-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to