[mythtv-users] No Audio On DVD Files Transcoded with nuvexport)

Drew Tomlinson drew at mykitchentable.net
Sun Nov 4 20:09:31 UTC 2007


On 11/4/2007 11:09 AM Drew Tomlinson said the following:
> On 11/3/2007 9:29 AM Drew Tomlinson said the following:
>   
>> On 11/2/2007 8:52 AM Drew Tomlinson said the following:
>>   
>>     
>>> I'm using Myth 0.20.2-fixes compiled from Gentoo's portage tree.  I'm 
>>> also using nuvexport from the same tree.  The version number in the 
>>> nuvexport file is "0.4 0.20061203.svn".  I have used this version of 
>>> nuvexport successfully in the past but not for a while.
>>>
>>> Now when using nuvexport and attempting to encode to DVD, there is no 
>>> audio in the resulting files.  I take all the defaults.  I've tried 
>>> recompiling ffmpeg but no joy.  Any ideas on what might be broken?
>>>   
>>>     
>>>       
>> I've done some more digging on this problem.  I have Samba setup on my 
>> mythbackend and can map to the recordings drive with two separate 
>> Windows XP boxes.  I've tried opening the *.mpg files recorded by Myth 
>> with both VLC and PowerDVD.  There is no audio with either player on 
>> either box.  However I do get audio when using MythTV Player 0.50 for 
>> Windows on both boxes and other audio is fine on the Windows boxes.  As 
>> I recall, I used to be able to play these mpegs on Windows with these 
>> players.
>>
>> So nuvexport has nothing at all to do with the audio problems.  It seems 
>> I can no longer play MythTV recordings on Windows.  Has the audio 
>> encoding been changed?  What codec is used with recordings taken from a 
>> Hauppauge PVR 250?
>>     
>
> OK, one of the Windows machines was jacked and a reboot fixed the audio 
> on the other.  Thus now I can play the original MythTV *.mpg recordings 
> on Windows.  However when transcoding with nuvexport-dvd (or any other 
> format0, I still get no audio.  VLC shows one audio track as a *.mpga 
> file and shows frames being decoded but no audio.  mplayer shows no 
> audio.  Any ideas on how to get this working?
>   

I've done some more digging using the --debug flag.  Here are the actual 
commands being run by nuvexport:

MythTranscode
----------------

mythtv at tv ~ $ mkdir -m 0755 /tmp/fifodir_2381/
mythtv at tv ~ $ /usr/bin/nice -n19 /usr/bin/mythtranscode --showprogress 
-p autodetect -c 1231 -s 2007-07-23-16-59-00 -f "/tmp/fifodir_2381/" 
--honorcutlist 2>&1
2007-11-04 12:00:24.432 Using runtime prefix = /usr
2007-11-04 12:00:24.489 New DB connection, total: 1
2007-11-04 12:00:24.499 Enabled verbose msgs: important
2007-11-04 12:00:24.514 New DB connection, total: 2
2007-11-04 12:00:24.652 Using protocol version 31
[mpeg @ 0xb73ef0b0]Parser not found for Codec Id: 94210 !
0: start_time: 0.036 duration: 169.913
1: start_time: 1164.956 duration: 169.915
2: start_time: 0.020 duration: 169.903
stream: start_time: 0.223 duration: 14831.677 bitrate=664 kb/s
2007-11-04 12:00:38.697 Processed: 22 of 56595 frames(0 seconds)

FFMpeg
---------

mythtv at tv ~ $ /usr/bin/nice -n19 ffmpeg -f rawvideo -s 480x480 -r 29.970 
-i /tmp/fifodir_2381/vidout -f yuv4mpegpipe - 2> /dev/null | 
/usr/bin/nice -n19 yuvdenoise 2> /dev/null | /usr/bin/nice -n19 ffmpeg 
-y -f s16le -ar 48000 -ac 2 -i /tmp/fifodir_2381/audout -f yuv4mpegpipe 
-s 480x480 -aspect 1.33333333333333 -r 29.970 -i - -aspect 1.3333 -r 
29.97 -deinterlace -croptop    10 -cropright 10 -cropbottom 10 
-cropleft  10 -s 720x480  -b '6144000' -vcodec mpeg2video -qmin 5 -ab 
384 -ar 48000 -acodec mp2 -f dvd '/tv/Good Eats - Fishing Whole.2.mpg' 2>&1
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib 
--mandir=/usr/share/man --enable-static --enable-shared 
--cc=i686-pc-linux-gnu-gcc --disable-altivec --disable-debug 
--disable-audio-oss --disable-dv1394 --disable-ffplay --disable-ipv6 
--disable-opts --enable-libmp3lame --enable-liba52 --enable-pthreads 
--enable-libxvid --enable-x11grab --enable-libfaad --enable-libfaac 
--enable-gpl --enable-pp --enable-swscaler --disable-strip
  libavutil version: 49.4.0
  libavcodec version: 51.40.4
  libavformat version: 51.12.1
  built on Nov  2 2007 08:12:36, gcc: 4.1.2 (Gentoo 4.1.2)
Input #0, s16le, from '/tmp/fifodir_2381/audout':
  Duration: N/A, bitrate: N/A
  Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Input #1, yuv4mpegpipe, from 'pipe:':
  Duration: N/A, bitrate: N/A
  Stream #1.0: Video: rawvideo, yuv420p, 480x480, 29.97 fps(r)
Output #0, dvd, to '/tv/Good Eats - Fishing Whole.2.mpg':
  Stream #0.0: Video: mpeg2video, yuv420p, 720x480, q=5-31, 6144 kb/s, 
29.97 fps(c)
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 0 kb/s
Stream mapping:
  Stream #1.0 -> #0.0
  Stream #0.0 -> #0.1
frame= 3498 fps= 35 q=1.6 Lsize=   24042kB time=116.7 
bitrate=1687.9kbits/s   
video:23658kB audio:52kB global headers:0kB muxing overhead 1.398553%
Received signal 2: terminating.

Does anyone see any problems in the above?  One thing that strikes me as 
odd is that the audio output is shown at 0kb/s:

Output #0, dvd, to '/tv/Good Eats - Fishing Whole.2.mpg':
  Stream #0.0: Video: mpeg2video, yuv420p, 720x480, q=5-31, 6144 kb/s, 
29.97 fps(c)
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 0 kb/s

But I don't understand much of what I see so any help is appreciated.

Thanks,

Drew


-- 
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com



More information about the mythtv-users mailing list