Original video: Codec VP6F, resolution 576x324, file type .flv, with 1-channel 16-bits mp3 audio at 22050 Hz.
Desired output: MPEG-4 .mp4 file with resolution 480x270 (i.e. the same proportions as the original, but fewer pixels), and I don't care about the other parameters as long as it works.
I'll tell you exactly what I do. I don't know if this is right, due to the almost complete lack of definitive documentation on version 0.9.x.
- I open the player without any video in it.
- I go to Media... Advanced open file (or Media... Convert/Save or Media... Streaming).
- In the dialog box I select the file and click the arrow next to "Open" and select "Stream". It sounds more logical to select "Convert", but several tutorials seem to prefer "Stream" -- and by the way, with "Convert" the results are no better.
- Under Outputs, I check File and enter a filename that ends with mp4. I click "Save" (though I'm not ready to save anything yet).
- Then under Profile I select this:
Encapsulation: MP4
Video codec: Video; MPEG-4
Audio codec: Audio; MPEG 4 Audio (AAC) - Then I go down to the string at the bottom and insert width=480,height=270, in the transcode parameters. The output string then looks like this:
:sout=#transcode{vcodec=mp4v,vb=800,width=480,height=270,scale=1,acodec=mp4a,ab=128,channels=2}:duplicate{dst=std{access=file,mux=mp4,dst=C:\Documents and Settings\jim\Desktop\outfile.mp4}} - I click "Stream" (or "Save").
- This tutorial suggests that the width and height settings must first be changed deep down in the advanced preferences. I don't know if it is true, but I did it anyway -- no luck.
- This article says that the output string should be:
:sout=#transcode{vcodec=mp4v,vb=1024,scale=1,height=240,width=320,acodec=mp4a,ab=128,channels=2}:duplicate{dst=std{access=file,mux=mp4,dst=%1.mp4}}
which is very close to what I have -- but I gave it a try and it doesn't make a difference.