[MPlayer-users] mencoder /mplayer bugs

jean luc MALET jean-luc.malet at irts.fr
Wed Jun 11 12:18:42 CEST 2003


Corey Hickey wrote:

> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Chris Phillips wrote:
>
>> [Automatic answer: RTFM (read DOCS, FAQ), also read 
>> DOCS/bugreports.html]
>> Quoting jean luc MALET <jean-luc.malet at irts.fr>:
>>
>>
>>> I've writed a  script to do DVD to Xvid encoding with multiple 
>>> selection (for anime dvd ripp with cut from episode to episode)
>>> I've figured that time displayed by mplayer isn't the same than the 
>>> time used with -ss option (i do a mplyer -ss 700 which seeks me to 
>>> the time 1430) (the value are just a hint since it seems that the 
>>> shift change on each dvd) this problem leads to the timings problem 
>>> : I want to encode a small piece of 45s begining at -ss 700 so I use 
>>> mencoder -ss 700 -endpos 45 .... ok. BUT the most common method used 
>>> is to determine timing using 
>>
>>
>>
>> No sh*t sherlock... have you read any of the many identical messages 
>> posted here
>> in the last few days?
>>
>
> Give him a break, he's explaining that he understands the presence of
> that bug, and is trying to work around it. 

thanks

>
> To the original poster, I don't think you'll be able to manage deducting
> the clip length by using -ss and subtracting the times mplayer shows. As
> you've already seen, the values are inaccurate, and sometimes the
> timestamps on the video "packets" on a DVD reset to zero, making it
> impossible to know the time if you've just jumped to that position. 

yes I figured but all the resets occured on a DVD chapter boundary 
(exemple on DNA2 DVD1 chapters 1-5 have no reset then a reset at chapter 
6, no reset until chapter 9.....)

> These are both known annoyances of DVDs, that have yet to be worked
> around in mplayer.

in fact using the slave mode I could calculate the timings if I could 
have the slave mode working.....
It seems to work when I type on the mplayer xterm but remote don't work 
(ie redirecting using a fifo or a pipe the control output to mplayer 
input).....
the way I thought to have the things working is to do
code in C that is translated to SH
printf ("pause");   //put in pause
while (not escape)
   {
    printf ("pause");  //remove pause
    scanf("%c",&mychar);
    if (mychar == 'a')
       {
        time+=10;
        printf("seek %d type=2", time); //do absolute seek
        }
    else
....
    printf ("pause"); //go back to pause
    }
return time



More information about the MPlayer-users mailing list