Register FAQ Members List Calendar Arcade Search Today's Posts Mark Forums Read


Go Back   Nokia N95Users > General Discussion > General 95

Reply
 
Thread Tools Display Modes
  #1  
Old 06-15-2007, 01:02 PM
Newbie
 
Join Date: Jun 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Howto convert avi to n95 compatible avi with embedded subtitle on Linux

Hi,

I've made some research to figure out how to convert some files to a compatible N95 avi file(320x240, small file size,embedded subtitle)

First of all you need mencoder to encode the files(if you have mplayer installed, than you have already mencoder on your system), and the latest DivX Mobile Player to watch the videos(visit DivX Mobile - Display Size to download).

Code:
mencoder -sub subtitle.srt -subcp latin5 -subfont-text-scale 4  -ffourcc dx50 -vf scale=320:240 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=256:vhq -oac copy -o creatednewfile.avi mymovie.avi
If you don't want embedded subtitle just remove:

Code:
-sub subtitle.srt -subcp latin5 -subfont-text-scale 4
Please change the vbitrate according your request, for me 384 is the best option, 512 is to slow for watching.

That's it. 230 mb video is at:

256 bitrate 70 mb
384 bitrate 105 mb
512 bitrate 130 mb


Hope it was helpful. Some pictures:
Attached Images
File Type: jpg n95_1.jpg (34.1 KB, 38 views)
File Type: jpg n95_2.jpg (33.5 KB, 27 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 08-15-2007, 07:26 AM
Newbie
 
Join Date: Aug 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

Ahh a linux pal :)

Nice to see someone uses linux for his n95 videos.
I'm currently trying to figure out which x264opts stop realplayer from playing back x264 encoded mpeg4 files.

But for now, ffmpeg was the only utility working for this purpose (i will post some details later if i get ffmpeg working with mpeg2video again -.-).

You can find me on the n95users channel #n95 @ freenode, daytime (GMT +1) maybe we could get this thing working.

H264 is a great thing and i'd freak out if i get this working on my linux box...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 08-01-2008, 09:49 AM
Newbie
N-Gage ID: None
 
Join Date: Jul 2008
Location: Home
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

Woohoo! Other people using their N95 with Linux.

I was looking for a way of converting video and came across the following short script in the Gentoo forum

Might be useful for others...

Code:
#! /bin/bash
clear
if [ -n "$1"]; then
   echo "please specify file to convert"
   
else

   if [ -n "$2"]; then
      newName=$(echo $1 | cut -d '.' -f1)
   
   else
      newName=$2
   fi

   echo "coverting $1 to $newName.mp4"

   ffmpeg -i "$1" -f mp4 -vcodec mpeg4 -b 250000  -r 15 -s 320x240 -acodec libfaac -ar 24000 -ab 64 -ac 2 "$newName.mp4"

fi
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 08-16-2008, 04:36 PM
Newbie
N-Gage ID: None
 
Join Date: Aug 2008
Location: Australia
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Thankyou. This has been great. Linux and N95 very nice combination. Running FUPPES - Free UPnP Entertainment Service fuppes for downloading those encoded divx files is good too.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored links
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
N96 to have The New Transformers Movie embedded in its software Micky The Lounge 14 05-09-2008 07:35 AM
Signing File using Linux jsuggs General 95 1 01-05-2008 02:10 AM
Can the N95 play embedded Flash video (not 8) in the browser, streamed? YourLocalGP General 95 15 01-01-2008 05:49 AM
Nokia N95 and LINUX Vertical General 95 4 08-25-2007 09:00 PM
Linux and the N95? alfonso General 95 4 05-01-2007 11:24 AM


All times are GMT. The time now is 03:24 PM.
Style Developed by Andrew Slane

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 Ad Management by RedTyger
Contact Us - Nokia N95 Users Forum - Privacy Statement - Top