kkloster21
16th October 2008, 20:50
I am trying to find a way to decode and play trueHD, DTS-HD MA, and PCM tracks (obviously PCM does not need to be decoded) on the fly for blu-ray discs that i have. I am trying to play the discs, NOT rip them to my hard drive. I am running linux 64-bit.
I have successfully been able to watch blu-rays (with mplayer) that have just dolby digital 5.1 audio tracks, but any discs with only a trueHD or DTS-HD MA or PCM english track, i am unable to get audio for.
I thought that ffmpeg was supposed to support playing MLP/trueHD tracks without any patches at this point. I haven't been able to get it to work though. I have tried running mplayer with flags like:
$ mplayer -cache 8192 -lavdopts threads=4 -demuxer -lavf -aid 1 -ac mlp -fps 24000/1001 -channels 6 -
and without the lavf demuxer (with -aid 4352) and with some other -ac options (like ffmlp). I can't get it to play the trueHD or DTS-HD MA tracks. If i use the lavf demuxer, the console stops at
libavformat file format detected.
and never does anything. when i ctrl-c to quit the process, the mplayer video window shows up for an instant and then disappears and the following shows up in the console:
MPlayer interrupted by signal 2 in module: demux_open
MPlayer interrupted by signal 2 in module: enable_cache
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Video: 0x0000)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Video: 0x0000)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
LAVF: Program 1
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
[lavf] Audio stream found, -aid 2
[lavf] Audio stream found, -aid 3
VIDEO: [H264] 1920x1080 0bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
A52 sync failed
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Unknown/missing audio format -> no sound
ADecoder init failed :(
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
No accelerated IMDCT transform found
AC3/DTS sync failed
ADecoder init failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x2000.
Read DOCS/HTML/en/codecs.html!
Audio: no sound
Starting playback...
VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1920x1080 => 1920x1080 Planar YV12
V: 11.7 0/ 0 ??% ??% ??,?% 0 0 0%
Exiting... (Quit)
if i don't use the lavf demuxer (that is, running with no demuxer specified), then the video plays fine but there is no audio.
Has anybody had any success playing blu-rays with trueHD, DTS-HD MA, or PCM 5.1 tracks with mplayer (or any other linux video player i.e., VLC)? is it necessary (or possible) to pipe from dumphd to tsmuxer to mplayer (or some other de/remuxer)? I have been searching around through mplayer documentation, ffmpeg documentation, these forums and elsewhere for a while and i haven't been able to find anything that works.
I appreciate any help!
I have successfully been able to watch blu-rays (with mplayer) that have just dolby digital 5.1 audio tracks, but any discs with only a trueHD or DTS-HD MA or PCM english track, i am unable to get audio for.
I thought that ffmpeg was supposed to support playing MLP/trueHD tracks without any patches at this point. I haven't been able to get it to work though. I have tried running mplayer with flags like:
$ mplayer -cache 8192 -lavdopts threads=4 -demuxer -lavf -aid 1 -ac mlp -fps 24000/1001 -channels 6 -
and without the lavf demuxer (with -aid 4352) and with some other -ac options (like ffmlp). I can't get it to play the trueHD or DTS-HD MA tracks. If i use the lavf demuxer, the console stops at
libavformat file format detected.
and never does anything. when i ctrl-c to quit the process, the mplayer video window shows up for an instant and then disappears and the following shows up in the console:
MPlayer interrupted by signal 2 in module: demux_open
MPlayer interrupted by signal 2 in module: enable_cache
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Video: 0x0000)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Video: 0x0000)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
[mpegts @ 0x1369b30]Could not find codec parameters (Audio: ac3, s16)
LAVF: Program 1
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
[lavf] Audio stream found, -aid 2
[lavf] Audio stream found, -aid 3
VIDEO: [H264] 1920x1080 0bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
A52 sync failed
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Unknown/missing audio format -> no sound
ADecoder init failed :(
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
No accelerated IMDCT transform found
AC3/DTS sync failed
ADecoder init failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x2000.
Read DOCS/HTML/en/codecs.html!
Audio: no sound
Starting playback...
VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1920x1080 => 1920x1080 Planar YV12
V: 11.7 0/ 0 ??% ??% ??,?% 0 0 0%
Exiting... (Quit)
if i don't use the lavf demuxer (that is, running with no demuxer specified), then the video plays fine but there is no audio.
Has anybody had any success playing blu-rays with trueHD, DTS-HD MA, or PCM 5.1 tracks with mplayer (or any other linux video player i.e., VLC)? is it necessary (or possible) to pipe from dumphd to tsmuxer to mplayer (or some other de/remuxer)? I have been searching around through mplayer documentation, ffmpeg documentation, these forums and elsewhere for a while and i haven't been able to find anything that works.
I appreciate any help!