[Mplayer-dvb] Re: [vdr] ANNOUNCE: mplayer.sh version 0.0.6a-jha

Juri Haberland juri at koschikode.com
Tue Jan 28 01:30:31 CET 2003


André Weidemann wrote:
> Sorry I have to reply to my own email but I made a little mistake in the 
> last command line.
> 
> André Weidemann wrote:
>> I have a short command line suggestion for scaling to PAL and NTSC.
>> Please take a short look at the following lines.
>> The -vop options allows you to enter a value for dvbscale. This way you 
>> can easily set the output resolution and maintain the correct aspect ratio.
>> 
>> The command line for PAL would look something like this:
>> 
>> mplayer -framedrop -ao mpegpes -vo mpegpes -vop \ 
>> expand=-1:-1:-1:-1:0,scale=720:0,dvbscale=$dvbscale_var
>> 
>> $dvbscale_var can now be calculated for half(288) and full(576) 
>> resolutiona as follows.
>> 
>> $dvbscale_var = y_out_res * movie_x_res / movie_y_res
>> where y_out_res is whether 288 or 576.
>> 
>> For NTSC the line will look like this:
>> mplayer -framedrop -ao mpegpes -vo mpegpes -vop \ 
>> expand=-1:-1:-1:-1:0,scale=640:0,dvbscale=$dvbscale_var
>> 
>> $dvbscale_var = y_out_res * movie_x_res / movie_y_res
>> where y_out_res is whether 240 or 480.
>> 
>> So if you wanted to convert an NTSC Movie with 640x200 to full PAL 
>> $dvbscale_var will calculate like this:
>> 
>> $dvbscale_var = 576 * 640 / 200
>> $dvbscale_var = 1843
>> 
>> mplayer -ao mpegpes -vo mpegpes -vop \ 
>> lavc=9000,expand=-1:-1:-1:-1:0,scale=640,0,dvbscale=1843
> This is supposed to be:
> mplayer -ao mpegpes -vo mpegpes -vop \ 
> lavc=9000,expand=-1:-1:-1:-1:0,scale=720:0,dvbscale=1843
-------------------------------^
Is there a reason why you don't enable the OSD (on screen display)?

Cheers,
Juri

PS: please quota only as little as necessary to understand the context.






More information about the MPlayer-dvb mailing list