[mythtv-users] mytharchive and 6-channel audio

Mark Buechler mark.buechler at gmail.com
Fri Sep 14 14:51:47 UTC 2007


I'm having trouble using MythArchive with a couple of my recordings. It
seems to be picking the wrong audio. Shouldn't it be picking only the ac3
audio?

I'm seeing this in the log:

2007-09-06 21:17:16 Preferred audio languages eng and aar
2007-09-06 21:17:16 Video id: 0x1e0, Audio1: [2] 0x80 (AC3, N/A), Audio2:
[1] - 0x1c0 (MP2, N/A)
2007-09-06 21:17:16 Aspect ratio is 4:3
2007-09-06 21:17:16 Re-encoding audio and video
2007-09-06 21:17:16 Encoding profile (LP) found
2007-09-06 21:17:16 ffmpeg -threads 2 -v 1 -i
"/transcode/work/1/newfile.mpg" -r ntsc -target dvd -b 2344k -s 352x480
-acodec copy -copyts -aspect 4:3 "/transcode/work/1/newfile2.mpg" -newaudio
-map 0:0 -map 0:2 -map 0:1
2007-09-06 21:17:16
************************************************************
2007-09-06 21:17:16 ERROR: Failed while running ffmpeg to re-encode video.
Command was ffmpeg -threads 2 -v 1 -i "/transcode/work/1/newfile.mpg" -r
ntsc -target dvd -b 2344k -s 352x480 -acodec copy -copyts -aspect 4:3
"/transcode/work/1/newfile2.mpg" -newaudio -map 0:0 -map 0:2 -map 0:1
2007-09-06 21:17:16
************************************************************
2007-09-06 21:17:16
2007-09-06 21:17:16 Terminated

When running ffmpeg manually with those options I get:

ffmpeg -threads 2 -v 1 -i "/transcode/work/1/newfile.mpg" -r ntsc -target
dvd -b 2344k -s 352x480 -acodec copy -copyts -aspect 4:3
"/transcode/work/1/newfile2.mpg" -newaudio -map 0:0 -map 0:2 -map 0:1
FFmpeg version SVN-r10287, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --prefix=/usr --enable-liba52 --enable-liba52bin
--disable-decoder=ac3 --enable-encoder=ac3 --enable-gpl --enable-libmp3lame
--enable-shared
  libavutil version: 49.5.0
  libavcodec version: 51.42.0
  libavformat version: 51.12.2
  built on Sep  3 2007 18:24:32, gcc: 4.1.3 20070429 (prerelease) (Debian
4.1.2-5)
Warning: not compiled with thread support, using thread emulation
Input #0, mpeg, from '/transcode/work/1/newfile.mpg':
  Duration: 02:30:14.7, start: 0.360000, bitrate: 2883 kb/s
  Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 704x480, 15000 kb/s,
29.97fps(r)
  Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 192 kb/s
  Stream #0.2[0x80]: Audio: liba52, 48000 Hz, 5:1, 384 kb/s
Assuming NTSC for target.
File '/transcode/work/1/newfile2.mpg' already exists. Overwrite ? [y/N] y
Output #0, dvd, to '/transcode/work/1/newfile2.mpg':
  Stream #0.0: Video: mpeg2video, yuv420p, 352x480, q=2-31, 2344 kb/s,
29.97fps(c)
  Stream #0.1: Audio: ac3, 48000 Hz, 5:1, 384 kb/s
  Stream #0.2: Audio: mp2, 48000 Hz, 5:1, 448 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.2 -> #0.1
  Stream #0.1 -> #0.2
[mp2 @ 0xb7d48410]encoding 6 channel(s) is not allowed in mp2
Error while opening codec for output stream #0.2 - maybe incorrect
parameters such as bit_rate, rate, width or height

- Mark.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070914/d2cdf719/attachment.htm 


More information about the mythtv-users mailing list