![]() |
![]() |
![]() |
![]() |
|
|
#1 |
|
Senior Member
![]() Join Date: May 2007
Location: Czech Republic, Europe
Posts: 721
|
I have just finished video and subtitles converter for Cowon D2 :-)) , and it is FREE and OPEN SOURCE !!
![]() Features: - videos (including DVDs) and subtitles are inserted by drag and drop, you can also use CTRL + V - whole folders with videos can be inserted, application will filtrate videos and subtitles from it automaticaly; if you want to rip a dvd just insert dvd drive icon or folder when the dvd is located, or any file which is in that folder (.vob,.ifo,.bup) - subtitles are searched automatically if they are named same as video - support for more video tracks and subtitles which are directly in video (usualy .ogm, .mkv, .avi or DVD uses this) - it can preserve folders structure of original videos, so you will have not mess on hardisk in you insert your whole movie colection. - you can insert subtitles directly to application with or before video, or by dropping it directly at the video in list of videos which waiting for conversion (the line in this list will then change color from red to green) - videos are NEVER UPSIZED, only downsized or cropped if needed, so you can easily set that maximal width is 640 and insert video from youtube with resolution 320x240 and final file will have resolution 320x240, if you insert video with resolution 1280x720 then it will have finally 640x360 - you can set that videos will be fitted into screen resolution, for example if your has player resolution 800x480 and you insert video with resolution 1000x750 then final video will have 640x480, if you insert video with resolution 1280x720 then final video will have 800x450, if you insert video with resolution 320x240 then final file will have 320x240(due to "never upsize" feature) - it can monitor a folder on your computer and everytime when new video is inserted into this folder then it will automaticaly start conversion of this video (if this video is locked(for example by other application), then will wait until this video is unlocked and then start conversion)); if subtitles with the same name as a video are located in the same folder, then is used automaticaly; you can set that source videos will be automaticaly will be deleted after conversion - support zoom video to fullscreen (you can set if you will see black borders on your portable player or not), also support zoom which can be set in % (you can set how much will be black borders in widescreen videos removed, but it will never crop height, only width and it will stop zooming when display aspect ratio is reached) - it have TURBO button, if clicked then conversion is about 10x faster (optimized for speed, if unclicked then it is optimized for quality) - it will inform you about success (or not succes) in finding of subtitles by a special nice transfluescent window that show in the midle of the screen (the great thing is that for example when you browsing internet with your browser and this window appear, then when you click on that window then the browser will not loose focus - only thing that happen is that the info window dissapear), or after conversion finish then it will show you how many subtitles wasn`t found in the middle of application, and if you stop the mouse over it then it will also show for which videos weren`t found subtitles - can be started hidden or rolled down (this is good if you want to use it as a WIDGET) - videos can be rotated by 90° and black bar will be added under video, so you can watch at videos on your widescreen portable player like on iPod 5G/6G/Classic (if you holding player in "portrait" position then video will be on the top and black screen will be only under video) - if you try to shutdown Windows while converting then application will stop this shutting down and ask you if you realy wan`t to shutdown Windows - if you pause the starting of new convesions and you forget it, then aplication in five minutes will (if there is no mouse activity over application) disable this pause and start conversion (this is good for always absent-minded people like me); the window with avaiable audio/subtitles tracks or titles will also dissapear in 60 seconds automaticaly - subtitles are autosizing - for example in resolution 640x480 they take 2/3 of width and in resolution 320x240 they take also 2/3 of width - everything what you set in application is SAVED - help is integrated directly in application, just stay with mouse for example on button, checkbox, etc. - the help window will appear - AND IT NEVER DISSAPEAR FIVE SECONDS AFTER SHOWED LIKE IN OTHER ANNOYING APPLICATIONS (disappear time is set to 100 seconds) - conversion running at idle priority (it will not slow down your computer, you can do anything while converting) - start of encoding and lenght of final video and all sliders CAN BE SET BY MOUSE WHEEL - based on mencoder, ffmpeg, mp4box and FLVextract, NO A/V SYNCHRONIZATION PROBLEMS, WITH QUALITY SET TO MAX, it using Lanczos 10 tapes luma 10 tapes chroma filter for resizing, using quantitizer instead of video bitrate, for mp3 you setting quality instead of bitrate - this mean that you will have videos always in the same quality - support videos without file extension (useful when you download video from youtube without any extension, there is no need to rename in) - it is OPEN SOURCE and FREE - support multicore PCs (2 or more processors) - using ffmpeg for muxing, and -async 192000 command (there is no A/V sync problems for Cowon D2) supported devices: - Cowon D2 - Cowon A3 - Cowon Q5 - iPod Video 5/5.5/6G (5G only with the newest firmware) - iPhone/iPod Touch - the new iPod Nano 3G with video capability - Archos 605 - iRiver Clix 2 (only with newest firmware) - VGA and QVGA PDAs (no matter which brand, it is universal) - any PC, TV or high definiton television up to resolution 1920x1080 You can add device yourself, it has editable profiles in Profiles folder (in each profile is guide how to edit it). Screenshots: ![]() ![]() ![]() ![]() ![]() ![]() Window can be made smaller by rolling it down: ![]() It can inform you if subtitles was or wasnt found: ![]() ![]() ![]() ![]() This is rotated video by 90 degrees with added black border under video, so you can view rotated videos on any device: ![]() ![]() ![]() ![]() Examples of encoded videos: This one has extended black border, so subtitles are not so much annoying, because are out of picture. ![]() This is normal without black border: ![]() Here is guide how to add your own device profile. In folder where is iLove installed open folder named "Profiles". Here are located profiles. Make a copy of "blank profile._ini" and rename it to name of your device plus the ".ini" extension or just rename one of the ".ini" profiles which already exists. So rename it for example to "iPhone 7G.ini". Also make make a copy of one ".bmp" pictures located in this folder and rename it to the name of new profile - for example to "iPhone 7G.bmp". Or you can make new picture - it has to be bitmap format, 24bit depth, resolution 256x256 pixels, with white background. Into this picture copy in some graphic editor program the photo of new device. Now open the new ".ini" and edit it. As an example is recommended to look at "iPhone Touch.ini" profile, because it is good example (it has filled everything). In all profiles is guide how to edit a profile. Lines which starts with ; are comments, these lines are ignored. Here is copy of content of "iPhone Touch.ini" profile: [CodecIndependentSettings] Name=iPhone/Touch ; Name of device, for example HD television PhysicalResolutionWidth=480 ; real physical resolution (width part) of device`s display; if not set to real values, then must be at least exactly in aspect ratio of display; must be equal or lower than DeviceWidthLimit PhysicalResolutionHeight=320 ; real physical resolution (height part) of device`s display; if not set to real values, then must be at least exactly in aspect ratio of display; must be equal or lower than DeviceHeightLimit RotateDirection=2 ; 1 mean rotate by 90 degrees clockwise, and 2 mean rotate by 90 degrees counterclockwise DeviceWidthLimit=636 ; highest resolution (width part) which is device capable view, exactly in aspect ratio of display DeviceHeightLimit=424 ; highest resolution (height part) which is device capable view, exactly in aspect ratio of display DefaultRadioGroupWidthItemIndex=1 ; this set which video width is set as default; it start at 0; for exampe iPhone has 3 widths: 320, 480 and 640 pixels, and this is set to 1 so by default it will chose width of 480 pixels DefaultRadioGroupAspectItemIndex=0 ; this set which aspect (to which will be video`s height cropped) is set as default; it start at 0; for exampe iPhone has 3 aspects: 3:2, 16:9 and 47:20 pixels, and this is set to 0 so by default it will chose aspect of 3:2 DefaultSelectedCodec=h264 ; this set which codec is set as default; it start at 0; VideoAspectValuePreset1TopNumberInFraction=4 ; this is aspect to which will be video`s height cropped, it is the top one number in fraction; to crop to aspect 16:9 set it to 16 VideoAspectValuePreset1BottomNumberInFraction=3 ; this is aspect to which will be video`s height cropped, it is the bottom one number in fraction; to crop to aspect 16:9 set it to 9 VideoAspectValuePreset2TopNumberInFraction=3 VideoAspectValuePreset2BottomNumberInFraction=2 VideoAspectValuePreset3TopNumberInFraction=16 VideoAspectValuePreset3BottomNumberInFraction=9 VideoWidth1ShouldBeEnabled=true ; set this to false if the resolution at given preset is unsupported; for example Cowon D2 support only video width of 320 pixels, so first preset (320) will be enabled (by set this to true) and the others disabled (by set other to false) VideoWidth2ShouldBeEnabled=true VideoWidth3ShouldBeEnabled=true VideoWidthPreset1=320 ; this is maximal width limit preset, it is used if is not used fulscreen or fit into VideoWidthPreset2=480 VideoWidthPreset3=640 [Codech264Settings] Enabled=true ; set this to false if the given codec is unsupported; for example Cowon D2 support only Mpeg-4 codec, so the first codec (and radiobutton) h264 is disabled MaxBitrate=2500 ; highest video bitrate, which is device capable view without skipping of frames and audio/video sychronization issues; codec value start at 1, not at 0 MaxLevel=30 ; highest h264 level, which is device capable view without skipping of frames and audio/video sychronization issues; for level 5.1 set value to 51; set to nil if is this irrelevant ExtensionOfFinalFileWithoutDot=mp4 ; file extension of final video withoutdot, for example mp4 or avi ExtensionOfTempAudioWithoutDot=aac ; file extension of temporary audio file during conversion, for example mp3 or aac ExtensionOfTempVideoWithoutDot=264 ; file extension of temporary video file during conversion, for example cmp or 264 VideoParameters=nofast_pskip:dct_decimate:nocabac: me=umh:frameref=5:mixed_refs:partitions=all:subq=6 :no8x8dct:bframes=0 ; Mencoder`s video settings (for high quality conversion), look into Mencoder documentation for details; it starts and ends without colon AudioParameters=mpeg=4:object=2:br= ; Mencoder`s audio settings (for high quality conversion), look into Mencoder documentation for details; it starts without colon and must end with bitrate selection and = symbol, for example mpeg=4:object=2:br= VideoParametersTURBO=nocabac:partitions=none:nomix ed_refs:subq=0:no8x8dct:bframes=0:turbo=2 ; Mencoder`s video settings (for high speed conversion), look into Mencoder documentation for details; it starts and ends without colon AudioParametersTURBO=mpeg=4:object=2:br= ; Mencoder`s audio settings (for high speed conversion), look into Mencoder documentation for details; it starts without colon and must end with bitrate selection and = symbol, for example mpeg=4:object=2:br= AudioMinBitrate=32 ; Audio codec minimal bitrate/quality - it doesn`t have to be in kbps scale, it can be also in quality scale; if it is bitrate or quality depends on what you set as the end of AudioParameters AudioMaxBitrate=132 ; Audio codec maximal bitrate/quality - it doesn`t have to be in kbps scale, it can be also in quality scale; if it is bitrate or quality depends on what you set as the end of AudioParameters [Codecmpeg4Settings] Enabled=true ; set this to false if the given codec is unsupported; for example Cowon D2 support only Mpeg-4 codec, so the first codec (and radiobutton) h264 is disabled MaxBitrate=2500 ; highest video bitrate, which is device capable view without skipping of frames and audio/video sychronization issues; codec value start at 1, not at 0 MaxLevel=nil ; highest h264 level, which is device capable view without skipping of frames and audio/video sychronization issues; for level 5.1 set value to 51; set to nil if is this irrelevant ExtensionOfFinalFileWithoutDot=mp4 ; file extension of final video withoutdot, for example mp4 or avi ExtensionOfTempAudioWithoutDot=aac ; file extension of temporary audio file during conversion, for example mp3 or aac ExtensionOfTempVideoWithoutDot=cmp ; file extension of temporary video file during conversion, for example cmp or 264 VideoParameters=vcodec=mpeg4:vmax_b_frames=0:mbd=2 :v4mv:trell:cmp=3:subcmp=3:vlelim=-4:vcelim=7:mpeg_quant ; Mencoder`s video settings (for high quality conversion), look into Mencoder documentation for details; it starts and ends without colon AudioParameters=mpeg=4:object=2:br= ; Mencoder`s audio settings (for high quality conversion), look into Mencoder documentation for details; it starts without colon and must end with bitrate selection and = symbol, for example mpeg=4:object=2:br= VideoParametersTURBO=vcodec=mpeg4:vmax_b_frames=0: vlelim=-4:vcelim=7:mpeg_quant:turbo ; Mencoder`s video settings (for high speed conversion), look into Mencoder documentation for details; it starts and ends without colon AudioParametersTURBO=mpeg=4:object=2:br= ; Mencoder`s audio settings (for high speed conversion), look into Mencoder documentation for details; it starts without colon and must end with bitrate selection and = symbol, for example mpeg=4:object=2:br= AudioMinBitrate=32 ; Audio codec minimal bitrate/quality - it doesn`t have to be in kbps scale, it can be also in quality scale; if it is bitrate or quality depends on what you set as the end of AudioParameters AudioMaxBitrate=132 ; Audio codec maximal bitrate/quality - it doesn`t have to be in kbps scale, it can be also in quality scale; if it is bitrate or quality depends on what you set as the end of AudioParameters ---------------------------------------------------------------------------------------------------- iLove is made originaly for Windows. But it can be runned on all operating systems which can run Wine (http://www.winehq.org/) and Mono (http://www.go-mono.com/), so supported operating systems are:
Download: https://sourceforge.net/projects/ilove/ Newest source code: Source code repository moved to SourceForge. You can dowload latest sources from: bzr://ilove.bzr.sourceforge.net/bzrroot/ilove Note: this repository also contain most actual .exe not only most actual source code You need application called Bazaar (http://bazaar-vcs.org/) to download it. Just install Bazaar, make a new folder on your PC, right click and in popup menu select "Bazaar Checkout/Branch", into "branch source" insert adress from above, and select "Make a local copy of branch", and click OK. I should take few minutes to download it (appx. 250 MB). You can look at sourcecode actual changes instantly at http://ilove.bzr.sourceforge.net/bzr/ilove/changes Last edited by elviselvis; 04-25-2010 at 04:49. |
|
|
| Thanks from: |
|
|
#2 |
|
Jedi Master
|
Cool. I will try this right now
![]() Sorry for stupid question but how to start converting?
__________________
- Cowon D2 4GB Black, Firmware 3.53 - 4 GB SDHC Toshiba Class 4, - AKG K24P
Last edited by r_HIV; 07-03-2007 at 05:33. |
|
|
|
|
#3 |
|
Senior Member
![]() Join Date: May 2007
Location: Czech Republic, Europe
Posts: 721
|
just drop the video or subtitles into application
|
|
|
|
|
#4 |
|
Jedi Master
|
OK, I drop the video, select profile Cowon D2, and then? How to start converting, button start or something else?
* * * I Understand. I just have to wait... "Conversion starting paused for a while..." http://77.70.21.80/Clipboard01.png
__________________
- Cowon D2 4GB Black, Firmware 3.53 - 4 GB SDHC Toshiba Class 4, - AKG K24P
Last edited by r_HIV; 07-03-2007 at 05:57. |
|
|
|
|
#5 |
|
.
Join Date: Apr 2007
Location: UK, London
Posts: 68
|
Nice tool! Feature request: I like to watch 16:9 movies slightly letterboxed, because if i use full-screen, then too much of the sides is cut away, but if its full 16:9, then the image is too small. A zoom slider or so would be optimal, where you could, for example, zoom in to 110% from the full 16:9 view, so that the encoded video is some kind of mixture. WinMenc can do that, so should be possible.
__________________
try my text wrapper and Wikipedia for the D2! ... or have a look into my totally unrelated blog about the danger of artificial intelligence: AI Panic
|
|
|
|
|
#6 |
|
Member
Join Date: May 2007
Posts: 37
|
This is weird, is there any way to start the conversion?
and I think implementing a status and progress bar would be great. EDIT: actually there is one but it is soo small. sorry ![]() Thanks for sharing it, if this works without problems it will be the D2 converter for me. Last edited by Snoopyboy; 07-03-2007 at 06:32. |
|
|
|
|
#7 |
|
Senior Member
![]() Join Date: May 2007
Location: Czech Republic, Europe
Posts: 721
|
for r_HIV:
the reason why it "pauses starting of new conversion" is simple: It is protection against diseappering of topmost video in converting queue if: a) you changing position of videos in this queue b) if you want to delete one c) if you moving your mouse over videos in list (and if do this then there is high probability than you want to do point a) or b) ) here is short guide how to use this program: 1) set parameters (optional) 2) insert subtitles (optional) 3) insert video (you can skip point nr 2. and insert video and subtitles together) 4) when more videos inserted, then you can move positions of this videos in the list or delete one (while you do this then notice "conversion starting paused for a while" appears) Last edited by elviselvis; 07-03-2007 at 07:03. |
|
|
|
|
#8 | |
|
Senior Member
![]() Join Date: May 2007
Location: Czech Republic, Europe
Posts: 721
|
Quote:
i want progress bar small, and all in the application i want small to fit into screen; i think thant status bar is too much bad noticeable, so there is another ways to say something to user: 1) that tranfluescent green/red window that appears many times while converting 2) title of aplication will change (will add "momentally converting" into it when it converting, momentaly is this information only in windows taskbar) 3) that green/red bar in the middle of the application, it inform you if subitles was or wasn`t found |
|
|
|
|
|
#9 | |
|
Senior Member
![]() Join Date: May 2007
Location: Czech Republic, Europe
Posts: 721
|
Quote:
I will try to do some research how to do it, BECAUSE IT IS GREAT IDEA!!!! The same thing it JUST do in iPhone profile, but with height, not width (iPhone has 3:2 screen instead 4:3(as D2 has), so for iPhone is better to cut height). SO IT IS REALY POSSIBLE!!!! ADDED TO TODO LIST!!!! THANKS!!!! i thing that automaticaly zooming to 110 is better than slider, because the application have to fit into screen, and slider is too big. PS: hey man i love your avatar, do you have bigger picture? |
|
|
|
|
|
#10 |
|
Senior Member
![]() Join Date: May 2007
Location: Czech Republic, Europe
Posts: 721
|
i have just started working on zoom to 110 percent feature
edit: LOL, i have just found one bug than crop 16:9 (1.7777:1) movies recorded from European DVB-T to approximatelly 2.05:1 (FIXED SUCCESFULLY) edit 2: i have found another bug: button "music" works only if checkbox "stereo boost" checked (FIXED SUCCESFULLY) Last edited by elviselvis; 07-03-2007 at 14:09. |
|
|
|
|
#11 |
|
Senior Member
Join Date: May 2007
Location: NY
Posts: 785
|
Thanks for sharing this work, which looks very interesting.
I've been working slowly on a side project that's somewhat similar to yours - you've gone further than I intended, since I only wanted to create a D2-dedicated UI for easy A/V conversion that could *possibly* be expanded later. I notice that you have a "crop to" option, though I am calculating the conversion size based on original video stream size ratio - do you literally crop in the conversion or does it grow/shrink to best fit from the original source? Thanks for the code, though I was working with Java over here and it looks like you're using Delphi. Guess I'll continue to try and release my utility at some point, too. This effort of yours is greatly appreciated. - wader Last edited by wader; 07-03-2007 at 09:35. |
|
|
|
|
#12 | |
|
Senior Member
![]() Join Date: May 2007
Location: Czech Republic, Europe
Posts: 721
|
Quote:
ideal for me Last edited by elviselvis; 07-03-2007 at 14:12. |
|
|
|
|
|
#13 |
|
Member
Join Date: May 2007
Posts: 37
|
Thanks Elvis, it works really nice. I uploaded some short clips on my D2 and they look great.
![]() |
|
|
|
|
#14 |
|
Senior Member
![]() Join Date: May 2007
Location: Czech Republic, Europe
Posts: 721
|
|
|
|
|
|
#15 | |
|
Senior Member
![]() Join Date: May 2007
Location: Czech Republic, Europe
Posts: 721
|
Quote:
EDIT: this "crop to" bug was fixed so now it support both ways: 1) it can have original aspect - so 2,35:1 movie will be 2,35:1 on D2 2) it can be zoomed to whole screen of D2 ("fullscreen" checkbox) - so 2,35:1 movie will be 4:3 on D2 (D2 has aspect ratio of display 4:3) 3) (will be in new version 2.1) it can be zoomed for example only 15 % - so 2,35:1 movie will be somethink between 2,35:1 and 4:3 - and you can set how much Last edited by elviselvis; 07-15-2007 at 05:41. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|