Thread: Request: TCPMP
View Single Post
Posts: 425 | Thanked: 132 times | Joined on Mar 2008 @ California
#45
Originally Posted by iliaden View Post
does the -lavdopts fast actually help? I never noticed any difference on all my videos.
I don't actually know if it helps or not, it was suggested in the MPlayer documentation and it certainly can't hurt. The MPlayer documentation does say that it will only make a difference using some MP4 and .H264 codecs.

why the
Code:
 -vo omapfb
?
Hmmm... Good point. I think omapfb is the default anyway. The only reason it's still there is because I was experimenting with different video outs and ended up just setting it back to omapfb. It's been removed.

the width of the screen is 800. not all the videos whose width is between 400 and 800 would lag.
This is very true. I was simply following the guidelines for video encoding posted here: http://maemo.org/community/wiki/VideoEncoding/
Feel free to suggest a better sliding scale

Is there any way to check the bitrate of a file (and get the output usable in a script)?
Yes, actually, it's quite easy. Just add the following to the awk line:
Code:
/ID_VIDEO_BITRATE/ { print substr( $0, 18, length($0) )
I'm adding support for this to the script, I don't quite know what to do with it though. I added it as a setting to determine the threshold resolution for resizing the video. I'm not entirely convinced this is the correct way to implement it.

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?
I don't actually have much experience with bitrate values but sure, I'll go ahead and add these.
EDIT: I also read in the video's FPS but I don't currently do anything with it. What should I do with it?

oh, and one last thing:
unless the video file is broken, how is this possible?
I don't know actually... But -lavdopts lowres refused to re-size some of the videos I downloaded (for reference they were Apple TV ads) complaining that "No suitable aspect ratio was found". Hence, I stuck that line in to cover my butt.

Okay, here's version 0.2: mplayer-opt
I updated the link in the previous post as well.

I really need to learn about debian packaging so I can bundle this into an installable .deb
__________________
Promises are like babies. Fun to make, but hard to deliver.

Warning: dates on calendar are closer than they appear.

Last edited by josiahg777; 2008-06-04 at 08:45.