hellkvist.org Forum Index hellkvist.org
Discussions about the free software on hellkvist.org
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mmslib Encoder

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    hellkvist.org Forum Index -> General
View previous topic :: View next topic  
Author Message
balistof
Guest





PostPosted: Tue Mar 22, 2005 3:48 pm    Post subject: mmslib Encoder Reply with quote

Hi!

I just found your inspirational MMS Encoder/Decoder... I tried it out in various environments.
But there is always an error when I try to add text files as a part of the MMS...
For example I add:
Quote:

$enc->addPart( "image/jpeg", "content/part_0.jpg" );
$enc->addPart( "audio/midi", "content/my_melody.mid" );
$enc->addPart( "audio/amr", "content/part_1.amr" );
$enc->addPart( "audio/amr", "content/part_1.amr" );
$enc->addPart( "audio/imy", "content/part_1.imy" );
$enc->addPart( "text/plain", "content/text.txt" );


then the last part (the text part) produces following strange content type when decoding the .mms file:
Quote:

Content-type: GÆ’udio/imy


It only happens when I try to add text files. I have never got these error when composing MMS with binary files...

Does anyone have some ideas or hints?

Thanks,
balistof
Back to top
Peffis
Site Admin


Joined: 09 Sep 2003
Posts: 324
Location: Sweden

PostPosted: Wed Mar 23, 2005 3:34 pm    Post subject: Reply with quote

Do you run this on a Windows platform or some Unix? I don't remember really if I ever tested text-files. There are others who have reported problems with text though so there is probably some problem there. All content-types are handled the same way though...which might be the problem perhaps.
Back to top
View user's profile Send private message Visit poster's website
balistof
Guest





PostPosted: Wed Mar 23, 2005 5:02 pm    Post subject: Reply with quote

I'm developing under windows but the web server is a linux machine...

On both OS the same problems occur...

Quote:
All content-types are handled the same way though...which might be the problem perhaps


I also think that there must be the probleme. Any idea why this can happen?

I'm really interested in using this Encode and I'm currently thinking about developing a MMS Encoder in PHP which might be useful (I do not find an Encoder available on the net...). So it would be nice if I can take your approach as a base and start from there instead of starting form scratch!
Back to top
Peffis
Site Admin


Joined: 09 Sep 2003
Posts: 324
Location: Sweden

PostPosted: Tue Mar 29, 2005 3:13 pm    Post subject: Reply with quote

No I don't know. It would probably be apparent if you look at what it actually does when the content type is text and what the outcome is in the file. I don't have the time to do any such testing and development right now though.

But go ahead to use the code and develop it further if you like as long as you follow the GPL. That's what GPL is all about - sharing and building on what others have made.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    hellkvist.org Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group