[mythtv-users] Audio Sync problem -- need help
Craig Huff
huffcs at yahoo.com
Sun May 13 22:07:53 UTC 2007
I have seen hints to the resolution of my problem, but I can't seem to put it all together, so here's all the details I can think of that might be relevant and hopefully one or more of you can clue me in on exactly how to solve the problem.
My problem is that burned DVDs have audio out of sync with the video, sometimes several seconds out of sync. When played directly on my MythTV system, the audio stays in sync.
I picked up that I need to make the commercial cuts on keyframes and hoped that would fix the problem, but no dice.
I picked up on avoiding multiple transcodings, but I'm not sure I took care of that.
My MythTV FE/BE setup includes:
Fedora Core 2.6.20-1.2944 with Suspend2 2.2.9.11
Hauppauge PVR-500
Hauppauge PVR-350
Nvidia driver nvidia-graphics9755 with related packages
I have the following backend settings in mythtv-setup:
Static IP address
TV Format: NTSC
Channel Frequency Table: us-cable
"Start Auto-Commercial Flagging jobs when the recording starts" is enabled
Commercial Flagger: mythcommflag
Transcoder command: mythtranscode
All three (3) capture card inputs are set up with Card Type: MPEG-2
I have the following frontend settings:
General Settings:
Audio Settings page:
Audio output device: /dev/dsp
Passthrough output device: default
"Use internal volume controls" is enabled
Mixer Device: /dev/mixer
Mixer Controls: PCM
TV Settings > General:
Jobs page:
"Commercial Flag New Recordings" is enabled
Commercial Skip Method: All Available Methods
"Strict Commercial Detection" is enabled
TV Settings > Playback:
General Playback page:
Preferred MPEG2 Decoder: Standard
TV Settings > Recording Profiles > MPEG-2 Encoders:
Default -> Image size page:
"Enable auto-transcode after recording" is disabled
Image Size: Width=720, Height=480
Default -> Video Compression page:
Codec: MPEG-2 Hardware Encoder
Stream Type: MPEG-2 PS
Aspect Ratio: 4:3
Bit Rate: 4500
Max. Bitrate: 6000
Default -> Audio Quality page:
Codec: MPEG-2 Hardware Encoder
Sampling Rate: 32000
Type: Layer II
Bitrate: 384 kbps
Volume: 90%
Media Settings > DVD Settings >Rip Settings:
DVD Ripper Settings page:
Base Transcode command: transcode
MTD Settings page:
"Transcode AC3 Audio" is enabled
"Use xvid rather than divx" is enabled
Media Settings > Archive Files Settings:
MythArchive Settings page:
Video Format: NTSC
MythArchive Settings (2) page:
"Always Encode to AC3" is enabled
"Always Use Mythtranscode" is enabled
"Use Fifos" is enabled
MythArchive External Commands (1) and (2) pages:
All defaulted as installed to single word commands (no options or paths)
I use MythArchive to burn my DVDs. I tried avoiding re-encoding, but most of the recordings I've tried would fail unless I used re-encoding. I use the SP profile for re-encoding.
MythArchive invokes mythtranscode to remove the commercials in the cut list, although the log specifies "mythtrancode" with the "s" missing. I'm guessing this is just a message string typo.
Typical settings in a "successful" MythArchive invocation (one that actually burns a DVD, although they have the audio sync problem) are:
Single Layer DVD
Do not make ISO image
Burn to DVD
Select a single recording to archive to DVD
Use the cut list
Select the MythCenter Theme
Change the Encoder Profile to "SP"
FWIW, since I saw a note on the mailing list about turning off the
"--fix_sync" option, I note that a typical mythreplex invocation is:
mythreplex --demux --fix_sync -o /video/temp/work/1/stream -v 224 -a 192 "/video/temp/work/1/tmp"
However, I don't know where the "--fix_sync" is controlled, so I don't know how to turn it off, if that's the solution. I suspect it is embedded in the mySQL database, but I am unfamiliar with the database schema so I don't know names of tables or fields, much less where to find and change the right thing.
The failure I typically get when I try to skip re-encoding is:
ERROR: Failed while running ffmpeg to re-encode the audio to ac3
Command was ffmpeg -v 0 -y -i '/video/temp/work/1/stream0.mp2' -f ac3 -ab 192 -ar 48000 '/video/temp/work/1/stream0.ac3'
Finally, even in a "successful" MythArchive run, I see in the mythburn.log file messages reporting:
Parser not found for Codec Id: 94210 !
If, despite this volume of information, I have missed something relevant from the MythArchive logs of good or bad jobs, please ask as I have made copies for reference.
TIA for any assistance you can provide. It's always the little things that get ya. ;-)
Craig Huff
____________________________________________________________________________________
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070513/a934b15b/attachment.htm
More information about the mythtv-users
mailing list