Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Description:
2video4ipod allows easy and quickly conversion of your video in video who your ipod video can read

video in xvid/mp4
sound in aac 128 kbp/s

Depends on ffmpeg (and for easy install wget)

To install it, just copy the file into /usr/share/apps/konqueror/servicemenus/ with video2video4ipod.desktop in name

----- Easy install -----
in a terminal type

~$ su
~# cd usr/share/apps/konqueror/servicemenus/
~# wget http://kde-look.org/content/files/33835-a.desktop
~# chmod 777 33835-a.desktop

in french for kde french user's

thanks to jhuebel

Ratings & Comments

16 Comments

bugger

Although a bit old I like this service menu. Replace the existing command with the following: Exec=cd "%d";konsole --noclose -e ffmpeg -f mp4 -y -vcodec xvid -b 768 -qmax 10 -bufsize 4096 -g 300 -acodec aac -vol 256 -ab 128 -ac 2 -i %u -aspect 4:3 "`echo %u | perl -pe 's/\\.[^.]+$//'`.mp4" Courtesy of "454casull" who created the AVI2IPod kommander script under http://www.kde-apps.org/content/show.php/Avi+2+iPod+(mp4)?content=56915

pld1

i've no problem with ffmpeg with ubuntu.

jhuebel

If you're running a binary distribution like Fedora, Debian or Mandriva, you'll probably have to recompile ffmpeg with xvid support. Many of these distributions support a limited set of codecs in their pre-compiled binaries. If you're using Gentoo (which I use), then make sure the aac and xvid USE flags are set.

BorgQueen

I get this when I try to use it on an mpeg or avi: ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard built on Sep 10 2005 22:40:23, gcc: 3.3.5 (Debian 1:3.3.5-13) Input #0, mpeg, from '/home/Media-Works/Film_Clips/Misc/TimeFlys.mpg': Duration: 00:17:19.5, bitrate: 412 kb/s Stream #0.0: Video: mpeg2video, 720x576, 25.00 fps Unknown input or output format: psp

pld1

it's a problem with you're ffmpeg ! i use the version 3:20051101-0.0 (testing) in the marillat debian server work fine with it ;)

BorgQueen

Installed that version, still doesn't work. Install latest version this is what I got. ffmpeg version CVS, build 3342336, Copyright (c) 2000-2004 Fabrice Bellard configuration: --prefix=/usr built on Jan 15 2006 13:54:06, gcc: 3.3.5 (Debian 1:3.3.5-13) Input #0, mpeg, from '/home/Media-Works/Film_Clips/Misc/rasher-pig.mpg': Duration: 00:00:12.2, start: 0.177778, bitrate: 870 kb/s Stream #0.0[0x1c0]: Audio: mp2, 32000 Hz, mono, 32 kb/s Stream #0.1[0x1e0], 25.00 fps(r): Video: mpeg1video, yuv420p, 320x240, 104857 kb/s Output #0, psp, to 'ipod_file.mp4': Stream #0.0, 29.97 fps(c): Video: mpeg4, yuv420p, 320x240, q=2-31, 768 kb/s Stream #0.1: Audio: 0x0000, 24000 Hz, mono, 128 kb/s Stream mapping: Stream #0.1 -> #0.0 Stream #0.0 -> #0.1 [mpeg4 @ 0x83a9d30]removing common factors from framerate Unsupported codec for output stream #0.1 but I did get an empty output file

jhuebel

The problem is with the -f option in the .desktop file. Change the Exec line in the file to: Exec=konsole --noclose -e ffmpeg -i %u -vcodec xvid -r 29.970030 -b 768 -ar 24000 -ab 128 -s 320x240 ipod_file.mp4 Basically, I removed the -f option and added the -vcodec option. xvid is MPEG4. Honestly, these settings aren't really ideal. IMO, a bitrate above 650 is overkill for such a low resolution video file. It's also better to keep the original framerate (by ommitting the -r option) to avoid "ghosting" of the video. If you're interested in fine-tuning your conversions, take a look at this blog post: http://www.huebelfamily.org/node/23 I would suggest splitting the service menu into four options. One would do full-screen conversion at 320x240 (4:3). The second would do widescreen at 320x192 (16:9). These two options are good for iPod viewing. Then also have two conversions that are TV-friendly. Full-screen resolution would be 480x360 and widescreen would be 480x288. Lastly, it may also be useful to have a service menu that shows the input video file's characteristics so the user can make an educated decision on the conversion to choose. You can get that information by using this command line: ffmpeg -i input_file.avi Sure, it exits with an error. But that's typically a quick way to determine what the input resolution, framerate and audio bitrates are.

BorgQueen

Doesn't work. ffmpeg version CVS, build 3342336, Copyright (c) 2000-2004 Fabrice Bellard configuration: --prefix=/usr built on Jan 15 2006 13:54:06, gcc: 3.3.5 (Debian 1:3.3.5-13) Input #0, mpeg, from '/home/Media-Works/Film_Clips/Misc/rasher-pig.mpg': Duration: 00:00:12.2, start: 0.177778, bitrate: 870 kb/s Stream #0.0[0x1c0]: Audio: mp2, 32000 Hz, mono, 32 kb/s Stream #0.1[0x1e0], 25.00 fps(r): Video: mpeg1video, yuv420p, 320x240, 104857 kb/s Unknown codec 'xvid' is all I get with that. I have the laster xvid installed

arthur-kalm

Hi, I get the same error. Any ideas?

BorgQueen

Nope. No clue. Send the term output to the author along with your system specs and ffmpeg version. Maybe he can track it down. Are you on debian 3.1?

acidphex

I was in the same situation about the Unknown 'xvid' error. It's true you have recompile ffmpeg with xvid support, but don't worry here's a nice tutorial/wiki to help you. It's only a couple of commands: https://wiki.ubuntu.com/ffmpeg

thoand

Hi, I read your page and took your settings, they work great, but there is one thing I would like. If a source not in the ipod format ffmpeg should add black borders. Any idea howto do this automaticly?

angrykeyboarder

2video4ipod allows easy and quickly conversion of you are video files to videos for you are iPod video (5g) that copy the output file in you're home? OK....

pld1

lol, i'm was tired ;) ;)

tux86

i think the point is that you always write "you're" (vous _etes) when you mean "your" (votre) [i can't speak french very well, but i hope i chose the right words and you get my point ;) ]

pld1

aaaaaaaaaaaaaaaaaaaa ok, it's exactly that ;) merci ;)

Pling
0 Affiliates
Details
license
version 0.5
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

Other Dolphin Service Menus:

burnWithGrowisofs
chunkylover
last update date: 20 years ago

Score 5.0

Firefox-bookmarks service menu
storyteller
last update date: 20 years ago

Score 5.0

Text Convert Service Menu
smp-penguin
last update date: 21 years ago

Score 5.0

Pdflatex servicemenu
bobuse
last update date: 20 years ago

Score 5.0

Send through Bluetooth
dmnet
last update date: 21 years ago

Score 5.0

Add to Bloglines
spookster
last update date: 21 years ago

Score 5.0



System Tags