You are not logged in.

#1 2010-06-06 00:26:04

delroth
Member
Registered: 2008-10-11
Posts: 8

Synchronize on video stream with mplayer

Hello,

I recently bought an EasyCap DC60+ USB adapter. It is an RCA -> USB adapter which is recognized as an USB webcam by the kernel.

I installed the easycapd60 module and it works fine for video with no sound, but I can't get audio working correctly. It looks like my audio stream is 1 second late on the video stream (I get the sound one second after the image).

The problem is that mplayer is synchronizing the playback on the audio stream (I think). That means that my video stream is delayed in order for it to be in sync with the audio stream. As I want to use this DC60+ adapter to play video games on my computer screen, I can't tolerate a 1 second delay.

A solution to this problem would be to ask mplayer to synchronize on the video stream instead of the audio stream, then play with the A/V sync parameters to get the audio synchronized. But I can't find the parameter to do this in the mplayer manpage.

So my question is the following : does this parameter exist ? And is there another solution I didn't think of which could solve my problem ?

Last edited by delroth (2010-06-06 00:26:14)

Offline

#2 2010-06-06 01:55:03

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Synchronize on video stream with mplayer

Positive values for the '-delay' switch will delay the video, negative values will delay the audio. As well, autosync may work if you get the parameter right.

Offline

#3 2011-11-21 02:30:25

duffrecords
Member
Registered: 2011-11-10
Posts: 3

Re: Synchronize on video stream with mplayer

Did you have to do anything special to get the DC60+ to work?  I've got one installed using the em28xx driver and it eventually makes my USB mouse stop responding, and sometimes the whole system crashes after that.

Offline

Board footer

Powered by FluxBB