Opened 12 years ago

#2015 new defect

mencoder and lavc/HuffYUV audio issues

Reported by: heiko@… Owned by: reimar
Priority: normal Component: mencoder
Version: unspecified Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

If I try to capture a VHS tape to HuffYUV with lavc audio is either asynchronous or it's synchronous for the first 5 seconds and then disappears completely.

This happens if I use these commands or variants of them:

mencoder tv:// -tv driver=v4l2:normid=3:input=1:fps=25:amode=1:width=768:height=576:audiorate=48000 -oac lavc -ovc lavc -srate 48000 -af-adv
force=1:list=lavcresample=48000 -lavcopts
vcodec=huffyuv:format=422p:acodec=pcm_s16le -o movie.avi

mencoder tv:// -tv
driver=v4l2:normid=3:input=1:fps=25:amode=1:width=768:height=576:audiorate=48000
-oac pcm -ovc lavc -srate 48000 -lavcopts vcodec=huffyuv:format=422p -o
movie.avi

The same happens if I use mp2 or ac3 instead of pcm audio. So it's not an issue with the audio codec.

If I use this command audio is in sync:

mencoder tv:// -tv driver=v4l2:normid=3:input=1:width=768:height=576:amode=1:audiorate=48000
-ovc raw -oac pcm -o movie.avi

So this must be an issue with lavc and/or HuffYUV.

Since avidemux has problems with saving the resulting file of the last command with its copy options after cutting the video, the last command is not really a workaround for the lavc issue.

Change History (0)

Note: See TracTickets for help on using tickets.