Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-04-09, 01:14 AM   #1
seth_keith
Registered User
 
Join Date: May 2009
Posts: 19
Default mplayer vdpau 1080p subtitles VC1 and other magic

I have been having lots of trouble making mplayer do what I want. The problem is I don't know what *should* work and what can never work and what might work sometime in the future. I am putting all this stuff together in this post, please help me with whatever. Be verbose because I am no mplayer expert. I use the minimyth package which comes with pre-built mplayer svn versions and nvidia drivers. Since the mplayer version shows as:

MPlayer UNKNOWN-4.4.0 (C) 2000-2009 MPlayer Team

I have been unable so far to get any support for it. I promise not to file a bug, but could you please just help out with some knowledge. I am not sure what the exact version of svn is for the mplayer, but I can find out, or even better tell me the version when said problem was fixed, and I'll make sure it gets into the builds...

First of all, I am using minimyth with mplayer svn and the vdpau nvidia release: nvidia.185.18.08. I am playing exclusively bluray movies.

Problem #1 - srt files

I can make subtitles work if I convert them to an .srt file, and name them the same name as the movie, then I get .srt subtitles. However I don't like the external file, and I don't like having to convert to .srt. I tried to encode everything into a .mkv file, but the subtitles will not play from inside the .mkv file. Cycling subtitles, etc, has no effect. Can you play .srt inside a .mkv? What is the trick to making it work?

Problem #2 - sub files

I can transcode ( or whatever you call it ) the embedded sup files in the m2ts files of the bluray into a .sub file with sup2sub, however I can never make these work. When mplayer starts up, it shows the language as "eng" however, using the settings:

slang=en,eng

in the .mplayer/config file and running mplayer with:

mplayer -vobsub <subfile w/o extension>

Does not work. I actually see the 'eng' subtitles label in the OSD when I cycle, but I get no subtitles. I really want .sub files to work because converting to .srt takes so much effort. Can this/How can I make .sub files show? How about in an .mkv file? What about some other (any other) container file?

Problem #3 - VC-1 will not play

I have a problem playing "journey to the edge of the universe", but I don't know why.

eac3to says:

TS, 1: VC-1, 1080i60 /1.001 (16:9)

I get a blank screen and this when I play:

Playing journey_to_the_edge_of_the_universe.ts.
TS file format detected.
VIDEO VC1(pid=4113) AUDIO A52(pid=4352) NO SUBS (yet)! PROGRAM N. 1
Searching for VC1 sequence header... found
VIDEO: VC-1 1920x1080, 29.970 fps, header len: 33
dvdsublang...journey to the edge of the universe en eng english
dvdsublang...journey to the edge of the universe en eng english
dvdsublang...journey to the edge of the universe en eng english
dvdsublang...journey to the edge of the universe en eng english
dvdsublang...journey to the edge of the universe en eng english
dvdsublang...journey to the edge of the universe en eng english
dvdsublang...journey to the edge of the universe en eng english
dvdsublang...journey to the edge of the universe en eng english
================================================== ========================
Forced video codec: ffmpeg12vdpau
Forced video codec: ffh264vdpau
Forced video codec: ffvc1vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] Trying pixfmt=0.
Unsupported PixelFormat -1
VDec: vo config request - 1920 x 1080 (preferred colorspace: VC1 VDPAU acceleration)
VDec: using VC1 VDPAU acceleration as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 1920x1080 => 1920x1080 VC1 VDPAU acceleration
[VD_FFMPEG] XVMC-accelerated MPEG-2.
[VD_FFMPEG] Trying pixfmt=0.
[VD_FFMPEG] XVMC-accelerated MPEG-2.
[VD_FFMPEG] XVMC-accelerated MPEG-2.
Selected video codec: [ffvc1vdpau] vfm: ffmpeg (FFmpeg WVC1 (VDPAU))
================================================== ========================
================================================== ========================
Opening audio decoder: [liba52] AC3 decoding with liba52
No accelerated IMDCT transform found
AUDIO: 48000 Hz, 2 ch, floatle, 448.0 kbit/14.58% (ratio: 56000->384000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
================================================== ========================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Error while decoding frame!
Error while decoding frame!99 ct: 0.000 1/ 1 ??% ??% ??,?% 0 0

I don't this is even vdpau, because with

mplayer -noconfig all I get

Playing journey_to_the_edge_of_the_universe.ts.
TS file format detected.
VIDEO VC1(pid=4113) AUDIO A52(pid=4352) NO SUBS (yet)! PROGRAM N. 1
Searching for VC1 sequence header... found
VIDEO: VC-1 1920x1080, 29.970 fps, header len: 33
================================================== ========================
Opening video decoder: [dmo] DMO video codecs
Win32 LoadLibrary failed to load: wvc1dmod.dll, /usr/lib/codecs/wvc1dmod.dll, /usr/lib/win32/wvc1dmod.dll, /usr/local/lib/win32/wvc1dmod.dll
IMediaObject ERROR: 0x8296d1a could not open DMO DLL (0x0 : 0)
Failed to create DMO filter
ERROR: Could not open required DirectShow codec wvc1dmod.dll.
You need to upgrade/install the binary codecs package.
Go to http://www.mplayerhq.hu/dload.html
VDecoder init failed
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffvc1] vfm: ffmpeg (FFmpeg WVC1)
================================================== ========================
================================================== ========================
Opening audio decoder: [liba52] AC3 decoding with liba52
No accelerated IMDCT transform found
AUDIO: 48000 Hz, 2 ch, floatle, 448.0 kbit/14.58% (ratio: 56000->384000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
================================================== ========================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Error while decoding frame!
Error while decoding frame!99 ct: 0.000 1/ 1 ??% ??% ??,?% 0 0


Any help would be excellent. If you could tell me if this *should* be possible, how, and in what version that changed, I would be forever in your AV debt...
seth_keith is offline   Reply With Quote
Old 06-04-09, 02:48 AM   #2
cehoyos
FFmpeg developer
 
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
Default Re: mplayer vdpau 1080p subtitles VC1 and other magic

Quote:
Originally Posted by seth_keith View Post
VC-1 will not play
Interlaced VC1 is not supported by FFmpeg (and therefore, with an exception for a minority of files in xine-vdpau, by no open-source video player).
The problem is known and has been discussed already in this forum.

For the subtitle problems, you should test with -noconfig and report them to mplayer-users after compiling latest svn yourself.

Carl Eugen
cehoyos is offline   Reply With Quote
Old 06-04-09, 04:15 PM   #3
seth_keith
Registered User
 
Join Date: May 2009
Posts: 19
Default Re: mplayer vdpau 1080p subtitles VC1 and other magic

Thanks for the response. What about vobsubs? Should vobsubs work with vdpau? What command line options should I use to play a vobsub with vdpau?
seth_keith is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:03 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.