Warning: session_start(): open(/tmp/sess_7grq8rl4q2m7kggkhv34me74n5, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
Convert 2 Video MP4 ( iPod & PSP ) openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans  .- Knowledge Base  . 

Convert 2 Video MP4 ( iPod & PSP )

   1.0  

KDE Service Menu

Score 54%
Convert 2 Video MP4 ( iPod & PSP )
zoom


Convert 2 Video MP4 ( iPod & PSP )
zoom


Link:  http://
Downloads:  1701
Submitted:  Feb 9 2008

Description:

Convert most any video file to mp4 that will be playable on your iPod or PSP.

Codecs:

Xvid
h264
faac

Screen format:

4:3
16:9
2.35:1

Resolution:

iPod
iPod TV
PSP

Requirements:

ffmpeg with aac xvid and h264
Kdialog
bash


----------------------------------------

The install script will create a directory under your home directory called .convert_2_mp4

The scripts and icon files will be kept there.

The *.desktop file will be in the standard KDE konqueror service menu directory. $HOME/.kde/share/apps/konqueror/servicemenus

For the install script to execute correctly you must be in a terminal and in the dir that it is extracted to when you execute it.

Do not use the mouse (click) to execute the install script.

Type "sh convert_install" without the quotes

To use the konqueror service menu right click on a video file and select Convert 2 MP4.
The file will automatically be converted to the selected format in the same dir it was started in. The resulting file will have the original name along with the codec, format and an .mp4 extension.

Batch convert:
You can select and convert more that one file at a time but it will take a very long time ( make sure they are of the same format 16:9, 4:3, 2.35:1 ).

Xvid is much quicker than h264.

--------------------------------------------------------------------
Other information:

The service menu selections are broken down in the following format.

Example

Service menu selection "Xvid-iPod-4:3-300k.Bitrate"

"Xvid" is the codec. You will also see h264
"iPod" is the resolution. You will also see PSP and TV (for the iPod TV output)
"4:3" is the screen format. You will also see 16:9 (wide) and 2.35:1 (super wide)
"300k" is the video bitrate. You will also see 500k. TV has a bitrate of 800k
---------------------------------------------------------------------
Requirements:
mplayer & kdialog (for progressbar to work)
ffmpeg (h264, xvid and aac codecs)

You can also try my ffmpeg GUI (Avi2iPod) on www.kde-apps.org http://www.kde-apps.org/content/show.php/Avi+2+iPod+%2B+PSP+%28mp4%29?content=56915

Enjoy
454




LicenseGPL
Send to a friend
Subscribe
Other  Content  from 454casull
Report inappropriate content



-
.

 install howto

 
 by laluz on: Feb 9 2008
 
Score 50%

can you please just add a step by step instruction on how to install your script?
Like download to a folders so and so,
Extract to folder so and so
chdir to some folder and run this and that.

I have extracted it into some directory, chdired there, in the shell executed sh convert_install. The files were placed into ~/.kde/share/apps/konqueror/servicemenus
but the menu still would not appear in konqueror. Neither does it appear in Dolphin, wich is a default file browser in Kubuntu 7.10 as it seems.


Reply to this

-
.

 Re: install howto

 
 by laluz on: Feb 9 2008
 
Score 50%

I have removed Dolphin from my system, as it was crashing way too often anyways and now the convert script works as described by the Author. Thanks for the useful script!


Reply to this

-
.

 Not really working

 
 by laluz on: Feb 9 2008
 
Score 50%

It has produces incompartible mp4 for a 4:3 source and 16:9 was playable on PSP but sound was jumping. Why do you use the xvid and ffmpeg instead of x264 and mencoder anyway? Do you get better results?

Look, here is a script that works for 16:9 for me all the time. It is simple and can use double core. Last string creates thumbnails for PSP.

Could you integrate this one into your scripts?


# $1 is a file or dvd://1
# $2 is a name to give to the result files

echo "$1"
CROP=$(mplayer -vf cropdetect -endpos 200 "$1" 2>/dev/null |grep "CROP"|tail -1|sed -e's/^.*(\(-vf.*\)).*$/\1/')

mencoder -sws 9 $CROP,pullup,softskip,scale=480:-10,harddup,unsharp=l3x3:0.7,expand=480:272 -ofps 24000/1001 -oac faac -faacopts br=128:mpeg=4:object=2:raw -ovc x264 -x264encopts bitrate=650:global_header:partitions=all:trellis=1:vbv_maxrate=768:vbv_bufsize=2000:level_idc=30:threads=4 -of lavf -lavfopts format=psp -o $2.MP4 $1;

mplayer -vo jpeg -ss 150 $2.MP4 -frames 2 ; convert -crop 362x272+60 00000002.jpg jpg:-| convert -resize 160x120 - jpg:$2.thm; rm 00000001.jpg 00000002.jpg;


Reply to this

-

 Re: install howto

 
 by 454casull on: Feb 10 2008
 
Score 50%

>quote
> by laluz
>can you please just add a step by step >instruction on how to install your script?

Dont take this the wrong way....But,...Did you even read the information provided on this web page let alone the README-FIRST file included in the download?

I think it explains it very well.


Reply to this

-
.

 Re: Re: install howto

 
 by laluz on: Feb 10 2008
 
Score 50%

thanks for your reply. This sentence is not exactly easy to understand "For the install script to execute correctly you must be in a terminal and in the dir that it is extracted to when you execute it."
So when the script did not appear at first (before I have deinstalled Dolphin) I thought I may have done smth. wrong.

As to the step by step I would just make in this way:
1. Extract the content of the archive to any directory
2. start shell and chdir to this directory
3. run "sh convert_install"
4. The install script will create a directory under your home directory called .convert_2_mp4
The scripts and icon files will be kept there.
5. The *.desktop file will be in the standard KDE konqueror service menu directory. $HOME/.kde/share/apps/konqueror/servicemenus
To use the konqueror service menu right click on a video file and select Convert 2 MP4.
The file will automatically be converted to the selected format in the same dir it was started in. The resulting file will have the original name along with the codec, format and an .mp4 extension.

But before all, could you comment on your choice of ffmpeg? This is what I am most interested in.


Reply to this

-

 Kdialog suggestion

 
 by thenthenio on: Dec 15 2008
 
Score 50%

Thank you very much for this service menu.
I will enjoy it a lot for converting videos to my daughter iPod!
With it I also learned something on customizing KDE!
I have a suggestion for the conversion statistics line inside kdialog in order to clean it from unwanted extra characters at the beginning.
Replace this line:
`tail -c 84 "${STRING_TEMP_FILENAME}"`
with this one:
`grep frame "${STRING_TEMP_FILENAME}" | sed -s s/.*frame/frame/`
I would be happy if my contribution could improve your addon.

Thanks.
Mauro


Reply to this

-

 Re: Kdialog suggestion

 
 by thenthenio on: Jan 4 2009
 
Score 50%

This is better then the previous suggested:
Replace this line:
`tail -c 84 "${STRING_TEMP_FILENAME}"`
with this one:
`tail -n 1 "${STRING_TEMP_FILENAME}"`


Reply to this

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team