[mythtv-users] Getting mythtranscode to work with MP3 audio

Lukas Kasprowicz lukas.kasprowicz at web.de
Sat Mar 19 21:12:07 UTC 2005


Am Donnerstag, 10. März 2005 20:00 schrieb David Morrison:
> Hi,
>
> A few days ago I posted a problem with my gentoo box which has a
> Nova-T DVB card and mythtranscode. My problem was that mythtranscode
> failed with an error of "Only MP2 audio is currently supported".
>
> I think the problem is that the audio stream being saved into the .nuv
> files is in MP3. If I run the file through mplayer I get the following:
>
> Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
> MP3lib: init layer2&3 finished, tables done
> AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 24000->192000 (192.0 kbit)
> Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
>
> So, is there anyway I can use mythtv's built in transcoder or can I
> make my recording in mp2, or will mythtranscode be updated to handle
> mp3 files? (Or am I wrong on all this?)
>
> Dave

Got the same problem with a gentoo box.

got following log in mythbackend.log:

Input #0, mpeg, from '/home/mythtv/1058_20050319014500_20050319020000.nuv':
  Stream #0.0: Video: mpeg2video, 720x576, 25.00 fps, 15000 kb/s
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 192 kb/s

trying to transcode, i get error, only mp2 supported.

mythtv at marina ~ $ mythtranscode -i 1058_20050319014500_20050319020000.nuv
Stream: 0 Type: 0
Stream: 1 Type: 1
Input #0, mpeg, from '1058_20050319014500_20050319020000.nuv':
  Stream #0.0: Video: mpeg2video, 720x576, 25.00 fps, 15000 kb/s
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 192 kb/s
Only MP2 audio is currently supported
mythtranscode: mpeg2trans.cpp:375: uint32_t 
MPEG2trans::process_mp2_audio(AVPacket*): Assertion `0' failed.
Aborted


From mplayer i get following:

Playing 1058_20050319014500_20050319020000.nuv.
MPEG-PES file format detected.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  15000.0 kbps (1875.0 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================



Lukas


More information about the mythtv-users mailing list