Search Discussions:
Advanced Search...
Welcome to Nokia Support Discussions! Here you can share advice and tips with thousands of other Nokia users around the world in English. Many Nokia employees also follow and participate in the discussions, see our guidelines for more information. Everyone can search and read the discussions, but to post your own question or reply to others, simply login with your Nokia account. If this is your first time here, you can choose an alias to represent you. And if you don't have a Nokia account yet, please register.
Reply

Re: A Step By Step Guide to Encode Your Video File...

Mobile Sensei
korngear
Posts: 6,939

A Step By Step Guide to Encode Your Video Files In H.264/AVC

[ Edited ]

Download Videora Ipod Classic Converter from videora.com.

It is free, make sure you have Microsoft .net atleast 2.0 installed on your PC/Machine.

Now Install it, run it.

Go to Settings, here (on the top right section of the interface) you will find New Profile, Remove Profile and Edit Profile.

Click on the New Profile Button.

General: Name: NXX

Encoder: iPod 2-pass-FFMPEG VINB

Video:

General: Keep everything as it is except for

set Video Codec: H.264

Profile: Baseline Profile

Level: 1.3* (You must keep the level at 1.3)

Mode: ABR

Bitrate: 640

Framerate: 29.97 or 25 as you wish

Maximum resolution: 320x240

General 2: Leave them as they remain

Advanced1: Leave them as they remain

 

Now go to Audio...

Codec: AAC-LC

Mode: ABR

Bitrate: 64* (try to keep the bitrate at best 64, loweing the bitrate will result in perfect lipsynch)

Leave the other values remain unchanged.

Now save the profile.

Then you are set to go.

Remeber when you are to encode a video, switch to power mode and choose your saved profile settings to continue.

 

This will help to bring about most of the videos in most recent Nseries (except for the touch) S60/H.264 Codec enabled mobile phones to avoid 1) real player only plays audio, and 2)real player's unability to play the videos.

 

 

Regrads,

 

 

 

Message Edited by korngear on 08-Jun-2009 03:03 AM
Please use plain text.
Mobile Sensei
grschinon
Posts: 9,568

Re: A Step By Step Guide to Encode Your Video Files In H.264/AVC

This looks like it's merely a front-end to ffmpeg.

You can bypass it and use ffmpeg itself to produce vanilla MPEG4 that does play back in all the Nseries phones I've used.

The parameters to use are going to vary depending on the input and the target aspect ratio of your phone, but for an original in 16:9 format and a target of 320x240 (4:3 AR) you'd use something like this on the command line:

ffmpeg -i input_file -s 320x180 -f mp4 -padtop 30 -padbottom 30 \
-aspect 4:3 -b 240k -ac 2 -ab 128k output.mp4

This will use the same frame rate as the original, downsample any dolby 5.1 audio stream to stereo, pad the top and bottom of the image to make it 4:3 letterboxed and output to a vanilla MP4 container with MPEG4 video and AAC audio at 128kbps in stereo.

Tweakable parameters are the video bitrate (-b 240k / 240kbps) and the audio bitrate (-ab 128k / 128kbps).
Was this post helpful? If so, please click on the white "Kudos!" star to the left. Thank you!
Please use plain text.