[mythtv-users] mytharchive audio broken

John Drescher drescherjm at gmail.com
Tue Sep 11 19:19:20 UTC 2007


> My Hauppauge PVR-350 saves stuff as 480x480.
If you are going to use mytharchive a lot you need to change that to 720x480.

> I can play back the recordings
> fine. I just can't seem to get it to re-encode to DVD SP format...or any
> other DVD format for that matter. When mytharchive completes, the VIDEO_TS
> directory has the expected stuff in it, but the AUDIO_TS directory is
> empty...so the resulting image won't play.
>
I am pretty sure mine is empty as well but the DVD does play. Do you
have the ac3 box checked?

>
> I've got 'always run mythtranscode' checked, and it does seem like it's
> trying to transcode to 480x720. I've tried SP, LP, EP, no transcoding...it
> always comes out with no audio data in the directory.
>
> HELP!!!!
>
> Here's some stuff from the mythburn.log:
>
> [...]
> Running mythtranscode --mpeg2 to fix any errors
> 2007-09-07 16:11:55.032 Using runtime prefix = /usr
> 2007-09-07 16:11:55.066 New DB connection, total: 1
> 2007-09-07 16:11:55.081 Enabled verbose msgs: important
> 2007-09-07 16:11:55.109 New DB connection, total: 2
> Mux rate: 6.49 Mbit/s
> File will be re-encoded using profile SP
> 2007-09-07 16:27:32.807 Opening /storage/temp/work/1/newfile.mpg
> Input #0, mpeg, from '/storage/temp/work/1/newfile.mpg':
> Duration: 02:19:54.2, start: 0.360000, bitrate: 4958 kb/s
> Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 480x480, 6000 kb/s, 29.97
> fps(r)
> Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 384 kb/s
> 0: start_time: 0.034 duration: 755.483
> 1: start_time: 0.032 duration: 755.458
> stream: start_time: 0.360 duration: 8394.268 bitrate=4958 kb/s
> 2007-09-07 16:27:32.853 duration = 8394
> streaminfo.xml :-
>
> Preferred audio languages eng and eng
> Video id: 0x1e0, Audio1: [1] 0x1c0 (MP2, N/A), Audio2: [-1] - 0x-1 (N/A,
> N/A)
> Aspect ratio is 4:3
> Re-encoding audio and video
> Encoding profile (SP) found
> ffmpeg -v 1 -i "/storage/temp/work/1/newfile.mpg" -r ntsc -target dvd -b
> 4771k -s 720x480 -acodec ac3 -ab 192k -ac 2 -copyts -aspect 4:3
> "/storage/temp/work/1/newfile2.mpg" -map 0:0 -map 0:1
> FFmpeg version SVN-r8743, Copyright (c) 2000-2007 Fabrice Bellard, et al.
> configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib
> --mandir=/usr/share/man --enable-shared --enable-gpl --enable-pp
> --enable-swscaler --enable-pthreads --enable-x11grab --enable-dc1394
> --enable-liba52bin --enable-libdts --enable-libfaac --enable-libfaadbin
> --enable-libmp3lame --enable-libogg --enable-libtheora --enable-libvorbis
> --enable-xvid --extra-cflags=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
> -mtune=generic -fasynchronous-unwind-tables --disable-strip
> libavutil version: 49.4.0
> libavcodec version: 51.40.3
> libavformat version: 51.12.1
> built on Apr 23 2007 23:45:21, gcc: 4.1.1 20070105 (Red Hat 4.1.1-51)
> Input #0, mpeg, from '/storage/temp/work/1/newfile.mpg':
> Duration: 02:19:54.2, start: 0.360000, bitrate: 4958 kb/s
> Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 480x480, 6000 kb/s, 29.97
> fps(r)
> Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 384 kb/s
> Assuming NTSC for target.
> Output #0, dvd, to '/storage/temp/work/1/newfile2.mpg':
> Stream #0.0: Video: mpeg2video, yuv420p, 720x480, q=2-31, 4771 kb/s, 29.97
> fps(c)
> Stream #0.1: Audio: ac3, 48000 Hz, stereo, 192 kb/s
> Stream mapping:
> Stream #0.0 -> #0.0
> Stream #0.1 -> #0.1
> Press [q] to stop encoding
> [...]
> [mpeg2video @ 0x4e684a4]Warning MVs not available
> [mpeg2video @ 0x4e684a4]concealing 720 DC, 720 AC, 720 MV errors
> frame=251588 fps= 14 q=2.0 size= 3886434kB time=8394.2 bitrate=3792.8kbits/s
> ^M[mpeg2video @ 0x4e684a4]ac-tex damaged at 20 0
> [mpeg2video @ 0x4e684a4]concealing 900 DC, 900 AC, 900 MV errors
> frame=251590 fps= 14 q=1.6 Lsize= 3886830kB time=8394.2
> bitrate=3793.2kbits/s ^M
> video:3580051kB audio:196738kB global headers:0kB muxing overhead 2.913598%
> 2007-09-07 21:30:31.544 Opening /storage/temp/work/1/newfile2.mpg
> Input #0, mpeg, from '/storage/temp/work/1/newfile2.mpg':
> Duration: 02:19:54.6, start: 0.500000, bitrate: 3792 kb/s
> Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480, 9000 kb/s, 29.97
> fps(r)
> Stream #0.1[0x80]: Audio: ac3, 48000 Hz, stereo, 192 kb/s
> 0: start_time: 0.045 duration: 755.522
> 1: start_time: 0.045 duration: -9223372036854.775
> stream: start_time: 0.500 duration: 8394.686 bitrate=3792 kb/s
> 2007-09-07 21:30:31.589 Calculating frame count
> 2007-09-07 21:33:07.962 frames = 251590
> 2007-09-07 21:33:08.112 duration = 8394
> streaminfo.xml :-
>
> Preferred audio languages eng and eng
> Video id: 0x1e0, Audio1: [1] 0x80 (AC3, N/A), Audio2: [-1] - 0x-1 (N/A, N/A)
> Splitting MPEG stream into audio and video parts
> Running: mythreplex --demux --fix_sync -o /storage/temp/work/1/stream -v 224
> -c 128 "/storage/temp/work/1/newfile2.mpg"
> Reading from /storage/temp/work/1/newfile2.mpg
> Input file length: 3795.73 MB
> Checking for TS: failed
> Checking for AVI: failed
> Checking for PS: confirmed(maybe)
> Video: aspect ratio: 4:3 size = 720x480 frame rate: 29.970 fps bit rate:
> 9.00 Mbit/s
> vbvbuffer 1835008
> Sequence Extension: chroma 4:2:0 size = 720x480 bit rate: 9.00 Mbit/s
> vbvbuffer 1835008 frame rate: 29.970
> starting with video PTS: 0:00:00.500
> AC3 stream: bit rate: 192 kb/s freq: 48000 Hz
> frame size 768
> starting audio PTS: 0:00:00.500
> Video output File is: /storage/temp/work/1/stream.mv2
> AC30 output File is: /storage/temp/work/1/stream0.ac3
> STARTING DEMUX
> read 1%^Mread 2%^Mread 3%^Mread 4%^Mread 5%^Mread 6%^Mread 7%^Mread
> 8%^Mvideo PTS inconsistent: 0:12:29.948 0:12:29.948 0:12:30.015 0:12:29.515
> diff: 0:00:00.066
> video DTS inconsistent: 0:12:29.915 0:12:29.915 0:12:29.982 0:12:29.482
> diff: 0:00:00.066
> video PTS inconsistent: 0:12:29.982 0:12:29.982 0:12:30.048 0:12:29.548
> diff: 0:00:00.066
> video DTS inconsistent: 0:12:29.948 0:12:29.948 0:12:30.015 0:12:29.515
> diff: 0:00:00.066
> video PTS inconsistent: 0:12:30.015 0:12:30.015 0:12:30.082 0:12:29.582
> diff: 0:00:00.066
> video DTS inconsistent: 0:12:29.982 0:12:29.982 0:12:30.048 0:12:29.548
> diff: 0:00:00.066
> video PTS inconsistent: 0:12:30.048 0:12:30.048 0:12:30.115 0:12:29.615
> diff: 0:00:00.066
> [thousands of lines like the above...]
>
I have seen this a lot. This means that the audio and video are out of
sync although it is possible that mythreplex will fix this in the end.

John


More information about the mythtv-users mailing list