View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 8 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Nov 19, 2009 10:23 pm 
Offline
Joined: Mon Nov 08, 2004 9:32 pm
Posts: 66
Location: Murfreesboro, TN
Does anyone know how to get mplayer in LinHES 6 to play the TrueHD audio from a decoded BlueRay .m2ts movie? I have tried several -ac decoders as well as the -aid 4353 and -ausid 0x71 options. All it ever sees audio wise is the ac3 streams. Video works like a charm with the VDPAU drivers.

mplayer reports itself at:
MPlayer SVN-r29134-snapshot-4.3.3 (C) 2000-2009 MPlayer Team
138 audio & 296 video codecs

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 19, 2009 11:27 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
Did you try the example command lines here:
http://www.mythtv.org/wiki/High_Definition_Disk_Formats

FWIW, your decoding hardware (i.e. your stereo receiver) needs to support MLP/TrueHD for you to hear it, otherwise it's all white noise/static.

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 20, 2009 10:58 pm 
Offline
Joined: Mon Nov 08, 2004 9:32 pm
Posts: 66
Location: Murfreesboro, TN
I tried all of those options and still no audio...

This is the output from ffmpeg:
Code:
$ ffmpeg -i HD_Movie.m2ts
FFmpeg version SVN-r19483, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --prefix=/usr --enable-gpl --enable-nonfree --enable-libmp3lame
 --enable-libfaac --enable-libfaad --enable-libx264 --enable-libtheora --enable-
postproc --enable-shared --enable-pthreads --enable-x11grab --arch=i686 --enable
-libxvid
  libavutil     50. 3. 0 / 50. 3. 0
  libavcodec    52.32. 0 / 52.32. 0
  libavformat   52.36. 0 / 52.36. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Jul 22 2009 09:34:27, gcc: 4.3.3

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (48000/
1001) -> 23.98 (24000/1001)
Input #0, mpegts, from 'HD_Movie.m2ts':
  Duration: 02:06:50.31, start: 11.608978, bitrate: 41596 kb/s
  Program 1
    Stream #0.0[0x1011]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 23.
98 tbr, 90k tbn, 47.95 tbc
    Stream #0.1[0x1100]: Data: AC-3 / 0x332D4341
    Stream #0.2[0x1101]: Audio: ac3, 48000 Hz, 5.1, s16, 640 kb/s
    Stream #0.3[0x1102]: Audio: ac3, 48000 Hz, 5.1, s16, 640 kb/s
    Stream #0.4[0x1103]: Audio: ac3, 48000 Hz, stereo, s16, 224 kb/s
    Stream #0.5[0x1200]: Data: 0x0090
    Stream #0.6[0x1201]: Data: 0x0090
    Stream #0.7[0x1202]: Data: 0x0090
    Stream #0.8[0x1203]: Data: 0x0090
    Stream #0.9[0x1204]: Data: 0x0090
    Stream #0.10[0x1205]: Data: 0x0090
    Stream #0.11[0x1206]: Data: 0x0090
At least one output file must be specified


The TrueHD audio track is Stream #0.1 which says it is "Data AC-3" and not "Audio MLP" like the examples given. The audio ac3 tracks are Spanish, French and the commentary tracks which will decode fine.

VLC under Windows reports the TrueHD Audio Stream #1 as lpcm for the codec?

You mention that the decoding hardware needs to support TrueHD.
I would think that mplayer should decode the audio stream within MythTV if it has the proper codecs installed and using the proper play options? The software BD players can play TrueHD audio on Windows PCs.

Has anyone been able to play TrueHD audio with mplayer within MythTV and LinHES before?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 21, 2009 10:42 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
rod821 wrote:
The TrueHD audio track is Stream #0.1 which says it is "Data AC-3" and not "Audio MLP" like the examples given. The audio ac3 tracks are Spanish, French and the commentary tracks which will decode fine.

I've never been able to play TrueHD/MLP because I can't decode it with my receiver and I don't feel like futzing around with special options passthu/decode for certain files. It may be possible, but I'm not sure. When I use FFMPEG to get info on a TrueHD file the audio shows up as "truehd"
Code:
FFmpeg version SVN-r19483, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --prefix=/usr --enable-gpl --enable-nonfree --enable-libmp3lame --enable-libfaac --enable-libfaad --enable-libx264 --enable-libtheora --enable-postproc --enable-shared --enable-pthreads --enable-x11grab --arch=i686 --enable-libxvid
  libavutil     50. 3. 0 / 50. 3. 0
  libavcodec    52.32. 0 / 52.32. 0
  libavformat   52.36. 0 / 52.36. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Jul 22 2009 09:34:27, gcc: 4.3.3

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (5994/125) -> 24.00 (24/1)
Input #0, matroska, from '/myth/md1/video2/HD/my_movie.mkv':
  Duration: 02:54:37.47, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264, yuv420p, 1920x1080, PAR 1:1 DAR 16:9, 24 tbr, 1k tbn, 47.95 tbc
    Stream #0.1(eng): Audio: ac3, 48000 Hz, 6 channels, s16
    Stream #0.2(eng): Audio: truehd, 48000 Hz, 6 channels, s16
so you may want to try to use pacman to update your mplayer and ffmpeg -- if it's not up-to-date.

Code:
$ sudo pacman -Sy --needed ffmpeg-svn mplayer

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 22, 2009 8:21 pm 
Offline
Joined: Mon Nov 08, 2004 9:32 pm
Posts: 66
Location: Murfreesboro, TN
Thanks,

Looks like TrueHD audio is going to take some experimenting time. Funny thing is my FFmpeg is the same version as yours, but your video shows the TrueHD stream as a Audio tag...Mine as a Data stream?

For fun, I tired installing the latest LVC on my Windows XP platform, and it decodes the English audio track from the m2ts file just fine. So decoding the audio within MythTV is feasible, just need the proper codecs and player options. I thought about trying Xine sometime and see if that might work, but not up to speed on Xine and its player options. Next rainy day perhaps.

I am also playing with eac2to to extract the audio stream and re-encode as FLAC and see how that works. MKVmerge both video and audio streams in a mkv file once decoded.

Eac2to reports the TrueHD stream as "TrueHD/AC3, English, 5.1 channels, 48Khz, dialnorm: -27dB / (embedded: AC3, 5.1 channels 640kbps, 48khz, dialnorm: -27dB)", so not sure why FFmpeg did not see it as TrueHD Audio?

I'll post results when I try the Xine player later.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 23, 2009 1:15 pm 
Offline
Joined: Fri Jun 23, 2006 10:57 am
Posts: 106
Interested in hearing how your FLAC test works out.

For my bluray rips I use eac2to and mux the audio/video to mkv files as you suggest here. The audio does end up as 5.1 but it's all my surround system can handle anyway.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 23, 2009 7:06 pm 
Offline
Joined: Mon Nov 08, 2004 9:32 pm
Posts: 66
Location: Murfreesboro, TN
Well I tried running eac2to twice and it kept aborting near the end of its processing of my m2ts video file... Darn.

However, I then found a little jewel that did convert the audio to normal AC3 5.1 and did it quite fast as well.
http://www.makemkv.com/

It allows dropping all of the non-wanted audio streams, subtitles, and movie previews from the container before processing into a mkv file, saving some storage space on the backend array. I lost over 8GB after trimming off the non-English audio streams and subtitles.

Perhaps not the best solution, but it does allow Myth to play TrueHD audio encoded movies, at least until mplayer can do it internally. :P


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 24, 2009 10:50 am 
Offline
Joined: Mon Nov 08, 2004 9:32 pm
Posts: 66
Location: Murfreesboro, TN
Looking through the makemkv forum, I found this topic and reply.

Quote:
FORUM TOPIC: Re: PLEASE PLEASE Add TrueHD ripping for Blu-Rays

Post by mike admin ยป Wed Nov 18, 2009 9:11 am

As usual therer are always various IFs and I'm not in the position to give exact dates. However it is fairly safe to say that in next couple months MakeMKV would be able to extract TrueHD tracks and put them either as LPCM or FLAC into MKV. The support for "native TrueHD" in MKV container is practically non-existing.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu