| 1   2     3   | Next | Last
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Media Converter (https://talk.maemo.org/showthread.php?t=569)

konttori 2005-12-04 14:02

Media Converter
 
Now that quite a few people have their Nokias up and running, I thought to make a small and easy to use media converter for it. It was built yesterday in a few hours, but works pretty nicely at least for me. I would have uploaded it as an attahcment, but the limit has been set to 2 MB.

http://www.helsinki.fi/~konttori/MediaConverter.zip

Comments, bugs and suggestions are welcome.


Usage is simple:
1. Unzip the folder
2. Open folder Media Converter
3. Double click on the butterfly -icon or the mediaconverter.jar
4. Select any .avi files using the add files to queue (you can multiselect)
5. Select proper resolution, bitrate for audio and vide and then click on the convert videos button
6. Wait until Total progress is 100%
7. Check on the source files folder and you should see new files with .nokia770.avi at the end of the file names. These are your converted files.

If nothing happens when trying to open the media converter, then you may need to install java runtime to your computer. You can get java runtime from java.sun.com. http://www.java.com/en/download/windows_automatic.jsp

Bill 2005-12-04 15:44

Thanks Konttori, it works like a charm.

For those, like me, who couldn't find a barebones, none SDK, java runtime on the page you linked:

Try the following link for Win32:
http://www.java.com/en/download/windows_automatic.jsp

konttori 2005-12-04 15:54

Thanks for letting me know that it works on other computers beside my own. I'm glad that you like it!

Remote User 2005-12-04 16:00

A suggestion
 
I would think that the right place for this is in the software and the Wiki HowTo areas here at ITT. If you just leave this info here in the forum the number of people who will actually see it after a few days will be very small in comparison to the info as an entry in both of these two areas.

konttori 2005-12-04 16:15

What a splendid idea Remote User!

I added it to the software section and made a Wiki entry for that.

konttori 2005-12-04 16:20

Bill: I updated the link to java as you recommended. Thanks for that.

ragnar 2005-12-04 16:26

Thank you very much for this! It's excellent. Just the right amount of settings available.

Remote User 2005-12-04 16:52

Thanks, Konttori
 
You're comfortable with creating new entries so I hope you have some time to look through the forums for useful things that others have mentioned but didn't put in the Software or Wiki sections like they might have and can do it for them, to benefit us all. I think there are a lot of very useful bits & pieces all around the forums.

By the way, do those bat files that you mentioned earlier have any relevance to this?

divxz 2005-12-04 16:53

Tiger
 
Quote:

Originally Posted by konttori
Now that quite a few people have their Nokias up and running, I thought to make a small and easy to use media converter for it. It was built yesterday in a few hours, but works pretty nicely at least for me. I would have uploaded it as an attahcment, but the limit has been set to 2 MB.

http://www.helsinki.fi/~konttori/MediaConverter.zip

FYI

Just download and ran the app on my PowerBook running Mac OS X 10.4 Tiger. It ran. Couldn't actually convert anything, but it ran. I'm updating to the latest Java release from Apple right now to see what happens next.

konttori 2005-12-04 17:19

divxz:
I'm certain that it won't make the conversion on your tiger, even after installing latest java, as the mencoder component in it is windows specific. Did the user interface work on your apple?

On the bright side, there exists a version of mencoder for osx as well. Alas, as I don't have a mac, I cannot easily make a version that would do the trick on an apple. I can try to have a look at it tomorrow.

konttori 2005-12-04 17:23

Remote user:
Well, the bat files that I mentioned earlier are pretty much the same thing as this, but require a bit of tweaking with a notepad to get them to work. As you can see, this 0.10 version actually uses a bat file (encode.bat) to make the call to mencoder. I should be able to drop the need for the bat file pretty soon. That would also allow me to try to make an osx compatible version of this.

divxz 2005-12-04 17:31

Quote:

Originally Posted by konttori
divxz:
I'm certain that it won't make the conversion on your tiger, even after installing latest java, as the mencoder component in it is windows specific. Did the user interface work on your apple?

On the bright side, there exists a version of mencoder for osx as well. Alas, as I don't have a mac, I cannot easily make a version that would do the trick on an apple. I can try to have a look at it tomorrow.

The UI looked perfect and behaved very well. But, knowing that the encoder is win-specific explains why the app didn't do anything for me! :)

If you feel like playing around with any Mac stuff, I'd be happy to help you test.

konttori 2005-12-04 20:29

divxz:
There is now an osx version that *may* / *might* work if stars are in correct positions and gods willing. So, if you have the interest to test it out, you can do so here:
www.helsinki.fi/~konttori/MediaConverterOSX.zip
Ok, if that isn't working, then I'll try to get access to a mac somehow and test it out there. I've bundled OSX mencoder there, but without a mac, well... No way to be even sure if the mencoder works, let alone be sure if I have modified the call to the encoder in a correct fashion. ;)

divxz 2005-12-04 21:03

Quote:

Originally Posted by konttori
divxz:

www.helsinki.fi/~konttori/MediaConverterOSX.zip
Ok, if that isn't working, then I'll try to get access to a mac somehow and test it out there. I've bundled OSX mencoder there, but without a mac, well... No way to be even sure if the mencoder works, let alone be sure if I have modified the call to the encoder in a correct fashion. ;)

Just tried it. The app loaded and looked good. Tried a couple of files but no output resulted. I ran the encoder directly and this is what I saw:

AltiVec found
Reading /Users/divxz/.mplayer/codecs.conf: can't open '/Users/patrick/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /Users/divxz/.mplayer/mencoder: No such file or directory


Might I need additional components installed?

konttori 2005-12-04 21:18

Try installing that. I thought the mencoder would be standalone as it is for windows. Perhaps it isn't.
You can download full mencoder from:
http://prdownloads.sourceforge.net/m...7.sit?download

Azimuth Media 2005-12-04 22:04

Thanks!
 
I'd been planning how to get a media conversion setup running, and lo, you came through for me!

I used it on a short xvid of mine, worked beautifully! Gonna try 'Lost' tomorrow when my 512MB RS-MMC gets here.

Thanks again!

konttori 2005-12-05 07:25

Nice to hear that. If you guys have any ideas on how to improve it, just let me know.

konttori 2005-12-07 14:00

OSX and Windows versions have both now been updated.
New in this release:
- OSX version ;)
- Windows installer
- Minor fixes

Can someone try installing the windows version and confirm that the installer is working?

I just made the installer and I have no clue if it only works on my computer or if it actually works on others computers as well.

Oh, feedback is very welcome!

Special thanks to Mikko Kiesilä and divxz in getting the OSX version up and running!

Maerra 2005-12-07 14:51

konttori's Media Converter is working (Windows) but there was (for me) a wrong path in .bat file. After correction OK.

konttori is using in his Converter an adjustable videobitrate but with max 300 kbps. Mpeg1-video which is about 1150 kbps as standard is supported by the 770. There is unfortenately some annoying extra softness on 770 display because all videos (e.g.
352x208) are stretched to 800/600 x 480/360 which make comparisions quite subjective.

Is 300 kbps some kind of practical/theoretical/official max. videobitrate for the 770?

konttori 2005-12-07 17:03

Media converter uses mpeg 4, which nokia 770 can decode at tops 300 kbps.
I got the info from here:
http://maemo.org/maemowiki/VideoEnco...ht=%28video%29

Somebody have used mpeg 1 as well, but then you have to use bigger bitrate to get good results -> bigger filesize -> less videos mmc.

Has anyone tried mpeg 4 with higher bitrate than 300kbps? If so, how have the results been? I'm not much around the computer for the rest of the day, so I can't test now.

Maerra 2005-12-07 20:46

Minor question:
fast moving objets in video are generally problematic, because in some parts of video the display needs then more bits/sec and frames/sec to maintain video quality.

Does Mencoder or/and konttori's Converter produce a variable (VBR) or constant (CBR) videobitrate?

konttori 2005-12-07 21:27

Mencoder can do it for mpeg1, but apparently not for mpeg4. However, with two-pass encoding, the encouder should be able to make a nice version that should smooth out the problems in the fast moving parts. Mencoder supports this and it shouldn't be too hard to add to Media Converter.

Although, apparently there may also be problems in nokia 770 itself in decoding fast paced action.

divxz 2005-12-08 00:36

Quote:

Originally Posted by konttori
Try installing that. I thought the mencoder would be standalone as it is for windows. Perhaps it isn't.
You can download full mencoder from:
http://prdownloads.sourceforge.net/m...7.sit?download


So, I have successfully encoded a video using Media Convert on Mac OS X.

Thank you, sir.

konttori 2005-12-08 11:00

New version available for Windows!
 
Media Converter 0.3 has been released.
New in this version is the ablity to encode usinng two-pass coding, which gives much better quality results. It is well worth the extended encoding time. However, I felt it was still nice to leave it as an option. What do you think? Option or as default and not changable?

Oh, and some people have been asking about the file formats, according to mencoder site, it supports the following formats:
* MPEG-1 (VCD) and MPEG-2 (SVCD/DVD/DVB) video
* MPEG-4
* MJPEG, AVID, VCR2 and ASV2
* DivX
* 3ivx
* Windows Media Video 7/8 (WMV1/2)
* Windows Media Video 9 (WMV3) (using x86 DLL)
* RealVideo 1.0, 2.0 (G2)
* RealVideo 3.0 (RP8), 4.0 (RP9) (using Real libraries)
* Sorenson v1/v3 (SVQ1/SVQ3), Cinepak, RPZA and other QuickTime codecs
* DV video
* Intel Indeo3 (3.1, 3.2)
* Intel Indeo 4.1 and 5.0 (using x86 DLL or XAnim codecs)
* VIVO 1.0, 2.0, I263 and other H.263(+) variants (using x86 DLL)
* FLI/FLC
* HuffYUV
* various old simple RLE-like formats

Most of these should work on media converter, but if not, please let me know!

You can download it here:

http://www.internettablettalk.com/so...info.php?id=16

I'll try to release OSX version of 0.3 later today.

teemu 2005-12-08 11:54

Quote:

Originally Posted by konttori
Media Converter 0.3 has been released.
New in this version is the ablity to encode usinng two-pass coding, which gives much better quality results.

Very nice work. Can't wait to get home and test it.

Quote:

Originally Posted by konttori
Option or as default and not changable?

I think option is better. I at least like the fact that you can sometimes encode videos with faster speed, even though you loose some quality.

Maerra 2005-12-08 21:00

I have some home "videos" made from still pictures (slideshow) where changing the picture to next one is the only movement. I experimented with Mencoder and decreased framerate down to 8 fps: no visual difference against 15 fps. So, it should be useful to have adjustable framerate too in konttoris' Converter.

BTW, does the two-pass encoding produce variable videobitrate (VBR)?

heavyj 2005-12-09 18:35

Works great. Thanks!
 
I'm running Windows 2K Pro and it works like a charm for my MPEG4 movies. Man , I love this device. :)

Reggie 2005-12-09 22:20

Quote:

Originally Posted by konttori
I'll try to release OSX version of 0.3 later today.

Is the Mac version ready? :D

Azimuth Media 2005-12-10 16:52

Small Issue
 
Just downloaded and tried to run the latest version- it does its job, but the file it generates doesn't have the .nokia770 suffix, nor does it include the whole filename, at least with 2 pass encoding checked. Any ideas?

konttori 2005-12-11 21:04

well, osx version might work, but i haven't tested it yet.
windows installer had a bug and i've updated the setup.exe just a few mins ago.

AzM: what windows version do you have?

konttori 2005-12-11 21:11

reggie, i can maybe be able to test 0.3 ver for osx tomorrow. i'll let you know if it works.

Azimuth Media 2005-12-11 21:55

Thanks, Kon.

XP Pro.

konttori 2005-12-12 13:55

0.3 version added for OSX!

Ther exists a bug for both windows and osx versions that you cannot process files that have a space character in the path. This will be hopefully corrected later today.

Just to let you guys know what's going on.

myet01 2005-12-12 15:30

I had a short DVD sent to me that had several files (PLS, BUP, IFO and the main file VOB). I tried to convert it to 770 format using Media Converter and the only thing that seem to convert was the Audio? Any ideas?

Tony

konttori 2005-12-12 20:41

it doesn't support dvd ripping yet. i'll let you guys know as soon as it does.

myet01 2005-12-12 21:08

Thanks for the feedback!

konttori 2005-12-13 15:21

I made small update that fixes the issue with filenames (/paths) containing spaces. Should be quite a relief for those who have had problems converting files.

andymulhearn 2005-12-13 15:25

Running on OSX
 
Konttori,

do you have any hints for those of us running OSX? I've tried to get this to work with various versions of Java 5.0 installed and each time, the Jar Launcher has a problem with launching.

dazwest 2005-12-13 15:41

Kontorri,

Sorry to add to your workload but I've just downloaded and run ver.0.35 for the first time but it doesn't seem to output a file.
The File Progress and Total Progress bars zoom to 100% in about 2 seconds - is that right?

thanks!

Reggie 2005-12-13 17:00

Same problem here. Just downloaded the King Kong trailer (.mov) and when converting it, it just goes straight to 100%.

Hope this gets fixed soon.

Thanks.


| 1   2     3   | Next | Last
All times are GMT. The time now is 06:03.

vBulletin® Version 3.8.8