| Re: Re: install howto Feb 10 2008 on content Convert 2 Video MP4 ( iPod & PSP ) | 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. |
| ![.](/img/trans.gif) | | Not really working Feb 9 2008 on content Convert 2 Video MP4 ( iPod & PSP ) | 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; |
| ![.](/img/trans.gif) | | Re: install howto Feb 9 2008 on content Convert 2 Video MP4 ( iPod & PSP ) | 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! |
| ![.](/img/trans.gif) | | install howto Feb 9 2008 on content Convert 2 Video MP4 ( iPod & PSP ) | 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. |
| ![.](/img/trans.gif) | | Re: Re: Can you add h264 Nov 18 2007 on content Avi 2 iPod / PSP (mp4) | h264 with ffmpeg does not work on my (unmodded) psp. :-( |
| ![.](/img/trans.gif) | | mencoder for PSP Nov 12 2007 on content Avi 2 iPod / PSP (mp4) | Here is a shell script that works for me to convert to a format that an unmodded PSP with firmware v3.71 can play natively. At the end is a quick hack to make a thumbnail, if you're lucky it will sample a thumbnail at a correct spot.
I would be happy to see this added to your kmdr script.
# $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 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -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;
####################################
and here is another script for 4:3 movies
##################################
mencoder -sws 9 -vf pullup,softskip,scale=368:-10,harddup,unsharp=l3x3:0.7,expand=368: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 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -o $2.MP4 $1;
mplayer -vo jpeg -ss 250 $2.MP4 -frames 2 ; convert -resize 160x120 -extent 160x120 00000002.jpg jpg:$2.thm; rm 00000001.jpg 00000002.jpg; |
| ![.](/img/trans.gif) |
Search people Current visitors New users Birthdays Most active users Back
|
|