PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 26, 2012, 11:25:23 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Convert any video to Nokia N73 / N95 (and maybe other as well) mp4 format  (Read 799 times)
AndrzejL
PCLinuxOS Tester
Super Villain
*******
Offline Offline

Posts: 11990


Registered Linux User #490933


WWW
« on: August 24, 2010, 08:12:42 AM »

Hola everyone.

I got myself an interesting project this morning again...

I was trying to do it for a while but never had a time or patience to do it from A to Z...

I have a Nokia N73 dumbphone... Its not very smart but it does what I need most of the time.

Sometimes ago I had similar project - a friend with a PSP and family videos. It took me a while then and I have decided that one day I will convert my stuff to play on my Nokia too Smiley.

I was trying several times / different methods and finally found solution that satisfied my needs.

1) Open console
2) Use command:

Quote
mencoder -of lavf -lavfopts format=mp4 -oac lavc -ovc lavc -lavcopts aglobal=1:vglobal=1:acodec=libfaac:abitrate=128:vcodec=mpeg4:keyint=25 -ofps 25 -af lavcresample=44100 -vf harddup,scale=320:-3 -mc 0 -noskip /path/to/the/input/file.avi -o /path/to/the/output/file.mp4

3) When the conversion is all done connect Nokia via Bluetooth or with a USB cable
4) Open Nokia's storage via file manager ie. Dolphin
5) Find folder Videos (should be in the main folder of the card if not create it)
6) Paste the file.mp4 to the folder
7) Safely remove the device

After that You should be able to watch video on Your Nokia.

I am sure that converting any other (then avi) input file is a go...

Hope this helps.

Andy
Logged

Was_Just19
Hero Member
*****
Offline Offline

Posts: 6885


MLU


« Reply #1 on: August 24, 2010, 08:17:20 AM »

Just wondered if you had tried WinFF for this?
It has presets for Nokia.

WinFF uses ffmpeg.

Logged
AndrzejL
PCLinuxOS Tester
Super Villain
*******
Offline Offline

Posts: 11990


Registered Linux User #490933


WWW
« Reply #2 on: August 24, 2010, 08:23:07 AM »

Just wondered if you had tried WinFF for this?
It has presets for Nokia.

WinFF uses ffmpeg.

Yes I did JohnBoy. I tried avidemux. I tried WinFF... I am not sure why but I prefer mencoder.

Would You consider writing a little how to with screenshots for Winff? Maybe I was doing something wrong or didn't do something?

Oh guys and btw - if You have used mencoder before to create files for this device and know a better tricks... please do share them Smiley.

I love mencoder but man page is a book... Wink!

Andy
Logged

Was_Just19
Hero Member
*****
Offline Offline

Posts: 6885


MLU


« Reply #3 on: August 24, 2010, 08:29:23 AM »

Maybe the format WinFF produces did not suit your device.

BTW ....  I noticed that WinFF uses mencoder to produce the Nokia output .....  I had thought it only uses ffmpeg.

It is a simple matter to put your mencoder command into a preset in Winff and from then on use WinFF to do exactly as you have done above.


The Nokia N810 4:3 command options for instance are these:

-r 29.97 -vcodec libxvid -vtag XVID -s 400x240 -aspect 4:3  -maxrate 1200k -b 1200k -qmin 3 -qmax 5 -bufsize 4096 -mbd 2 -bf 2 -cmp 2 -subcmp 2 -g 300 -acodec libmp3lame -ar 44100 -ab 160k -ac 2 -async 1
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM