Closed GoogleCodeExporter closed 8 years ago
Did you run configure with the --enable-panscan option, also you need a VERY
recent
mplayer from SVN for this to work.
Original comment by kdeko...@gmail.com
on 1 Sep 2009 at 3:04
No, I didn't. Well, I did it now and updated mplayer as well, but now there's
another
problem. ASS Subtitles don't show up!
Original comment by ccri...@gmail.com
on 1 Sep 2009 at 3:46
If ASS subtitles are not showing up, please make sure that ASS support is
enabled
when you compile mplayer. the configure stage will tell you if they are enabled
or not.
Original comment by kdeko...@gmail.com
on 1 Sep 2009 at 3:54
OK, edit that. They DO work, but they only show up in fullscreen and not in
windowed
mode. I can live with that for now; though I doubt it's intentional. Thanks.
Original comment by ccri...@gmail.com
on 1 Sep 2009 at 3:55
And yes, ASS is enabled as always when I build mplayer, and it does work
normally on
standard mplayer through terminal.
Original comment by ccri...@gmail.com
on 1 Sep 2009 at 3:55
One final note I just observed. The subtitles in fullscreen, like I said, show
up
fine, but in windowed they are not showing up apparently because they get
extremely
offset. On some videos I'm observing them peeking through a corner and not in
appropriate scale.
Original comment by ccri...@gmail.com
on 1 Sep 2009 at 3:59
Support for this is really new in mplayer, so perhaps there are still some
issues to
be worked out with subtitle positioning.
Original comment by kdeko...@gmail.com
on 1 Sep 2009 at 4:10
Comment from the mplayer mailing list.
On Tue, Sep 01, 2009 at 10:12:38AM -0600, Kevin DeKorte wrote:
> > On 08/27/2009 12:55 PM, Reimar Döffinger wrote:
>> > > On Thu, Aug 27, 2009 at 12:08:23PM -0600, Kevin DeKorte wrote:
>>> > >> On 08/27/2009 11:45 AM, Reimar Döffinger wrote:
>>>> > >>> Uh, the "problem" is that your frontend sends the fullscreen command
on
>>>> > >>> to MPlayer, for whatever reason. This then causes MPlayer to return
back
>>>> > >>> to the old -wid without -fs behaviour...
>>>> > >>> Maybe it is just a really bad idea to do this via -fs I have to
admit,
>>>> > >>> but code-wise (in MPlayer code) that just fits perfectly...
>>> > >>
>>> > >> Ok, that was helpful, I now reset vo_fullscreen to 1 after going in and
>>> > >> out of fullscreen mode and that seems to correct it.
>> > >
>> > > I am working on splitting the fullscreen and aspect mode stuff into
>> > > different variable/options/whatever.
>> > > It might take some time to finish, but if it would add too much ugly code
>> > > on your side it might make sense to not add support yet.
>> > > As always, if it is bad to use or so feel free to tell me, sometimes
>> > > it's just too hard but sometimes I just don't know what kind of issues
>> > > those frontend coders have ;-)
> >
> > A user reported to me that the ASS subtitles appear to be positioned off
> > screen when using panscan in a window with the -fs option enabled.
> >
> > I'll take a look at it here, but wanted to give you a heads up as well.
ASS tries to place the subtitles "intelligently" but with huge panscan
values it seems to get it wrong. This happens just as much in normal
fullscreen, try playing some files with extreme values like -aspect 0.4
and you get the same with normal MPlayer and -fs (I tested with
http://samples.mplayerhq.hu/Matroska/mewmew/mewmew-vorbis-ssa.mkv ).
_______________________________________________
MPlayer-users mailing list
MPlayer-users@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
Original comment by kdeko...@gmail.com
on 1 Sep 2009 at 4:56
No offense, but that's not what I'm seeing at all. mplayer showing subs fine in
-aspect 0.4 just fine on the short tests I ran with various videos, both in
widowed
and fullscreen. gnome-mplayer only showing ok in fullscreen on every video
tried.
Original comment by ccri...@gmail.com
on 2 Sep 2009 at 8:22
Oh, also, I have to say the same thing about that test video
http://samples.mplayerhq.hu/Matroska/mewmew/mewmew-vorbis-ssa.mkv
Showing up as usual in alone mplayer both fullscreen and windowed.
Original comment by ccri...@gmail.com
on 2 Sep 2009 at 8:27
Well I retested it this morning with the mewmew video and subtitles work
perfectly
for me. I opened the video, made the window tall and then selected the second
eng
subtitle and then used the W / E keys to adjust panscan and the subtitles were
always
visible. I tested this with xv and gl2 vo's
Original comment by kdeko...@gmail.com
on 2 Sep 2009 at 12:36
I'm not too clear. Do you mean gnome-mplayer works? If so, that is strange.
Subs only
show correct in fullscreen, but stand alone mplayer windowed mode fine. I even
updated from svn.
Original comment by ccri...@gmail.com
on 3 Sep 2009 at 2:25
I can post some screenshots if you want...
Original comment by kdeko...@gmail.com
on 3 Sep 2009 at 2:30
Why would I want? I'm seeing it with my own eyes.
Original comment by ccri...@gmail.com
on 3 Sep 2009 at 2:41
Yes gnome-mplayer works correctly with subtitles. I'm surprised that you are
only
seeing them in fullscreen mode. They work here in non-fullscreen mode as well.
Can
you update to SVN and then post the gnome-mplayer -v output. I have reports of
it
working in bug #227 as well.
Original comment by kdeko...@gmail.com
on 3 Sep 2009 at 2:53
Here's the output playing that test video:
GNOME MPlayer v0.9.8
vo = vdpau ao = alsa
Running in single instance mode
Running with GIO support
Running with panscan enabled (mplayer svn r29565 or higher required)
Master Playback is 1
Master Range is 0 to 31
Master Current Volume 24, multiplier = 3.225806
Scaled Volume is 77.419355
Using volume of 77.00
Using softvol, setting volume to max (will be limited by mixer 100% of 77%)
Using match: type='signal',interface='com.gnome.mplayer'
Using match: type='signal',interface='org.gnome.SettingsDaemon'
Proxy connections and Command connected
opening playlist
playlist detection = 0
adding file:///home/x/mewmew-vorbis-ssa.mkv to playlist (cancel = 0)
getting file metadata for /home/x/mewmew-vorbis-ssa.mkv
playing - file:///home/x/mewmew-vorbis-ssa.mkv
is playlist 0
current size = 0 x 0
Changing window size to 640 x 480 visible = 1
mplayer -profile gnome-mplayer -vo vdpau,xv,x11 -quiet -slave -identify -softvol
-volume 100 -mixer-channel Master -noconsolecontrols -noidle -osdlevel 1
-nomouseinput -cache 544 -wid 0x4000050 -fs -ss 0 -ass -embeddedfonts
-ass-font-scale
1.00 -ass-color c9e30000 -channels 2 -vo vdpau:sharpen=0:denoise=0.5 -af bs2b
-af-add
export=/tmp/mplayer-af_exportwhmkys:512 /home/x/mewmew-vorbis-ssa.mkv
current size = 360 x 1
Changing window size to 640 x 480 visible = 1
Spawn succeeded for filename /home/x/mewmew-vorbis-ssa.mkv
MPlayer SVN-r29617-4.3.2 (C) 2000-2009 MPlayer Team
Playing /home/x/mewmew-vorbis-ssa.mkv.
Cache fill: 2.94% (16384 bytes)
ID_VIDEO_ID=0
[mkv] Track ID 1: video (V_MS/VFW/FOURCC), -vid 0
ID_AUDIO_ID=0
ID_AID_0_LANG=jpn
[mkv] Track ID 2: audio (A_VORBIS), -aid 0, -alang jpn
ID_SUBTITLE_ID=0
ID_SID_0_LANG=eng
[mkv] Track ID 3: subtitles (S_SSA), -sid 0, -slang eng
ID_SUBTITLE_ID=1
ID_SID_1_LANG=dut
[mkv] Track ID 4: subtitles (S_SSA), -sid 1, -slang dut
ID_SUBTITLE_ID=2
ID_SID_2_LANG=eng
[mkv] Track ID 5: subtitles (S_SSA), -sid 2, -slang eng
ID_SUBTITLE_ID=3
ID_SID_3_LANG=fin
[mkv] Track ID 6: subtitles (S_SSA), -sid 3, -slang fin
ID_SUBTITLE_ID=4
ID_SID_4_LANG=fre
[mkv] Track ID 7: subtitles (S_SSA), -sid 4, -slang fre
ID_SUBTITLE_ID=5
ID_SID_5_LANG=ger
[mkv] Track ID 8: subtitles (S_SSA), -sid 5, -slang ger
ID_SUBTITLE_ID=6
ID_SID_6_LANG=heb
[mkv] Track ID 9: subtitles (S_SSA), -sid 6, -slang heb
ID_SUBTITLE_ID=7
ID_SID_7_LANG=hun
[mkv] Track ID 10: subtitles (S_SSA), -sid 7, -slang hun
ID_SUBTITLE_ID=8
ID_SID_8_LANG=ita
[mkv] Track ID 11: subtitles (S_SSA), -sid 8, -slang ita
ID_SUBTITLE_ID=9
ID_SID_9_LANG=jpn
[mkv] Track ID 12: subtitles (S_SSA), -sid 9, -slang jpn
ID_SUBTITLE_ID=10
ID_SID_10_LANG=nor
[mkv] Track ID 13: subtitles (S_SSA), -sid 10, -slang nor
ID_SUBTITLE_ID=11
ID_SID_11_LANG=pol
[mkv] Track ID 14: subtitles (S_SSA), -sid 11, -slang pol
ID_SUBTITLE_ID=12
ID_SID_12_LANG=por
[mkv] Track ID 15: subtitles (S_SSA), -sid 12, -slang por
ID_SUBTITLE_ID=13
ID_SID_13_LANG=rus
[mkv] Track ID 16: subtitles (S_SSA), -sid 13, -slang rus
ID_SUBTITLE_ID=14
ID_SID_14_LANG=spa
[mkv] Track ID 17: subtitles (S_ASS), -sid 14, -slang spa
ID_SUBTITLE_ID=15
ID_SID_15_LANG=swe
[mkv] Track ID 18: subtitles (S_ASS), -sid 15, -slang swe
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO: [XVID] 640x480 16bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
ID_FILENAME=/home/x/mewmew-vorbis-ssa.mkv
ID_DEMUXER=mkv
ID_VIDEO_FORMAT=XVID
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=640
ID_VIDEO_HEIGHT=480
ID_VIDEO_FPS=23.976
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=vrbs
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=58.18
ID_SEEKABLE=1
ID_CHAPTERS=0
ERROR: Couldn't open video filter 'ass'.
ERROR: ASS: cannot add video filter
[ass] Init
[ass] Updating font cache.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
ID_VIDEO_CODEC=ffodivx
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->192000)
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
==========================================================================
[export] Exporting to file: /tmp/mplayer-af_exportwhmkys
[export] Memory mapped to file: /tmp/mplayer-af_exportwhmkys (0xb7918000)
[export] Exporting to file: /tmp/mplayer-af_exportwhmkys
[export] Memory mapped to file: /tmp/mplayer-af_exportwhmkys (0xb7918000)
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
[export] Exporting to file: /tmp/mplayer-af_exportwhmkys
[export] Memory mapped to file: /tmp/mplayer-af_exportwhmkys (0xb7918000)
[export] Exporting to file: /tmp/mplayer-af_exportwhmkys
[export] Memory mapped to file: /tmp/mplayer-af_exportwhmkys (0xb7918000)
ID_AUDIO_CODEC=ffvorbis
[Mixer] No hardware mixing, inserting volume filter.
[export] Exporting to file: /tmp/mplayer-af_exportwhmkys
[export] Memory mapped to file: /tmp/mplayer-af_exportwhmkys (0xb7918000)
Starting playback...
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.3333
VO: [vdpau] 640x480 => 640x480 Planar YV12 [fs]
Resizing to 640 x 480
current size = 640 x 483
Changing window size to 640 x 480 visible = 1
ANS_switch_audio is invalid -1
ANS_switch_audio is invalid -1
ANS_switch_audio is invalid -1
Exiting... (Quit)
Thread completing
Original comment by ccri...@gmail.com
on 3 Sep 2009 at 6:56
Please select any non-english subtitle and then post a screenshot. I'm pretty
sure
this works since I am using the same vide and the same configuration and I am
getting
subtitles in my non-fullscreen window.
Original comment by kdeko...@gmail.com
on 3 Sep 2009 at 7:26
http://i29.tinypic.com/28lqr82.jpg
I have found this out, it only happens on vdpau. I wasn't noticing it before
because
despite changing the output on the gnome-mplayer settings, vdpau gets used. You
can
see that on the output above. When I forced -vo xv or gl in the extra settings,
the
subtitles showed fine. Still, regular mplayer displays them fine with vdpau.
Original comment by ccri...@gmail.com
on 3 Sep 2009 at 8:04
Sorry, I don't have any vdpau hardware to test with, plus you seem to have a
lot of
extra options put in the extra flags. If you can make it work, I will be
willing to
take a patch for this.
Original comment by kdeko...@gmail.com
on 3 Sep 2009 at 8:19
Original issue reported on code.google.com by
ccri...@gmail.com
on 1 Sep 2009 at 2:55