Hakimio
February 9th, 2009, 01:29 PM
HOWTO: Video Converter for Chinavasion mp4 players
Updated 2011-04
Intro
An acquaintance of mine needed a way to convert video for his Chinavasion (http://www.chinavasion.com) Touch Screen MP4 Player (aka chinese ipod touch clone) so I wrote him a bash script for that. The script is based on crmanski's video-convertor (http://ubuntuforums.org/showthread.php?t=62625) script. Changes I made to the original script are described in the Changelog section.
Features:
Batch conversion;
Linux, Mac OS & BSD compatible (here I will only describe how to get it working with Ubuntu/Debian systems);
Supports many Chinavasion MP4 player screens and support for more can be easilly added (contact me by posting in this thread or by sending private message if your Chinavasion mp4 player is not supported).
Supported resolutions:
320x240
220x176
160x128
128x96
Video quality can be selected;
Aspect ratio is automatically detected
settings are saved;
Can be easily translated (current translations include: english & lithuanian);
Appropriate video FPS are selected depending on selected resolution;
Installation
Download one of the scripts attached to this post (english and lithuanian versions available)
Place the script in the Nautilus scripts folder (/home/YourUserName/.gnome2/nautilus-scripts)
Make sure the file is executable
chmod +x ~/.gnome2/nautilus-scripts/MP4-Player-Video
Install mencoder:
sudo apt-get install mencoder
Select some video files. Right-click, Choose Scripts->MP4-Player-Video.
Here is a video showing script in action:
mirror #1 (http://www.binaryworld.skynet.lt/Converter.avi)
mirror #2 (http://binaryworld.xz.lt/Converter.avi)
mirror #3 (http://www.mediafire.com/?sharekey=ab1d4f3024a2b33fd2db6fb9a8902bda)
Change log
0.1 Beta, April 2011
Easier translation
Automatic aspect ratio detection
awk expression bug fix (shows up with newer awk)
use xterm to tell about missing zenity
major code cleanup
don't show file path and extension in zenity progress dialog
Initial release (0.01 Alpha; Jan 2009); changes made to crmanski's script:
Settings are saved
All selected files are checked - not only the first
Cancel works correctly when pressed during conversion
MPEG file is correctly identified now
Newlines work when echoed
The checking if the file is video file ends instantly when any match is found
To do
test & fix the bugs (if present)
About Touch Screen Chinavasion MP4 Player
I don't own the player (http://www.chinavasion.com/product_info.php/pName/touch-screen-mp4-player-8gb-28-inch-tft-display/) myself, but anyway hare are few things you might want to know about it:
The Good
Really cheap, like 50$ for 8GB model without camera
Radio built-in
Doesn't require special software to copy files to the device (acts as ordinary flash drive)
Smaller than ipod touch (3.70x2.17x0.59 compared with 4.3x2.4x0.31)
miniSD slot (unlike ipod touch)
Built-in speaker
Optional camera
Up to 8GB memory
Radio
Picture viewer (JPEG)
Built in MIC
Pretty good screen
The Bad
No wi-fi
Touch screen is not really sensitive (should be ok when using stylus pencil though)
No firmware upgrades will be provided
Play/pause buttons are reversed
Video review (http://www.youtube.com/watch?v=_xxpDBjkPlY&watch_response) by Citiclown
Updated 2011-04
Intro
An acquaintance of mine needed a way to convert video for his Chinavasion (http://www.chinavasion.com) Touch Screen MP4 Player (aka chinese ipod touch clone) so I wrote him a bash script for that. The script is based on crmanski's video-convertor (http://ubuntuforums.org/showthread.php?t=62625) script. Changes I made to the original script are described in the Changelog section.
Features:
Batch conversion;
Linux, Mac OS & BSD compatible (here I will only describe how to get it working with Ubuntu/Debian systems);
Supports many Chinavasion MP4 player screens and support for more can be easilly added (contact me by posting in this thread or by sending private message if your Chinavasion mp4 player is not supported).
Supported resolutions:
320x240
220x176
160x128
128x96
Video quality can be selected;
Aspect ratio is automatically detected
settings are saved;
Can be easily translated (current translations include: english & lithuanian);
Appropriate video FPS are selected depending on selected resolution;
Installation
Download one of the scripts attached to this post (english and lithuanian versions available)
Place the script in the Nautilus scripts folder (/home/YourUserName/.gnome2/nautilus-scripts)
Make sure the file is executable
chmod +x ~/.gnome2/nautilus-scripts/MP4-Player-Video
Install mencoder:
sudo apt-get install mencoder
Select some video files. Right-click, Choose Scripts->MP4-Player-Video.
Here is a video showing script in action:
mirror #1 (http://www.binaryworld.skynet.lt/Converter.avi)
mirror #2 (http://binaryworld.xz.lt/Converter.avi)
mirror #3 (http://www.mediafire.com/?sharekey=ab1d4f3024a2b33fd2db6fb9a8902bda)
Change log
0.1 Beta, April 2011
Easier translation
Automatic aspect ratio detection
awk expression bug fix (shows up with newer awk)
use xterm to tell about missing zenity
major code cleanup
don't show file path and extension in zenity progress dialog
Initial release (0.01 Alpha; Jan 2009); changes made to crmanski's script:
Settings are saved
All selected files are checked - not only the first
Cancel works correctly when pressed during conversion
MPEG file is correctly identified now
Newlines work when echoed
The checking if the file is video file ends instantly when any match is found
To do
test & fix the bugs (if present)
About Touch Screen Chinavasion MP4 Player
I don't own the player (http://www.chinavasion.com/product_info.php/pName/touch-screen-mp4-player-8gb-28-inch-tft-display/) myself, but anyway hare are few things you might want to know about it:
The Good
Really cheap, like 50$ for 8GB model without camera
Radio built-in
Doesn't require special software to copy files to the device (acts as ordinary flash drive)
Smaller than ipod touch (3.70x2.17x0.59 compared with 4.3x2.4x0.31)
miniSD slot (unlike ipod touch)
Built-in speaker
Optional camera
Up to 8GB memory
Radio
Picture viewer (JPEG)
Built in MIC
Pretty good screen
The Bad
No wi-fi
Touch screen is not really sensitive (should be ok when using stylus pencil though)
No firmware upgrades will be provided
Play/pause buttons are reversed
Video review (http://www.youtube.com/watch?v=_xxpDBjkPlY&watch_response) by Citiclown