annolinux / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
0 stars 0 forks source link

No, at review of films, in case of installation Mplayer 1.0 RC3, automatic loading of external subtitles in format ASS. #197

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Forgive for bad English language. I from Russia, and I use the program the
translator.

No, at review of films, in case of installation Mplayer 1.0 RC3, automatic
loading of external subtitles in format ASS. Subtitles in format ASS now
need to be loaded manually (that inconveniently)...

Thus, in case of loading of subtitles in format ASS in manually, they work,
but are not displayed in the list of subtitles.

I have checked up all many times. My errors now are not present.

What steps will reproduce the problem?
1. Install MPlayer 1.0 RC3
2. To start a film with external subtitles in format ASS.

Original issue reported on code.google.com by unihorn1...@gmail.com on 11 Jun 2009 at 2:29

GoogleCodeExporter commented 8 years ago
If the subtitles are external, they need to have the exact same name as the 
media
except for the extension, for them to be auto loaded.

Can you run gnome-mplayer with the -v option from the commandline so I can see 
the
output of mplayer.

Also it does not appear that mplayer 1.0rc3 has not been released yet, at least
according to the website.

Original comment by kdeko...@gmail.com on 11 Jun 2009 at 3:29

GoogleCodeExporter commented 8 years ago
>If the subtitles are external, they need to have the exact same name as the 
media
except for the extension, for them to be auto loaded.

I know it. I use subtitles not the first day.

>Also it does not appear that mplayer 1.0rc3 has not been released yet, at least
according to the website.

http://ppa.launchpad.net/rvm/mplayer/ubuntu/pool/main/m/mplayer/

>Can you run gnome-mplayer with the -v option from the commandline so I can see 
the
output of mplayer.

OK.

Output Gnome Mplayer 0.5-0.6 (united in one file). In both cases MPlayer 1.0 
RC3.

Best regards.

Original comment by unihorn1...@gmail.com on 11 Jun 2009 at 6:07

Attachments:

GoogleCodeExporter commented 8 years ago

In addition to above told.

I, have probably, badly compiled Gnome MPlayer 0.6, but it shows films only 
with RC3.

Original comment by unihorn1...@gmail.com on 11 Jun 2009 at 6:22

Attachments:

GoogleCodeExporter commented 8 years ago
The ubuntu package is not the official one, but probably close enough. 

So you are saying this worked fine in gnome-mplayer 0.9.5 and now does not work 
in
0.9.6? Or it does not work after you upgraded to mplayer 1.0rc3? 

From the logs, I don't see any obvious problems. I guess I do not understand the
problem yet.

Original comment by kdeko...@gmail.com on 11 Jun 2009 at 6:24

GoogleCodeExporter commented 8 years ago
Yes, the mplayer 1.0rc2 is MUCH too old... the Ubuntu packagers have refused to
update numerous times.

But if you use gnome-mplayer 0.9.5 and mplayer 1.0rc2 everything works 
correctly?

Automatic Subtitle loading is controlled by mplayer, so perhaps something is
incorrect with the 1.0rc3 that you got. I have tested automatic subtitle 
loading here
with gnome-mplayer 0.9.6 and mplayer from SVN and everything appears to work 
properly.

Original comment by kdeko...@gmail.com on 11 Jun 2009 at 6:33

GoogleCodeExporter commented 8 years ago
Subtitles in format ASS cease to boot at upgrade to MPlayer RC3 (both in Gnome
MPlayer 0.5, and in Gnome MPlayer 0.6).

Also, Gnome MPlayer 0.6 (at least for me) does not work with MPlayer versions of
lower than RC3.

Original comment by unihorn1...@gmail.com on 11 Jun 2009 at 6:37

GoogleCodeExporter commented 8 years ago
Do subtitles come up when running mplayer from the command line by itself?

Sounds like you need to open a bug with the people that created mplayer 1.0rc3 
and
tell them. Because of mplayer does not load them, there is nothing I can do 
about it.

Original comment by kdeko...@gmail.com on 11 Jun 2009 at 6:41

GoogleCodeExporter commented 8 years ago
>But if you use gnome-mplayer 0.9.5 and mplayer 1.0rc2 everything works 
correctly?

With Mplayer RC2, Gnome MPlayer 0.5 works correctly.

But Gnome MPlayer 0.6 (at least for me) does not work with MPlayer RC2.

Original comment by unihorn1...@gmail.com on 11 Jun 2009 at 6:42

GoogleCodeExporter commented 8 years ago
>Do subtitles come up when running mplayer from the command line by itself?

MPlayer works. SMPlayer too works.

Original comment by unihorn1...@gmail.com on 11 Jun 2009 at 6:49

GoogleCodeExporter commented 8 years ago
>MPlayer works. SMPlayer too works.

I meant the following:

MPlayer RC3 works. SMPlayer (with RC3) too works.

Original comment by unihorn1...@gmail.com on 11 Jun 2009 at 6:54

GoogleCodeExporter commented 8 years ago
I guess I still don't understand what you mean by "works". Also when using
gnome-mplayer 0.9.6 do you have the option "Show Subtitles by Default" checked? 
It is
the last item on the Subtitles page in Edit -> Preferences

Also that fact that gnome-mplayer 0.9.5 and mplayer 10.rc2 "works" and 
gnome-mplayer
0.9.5 and mplayer 1.0rc3 does "not work" leads me to think there is problem with
mplayer 1.0rc3

Original comment by kdeko...@gmail.com on 11 Jun 2009 at 7:00

GoogleCodeExporter commented 8 years ago
>problem with mplayer 1.0rc3

MPlayer RC3, in itself, correctly loads subtitles in format ASS, and correctly 
works.

SMplayer, correctly, with RC3, loads subtitles in format ASS.

Also, SMPlayer correctly works with RC3.

Gnome Mplayer 0.5-0.6 (c RC3) does not load subtitles in format ASS.

Also Gnome Mplayer 0.6 does not work with RC2

>"Show Subtitles by Default" checked?

Yes.

Subtitles in format SRT are loaded correctly.

Subtitles in format ASS are incorrectly loaded only.

Original comment by unihorn1...@gmail.com on 11 Jun 2009 at 7:23

Attachments:

GoogleCodeExporter commented 8 years ago
>Also Gnome Mplayer 0.6 does not work with RC2

ERROR: Unknown option on the command line: -af-add

It not it?

Original comment by unihorn1...@gmail.com on 11 Jun 2009 at 7:26

GoogleCodeExporter commented 8 years ago
-af-add is an "audio filter" has nothing to do with ass subtitles. And nothing 
with
subtitles other than some coloring was changed between 0.9.5 and 0.9.6. (Please
reference the correct version numbers, I was confused because there is a 
version 0.5
and 0.6 that are VERY old of gnome-mplayer)

Original comment by kdeko...@gmail.com on 11 Jun 2009 at 7:35

GoogleCodeExporter commented 8 years ago
and yes -af-add is the reason why rc2 won't work with gnome-mplayer 0.9.6. This 
audio
filter provides the data for the audio meter. 

Original comment by kdeko...@gmail.com on 11 Jun 2009 at 7:37

GoogleCodeExporter commented 8 years ago
>reference the correct version numbers, I was confused because there is a 
version 0.5

Sorry... 0.9.5 and 0.9.6.

>-af-add is an "audio filter" has nothing to do with ass subtitles.

Is output with RC2 ("Also Gnome Mplayer 0.6 does not work with RC2").

0.9.6 (with RC2) not only does not load subtitles in format ASS, 0.9.6 (with 
RC2)
DOES NOT WORK COMPLETELY.

With RC3 works, but does not load subtitles in format ASS.

Original comment by unihorn1...@gmail.com on 11 Jun 2009 at 7:46

GoogleCodeExporter commented 8 years ago
>and yes -af-add is the reason why rc2 won't work with gnome-mplayer 0.9.6. 
This audio
filter provides the data for the audio meter. 

There is a possibility it to correct?

For example to make check on the version?

Original comment by unihorn1...@gmail.com on 11 Jun 2009 at 7:49

GoogleCodeExporter commented 8 years ago
gnome-mplayer 0.9.6 is not designed to work with RC2, this is not a bug.

To solve the ASS problem
Can you post the output of gnome-mplayer -v 0.9.5 + mplayer 1.0rc2 and 
gnome-mplayer
0.9.6 + mplayer 1.0rc3.

I want to see the differences between them as to why they may not work, but I am
guessing that it is a mplayer build issue. You could also try disabling 
"Embedded
Fonts" in the Subtitle setting.

Original comment by kdeko...@gmail.com on 11 Jun 2009 at 7:50

GoogleCodeExporter commented 8 years ago
I found a .ogm movie with a .ssa subtitle on my HD and it loads correctly. With 
my
mplayer and my gnome-mplayer.

Original comment by kdeko...@gmail.com on 11 Jun 2009 at 7:53

GoogleCodeExporter commented 8 years ago
I'm using mplayer

MPlayer SVN-r29343-4.4.0 (C) 2000-2009 MPlayer Team

Which is newer than your "RC3" so you might see if your packager will try a 
newer SVN
release.

Original comment by kdeko...@gmail.com on 11 Jun 2009 at 7:56

GoogleCodeExporter commented 8 years ago
I really have no desire to make gnome-mplayer support such an old version of 
mplayer.
I have asked the Ubuntu packager to upgrade his mplayer numerous times and his
response was "no" cause ther was not an mplayer release. Even though this old 
release
causes many problems. The mplayer team specifically have stated that people 
should
use SVN and should not be using rc2. Also there are many many bugs in rc2 that a
simple upgrade would fix. 

Original comment by kdeko...@gmail.com on 11 Jun 2009 at 8:03

GoogleCodeExporter commented 8 years ago
MPlayer SVN-r29355-4.3.3 (C) 2000-2009 MPlayer Team, newer MPlayer than for you.

The problem remained.

Output 0.9.6 c RC3 is above.

Here output 0.9.5 c RC2.

Look code SMPlayer, it correctly works with RC3...

Best regards.

Original comment by unihorn1...@gmail.com on 11 Jun 2009 at 9:31

Attachments:

GoogleCodeExporter commented 8 years ago
I also have upgraded to 29355..

Can you post your ~/.mplayer/config file?

So the file has japanese audio, and english subtitles and you want the russian
subtitle loaded which are in an external file, correct?

In the Edit menu are you seeing anything where you can select the subtitle to 
choose?

I have a feeling that I might need to get these files from you to solve this 
issue.
Since none of the files I have are exhibiting the problem.

Original comment by kdeko...@gmail.com on 11 Jun 2009 at 9:55

GoogleCodeExporter commented 8 years ago
I would only need about 2-3 mins of video file to test it

Original comment by kdeko...@gmail.com on 11 Jun 2009 at 9:55

GoogleCodeExporter commented 8 years ago
>So the file has japanese audio, and english subtitles and you want the russian
subtitle loaded which are in an external file, correct?

Yes.

Only presence of the built in English subtitles optionally...

>Can you post your ~/.mplayer/config file?

OK.

Original comment by unihorn1...@gmail.com on 11 Jun 2009 at 10:09

Attachments:

GoogleCodeExporter commented 8 years ago
I made some changes to SVN, can you test them for me? It should switch to the
subtitles from the file, when the file is found, if the mplayer documentation 
is correct.

Original comment by kdeko...@gmail.com on 12 Jun 2009 at 1:26

GoogleCodeExporter commented 8 years ago
Gnome Mplayer 0.9.7. The problem remained.

IMHO. Problem solution is search of subtitles directly Gnome MPlayer (Gnome 
MPlayer
searches for subtitles and transfers them in MPlayer (an example: mplayer 
-noautosub
-ass Kurenai_01.mkv -sub Kurenai_01.ass)).

Thus it is possible to make "indistinct" definition of subtitles (a filename of
subtitles similar addressed to a video file, but a filename of subtitles of not
identically filename of video).

So, as far as I understand, becomes in SMPlayer.

Original comment by unihorn1...@gmail.com on 12 Jun 2009 at 8:44

GoogleCodeExporter commented 8 years ago
The subtitles are loading, it just appears the wrong one is being selected 
automatically.

And yes, you can set any file as the subtitle

Use Edit->Set Subtitle
Or in the playlist right click on the filename and choose Set Subtitle

Original comment by kdeko...@gmail.com on 12 Jun 2009 at 1:08

GoogleCodeExporter commented 8 years ago
Can you try this?

In Edit-Preferences on the Subtitle tab, select the the subtitle encoding to be
blank, I think it is set to unicode by default. 

Original comment by kdeko...@gmail.com on 12 Jun 2009 at 1:20

GoogleCodeExporter commented 8 years ago
Ok, to fix this correctly, I am going to need the mkv file and the subtitle. 
This
guessing on how to fix it is going nowhere. 

Original comment by kdeko...@gmail.com on 12 Jun 2009 at 1:26

GoogleCodeExporter commented 8 years ago
Does pressing 'j' switch to the Russian subtitle?

The problem I am running into is that the subtitle is being loaded, but mplayer 
is
not identifing the LANG of the loaded subtitle..

This is the english one loading

ID_SUBTITLE_ID=0
ID_SID_0_NAME=Styled Subtitles
ID_SID_0_LANG=eng

This is what we get from the Russian one
ID_FILE_SUB_ID=0
ID_FILE_SUB_FILENAME=/home/andrey/Видео/D4/Kurenai/Kurenai_01.ass
SUB: Added subtitle file (1): /home/andrey/Видео/D4/Kurenai/Kurenai_01.ass

Original comment by kdeko...@gmail.com on 12 Jun 2009 at 3:22

GoogleCodeExporter commented 8 years ago
>Does pressing 'j' switch to the Russian subtitle?

Yes. It works.

Thanks for idea. Though somehow, now, it is possible to look. If in the menu 
"Select
Subtitle Language" it was displayed (subtitles there are not added..., only 
built
subtitles are shown), it was even better...

>I am going to need the mkv file and the subtitle.

OK

>2-3 mins of video

At present, I have no such possibility.

I give you whole video a file, with a file of subtitles, in one archive.

http://www.filefactory.com/file/ag6d830/n/example_zip

Best regards.

Original comment by unihorn1...@gmail.com on 12 Jun 2009 at 6:04

GoogleCodeExporter commented 8 years ago
Ok, that was not fun.... SVN has fixes in it now that work this way

1. If there an external subtitle file, default to it
2. Add to Subtitle Languages menu a new entry "FILE 0" when a external subtitle 
is
encountered

Original comment by kdeko...@gmail.com on 12 Jun 2009 at 10:04

GoogleCodeExporter commented 8 years ago
>Fixed

Many thanks. Now all works.:)

==================================================

The pair of questions not to create a new theme.

1. Whether addition in a graphic interface, or though in gconf, such necessary
functions as is planned: "Direct Rendering" (accelerating video), and a choice 
of
quantity of audio of channels (a stereo, 5.1, etc.)? At present for inclusion of
these functions it is necessary to use command line options, and the graphic
interface will make their inclusion more convenient (and simple for beginners).

2. In MPlayer if to change configuration (to replace codepage subtitles, for 
example)
for its activation it is enough to restart a video file (SMplayer activates at 
once).
But Gnome MPlayer, for this purpose, it is necessary to restart completely 
(that not
so conveniently). Whether it will be corrected?

Gnome MPlayer, now, already is the worthy frontend to MPlayer (and in case of
solution of the above-named questions, it will be even better).

Best regards.

Original comment by unihorn1...@gmail.com on 13 Jun 2009 at 1:02