[MPlayer-dev-eng] [PATCH] Bluray support through libbluray

Dâniel Fraga fragabr at gmail.com
Sun Jul 4 17:32:59 CEST 2010


On Sun, 4 Jul 2010 17:16:33 +0200
Reimar Döffinger <Reimar.Doeffinger at gmx.de> wrote:

> That depends on how subtitles are written to sync.
> If they were written to the actual timestamps in the file, they
> would continue to work if e.g. the file is cut, and also
> would work with MPlayer directly.

	Yes, but if we use an external subtitle file, it will be
related to timestamps starting from zero.

	Ps: Reimar, I still didn't get the PGS subtitles with your
patch. I'm using:

mplayer -demuxer lavf file.m2ts

	and it seems to not detect any PGS stream. For example:

fraga at tux ~/DVDFab/FullDisc/br$ tsMuxeR  up.m2ts 
SmartLabs tsMuxeR.  Version 1.10.6  http://www.smlabs.net
Track ID:    4113
Stream type: H.264
Stream ID:   V_MPEG4/ISO/AVC
Stream info: Profile: High at 4.1  Resolution: 1920:1080p  Frame rate:
23.976 Stream lang: 
Track ID:    4352
Stream type: DTS-HD
Stream ID:   A_DTS
Stream info: Bitrate: 1536Kbps  core + MLP data.Sample Rate: 48KHz
Channels: 5.1 (DTS Master Audio) Stream lang: eng
Track ID:    4608
Stream type: PGS
Stream ID:   S_HDMV/PGS
Stream info: Presentation Graphic Stream #0 Resolution: 1920:1080 Frame
rate: 23.976 Stream lang: por

	***

	It just detects video and audio streams... Any hints? thanks.

fraga at tux ~/DVDFab/FullDisc/br$ mplayer -demuxer lavf up.m2ts 
MPlayer SVN-r31628-4.5.0 (C) 2000-2010 MPlayer Team
155 audio & 340 video codecs

Playing up.m2ts.
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (dca), -aid 0, -alang eng
LAVF: Program 1 
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: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio:
192000->192000) Selected audio codec: [ffdca] afm: ffmpeg (FFmpeg DTS)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x1080 => 1920x1080 Planar YV12 
A: 600.6 V: 600.6 A-V:  0.000 ct:  0.000   0/  0 19%  8%  1.3% 0 0 
Exiting... (Quit)


-- 
Linux 2.6.34: Sheep on Meth





More information about the MPlayer-dev-eng mailing list