Prev Previous Post   Next Post Next
Old 01-02-2009, 03:18 PM
zen_in_linux zen_in_linux is offline
Junior Member
Join Date: Jan 2009
Posts: 4
Default Video Conversions With Linux

Here are some initial thoughts on using the Creative Zen in Linux to add to some of the very useful information elsewhere in this forum.

I am using Suse 11.0.

I used the udev (hotplug) rules described on this site Having followed the guidance on that site, I found I could easily mount the Zen X-fi as part of the Linux filesystem. I created the directory $HOME/zen and then from $HOME issued the command mtpfs zen which meant I could browse the filesystem from the command line or using a file manager (Konqueror). Not all file operations are available: you can create directories and add files but you can't seem to be able to use mv or overwrite a file (not a major issue).

Having spent a while experimenting with ffmpeg and mencoder I have had success with the following scripts.

This is using mencoder for two-pass encoding of a 16:9 video to divx with no change to the audio:

mencoder [infile] -vf scale=320:180,harddup -of avi -ffourcc DIVX -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o /dev/null

mencoder [infile] -vf scale=320:180,harddup -of avi -ffourcc DIVX -ovc lavc -lavcopts vcodec=mpeg4:vpass=2:mbd=2:trell -oac copy -o [outfile]

One of the essential elements of this script is the -ffourc option. I couldn't get the transcoding to work with the libavcodec codecs (i.e. -ovc lavc) without that option.

The mencoder -ffourcc option in ffmpeg is -vtag. The following also worked for me (this time on a 4:3 video):

ffmpeg -i [infile] -f avi -vtag DIVX -r 30 -s 320x240 -vcodec mpeg4 -b 1000K -acodec libmp3lame -ab 320K [outfile].avi

For those interested in downloading and transcoding Youtube videos there is an excellent command-line utility called clive which I installed using the Suse installation utility zypper. Further details are available here

The clive utility has a command-line re-encoding option, meaning you can have a single command line for downloading a Youtube video, transcoding it, and outputting the result onto your Zen mounted in Linux.

Last edited by zen_in_linux; 01-03-2009 at 09:23 AM.
Reply With Quote

Advertisement [Remove Advertisement]


creative zen, ffmpeg, linux, mencoder, video, zen, zen video, zen x-fi

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

All times are GMT -5. The time now is 10:35 AM.