Transcoding for mobile devices
| Project: | Media Mover |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | reviewed & tested by the community |
Jump to:
Hi,
I started to look at at Media Mover to research the possibilities to transcode video uploaded to Drupal into Mobile device capable formats. I am working on the Wurfl module who is able to provide me information on encoding formats supported by mobile devices.
I was wondering if someone with Media Mover experience would be able to share his thoughts on how a Media Mover helper module would have to be implemented to provide this.
The flow I see is:
- Harvest video file from uploaded node
- Process video file by transcoding in 5 fixed transcoding configuration
- When viewing, device capabilities are detected
- right movie is delivered to the device
Any thoughts on impelmentations (what can I reuse, or what should I do).
Thanks for getting me on speed :)
Tom

#1
flvmediaplayer has a noflash parameter which you can use to pass a different file to the display when the display device does not support flash (eg: iphone). I've used this approach which can work well- theme('flvmediaplayer_build_embed', $node, $profile, $params) is what you want
#2
Thanks!
I'll give it a try.
Tom
#3
Tom - i've done part 1 and 2 of what you need. i.e. the user uploads the file and it is converted into 5 specific putput types. Trying to figure out the rest myself.
You can contact me directly at gargsuchi at gmail dot com and we can collaborate on something like this.
#4
Hey there. Assuming that what you want to do is sendvideo from your drupal site to a user's phone, at vozmob.net we use this method:
1. get the user number and phone provider
2. to send the user a video, send an email to usernumber@companymmstoemailgateway.com, for example: 9876543210@mms.att.net, with the video attached
3. the phone company email to mms gateway will transcode the attached video to the appropriate format and send it to the user as an mms ;)
That way, you only need a database with the phone company email to mms gateway addys, rather than a DB with all handsets and the filetypes they support ;)
If the company has no gateway, then with this method you would need to make your own email to mms gateway. We will be working on this, there's a FOSS gateway called mbuni and we want to integrate it with Drupal.
check our work out at http://vozmob.net, http://code.vozmob.net, http://dev.vozmob.net, and irc://freenode/vozmob
thanks
sc
#5
Other method, independent from mms limitations is explained here: Posting video from mobile phones into Drupal
#6
Hey szczym, I think they want to go the other direction (video from drupal --> mobile phones). But thanks for the tutorial :)
#7
Well, media mover should handle all the transcoding for you- you just need to write a theming function that can detect the device and deliver the appropriate file. Do you have a list of devices you need to support?
#8
re: MMS gateways, I am not aware of any carrier MMS gateways that will transcode videos for you, although it's conceivable. What I do know is that you can send media files (in supported formats) via e-mail to these gateways and they will forward it on to the phone as an MMS message. Multiple image files will appear on the phone as a slideshow. Audio files and text work too. For at least some carriers and/or phones, videos don't play directly on the phone. Your phone just gets a message that you received a video and that you have to visit the carrier's website on a computer to play it.