<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:courier,monaco,monospace,sans-serif;font-size:12pt">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.<br><br>My problem is that burned DVDs have audio out of sync with the video, sometimes several seconds out of sync.&nbsp; When played directly on my MythTV system, the audio stays in sync.<br><br>I picked up that I need to make the commercial cuts on keyframes and hoped that would fix the problem, but no dice.<br><br>I picked up on avoiding multiple transcodings, but I'm not sure I took care of that.<br><br>My MythTV FE/BE setup includes:<br>&nbsp; Fedora Core 2.6.20-1.2944 with Suspend2 2.2.9.11<br>&nbsp; Hauppauge PVR-500<br>&nbsp; Hauppauge PVR-350<br>&nbsp; Nvidia driver
 nvidia-graphics9755 with related packages<br><br>I have the following backend settings in mythtv-setup:<br>&nbsp; Static IP address<br>&nbsp; TV Format: NTSC<br>&nbsp; Channel Frequency Table: us-cable<br>&nbsp; "Start Auto-Commercial Flagging jobs when the recording starts" is enabled<br>&nbsp; Commercial Flagger: mythcommflag<br>&nbsp; Transcoder command: mythtranscode<br>&nbsp; All three (3) capture card inputs are set up with Card Type: MPEG-2<br><br>I have the following frontend settings:<br>&nbsp; General Settings:<br>&nbsp;&nbsp;&nbsp; Audio Settings page:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Audio output device: /dev/dsp<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Passthrough output device: default<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "Use internal volume controls" is enabled<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mixer Device: /dev/mixer<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mixer Controls: PCM<br>&nbsp; TV Settings &gt; General:<br>&nbsp;&nbsp;&nbsp; Jobs
 page:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "Commercial Flag New Recordings" is enabled<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Commercial Skip Method: All Available Methods<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "Strict Commercial Detection" is enabled<br>&nbsp; TV Settings &gt; Playback:<br>&nbsp;&nbsp;&nbsp; General Playback page:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Preferred MPEG2 Decoder: Standard<br>&nbsp; TV Settings &gt; Recording Profiles &gt; MPEG-2 Encoders:<br>&nbsp;&nbsp;&nbsp; Default -&gt; Image size page:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "Enable auto-transcode after recording" is disabled<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Image Size: Width=720, Height=480<br>&nbsp;&nbsp;&nbsp; Default -&gt; Video Compression page:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Codec: MPEG-2 Hardware Encoder<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Stream Type: MPEG-2 PS<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Aspect Ratio: 4:3<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bit Rate: 4500<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Max.
 Bitrate: 6000<br>&nbsp;&nbsp;&nbsp; Default -&gt; Audio Quality page:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Codec: MPEG-2 Hardware Encoder<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sampling Rate: 32000<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Type: Layer II<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bitrate: 384 kbps<br>&nbsp;&nbsp;&nbsp; &nbsp; Volume: 90%<br>&nbsp; Media Settings &gt; DVD Settings &gt;Rip Settings:<br>&nbsp;&nbsp;&nbsp; DVD Ripper Settings page:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Base Transcode command: transcode<br>&nbsp;&nbsp;&nbsp; MTD Settings page:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "Transcode AC3 Audio" is enabled<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "Use xvid rather than divx" is enabled<br>&nbsp; Media Settings &gt; Archive Files Settings:<br>&nbsp;&nbsp;&nbsp; MythArchive Settings page:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Video Format: NTSC<br>&nbsp;&nbsp;&nbsp; MythArchive Settings (2) page:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "Always Encode to AC3" is enabled<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "Always Use Mythtranscode" is enabled<br>&nbsp;&nbsp;&nbsp; &nbsp; "Use Fifos" is enabled<br>&nbsp;&nbsp;&nbsp; MythArchive
 External Commands (1) and (2) pages:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; All defaulted as installed to single word commands (no options or paths)<br><br>I use MythArchive to burn my DVDs.&nbsp; I tried avoiding re-encoding, but most of the recordings I've tried would fail unless I used re-encoding.&nbsp; I use the SP profile for re-encoding.<br><br>MythArchive invokes mythtranscode to remove the commercials in the cut list, although the log specifies "mythtrancode" with the "s" missing.&nbsp; I'm guessing this is just a message string typo.<br><br>Typical settings in a "successful" MythArchive invocation (one that actually burns a DVD, although they have the audio sync problem) are:<br>&nbsp; Single Layer DVD<br>&nbsp; Do not make ISO image<br>&nbsp; Burn to DVD<br>&nbsp; Select a single recording to archive to DVD<br>&nbsp; Use the cut list<br>&nbsp; Select the MythCenter Theme<br>&nbsp; Change the Encoder Profile to "SP"<br><br>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:<br>
mythreplex --demux --fix_sync -o /video/temp/work/1/stream -v 224 -a 192 "/video/temp/work/1/tmp"<br>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.&nbsp; 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.<br>
<br>
The failure I typically get when I try to skip re-encoding is:<br>ERROR: Failed while running ffmpeg to re-encode the audio to ac3<br>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'<br><br>Finally, even in a "successful" MythArchive run, I see in the mythburn.log file messages reporting:<br>Parser not found for Codec Id: 94210 !<br><br>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.<br><br>TIA for any assistance you can provide.&nbsp; It's always the little things that get ya. ;-)<br><br>Craig Huff<br></div><br>

<hr size=1>
<a href="http://us.rd.yahoo.com/evt=49678/*http://smallbusiness.yahoo.com/domains/?p=BESTDEAL"> Get your own web address.</a><br> Have a HUGE year through <a href="
http://us.rd.yahoo.com/evt=49678/*http://smallbusiness.yahoo.com/domains/?p=BESTDEAL">Yahoo! Small Business.</a></body></html>