[mythtv-users] Problem with mytharchive/create DVD

Jerry Rubinow jerrymr at gmail.com
Sat Jun 23 02:35:33 UTC 2012


I have a 2 hour show (~16GB) I recorded off the History channel with an
HDHR Prime.  The show plays fine in myth, I've watched it from start to
finish.

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 "Codec type mismatch for mapping #0.0 -> #0.0".

So I edited the script to force it to use streams 1 and 2.  This time it
failed after 6 hours.  Output below.

Any suggestions?  Thanks,

-Jerry

This is what I'm running for myth:

MythTV Version   : v0.24.2-30-ge9a0ecb
MythTV Branch    : fixes/0.24
Network Protocol : 63
Library API      : 0.24.20110505-1
QT Version       : 4.7.2
Options compiled in:
 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


Run 1:
======================
ffmpeg -threads 2 -v 1 -i "/media/video/hatfield-p1.mpg" -r ntsc -target
dvd -b 4771k -s 720x480 -acodec copy -copyts -aspect 16:9
"/var/lib/mytharchive/temp/work/1/newfile2.mpg" -map 0:0 -map 0:1
jerry at pip:/var/lib/mytharchive/temp/logs$
ffmpeg -threads 2 -v 1 -i "/media/video/hatfield-p1.mpg" -r ntsc -target
dvd -b 4771k -s 720x480 -acodec copy -copyts -aspect 16:9
"/var/lib/mytharchive/temp/work/1/newfile2.mpg" -map 0:0 -map 0:1
FFmpeg version 0.6.4-4:0.6.4-0ubuntu0.11.04.1, Copyright (c) 2000-2010 the
Libav developers
  built on Jan  4 2012 16:13:16 with gcc 4.5.2
  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
  libavutil     50.15. 1 / 50.15. 1
  libavcodec    52.72. 2 / 52.72. 2
  libavformat   52.64. 2 / 52.64. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.19. 0 /  1.19. 0
  libswscale     0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[mpeg2video @ 0x13b0330]mpeg_decode_postinit() failure
    Last message repeated 13 times
[NULL @ 0x13afaf0]start time is not set in av_estimate_timings_from_pts
Input #0, mpegts, from '/media/video/hatfield-p1.mpg':
  Duration: 14:38:56.53, start: 80706.293856, bitrate: 2467 kb/s
  Program 1
    Stream #0.0[0x802]: Data: 0x0086
    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
    Stream #0.2[0x19c0](eng): Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
Assuming NTSC for target.
File '/var/lib/mytharchive/temp/work/1/newfile2.mpg' already exists.
Overwrite ? [y/N] y
Output #0, dvd, to '/var/lib/mytharchive/temp/work/1/newfile2.mpg':
    Stream #0.0: Video: mpeg2video, yuv420p, 720x480 [PAR 32:27 DAR 16:9],
q=2-31, 4771 kb/s, 90k tbn, 29.97 tbc
    Stream #0.1: Audio: 0x0000, 48000 Hz, 6 channels, 64 kb/s
Codec type mismatch for mapping #0.0 -> #0.0
=====================
Run 2:

progress.log:

2012-06-22 00:41:58 ffmpeg -threads 2 -v 1 -i
"/media/video/hatfield-p1.mpg" -r ntsc -target dvd -b 1526k -s 352x240
-acodec copy -copyts -aspect 16:9
"/var/lib/mytharchive/temp/work/1/newfile2.mpg" -map 0:1 -map 0:2
2012-06-22 06:07:52
************************************************************
2012-06-22 06:07:52 ERROR: Failed while running ffmpeg to re-encode video.
Command was ffmpeg -threads 2 -v 1 -i "/media/video/hatfield-p1.mpg" -r
ntsc -target dvd -b 1526k -s 352x240 -acodec copy -copyts -aspect 16:9
"/var/lib/mytharchive/temp/work/1/newfile2.mpg" -map 0:1 -map 0:2
2012-06-22 06:07:52
************************************************************
2012-06-22 06:07:52
2012-06-22 06:07:52 Terminated

End of mythburn.log:

frame=196489 fps= 10 q=2.0 size= 1574754kB time=6554.82
bitrate=1968.1kbits/s du    Last message repeated 1 times
[dvd @ 0xf1e010]st:1 error, non monotone timestamps 589933441 >= -3933364603
av_interleaved_write_frame(): Operation not permitted
************************************************************
ERROR: Failed while running ffmpeg to re-encode video.
Command was ffmpeg -threads 2 -v 1 -i "/media/video/hatfield-p1.mpg" -r
ntsc -target dvd -b 1526k -s 352x240 -acodec copy -copyts -aspect 16:9
"/var/lib/mytharchive/temp/work/1/newfile2.mpg" -map 0:1 -map 0:2
************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120622/9f20814d/attachment.html>


More information about the mythtv-users mailing list