Skip to content

Mikes123store/mp4-to-mobile-video

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

This is a simple ruby script to convert MP4 files into a format that's usable for the PSP and other mobile devices.  Once converted, the files are copied to a directory in the user's home (~/Movies/Mobile/Video).  After checking out the code you should run chmod +x on the file and invoke it simply with vid2go.rb file_name1 file_name2.  

Authors: Lou Scoras, Vince Wadhwani

October 24, 2008:  Extended the script to accept 2 arguments:

-psp will format the video for use on the PSP. This also creates the Thumbnail
-htcg1 will format the video for us on many mobile phones. Only tested on the G1 though

Example usage: vid2go.rb -htcg1 video_name.m4v

The code is also pretty expandable at this point so if anyone has any devices they want to add feel free to do that on your own.

WARNING: If you're running this on Ubuntu you may need to change the codecs used.  Try h264 instead of libx264 and aac instead of libfaac. At some point I may try automating detection..

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%