[MPlayer-users] Timeproblem

Raphael lilo- at gmx.ch
Mon Sep 6 00:15:52 CEST 2004


Hello Everybody!

I do actually write a Script that convert a DVD-Movie to two Files. The Script 
compute the videobitrate for the Size of two CD's. Then, it call mencoder 
with the option -ss and -endpos. Now, I see, the ss-position (in seconds) is 
related to the Movie lengt displayed by gmplayer "total" and not the real 
time in seconds. But the movie is longer than this time...(if I scroll 
forward, up to 2 Hour..., but the totalizer of mplayer shows 1:26:14 time...) 
strange...

and the second thing is: -endpos is absolute to the real time of the movie (2 
Hour). This makes it difficult, to compute the right times for cut at the 
right positions...


here is my line of the script with mencoder... (but the failure is also by 
mplayer dvd://1 -ss 3600. (it is not one hour!)

mencoder -of mpeg -ovc lavc -oac lavc -lavcopts 
vcodec=mpeg2video:vbitrate=$Videobitrate:aspect=$X_ziel/$Y_ziel:acodec=mp2:abitrate=224 
\ -vf scale=$WIDTH_OUT:$Y_scale,expand=0:-$balken:0:$[balken/2] -ofps 25 \
-srate 44100 -zoom -sws 2 -ss $startpos -endpos $endpos -noskip 
dvd://$moviesource -alang de -o dvd_aktuell.cd$[$d+1].vcd2


Other Informations about my system:

System: Debian testing

Kernel: Linux Neptun 2.6.7-1-686 #1 Thu Jul 8 05:36:53 EDT 2004 i686 GNU/Linux

LibC-Version:
-rw-r--r--  1 root root 1243856 2004-05-25 20:40 /lib/libc-2.3.2.so
lrwxrwxrwx  1 root root      13 2004-07-21 20:52 /lib/libc.so.6 -> 
libc-2.3.2.so

Lese Spezifikationen von /usr/lib/gcc-lib/i486-linux/3.3.4/specs
Konfiguriert mit: ../src/configure -v 
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr 
--mandir=/usr/share/man --infodir=/usr/share/info 
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared 
--with-system-zlib --enable-nls --without-included-gettext 
--enable-__cxa_atexit --enable-clocale=gnu --enable-debug 
--enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread-Modell: posix
gcc-Version 3.3.4 (Debian 1:3.3.4-3)

GNU ld version 2.14.90.0.7 20031029 Debian GNU/Linux

GNU assembler 2.14.90.0.7 20031029 Debian GNU/Linux
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i386-linux'.

raphael at Neptun:~$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 1
model name      : Intel(R) Pentium(R) 4 CPU 1.70GHz
stepping        : 2
cpu MHz         : 1695.174
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat 
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips        : 3350.52

Has anyone an idea?
Greetings Raphael









More information about the MPlayer-users mailing list