[MPlayer-users] avi -> [avi with sub-titles]

Karthik Paithankar molecularbiophysics at yahoo.com
Mon Mar 1 14:50:41 CET 2004


Hello,

I have an "mpeg4" (libavcodec) avi file and the
sub-titles in another file. I want to "kind of a
paste" these sub-titles and create an avi with
sub-titles.

"vf -expand" creates additional black borders but
there are NO sub-titles.

Any ideas...

Many thanks...
-------
mencoder input.avi -sub english.sub  -vf
expand=0:-50:-0:0:1 -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=1400 -oac copy -o output.avi
-------

MEncoder 1.0pre3-2.95.3 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP
Palomino 1667 MHz (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1
SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow
3DNowEx SSE

Using built-in default codecs.conf.
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/rand/.mplayer/mencoder: No
such file or directory
font: can't open file:
/home/rand/.mplayer/font/font.desc
font: can't open file:
/home/rand/software/mplayer/mplayer/share/mplayer/font/font.desc
success: format: 0  data: 0x0 - 0x4713BB6
AVI file format detected.
VIDEO:  [DIVX]  720x320  24bpp  23.976 fps  1392.3
kbps (170.0 kbyte/s)
[V] filefmt:3  fourcc:0x58564944  size:720x320 
fps:23.98  ftime:=0.0417
SUB: Detected subtitle file format: microdvd
SUB: Read 1117 subtitles.
SUB: Adjusted 169 subtitle(s).
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [expand w=0 h=-50 x=-0 y=0
osd=1]
Expand: 0 x -50, 0 ; 0  (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec
codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg
MPEG-4)
==========================================================================
audiocodec: framecopy (format=55 chans=2 rate=48000
bits=0 bps=16013 sample=0)
Writing AVI header...
VDec: vo config request - 720 x 320 (preferred csp:
Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.25:1 - prescaling to correct movie
aspect.
videocodec: libavcodec (720x370 fourcc=58564944
[DIVX])

-----

I have checked:

mplayer -sub english.sub input.avi   

and mplayer plays the avi properly WITH sub-titles.






	
	
		
___________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html




More information about the MPlayer-users mailing list