I found a mencoder script online to resize, change the frame rate, the rotation, change it to 420p, change it to grayscale, and change the file type in order for it to be playable on a Sandisk Sansa e250.
However, when i run this script, it tells me constantly that it is skipping a frame. When i remove the -ofps argument it goes fine, but in both instances when I open the resulting *.mov, it doesn't show any video. The audio works fine though. Here is the script:
Code:
#!/bin/bash
mencoder -ofps 15 -vf rotate=1,scale=160:208 -ffourcc mjpb -ovc lavc -lavcopts vcodec=mjpeg:vbitrate=150:vhq:gray -oac pcm -srate 11025 -of lavf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames futurama-12.mpg -o /tmp/video.mov
ffmpeg -i /tmp/video.mov -vcodec copy -acodec pcm_s16be futurama-12.mov
rm -f /tmp/video.mov
thanks in advance
~zach
EDIT (10:15 AM, JULY 17):
ok after trying each section of this code, i figured out that the problem was the section:
it wouldn't play in xine or mplayer when i converted it to MJPEG-B format
it also didnt work in the Sansa
is there some other way to convert it to MJPEG-B format, or perhaps some codecs i need?