maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Media Convert site (https://talk.maemo.org/showthread.php?t=3044)

orbitalcomp 2006-09-18 03:39

Great utility, Andrew! Works perfect with the You Tube links I have thrown at it, really helps make the 770 more useful. One of the most frustrating things is when I go to a site and can't load a video...now I can :)

So will your converter handle Quicktime videos?

Again, thanks for giving us the use of your server for this fantastic utility...

aflegg 2006-09-18 09:11

It handles QuickTime, might be depending on the version. I've just uploaded one of the samples using Sorenson on my Mac and the result will convert.

It's running mplayer from Subversion so it should even handle WMV9 using the prototype code.

About a fifth of the YouTube videos I've tested fail, I've no real clue why.

Making the "you're in a queue" message automatically refresh would be an obvious enhancement. I'm also thinking about email notification about when it's ready, what do you think?

=DC= 2006-09-18 09:49

Quote:

Originally Posted by aflegg
Making the "you're in a queue" message automatically refresh would be an obvious enhancement. I'm also thinking about email notification about when it's ready, what do you think?

That would be awesome! This is definitely a great tool. Thanks a million. Quick question though. Do you think you could have the converter automatically convert a top 10 list from Google Video and YouTube and have links to each of the converted videos, or would that be too much strain on the server?

aflegg 2006-09-18 09:54

The top 10 from both services, complete with thumbnails would indeed be very cool. I look forward to someone producing some code ;-). From a strain-on-the-server point of view, it'd be better to convert them once and make the results available rather than lots of people encoding them all separately.

As for email notification, I'll investigate that later today.

The Flash video oddness seems to be specific to the x64 platform. I'll raise it on the ffmpeg list.

aflegg 2006-09-18 21:23

OK, I've downgraded the version of mplayer to 1.0pre8 and previously broken Flash videos now seem to be working.

This will be at the expense of the latest WMV codec work, but I think the FLV support is more important, looking at the usage so far.

Feedback, as ever, welcome.

Cheers,

Andrew

Mike Cane 2006-09-19 00:23

Man, it's popular!!

Please wait

Your video is in the queue, there are currently 16 items in the queue. Please check again shortly.

-- so do I just sit on that page and keep hitting the link or what?

Edit: Maaaaan, what are people converting that takes so long? My YouTube vids zip through! Whatever is ahead of me must be huge! There goes the bandwidth!

orbitalcomp 2006-09-19 00:38

Quote:

Originally Posted by Mike Cane
Man, it's popular!!

Please wait

Your video is in the queue, there are currently 16 items in the queue. Please check again shortly.

-- so do I just sit on that page and keep hitting the link or what?


Well, we have to contend with other users now...after trying it out on my Windows Mobile Treo 700wx and getting great results, I couldn't keep the secret. I asked Andrew if I could post on TreoCentral and share the site, because WM5 has the same silly Flash limitations as the 770. I didn't want to bombard his server and have him freak out!

Don't worry, it's new and people are trying it out...the queue will go down, just leave that page open and refresh it every once in a while. Good thing there is a 50MB limit...in fact, it might be better to have a smaller limit. I haven't seen many large YouTube videos, most are probably between 2MB-10MB.

Mike Cane 2006-09-19 00:52

So YOU are to blame!! Queue is at 22!! We should NOT have to compete with Treo owners! Let them go elsewhere, dammit.

aflegg 2006-09-19 09:07

Of course the queue is now empty.

I'll look at lowering the maximum size if it gets unmanageable, or introducing a "premium" service somehow.

orbitalcomp 2006-09-19 09:34

Quote:

Originally Posted by Mike Cane
So YOU are to blame!! Queue is at 22!! We should NOT have to compete with Treo owners! Let them go elsewhere, dammit.


We Treo users are tired of being treated like second-class citizens ;)

Yeah, I spilled the beans...I'm hoping both communities can help to improve the service, I definitely think it has many possibilities...

aflegg 2006-09-19 09:36

Any forums I should be looking at for feedback?

orbitalcomp 2006-09-19 09:43

Quote:

Originally Posted by aflegg
Of course the queue is now empty.

I'll look at lowering the maximum size if it gets unmanageable, or introducing a "premium" service somehow.

I don't know about others, but I think the max file size could be lowered quite a bit...

Once the newness wears off a bit, it'll be fine...

So Andrew, are most people using the converter for YouTube, Google Video, or file uploads? Can you tell what is going thru the server? Also, when someone starts uploading a file, does the queue wait for that file to be finished uploading and hold everything up until then, or does it go on to the next task?

aflegg 2006-09-19 09:46

Mostly YouTube so far, with a noticeable percentage of Google Video, a handful of other random URLs and a few uploads.

Uploading a file won't block the conversion, however downloading and converting a web-based video is considered a single block, to prevent impacting other uses of the box.

I might revisit the exact process if it gets a little unwieldy.

Cheers,

Andrew

Serge 2006-09-20 08:27

Quote:

Originally Posted by Mike Cane
I don't know what would be involved with this mplayer and Python script stuff. I'm not a Linux person (nor is the 770's intended general audience!). Is there a tutorial somewhere?

OK, here are some instructions:
1. go to https://garage.maemo.org/frs/?group_id=54 and download mplayer_1.0pre8-maemo.5_armel.deb
2. in the file manager find this file and double click on it, it will launch application manager that will ask you some confirmation and will install mplayer on your Nokia 770
3. download some *.flv file from youtube and put it on your MMC card
4. in the application start menu find 'MPlayer' in 'extra' category and start it
5. find your *.flv file in the list and double click on it
6. enjoy
7. report bugs and feature requests here: http://www.internettablettalk.com/fo...ead.php?t=2405

Quote:

My goal? To be able to grab a video -- from YouTube or whatever -- and convert it via a web interface into a version that I can then play on the 770.
Well, if you want to play youtube videos, it is probably better to watch them directly without transcoding. They already have a poor quality and transcoding reduces it even more.

But as a generic and universal solution, transcoding web service is a great thing.

Quote:

I want to do away with the desktop (and Apple Store!) for this. Why should this be difficult to do? Is Video Player simply *that* bad? I don't see why those 3gp conversions wouldn't work...
Well, you see, developing a good video player which supports a lot of video codecs decently is very hard. It is the work that can be done by very highly qualified (and highly paid) professionals and requires a lot of time to develop. If you check ffmpeg (the engine used my mplayer), it was developed for many years and involved dozens or even hundreds of people working on it. The costs can be reduced if you use already existing solutions, but Nokia 770 is a new device. It is hard to be pioneers and right now Nokia 770 software is not so advanced as the software on competing platforms. It just needs to catch up and you should understand this. I not, this device is just not for you. But a good thing about Nokia 770 is that it is based on linux, so it can use linux software after it gets ported. MPlayer is one of such examples. I just wonder why Nokia decided to start making their own video player from scratch instead of just porting existing linux solutions (though it uses gstreamer framework, but most of video and audio codecs in it are non open source)?

Mike Cane 2006-09-21 00:38

Thanks for the instructions. I didn't know it was GUI (it is, isn't it?). I will be getting around to this tomorrow (I hope). Will report back. Thanks again.

Mike Cane 2006-09-21 20:56

Holy cow. It works!

Chose a small sample YT vid

http://www.youtube.com/watch?v=mqR78JniB0Y

d/led via Video Downloader and it played as .flv!

Hmmm... only seems to see vids on MMC, not Internal too?

No drop-down menu? Must hit Back Arrow key to quit while playing a vid?

Still, thanks!!

smackpotato 2006-09-22 03:29

1 Attachment(s)
2mike if you follow this thread http://www.internettablettalk.com/fo...5&postcount=84
you will be able to skip the download step. I have included a file to paste mimetypes from.

Mike Cane 2006-09-22 19:41

I hope it helps others, but I bailed when I saw:

>>>First, become root.

aflegg 2006-09-23 07:00

Once mplayer's matured, it'd be trivial to produce a deb of the MIME-type modification now that 2006 OS installs as root within /.

aflegg 2006-09-23 07:03

BTW, I've added a bookmarklet to VidConvert: tap and hold in Opera and choose "Add to bookmarks..."; you can then hit it from within the bookmarks when you're on a YouTube or Google Video page to save copy & pasting.

It makes using YouTube that much simpler.

Comments, as ever, welcome.

Cheers,

Andrew

Mike Cane 2006-09-23 22:22

?!!? How does this differ from the Bookmark I added on day one, and how would I use it ? Regular Bookmark doesn't work like that? TnH *where* in YouTube?

aflegg 2006-09-24 09:40

If you've ever used bookmarklets in a "normal" web browser it's exactly the same:
  1. Add the bookmark to your bookmarks (by tapping and holding on the link on the VidConvert page
  2. Go to a YouTube page.
  3. Click on the newly added bookmark and the current YouTube video will be automatically submitted to the VidConvert queue.

This is supposed to be easier than bringing up the URL bar, copying the YouTube URL, going to VidConvert and pasting it.

HTH,

Andrew

Mike Cane 2006-09-25 23:40

Bah! I've got JILLIONS of bookmarks. I see now how it is supposed to work. Will let you know when I've tried it.

aflegg 2006-09-26 08:16

That's what folders are for ;-)

Mike Cane 2006-09-27 19:35

Hmmmm... how about that email option, eh?

And what do I do if, like now, I am at the Apple Store, have converted something, and find the file is too big to upload to myself via YahooMail?

I'm going to email myself the URL of the page with the converted vid and hope that does it!

Want to d/l it directly onto the 770 later.

aflegg 2006-09-28 08:01

Yes, the links stay valid for around 24 hours (actually probably a little longer depending on the conversion) so it's perfectly valid to email them to yourself (or anyone else for that matter!)

Email notification is possible, but to be honest, I've got more important things to be doing at the moment. Given the general lack of feedback and from looking at the logs, it seems only a few people are using it on an ad-hoc basis. At the moment, I'm forced to conclude it's not worth investing further in. Of course, if it's actually worth something to people, they could make a donation to help cover the investment of my time, bandwidth, disk space etc.

In the mean time, you could bookmark the results page if there's a long queue and check it later - as I said, they stay valid for over 24 hours.

Hope that helps,

Andrew

Mike Cane 2006-09-29 01:25

Thanks for your effort, Andrew. I wish *Nokia* would bloody do this! Hey, Aris, send him some bucks to cover your shame!! (Does *anyone* use Flickr from Tableteer? Geez...! Talk about lame...)

aflegg 2006-09-29 08:02

Thanks :-)

I should also have said, the results stay valid for over 24 hours from when they're produced - not when they're submitted.

jon_lingard 2006-10-11 15:01

Andrew, What you've done is great...thankyou. It's a shame a donation hasn't been made, i guess thats the world we live in though ay? We all want something for nothing! I don't even have a 770 yet....doing ALOT of research before i buy one but i've now made up my mind and i'm popping over to http://shop@nokia.co.uk to order one...TTFM!

JonBoy
P.S...once i use your service i'll pop over a few £'s...don't deal in $'s im afraid!

aflegg 2006-10-12 08:01

Thank JonBoy, $s have to be converted to £s for my bank account anyway, and a few pounds are worth more than a few dollars ;-)

Cheers,

Andrew

jon_lingard 2006-10-12 08:53

D'OH!...me and my mouth!

DryLand404 2007-05-13 19:55

Re: Media Convert site
 
Any chance you could lead me to your scripts so I could set up a conversion server myself?

aflegg 2007-05-14 09:26

Re: Media Convert site
 
Responded to your email.


All times are GMT. The time now is 15:22.

vBulletin® Version 3.8.8