Issues of lost music control in MMS | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through April 12, 2010 ⬆ |
◄ ► |
Author | Message | |||
steven New member Username: Silenthunter Post Number: 2 Registered: 02-2010 |
When composing smil,I hope music(midi files) to be played althrough the MMS playing, so I put the audio code in body part of smil,it's ok to be compiled and send out,the music do what expected. but I found every page of pictures lost time set,and every page were turned to next just like in 1 second, despite of what I set in smil(during 35s,or during 35000ms). Smil sample: ----------------- <?xml version="1.0"?> <!DOCTYPE smil PUBLIC "-//W3C//DTD SMIL 2.0//EN" "http://www.w3.org/2001/SMIL20/SMIL20.dtd"> <smil xmlns="http://www.w3.org/2001/SMIL20/Language"> <smil> <head> <layout> <root-layout width="300px" height="320px"/> <region id="Image" top="0" left="0" height="50%" width="100%" fit="hidden"/> <region id="Text" top="50%" left="0" height="50%" width="100%" fit="hidden"/> </layout> </head> <body> <audio src="1.mid" dur="indefinite"/> <img src="5.jpg" region="Image" dur="35000ms"></img> <img src="4.jpg" region="Image" dur="35000ms"></img> <par dur="35000ms"> <img src="1.jpg" region="Image"></img> <text src="1.txt" region="Text"></text> </par> <par dur="35000ms"> <img src="2.jpg" region="Image"></img> <text src="2.txt" region="Text"></text> </par> <par dur="35000ms"> <img src="3.jpg" region="Image"></img> <text src="3.txt" region="Text"></text> </par> </body> </smil> | |||
steven New member Username: Silenthunter Post Number: 3 Registered: 02-2010 |
What I meant was those time settings lost function, 35000ms lost effect,frames were played one after another, there's no gap between frames, but music continued during the whole process,music playing was OK. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 7884 Registered: 10-2002 |
Hi Steven, I'm not a SMIL expert. But here are the potential issues that I see... MMS SMIL is a subset of full SMIL. It is defined in the OMA MMS Conformance specification. That said, the way that it is defined in that specification is somewhat confusing. But the way read it, the only element that is valid inside of the body section is "par". You can't have "audio" or "img" elements that are outside of a "par". (Referring back to that spec, the "body" can only contain "MMSSchedule" attributes, of which "par" is the only one defined.) As a result, I think you are going to see different behaviour occurring in different MMS clients, because they are not expecting to see this. Based upon my interpretation of MMS SMIL, I don't see any way to specify a single audio track that plays across multiple slides ... at least not that would work with all devices. (Other than splitting the track into multiple tracks and including the parts in separate par pages.) -bn | |||
steven New member Username: Silenthunter Post Number: 4 Registered: 02-2010 |
Dear Bryce: Thanks for reply,It could be proved it does work to load midi file in body,as well as pictures,and music really be played across the MMS,the only issue is,the other media files lost time setting, but this could be stand with,after it automatically played page by page,the MMS could be re-played by hand,misic also works well across the entile playing process untill the end,so,this could be accepted. Steven | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 1751 Registered: 08-2008 |
Hi Steven, The MIDI file might play across the entire MMS on the device that you are currently testing with ... but you may get different results on different devices. Be careful relying on any behaviour when you use techniques that are outside of the basics described in the OMA MMS Conformance Specification. http://www.openmobilealliance.org/Technical/release_program/mms_v1_2.aspx -- Des NowSMS Support |