Alumni
|
oh it's working now, I just changed the player from mplayer to phonon![hr]
hmmm it's weird, but VLC can show the subtitles (with wrong color and size), but other players can't even show them. The output is here: ____________________________________________________________________________________ $ mencoder /home/armin/screenie_xnote.ogv -oac copy -ovc lavc -sub screenie_sub.ssa -o screenie_sub.ogg -subfont-text-scale 3 MEncoder dev-SVN-r27514-4.3.2 (C) 2000-2008 MPlayer Team CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ (Family: 15, Model: 67, Stepping: 3) CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help. success: format: 0 data: 0x0 - 0x9fe94a Ogg stream 0 is of an unknown type [Ogg] stream 1: video (Theora v3.2.1), -vid 0 Ogg file format detected. VIDEO: [theo] 1440x896 24bpp 15.000 fps 0.0 kbps ( 0.0 kbyte/s) [V] filefmt:18 fourcc:0x6F656874 size:1440x896 fps:15.000 ftime:=0.0667 SUB: Detected subtitle file format: ssa SUB: Read 8 subtitles. Opening video filter: [expand osd=1] Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family [theora @ 0x2e88c60]Missing extradata! Could not open codec. VDecoder init failed Opening video decoder: [theora] Theora/VP3 VDec: vo config request - 1440 x 896 (preferred colorspace: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.61:1 - prescaling to correct movie aspect. videocodec: libavcodec (1440x896 fourcc=34504d46 [FMP4]) Selected video codec: [theora] vfm: theora (Theora (free, reworked VP3)) ========================================================================== New_Face failed. Maybe the font path is wrong. Please supply the text font file (~/.mplayer/subfont.ttf). subtitle font: load_sub_face failed. New_Face failed. Maybe the font path is wrong. Please supply the text font file (~/.mplayer/subfont.ttf). subtitle font: load_sub_face failed. Writing header... ODML: Aspect information not (yet?) available or unspecified, not writing vprp header. Writing header... ODML: Aspect information not (yet?) available or unspecified, not writing vprp header. Pos: 150.2s 2253f (100%) 57.43fps Trem: 0min 8mb A-V:0.000 [500:0] Flushing video frames. Writing index... Writing header... ODML: Aspect information not (yet?) available or unspecified, not writing vprp header. Video stream: 500.345 kbit/s (62543 B/s) size: 9393975 bytes 150.200 secs 2253 frames _______________________________________________________________________________________________ It says output file format is _AVI_ =S
Last edited by fengshaun on Sun Jan 11, 2009 9:45 pm, edited 1 time in total.
A proud KDE user and Linux enthusiast.
|
Administrator
|
Transcode into *ogm* rather than ogv. OGM is a container that can keep subtitles (e.g., change "sub_screenie.ogg" to "sub_screenie.ogm", while you are actually making an AVI right now.
"Violence is the last refuge of the incompetent."
Plasma FAQ maintainer - Plasma programming with Python |
Alumni
|
I've tried it, got the same results. Though for the sake of assurance I just tried it again now, it doesn't work. works with VLC, not other players.
A proud KDE user and Linux enthusiast.
|
Administrator
|
I see why it's not working.
Copy a TTF font such as DejaVu Sans from /usr/share/fonts or whatever to ~/.mplayer/subfont.ttf and the problem should go away. mplayer is trying to embed a font, but it's just not there.
Last edited by einar on Tue Jan 13, 2009 8:10 pm, edited 1 time in total.
"Violence is the last refuge of the incompetent."
Plasma FAQ maintainer - Plasma programming with Python |
Alumni
|
ohhh that makes sense. Let me try it![hr]
http://blip.tv/file/1664281/ here it is, works perfectly now. I copied /usr/share/fonts/dejavu/DejaVuSans.ttf to ~/.mplayer/subfont.ttf (I had to mkdir .mplayer) And take a last look (it's converting to flash as of right now) and tell me how you like it =) I tagged it kde42[hr] And I won't forget, thanks for mentoring. I learned a whole bunch of new things from this class =D
Last edited by fengshaun on Tue Jan 13, 2009 8:40 pm, edited 1 time in total.
A proud KDE user and Linux enthusiast.
|
Registered users: Bing [Bot], Google [Bot], kesang, Sogou [Bot], Yahoo [Bot]