Editing Manual video encoding
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 19: | Line 19: | ||
-lavcopts vcodec=mpeg4:mbd=1:vbitrate=300 -vf scale=352:208 \ | -lavcopts vcodec=mpeg4:mbd=1:vbitrate=300 -vf scale=352:208 \ | ||
-ffourcc DIVX -ofps 15 -o outfile.avi | -ffourcc DIVX -ofps 15 -o outfile.avi | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
To make even smaller, you can drop down the quality of audio to 64 kbit/s (for 300 kbit video stream, converting audio to 64 kbit versus 128 kbit yields a total save of approx 20%. Notice that for lower bitrate movies percentage is considerably higher): | To make even smaller, you can drop down the quality of audio to 64 kbit/s (for 300 kbit video stream, converting audio to 64 kbit versus 128 kbit yields a total save of approx 20%. Notice that for lower bitrate movies percentage is considerably higher): | ||
Line 50: | Line 42: | ||
ffmpeg -i infile -vcodec mpeg4 -acodec mp3 -vtag DIVX -s 176:144 -b 200 -pass 1 outfile.avi | ffmpeg -i infile -vcodec mpeg4 -acodec mp3 -vtag DIVX -s 176:144 -b 200 -pass 1 outfile.avi | ||
ffmpeg -i infile -vcodec mpeg4 -acodec mp3 -vtag DIVX -s 176:144 -b 200 -pass 2 outfile.avi | ffmpeg -i infile -vcodec mpeg4 -acodec mp3 -vtag DIVX -s 176:144 -b 200 -pass 2 outfile.avi | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
== transcode == | == transcode == | ||
Line 139: | Line 119: | ||
== H.264 (with mencoder) == | == H.264 (with mencoder) == | ||
- | + | OS2008 plays H.264 videos out of the box - in theory. A lot of existing H.264-material will not play well on N8x0-devices. [http://talk.maemo.org/showthread.php?t=13514&page=4 This thread] on talk.maemo.org indicates that a video file must adhere to the Baseline Profile, level 1.2, of the H.264-standard to be compatible with both the OS2008 Media Player and MPlayer. (See Wikipedia for a detailed information on [http://en.wikipedia.org/wiki/H.264#Profiles profiles] and [http://en.wikipedia.org/wiki/H.264#Levels levels].) | |
- | + | ||
- | + | ||
With mencoder, the following settings are known to work. (Simplified; you may use 2-pass etc.) They are originally taken and adapted from a website about H.264 on the N95 and given here only as an example for those who want to experiment with manual settings. | With mencoder, the following settings are known to work. (Simplified; you may use 2-pass etc.) They are originally taken and adapted from a website about H.264 on the N95 and given here only as an example for those who want to experiment with manual settings. | ||
Line 182: | Line 160: | ||
# | # | ||
## Mux MPEG4 file | ## Mux MPEG4 file | ||
- | # | + | # That's the weak point of this method |
- | # | + | # mp4creator seems to be buggy and unsupported |
- | + | mp4creator -create=N800.aac N800.mp4 | |
- | + | mp4creator -create=N800.264 -rate=25 N800.mp4 | |
- | + | mp4creator -O N800.mp4 | |
- | + | ||
The thread on talk.maemo.org gives an idea how other software may work. | The thread on talk.maemo.org gives an idea how other software may work. | ||
Line 195: | Line 172: | ||
[[Category:Users]] | [[Category:Users]] | ||
[[Category:Media]] | [[Category:Media]] | ||
- |
Learn more about Contributing to the wiki.