Kokeilin muttei toiminnut...
Löysin tälläisen koodipätkän,jotain vikaa tässäkin:
sudo mencoder movie.avi -sub movie.srt -subfont-text-scale 3.3 -subpos 96 -o movie.hardsubs.avi -oac copy -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:vpass=2
pääte tulosti tälläistä -->
jassu@Timppa:~$ cd /home/jassu/Videot/
jassu@Timppa:~/Videot$ sudo mencoder movie.avi -sub movie.srt -subfont-text-scale 3.3 -subpos 96 -o movie.hardsubs.avi -oac copy -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:vpass=2
[sudo] password for jassu:
MEncoder svn r34540 (Ubuntu), built with gcc-4.6 (C) 2000-2012 MPlayer Team
success: format: 0 data: 0x0 - 0x18eadb8
libavformat version 53.20.0 (external)
Mismatching header version 53.19.0
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [FLV1] 640x480 24bpp 29.970 fps 4897.3 kbps (597.8 kbyte/s)
[V] filefmt:3 fourcc:0x31564C46 size:640x480 fps:29.970 ftime:=0.0334
libavcodec version 53.34.0 (external)
Mismatching header version 53.32.2
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
Selected video codec: [ffflv] vfm: ffmpeg (FFmpeg Flash video)
==========================================================================
audiocodec: framecopy (format=50 chans=2 rate=44100 bits=0 B/s=32000 sample-0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
videocodec: libavcodec (640x480 fourcc=34504d46 [FMP4])
[VE_LAVC] High quality encoding selected (non-realtime)!
2pass failed: filename=divx2pass.log
FATAL: Cannot initialize video driver.
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (640x480 fourcc=34504d46 [FMP4])
[VE_LAVC] High quality encoding selected (non-realtime)!
2pass failed: filename=divx2pass.log
FATAL: Cannot initialize video driver.
Exiting...
jassu@Timppa:~/Videot$
----------------------------------------------------------------------------------------------------------------------