[mythtv-users] Problem with mythtranscode and mpeg2 from DVB

Juha Kuikka kuikka at iki.fi
Tue Oct 19 08:21:00 UTC 2004


My mythtranscode (hand-compiled 0.16) does not like the .nuv -files backend
generates from my DVB card. They play ok on frontend and mplayer.

mythtranscode -i 1000_20041016110500_20041016115500.nuv -l -p autodetect
-fifodir .

Stream: 0 Type: 0
Stream: 1 Type: 1
Input #0, mpeg, from '1000_20041016110500_20041016115500.nuv':
  Stream #0.0: Video: mpeg2video, 720x576, 25.00 fps
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 224 kb/s
Only MP2 audio is currently supported
mythtranscode: mpeg2trans.cpp:375: uint32_t MPEG2trans::process_mp2_audio(AVPacket*): Assertion `0' failed.

mplayer output for reference:

mplayer -vo null 1000_20041016110500_20041016115500.nuv 
(-vo null) because i'm not at the computer right now, trust me it plays ok)

Playing 1000_20041016110500_20041016115500.nuv.
MPEG-PES file format detected.
VIDEO:  MPEG2  720x576  (aspect 2)  25,000 fps  10000,0 kbps (1250,0 kbyte/s)
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: 28000->192000 (224,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
VDec: using Mpeg PES as output csp (no 0)
Movie-Aspect is 1,33:1 - prescaling to correct movie aspect.
VO: [null] 720x576 => 768x576 Mpeg PES  [fs]
Selected video codec: [mpegpes] vfm:mpegpes (Mpeg PES output (.mpg or Dxr3/DVB card))
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
A:46982,3 V:46982,8 A-V: -0,463 ct: -0,128   37/ 37   0%  0%  1,2% 0 0 0%%

So it looks very much that the audio is layer2 but somehow transcoder does not
like it. I took a look at the code line referenced but as my knowledge about
mpeg pes is minimal it says nothing to me.

Any help?

 - Juha Kuikka
Juha Kuikka  "It's weird o'clock"  Rohdinkuja 2 A 808
kuikka at iki.fi                      050 - 59 19 722
 <> SciFi/Fantasy/Horror Spektre www.spektre.fi <>

More information about the mythtv-users mailing list