Hello everyone, i recently setup an hdpvr using mythtv trunk and seem to have everything working great, except for the life of me i cannot figure out how to transcode the hdpvr files. There are two things i would like to do to each newly recorded show: 1) Cut the commercials out but retain full quality, 2) cut commercials and transcode to lower resolution h264 or xvid for playback on xbox&#39;s running xbmc. I have tried the mythnuv2mkv.sh script, but it errors with this output on each attempt:<br>
<br>mythnuv2mkv.sh --chanid=1060 --starttime=20090403100000<br>05/04,23:40 [3129] INFO 1060 20090403100000 matches The Daily Show With Jon Stewart    Tom Zoellner (/media/terabyte/mythtv//1060_20090403100000.mpg)<br>05/04,23:40 [3129] INFO Unknown 0x0 16:9 (Found in Channel) 59.940 FPS Audio Rate 48000 Channels 2<br>
05/04,23:40 [3129] INFO Output is a greater scale than input. This is not sensible.<br>05/04,23:40 [3129] INFO Crop to -16:-16:8:8. Scale to 624x352.<br>05/04,23:40 [3129] INFO MENCODEROPTS: -ovc lavc -lavcopts vcodec=mpeg4:threads=1:mbd=2:trell:v4mv:last_pred=2:dia=-1:vmax_b_frames=2:vb_strategy=1:cmp=3:subcmp=3:precmp=0:vqcomp=0.6:vbitrate=1156     -oac mp3lame -lameopts vbr=2:br=192     -vf crop=-16:-16:8:8,scale=624:352,harddup -sws 7 .<br>
05/04,23:40 [3129] START Starting lavc 1st video pass trans of /media/terabyte/mythtv//1060_20090403100000.mpg. vbr 1156 abr 192.<br>2009-04-05 23:40:29.752 Using runtime prefix = /usr/local<br>2009-04-05 23:40:29.752 Empty LocalHostName.<br>
2009-04-05 23:40:29.761 New DB connection, total: 1<br>2009-04-05 23:40:29.764 Closing DB connection named &#39;DBManager0&#39;<br>2009-04-05 23:40:29.764 Enabled verbose msgs: important<br>2009-04-05 23:40:29.765 New DB connection, total: 2<br>
2009-04-05 23:40:29.780 Using protocol version 44<br>2009-04-05 23:40:29.811 [h264 @ 0x7fdad9731300]mmco: unref short failure<br>2009-04-05 23:40:30.012 [h264 @ 0x7fdad9731300]mmco: unref short failure<br>2009-04-05 23:40:30.012 [h264 @ 0x7fdad9731300]B picture before any references, skipping<br>
2009-04-05 23:40:30.012 [h264 @ 0x7fdad9731300]decode_slice_header error<br>2009-04-05 23:40:30.012 [h264 @ 0x7fdad9731300]no frame!<br>2009-04-05 23:40:30.012 AFD Error: Unknown decoding error<br>2009-04-05 23:40:30.013 [h264 @ 0x7fdad9731300]B picture before any references, skipping<br>
2009-04-05 23:40:30.013 [h264 @ 0x7fdad9731300]decode_slice_header error<br>2009-04-05 23:40:30.013 [h264 @ 0x7fdad9731300]no frame!<br>2009-04-05 23:40:30.013 AFD Error: Unknown decoding error<br>2009-04-05 23:40:30.013 [h264 @ 0x7fdad9731300]B picture before any references, skipping<br>
2009-04-05 23:40:30.013 [h264 @ 0x7fdad9731300]decode_slice_header error<br>2009-04-05 23:40:30.013 [h264 @ 0x7fdad9731300]no frame!<br>2009-04-05 23:40:30.013 AFD Error: Unknown decoding error<br>2009-04-05 23:40:30.030 [h264 @ 0x7fdad9731300]mmco: unref short failure<br>
2009-04-05 23:40:30.032 mythtranscode: 0% Completed @ -22.2222 fps.<br>MEncoder dev-SVN-r26940 (C) 2000-2008 MPlayer Team<br>CPU: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz (Family: 6, Model: 15, Stepping: 11)<br>CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1<br>
Compiled with runtime CPU detection.<br>The w option must be &gt;= 1: 0<br><br><br>Thank you for any help!<br>