I have a 2 hour show (~16GB) I recorded off the History channel with an HDHR Prime.  The show plays fine in myth, I&#39;ve watched it from start to finish.<div><br></div><div>The first time I tried to burn it to DVD with mytharchive it failed very quickly.  It looked like it was trying to use streams 0 and 1 for video and audio even though the info said they were on streams 1 and 2 (with 0 being data).  I manually tried the same ffmpeg command, output shown below.  It failed saying &quot;Codec type mismatch for mapping #0.0 -&gt; #0.0&quot;.</div>
<div><br></div><div>So I edited the script to force it to use streams 1 and 2.  This time it failed after 6 hours.  Output below.</div><div><br></div><div>Any suggestions?  Thanks,</div><div><br></div><div>-Jerry</div><div>
<br></div><div>This is what I&#39;m running for myth:</div><div><br></div><div><div>MythTV Version   : v0.24.2-30-ge9a0ecb</div><div>MythTV Branch    : fixes/0.24</div><div>Network Protocol : 63</div><div>Library API      : 0.24.20110505-1</div>
<div>QT Version       : 4.7.2</div><div>Options compiled in:</div><div> linux profile using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv using_joystick_menu using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads using_live using_mheg</div>
</div><div><br></div><div><br></div><div>Run 1:</div><div>======================</div><div><div>ffmpeg -threads 2 -v 1 -i &quot;/media/video/hatfield-p1.mpg&quot; -r ntsc -target dvd -b 4771k -s 720x480 -acodec copy -copyts -aspect 16:9 &quot;/var/lib/mytharchive/temp/work/1/newfile2.mpg&quot; -map 0:0 -map 0:1  jerry@pip:/var/lib/mytharchive/temp/logs$ ffmpeg -threads 2 -v 1 -i &quot;/media/video/hatfield-p1.mpg&quot; -r ntsc -target dvd -b 4771k -s 720x480 -acodec copy -copyts -aspect 16:9 &quot;/var/lib/mytharchive/temp/work/1/newfile2.mpg&quot; -map 0:0 -map 0:1</div>
<div>FFmpeg version 0.6.4-4:0.6.4-0ubuntu0.11.04.1, Copyright (c) 2000-2010 the Libav developers</div><div>  built on Jan  4 2012 16:13:16 with gcc 4.5.2</div><div>  configuration: --extra-version=4:0.6.4-0ubuntu0.11.04.1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static</div>
<div>  libavutil     50.15. 1 / 50.15. 1</div><div>  libavcodec    52.72. 2 / 52.72. 2</div><div>  libavformat   52.64. 2 / 52.64. 2</div><div>  libavdevice   52. 2. 0 / 52. 2. 0</div><div>  libavfilter    1.19. 0 /  1.19. 0</div>
<div>  libswscale     0.11. 0 /  0.11. 0</div><div>  libpostproc   51. 2. 0 / 51. 2. 0</div><div>[mpeg2video @ 0x13b0330]mpeg_decode_postinit() failure</div><div>    Last message repeated 13 times</div><div>[NULL @ 0x13afaf0]start time is not set in av_estimate_timings_from_pts</div>
<div>Input #0, mpegts, from &#39;/media/video/hatfield-p1.mpg&#39;:</div><div>  Duration: 14:38:56.53, start: 80706.293856, bitrate: 2467 kb/s</div><div>  Program 1</div><div>    Stream #0.0[0x802]: Data: 0x0086</div><div>
    Stream #0.1[0x19bf]: Video: mpeg2video, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 18000 kb/s, 65.91 fps, 59.94 tbr, 90k tbn, 119.88 tbc</div><div>    Stream #0.2[0x19c0](eng): Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s</div>
<div>Assuming NTSC for target.</div><div>File &#39;/var/lib/mytharchive/temp/work/1/newfile2.mpg&#39; already exists. Overwrite ? [y/N] y</div><div>Output #0, dvd, to &#39;/var/lib/mytharchive/temp/work/1/newfile2.mpg&#39;:</div>
<div>    Stream #0.0: Video: mpeg2video, yuv420p, 720x480 [PAR 32:27 DAR 16:9], q=2-31, 4771 kb/s, 90k tbn, 29.97 tbc</div><div>    Stream #0.1: Audio: 0x0000, 48000 Hz, 6 channels, 64 kb/s</div><div>Codec type mismatch for mapping #0.0 -&gt; #0.0</div>
<div>=====================</div></div><div>Run 2:</div><div><br></div><div>progress.log:</div><div><br></div><div><div>2012-06-22 00:41:58 ffmpeg -threads 2 -v 1 -i &quot;/media/video/hatfield-p1.mpg&quot; -r ntsc -target dvd -b 1526k -s 352x240 -acodec copy -copyts -aspect 16:9 &quot;/var/lib/mytharchive/temp/work/1/newfile2.mpg&quot; -map 0:1 -map 0:2</div>
<div>2012-06-22 06:07:52 ************************************************************</div><div>2012-06-22 06:07:52 ERROR: Failed while running ffmpeg to re-encode video.</div><div>Command was ffmpeg -threads 2 -v 1 -i &quot;/media/video/hatfield-p1.mpg&quot; -r ntsc -target dvd -b 1526k -s 352x240 -acodec copy -copyts -aspect 16:9 &quot;/var/lib/mytharchive/temp/work/1/newfile2.mpg&quot; -map 0:1 -map 0:2</div>
<div>2012-06-22 06:07:52 ************************************************************</div><div>2012-06-22 06:07:52</div><div>2012-06-22 06:07:52 Terminated</div></div><div><br></div><div>End of mythburn.log:</div><div><br>
</div><div><div>frame=196489 fps= 10 q=2.0 size= 1574754kB time=6554.82 bitrate=1968.1kbits/s du    Last message repeated 1 times</div><div>[dvd @ 0xf1e010]st:1 error, non monotone timestamps 589933441 &gt;= -3933364603</div>
<div>av_interleaved_write_frame(): Operation not permitted</div><div>************************************************************</div><div>ERROR: Failed while running ffmpeg to re-encode video.</div><div>Command was ffmpeg -threads 2 -v 1 -i &quot;/media/video/hatfield-p1.mpg&quot; -r ntsc -target dvd -b 1526k -s 352x240 -acodec copy -copyts -aspect 16:9 &quot;/var/lib/mytharchive/temp/work/1/newfile2.mpg&quot; -map 0:1 -map 0:2</div>
<div>************************************************************</div></div><div><br></div>