Thread: Request: TCPMP
View Single Post
iliaden's Avatar
Posts: 267 | Thanked: 50 times | Joined on Feb 2008 @ Montreal, Canada
#43
good idea; has a few small [or maybe crucial] problems:
1) you measure the video by the width ONLY. usually the problems occur not only due to the resolution, but also due to the bitrate and the amount of complete image changes per time (fast-paced action).
2) just for me:
Code:
-lavdopts "$FAST"lowres="$FULL"
does the -lavdopts fast actually help? I never noticed any difference on all my videos.

3)
Code:
 mplayer -really-quiet -noslices -hardframedrop -lavdopts "$FAST"lowres="$FULL" -vo omapfb "$NAME"
why the
Code:
 -vo omapfb
?
is this really necessary? I never had any problems with the video decoder, and I thought that MPlayer usually choses optimally...

4)
Code:
if [ $WIDTH -gt 1600 ]
then setting lowres ON, 1/8 resolution
elif [ $WIDTH -gt 800 ]
then setting lowres ON, 1/4 resolution
elif [ $WIDTH -gt 400 ]
then setting lowres ON, 1/2 resolution
else setting lowres OFF
fi
the width of the screen is 800. not all the videos whose width is between 400 and 800 would lag. as I said, it also depends on the bitrate and the number of complete scene changes per second. Is there any way to check the bitrate of a file (and get the output usable in a script)? If so, the script could be enabled iff the video bitrate > ~900 kbps, or if the total bitrate > 1024kbps. And just to verify, these values sound reasonable to all?

oh, and one last thing:
Known Issues: This script will not work with videos whose aspect ratio has not been declared
unless the video file is broken, how is this possible?