Description: konqkonv is a KDE service menu which allows quick and easy conversion of video files (I've tried .avi, .mov and .mpg with it) into DVD or VCD compliant mpg files. You will need to have mencoder and/or ffmpeg installed and at least 5GB of free space in your home directory, maybe more depending on the size of the file being converted. Once finished, the mpg will be saved into the root of your home directory. For DVD mpgs you can then use Varsha to convert the mpg into a .iso file which can then be burned to DVD with k3bs 'Burn DVD iso image' option. For VCD mpgs you should just be able to drag and drop the mpg into a new k3b Video CD project window.
To install, just copy and paste the source code into the file /usr/share/apps/konqueror/servicemenus/konqkonv.desktop (or /opt/kde3/share/apps/konqueror/servicemenus/ under SUSE) The video conversion options will then appear under the 'Actions' menu when you right-click a video file.
TROUBLESHOOTING
If you just get a blank konsole window with the title 'Time' (as I did under Debian Sid) then edit out every instance of the word time from konqkonv. It should work then but you won't see how long conversion took at the end.
If you have a video that fails then try upgrading to the latest version of mencoder/ffmpeg then it should hopefully work Last changelog:
0.1 - First release, only supports PAL mpg generation
Very useful. The only thing I don't like is it saves every file to /home/user/ with a generic filename. I modified the servicemenu a little and I thought I'd contribute back if it helps anyone.
With some fancy use of sed, you could make your servicemenu even more convenient. Try replacing each output filename (e.g. PALDVDwide.mpg) with something like
%d/`echo %u | sed 's/\/.*\///' | sed 's/\..*//'`\(PAL-DVD-Widescreen\).mpg
in the konqkonv.desktop file. This causes the servicemenu to save the new video in the same directory as the input video, and gives the new file an appropriate name. For example, "/home/user/movies/Matrix.avi" becomes "/home/user/movies/Matrix(PAL-DVD-Widescreen).mpg"
There is now a great GPL tool for making video DVD's very easily under Linux/UN*X called DeVeDe. It has many advantages over konqkonv, the main ones being it supports batch conversion (more than one video clip), gives a disc-usage indicator, lets you pick the bitrate and eliminates the need for Varsha for making the DVD image. Sorry KDE fans, but its a pyGTK/GNOME app. It's in the Debian Marillat repository already but everybody else can download it from
http://www.rastersoft.com/programas/devede.html
How long until we see something like DeVeDe integrated into k3b and gnomebaker?
konqkonv can convert any video format supported by mencoder or ffmpeg to DVD- that include divx/xvid (.avi) just as long as your mencoder/ffmpeg version was compiled with support for them.
For mencoder, enter:
mencoder -ovc help
to see what codecs your version supports. If it lists divx4 and xvid you should be fine.
wow! This is cool.
Now if only someone would integrate
all these available tools into one tool for converting back and forth between DVDs/VCDs/AVIs, it would make the whole thing accessible for people who are not able or don't want to get 5 different pieces of software from kde-apps.
It won't be too long, I think...
I just installed Debian Sarge into another computer with the exact same hardware and software as one other computer. kongkonv works on the old setup but the new one spits this out...
mencoder: relocation error: /usr/lib/libavcodec-cvs.so: undefined symbol: faacDecOpen
Command exited with non-zero status 127
0.05user 0.01system 0:00.46elapsed 14%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (54major+1247minor)pagefaults 0swaps
Can you tell me what this means? I have libavcodecs installed as well as the devs.
Thanks
Just released the new version so give it a go with ffmpeg instead. I've had a couple of files which didn't agree with mencoder but did work with ffmpeg.
Ok it now works with both ffmpeg and mencoder. Depending on the video file one or both will work. ".mov" file, it seems, can only be converted with mencoder. Either way, its all working now. I love the extra choices.
Thank you very much for you hard work. I greatly appreciate it.
Thanks for pointing that out lenooh!
I hope that k3b will shortly eliminate the need for varsha and make konqkonv redundant by having a video transcoder integrated. I'd say these are k3b's two biggest omissions with 0.12.x. Nerolinux also lacks video transcoding :(
Ratings & Comments
14 Comments
This is a great servicemenu, just wonderful writing. Thanks!
Very useful. The only thing I don't like is it saves every file to /home/user/ with a generic filename. I modified the servicemenu a little and I thought I'd contribute back if it helps anyone. With some fancy use of sed, you could make your servicemenu even more convenient. Try replacing each output filename (e.g. PALDVDwide.mpg) with something like %d/`echo %u | sed 's/\/.*\///' | sed 's/\..*//'`\(PAL-DVD-Widescreen\).mpg in the konqkonv.desktop file. This causes the servicemenu to save the new video in the same directory as the input video, and gives the new file an appropriate name. For example, "/home/user/movies/Matrix.avi" becomes "/home/user/movies/Matrix(PAL-DVD-Widescreen).mpg"
There is now a great GPL tool for making video DVD's very easily under Linux/UN*X called DeVeDe. It has many advantages over konqkonv, the main ones being it supports batch conversion (more than one video clip), gives a disc-usage indicator, lets you pick the bitrate and eliminates the need for Varsha for making the DVD image. Sorry KDE fans, but its a pyGTK/GNOME app. It's in the Debian Marillat repository already but everybody else can download it from http://www.rastersoft.com/programas/devede.html How long until we see something like DeVeDe integrated into k3b and gnomebaker?
can't an option be made to covert Xvid or Divx to a dvd? using konqkonv?
konqkonv can convert any video format supported by mencoder or ffmpeg to DVD- that include divx/xvid (.avi) just as long as your mencoder/ffmpeg version was compiled with support for them. For mencoder, enter: mencoder -ovc help to see what codecs your version supports. If it lists divx4 and xvid you should be fine.
wow! This is cool. Now if only someone would integrate all these available tools into one tool for converting back and forth between DVDs/VCDs/AVIs, it would make the whole thing accessible for people who are not able or don't want to get 5 different pieces of software from kde-apps. It won't be too long, I think...
I just installed Debian Sarge into another computer with the exact same hardware and software as one other computer. kongkonv works on the old setup but the new one spits this out... mencoder: relocation error: /usr/lib/libavcodec-cvs.so: undefined symbol: faacDecOpen Command exited with non-zero status 127 0.05user 0.01system 0:00.46elapsed 14%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (54major+1247minor)pagefaults 0swaps Can you tell me what this means? I have libavcodecs installed as well as the devs. Thanks
Just released the new version so give it a go with ffmpeg instead. I've had a couple of files which didn't agree with mencoder but did work with ffmpeg.
Thanks I will. I'll let you know what happens. Thanks again.
Ok it now works with both ffmpeg and mencoder. Depending on the video file one or both will work. ".mov" file, it seems, can only be converted with mencoder. Either way, its all working now. I love the extra choices. Thank you very much for you hard work. I greatly appreciate it.
in suse it's /opt/kde3/share/apps/konqueror/servicemenus/
Thanks for pointing that out lenooh! I hope that k3b will shortly eliminate the need for varsha and make konqkonv redundant by having a video transcoder integrated. I'd say these are k3b's two biggest omissions with 0.12.x. Nerolinux also lacks video transcoding :(
An option for that would be great. Thanks.
How to install ?