MMS Multamedia Extraction

MMS Multamedia Extraction SearchSearch
Author Message
Kapil Pershad
New member
Username: Kapilp

Post Number: 1
Registered: 06-2007
Posted on Friday, June 29, 2007 - 02:56 am:   

Hi,

We have a mobile dating site. Our users send pics and vids to an e mail address (media@phonefling.com). From there, we manually extract the media and upload it to thier profile.

We are looking for something that will sit there and take the media out of the MMS message that is sent to that e mail address and mut the pics and vids, lets say in a directory. From there we can create an automated process to pick up the media and put it in the user profile.

Do you have anything that fits the bill?

Thanks,
Kapil
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7322
Registered: 10-2002
Posted on Friday, June 29, 2007 - 07:10 pm:   

Hi Kapil,

Our software can do this (the Now SMS/MMS Gateway, which you'll find a trial available for download on this web site). The tricky part is making the MMS connection.

We can't parse it out of e-mail, because there is no standard for how the different mobile operators convert MMS messages to e-mail. Most of the operators have a tendency to add a lot of junk to the message when converting from MMS to e-mail.

But we can receive it as an MMS sent to a phone number or short code. The trick is making that MMS connection.

In an ideal world, the preferred solution would be an MM7 connection to an SMS/MMS service provider. (MM7 is an interface for value added applications for sending/receiving MMS ... a very different protocol, but similar purpose as SMPP in SMS environments.)

But it can be next to impossible to get an MM7 connection in most parts of the world.

An alternative is a GSM/GPRS (or EDGE/WCDMA) modem. The modem takes a SIM card, and looks like a mobile phone to the operator network. People send MMS messages to the phone number associated with that SIM.

NowSMS can receive MMS messages over MM7 connections, or over a modem connection like this.

There is a file-based interface where the parts of the received message are stored and dumped into a directory for further processing by your application (http://www.nowsms.com/documentation/ProductDocumentation/2_way_mms_support.htm). Or we also have a PHP script interface where we take all of the parts of the message and post it to you via PHP (http://www.nowsms.com/support/bulletins/tb-nowsms-016.htm).

I should point out, with regard to the GSM/GPRS modem, that although a lot of mobile phones have basic GSM modem capability, generally a phone CANNOT be used as a GSM modem for receiving MMS. (Sending MMS is ok, but not receiving.) You need a dedicated GSM modem device, such as dedicated modem devices from Multitech or Wavecom ... or PC cards like Sierra Wireless.

-bn
Kapil Pershad
New member
Username: Kapilp

Post Number: 2
Registered: 06-2007
Posted on Saturday, June 30, 2007 - 01:38 am:   

We already have your product and are just beginning to use it. The reason that we were looking to extract from an e mail message is because we have lots of international users who would have to pay to upload thier pics\vids by sending a mms to a us based phone number.

Thats why we have then send it to an e mail address and were looking for a solution that would allow us to extract the information from the e mail.

Do you know if anything like that exisits? I wonder how youtube mobile is doing it. They are also allowing uploads to an e mail address and i'm sure they are not manually uploading each video.

Hopefully I can find some solution.

Thanks!
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7387
Registered: 10-2002
Posted on Tuesday, July 17, 2007 - 09:07 pm:   

I don't know of any specific tools, but I can give you some pointers on the process.

You would most likely use the POP3 protocol to download a message from an SMTP e-mail server.

These messages would be in the standard "internet message format", defined by RFC2822 (http://www.faqs.org/rfcs/rfc2822.html).

To support attachments, MIME (http://www.faqs.org/rfcs/rfc2045.html) is used to define how messages can be encoded using attachments.

So you would need an e-mail/MIME parsing tool. You would parse the message headers to determine who the message is from ... and then you would need to parse out the different parts of the message to find your content.

Most operator MMSCs insert extra junk in the text of the messages, so if the text is important to you (not just pictures and videos), then you may need to develop filtering logic for different operators to strip their junk from the message text.

Unfortunately, I don't have any pointers to specific MIME decoding tools ... but I'm sure there are a variety of different libraries out there. Basically it sounds like you are looking for an e-mail parsing tool ... searching on keywords like MIME parser / e-mail parsing ... might point you in the right direction.

Good luck!

-bn