AnimeSuki Forums

Register Forum Rules FAQ Members List Social Groups Search Today's Posts Mark Forums Read

Go Back   AnimeSuki Forum > AnimeSuki & Technology > Playback Help

Notices

Reply
 
Thread Tools
Old 2007-04-27, 00:44   Link #241
killmoms
Former Triad Typesetter
 
 
Join Date: Dec 2003
Location: Washington, DC
Age: 30
Hmm. ...I do have a Mac Pro AND a PowerBook G4.

I wonder if that's enough to accomplish what you're talking about.

I definitely don't have the know-how though. Time to do some research, I guess.
__________________
thrillmoms.com - You know it.
@killmoms - I say things.
killmoms is offline   Reply With Quote
Old 2007-04-27, 04:44   Link #242
andiyar
wingéd prettygirl
*Author
 
 
Join Date: Dec 2005
Location: Wollongong, NSW, Australia
Age: 30
Send a message via AIM to andiyar Send a message via MSN to andiyar
@ thr

Watch this space


-Andiyar
__________________
"Any good that I may do here, let me do now, for I may not pass this way again"
andiyar is offline   Reply With Quote
Old 2007-04-27, 17:32   Link #243
andiyar
wingéd prettygirl
*Author
 
 
Join Date: Dec 2005
Location: Wollongong, NSW, Australia
Age: 30
Send a message via AIM to andiyar Send a message via MSN to andiyar
Okay ladies and gentlemen. I'm rather pleased to announce that a Universal version of MPlayer OSX, with support for SSA/ASS subtitle rendering, is now available - you can grab it here:

MPlayer OSX Universal.

The PowerPC binary is the one compiled by me, the Intel binary comes courtesy of Nonezumi. The application has also had it's dependencies on external libraries (ie, the /opt/local/lib files) removed, in this build the libraries are included in the application bundle - it's self contained. ^^

Feel free to go ahead and download it - remember, you MUST have X11 installed for this binary to work - details on where to find X11 are included in the Readme file on the disk image.

Take care, all.


-Andiyar
__________________
"Any good that I may do here, let me do now, for I may not pass this way again"
andiyar is offline   Reply With Quote
Old 2007-04-27, 19:59   Link #244
killmoms
Former Triad Typesetter
 
 
Join Date: Dec 2003
Location: Washington, DC
Age: 30
Or not. Nice. Thanks andiyar.

Now this just needs to be publicized. A lot. In fact, I think this is "New Thread-worthy." Could we get a mod's word on that?

EDIT: Wait a sec, I just installed it, and I'm not getting any OSD popups for subtitle control. :O The "won't play DivX MKVs" bug seems to be fixed though. Is there an option somewhere I need to turn on to get OSD?
__________________
thrillmoms.com - You know it.
@killmoms - I say things.
killmoms is offline   Reply With Quote
Old 2007-04-27, 20:20   Link #245
andiyar
wingéd prettygirl
*Author
 
 
Join Date: Dec 2005
Location: Wollongong, NSW, Australia
Age: 30
Send a message via AIM to andiyar Send a message via MSN to andiyar
Did you turn off the subtitle fonts in the Preferences, and then insert (in additional parameters, under Miscellaneous, "-ass -embeddedfonts -fontconfig"?

Oh, and to turn subs on, you need to hit either the 'b' key or the 'j' key to cycle through them


-Andiyar
__________________
"Any good that I may do here, let me do now, for I may not pass this way again"
andiyar is offline   Reply With Quote
Old 2007-04-27, 20:55   Link #246
mukansa monkey
Pink bug make Amu angry!
 
 
Join Date: Jan 2006
Location: Somewhere between Omaha and Minsk
Wahoooo!

Holy happy apps, Batman! This was the third version I downloaded today, finally jettisoning VLC. Was just about to try the full compile directions when I decided to read the last page... and there it is! The answer to our prayers. I'm just so happy...

HEY MODS!!! Repost this on a new thread and STICKY!!!

Phew, must calm down now. One small question/criticism, could the directions for cycling subs on and off be added to the readme file, or better yet tell us how to set the Advanced Parameters so that we don't have to remember to hit "b" every time we open a softsubbed file? That would make my life complete.
Push butan, receive software!
__________________
Folding for the honor of the platform
grey_moon: "I guess liking tsundere girls is similar to liking durian, once you get past the horrible smell you can taste the sweet flesh... That sounded a bit rude didn't it "
mukansa monkey is offline   Reply With Quote
Old 2007-04-28, 00:57   Link #247
killmoms
Former Triad Typesetter
 
 
Join Date: Dec 2003
Location: Washington, DC
Age: 30
Quote:
Originally Posted by andiyar View Post
Did you turn off the subtitle fonts in the Preferences, and then insert (in additional parameters, under Miscellaneous, "-ass -embeddedfonts -fontconfig"?

Oh, and to turn subs on, you need to hit either the 'b' key or the 'j' key to cycle through them


-Andiyar
No, the problem isn't the subtitles themselves, those work fine (once you get to a point when there are some and if you've hit the right key). It's that there's no on-screen feedback as to which tracks you've selected. It used to be like "sub(0) English" or something up in the corner, so you'd know you'd turned them on. It's not a HUGE deal, but having that feedback would be nice, then you KNOW you did it right.
__________________
thrillmoms.com - You know it.
@killmoms - I say things.
killmoms is offline   Reply With Quote
Old 2007-04-28, 01:44   Link #248
thr
Member
 
Join Date: Sep 2004
Quote:
Originally Posted by killmoms View Post
No, the problem isn't the subtitles themselves, those work fine (once you get to a point when there are some and if you've hit the right key). It's that there's no on-screen feedback as to which tracks you've selected. It used to be like "sub(0) English" or something up in the corner, so you'd know you'd turned them on. It's not a HUGE deal, but having that feedback would be nice, then you KNOW you did it right.
Try adding this to advanced parameters:

-font 'Bitstream Vera Sans' -osdlevel 1

You can get a list of fontconfig font names with fc-list. MPlayer normally defaults to -osdlevel 1, this is just to make sure.

Alternatively, you might wanna try placing any TrueType font file as subfont.ttf in $HOME/.mplayer.

That aside, I prefer configuring MPlayer via the configuration file $HOME/.mplayer/config. For the above you simply would add this to the file:

font="Bitstream Vera Sans"
osdlevel=1


The myriad of other options for subtitles and OSD are also worth a look:

http://www.mplayerhq.hu/DOCS/man/en/...ITLE%20OPTIONS
thr is offline   Reply With Quote
Old 2007-04-28, 01:56   Link #249
thr
Member
 
Join Date: Sep 2004
Quote:
Originally Posted by mukansa monkey View Post
One small question/criticism, could the directions for cycling subs on and off be added to the readme file, or better yet tell us how to set the Advanced Parameters so that we don't have to remember to hit "b" every time we open a softsubbed file? That would make my life complete.
Try adding -slang eng,en to advanced parameters.
thr is offline   Reply With Quote
Old 2007-04-28, 06:42   Link #250
TheFluff
Excessively jovial fellow
 
 
Join Date: Dec 2005
Location: ISDB-T
Age: 27
Some people are lazy and don't bother to tag their sub tracks properly, so -sid 0 would probably be safer.
__________________
| ffmpegsource
17:43:13 <~deculture> Also, TheFluff, you are so fucking slowpoke.jpg that people think we dropped the DVD's.
17:43:16 <~deculture> nice job, fag!

01:04:41 < Plorkyeran> it was annoying to typeset so it should be annoying to read
TheFluff is offline   Reply With Quote
Old 2007-04-28, 14:27   Link #251
iamtetsuo
Thinking Different Member
*Fansubber
 
 
Join Date: Jan 2006
Location: Santa Cruz, CA
Age: 30
Send a message via AIM to iamtetsuo
Oh hooray another wonderfull version of Mplayer from Andiyar!!!!

Updating the first post right now!!!
__________________
Currently Watching: Keroro Gunsou, Lovely Complex, Baccano!
iamtetsuo is offline   Reply With Quote
Old 2007-04-29, 15:53   Link #252
mukansa monkey
Pink bug make Amu angry!
 
 
Join Date: Jan 2006
Location: Somewhere between Omaha and Minsk
I have a funky bug that is probably easy to fix, except that I have no clue how. Here's the bug text from Console:
Code:
2007-04-29 16:51:17.422 MPlayer OSX[18060] ===================== MPlayer OSX Started =====================
2007-04-29 16:51:30.880 MPlayer OSX[18060] Path to MPlayer: /Applications/MPlayer OSX SS/MPlayer OSX.app/Contents/Resources/External_Binaries/mplayer_intel.app/Contents/MacOS/mplayer
2007-04-29 16:51:30.880 MPlayer OSX[18060] Arg: /Volumes/Big Pile o' Stuff/Fansub Torrents/[Megami]_Getsumen_To_Heiki_Miina_-_03_[9A186C42].mkv
2007-04-29 16:51:30.880 MPlayer OSX[18060] Arg: -vo
2007-04-29 16:51:30.880 MPlayer OSX[18060] Arg: macosx:shared_buffer
2007-04-29 16:51:30.880 MPlayer OSX[18060] Arg: -ass
2007-04-29 16:51:30.880 MPlayer OSX[18060] Arg: -embeddedfonts
2007-04-29 16:51:30.880 MPlayer OSX[18060] Arg: -fontconfig
2007-04-29 16:51:30.880 MPlayer OSX[18060] Arg: -sid
2007-04-29 16:51:30.880 MPlayer OSX[18060] Arg: 0
2007-04-29 16:51:30.880 MPlayer OSX[18060] Arg: -slave
2007-04-29 16:51:30.880 MPlayer OSX[18060] Arg: -identify
2007-04-29 16:51:30.931 MPlayer OSX[18060] *** Assertion failure in -[NSTextFieldCell _objectValue:forString:errorDescription:], AppKit.subproj/NSCell.m:1298
2007-04-29 16:51:30.931 MPlayer OSX[18060] Exception raised during posting of notification.  Ignored.  exception: Invalid parameter not satisfying: aString != nil
Fontconfig error: Cannot load default config file
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Looks like a problem with fontconfig... a piece of code I have exactly no knowledge of.
BTW, I looked inside ./mplayer/fonts and there's one file, MiinaStd.ttf. Which seems to be what the sub is using for OSD. Would moving some default fontfile into that folder fix this problem, or do I need to rebuild fontconfig somehow?
Oh, and -sid 0 seems to be working better than -slang eng, en... that tried to load a non-English font. Heh.
__________________
Folding for the honor of the platform
grey_moon: "I guess liking tsundere girls is similar to liking durian, once you get past the horrible smell you can taste the sweet flesh... That sounded a bit rude didn't it "
mukansa monkey is offline   Reply With Quote
Old 2007-04-29, 18:52   Link #253
Nonezumi
Member
 
 
Join Date: Apr 2007
Quote:
Originally Posted by mukansa monkey View Post
I have a funky bug that is probably easy to fix, except that I have no clue how. Here's the bug text from Console:
Code:
2007-04-29 16:51:17.422 MPlayer OSX[18060] ===================== MPlayer OSX Started =====================
2007-04-29 16:51:30.880 MPlayer OSX[18060] Path to MPlayer: /Applications/MPlayer OSX SS/MPlayer OSX.app/Contents/Resources/External_Binaries/mplayer_intel.app/Contents/MacOS/mplayer
2007-04-29 16:51:30.880 MPlayer OSX[18060] Arg: /Volumes/Big Pile o' Stuff/Fansub Torrents/[Megami]_Getsumen_To_Heiki_Miina_-_03_[9A186C42].mkv
2007-04-29 16:51:30.880 MPlayer OSX[18060] Arg: -vo
2007-04-29 16:51:30.880 MPlayer OSX[18060] Arg: macosx:shared_buffer
2007-04-29 16:51:30.880 MPlayer OSX[18060] Arg: -ass
2007-04-29 16:51:30.880 MPlayer OSX[18060] Arg: -embeddedfonts
2007-04-29 16:51:30.880 MPlayer OSX[18060] Arg: -fontconfig
2007-04-29 16:51:30.880 MPlayer OSX[18060] Arg: -sid
2007-04-29 16:51:30.880 MPlayer OSX[18060] Arg: 0
2007-04-29 16:51:30.880 MPlayer OSX[18060] Arg: -slave
2007-04-29 16:51:30.880 MPlayer OSX[18060] Arg: -identify
2007-04-29 16:51:30.931 MPlayer OSX[18060] *** Assertion failure in -[NSTextFieldCell _objectValue:forString:errorDescription:], AppKit.subproj/NSCell.m:1298
2007-04-29 16:51:30.931 MPlayer OSX[18060] Exception raised during posting of notification.  Ignored.  exception: Invalid parameter not satisfying: aString != nil
Fontconfig error: Cannot load default config file
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Looks like a problem with fontconfig... a piece of code I have exactly no knowledge of.
BTW, I looked inside ./mplayer/fonts and there's one file, MiinaStd.ttf. Which seems to be what the sub is using for OSD. Would moving some default fontfile into that folder fix this problem, or do I need to rebuild fontconfig somehow?
Oh, and -sid 0 seems to be working better than -slang eng, en... that tried to load a non-English font. Heh.
I would probably check your Advanced Settings again. The font mentioned in that error does not appear in my ~/.mplayer folder either, so I think the most likely cause may well be attempting to use a file which doesn't have embedded fonts, or not defining you'd like to use embedded fonts.

Do all files do that, or just that particular one?

(Personally, I'm just having problems with some MP3 audio-based files. It looks like there may be a glitch with this version of MPlayer, scouting around the newsgroups...)

-Nonez
Nonezumi is offline   Reply With Quote
Old 2007-04-29, 20:27   Link #254
Nicholi
King of Hosers
 
Join Date: Dec 2005
Age: 31
That error means mplayer could not locate the "fonts.conf" file which is required by fontconfig. It should be located in ./mplayer/etc/fonts by default, or in the system's /local/etc/fonts dir I suppose. I'm not quite sure if andiyar is linking to static fontconfig or shared, and if he packages his own shared binary with it or expects it is already installed (?). He could probably better explain where fonts.conf should be found for his build .

Also ./mplayer/fonts is where all the embedded fonts which are extracted are located. So don't put any fonts there and expect them to be used. Only the ./mplayer/font folder is where the weird fonts mplayer uses are located. Otherwise it looks for ./mplayer/mplayer/subfont.ttf as the main OSD/etc font.
Nicholi is offline   Reply With Quote
Old 2007-04-29, 23:59   Link #255
thr
Member
 
Join Date: Sep 2004
Quote:
Originally Posted by mukansa monkey View Post
Code:
2007-04-29 16:51:17.422 MPlayer OSX[18060]Fontconfig error: Cannot load default config file
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Looks like a problem with fontconfig... a piece of code I have exactly no knowledge of.
BTW, I looked inside ./mplayer/fonts and there's one file, MiinaStd.ttf. Which seems to be what the sub is using for OSD. Would moving some default fontfile into that folder fix this problem, or do I need to rebuild fontconfig somehow?
Oh, and -sid 0 seems to be working better than -slang eng, en... that tried to load a non-English font. Heh.
The fontconfig library taken from MacPorts that is included with andiyar's MPlayer build looks for this config file: /opt/local/etc/fonts/fonts.conf. An easy way out would be to copy /etc/fonts/fonts.conf. But the better way would be to re-compile fontconfig. I don't know if you can tell MacPorts to use additional configure options when compiling fontconfig. Then it should be enough to configure fontconfig with the parameter --with-confdir=/etc/fonts.

Last edited by thr; 2007-04-30 at 00:12.
thr is offline   Reply With Quote
Old 2007-04-30, 00:22   Link #256
mukansa monkey
Pink bug make Amu angry!
 
 
Join Date: Jan 2006
Location: Somewhere between Omaha and Minsk
Well I opened two other mkv files, they produced identical errors that looked like this:
Code:
2007-04-30 01:13:26.975 MPlayer OSX[608] *** Assertion failure in -[NSTextFieldCell _objectValue:forString:errorDescription:], AppKit.subproj/NSCell.m:1298
2007-04-30 01:13:26.975 MPlayer OSX[608] Exception raised during posting of notification.  Ignored.  exception: Invalid parameter not satisfying: aString != nil
Fontconfig error: Cannot load default config file
FAAD: compressed input bitrate missing, assuming 128kbit/s!
There is no folder named ./mplayer/etc/fonts in my install, the only two inside ~.mplayer are config and fonts. /etc/fonts/fonts.conf does exist, however I can't find a folder named /opt anywhere at all. And I have no clue at all how to compile fontconfig for myself. Heh.
Oh, and it looks like stuff such as the available subtitle tracks can be turned on by using the verbose flag, -v
Update: fc-list needs to be run from X11, not the Terminal. Important fact that. Looks like fontconfig needs help.
Yet another addendum: X11R6 installed. XCode tools not installed. At ~2Gb, XCode isn't going to get installed.
__________________
Folding for the honor of the platform
grey_moon: "I guess liking tsundere girls is similar to liking durian, once you get past the horrible smell you can taste the sweet flesh... That sounded a bit rude didn't it "

Last edited by mukansa monkey; 2007-04-30 at 01:32.
mukansa monkey is offline   Reply With Quote
Old 2007-04-30, 01:41   Link #257
andiyar
wingéd prettygirl
*Author
 
 
Join Date: Dec 2005
Location: Wollongong, NSW, Australia
Age: 30
Send a message via AIM to andiyar Send a message via MSN to andiyar
A brief question, mukansa - how do you have subtitle fonts enabled in your MPlayer preferences? In the first tab, do you have a specified font/size/encoding set?

If you do... try setting the default font to 'none', then enter the settings string in advanced parameters (-ass -embeddedfonts -fontconfig), and try opening the file you're using, then hit 'b'. Do subs display now?


-Andiyar
__________________
"Any good that I may do here, let me do now, for I may not pass this way again"
andiyar is offline   Reply With Quote
Old 2007-04-30, 08:25   Link #258
Nonezumi
Member
 
 
Join Date: Apr 2007
I think I might have to recompile with the conf file stored elsewhere.

However, I did try out the build several times after moving the entire /opt/local heirarchy out of the way, so I'm surprised it's causing issues....

Quote:
Originally Posted by thr View Post
The fontconfig library taken from MacPorts that is included with andiyar's MPlayer build looks for this config file: /opt/local/etc/fonts/fonts.conf. An easy way out would be to copy /etc/fonts/fonts.conf. But the better way would be to re-compile fontconfig. I don't know if you can tell MacPorts to use additional configure options when compiling fontconfig. Then it should be enough to configure fontconfig with the parameter --with-confdir=/etc/fonts.
Nonezumi is offline   Reply With Quote
Old 2007-05-01, 07:12   Link #259
andiyar
wingéd prettygirl
*Author
 
 
Join Date: Dec 2005
Location: Wollongong, NSW, Australia
Age: 30
Send a message via AIM to andiyar Send a message via MSN to andiyar
@ Nonezumi

The issue sounds weird to me. I've just tried a few random MKV files, both with embedded and non-embedded subs, and no errors are coming up whether I'm using embedded or default subtitles (and I've tried a few different default fonts to check it).

It might be worth chucking your /opt/local/libs online as a zip, and seeing if installing that ameliorates the problem... once we know if he's using embedded/default fonts, anyway ^^


-Andiyar
__________________
"Any good that I may do here, let me do now, for I may not pass this way again"
andiyar is offline   Reply With Quote
Old 2007-05-01, 08:43   Link #260
thr
Member
 
Join Date: Sep 2004
Quote:
Originally Posted by mukansa monkey View Post
Update: fc-list needs to be run from X11, not the Terminal. Important fact that. Looks like fontconfig needs help.
Yet another addendum: X11R6 installed. XCode tools not installed. At ~2Gb, XCode isn't going to get installed.
X11 wasn't installed when you tried to play the file? Did it work after installing X11?
thr is offline   Reply With Quote
Reply

Tags
fansubs, mac, wiki candidate

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 14:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
We use Silk.