maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] fMMS - MMS on the N900 (https://talk.maemo.org/showthread.php?t=51890)

benny1967 2010-09-05 18:24

Re: [Announce] fMMS - MMS on the N900
 
I played a bit more with using GStreamer for video encoding. My previous post wasn't too promising, but meanwhile I at least managed to send a 3GP (H.263 and AMR-NB) video to other phones by MMS - and they played there. Video and sound. ;)

The code I use now in my Shell script is two lines instead of one:

Quote:

gst-launch-0.10 filesrc location="infile.mp4" ! decodebin ! audioconvert ! audioresample ! \
nokiaamrnbenc band-mode=7 ! ffmux_amr ! filesink location=sound.amr

gst-launch-0.10 ffmux_3gp name=muxer ! filesink location="/home/user/MyDocs/.videos/outfile.3gp" \
filesrc location="sound.amr" ! amrparse ! queue ! muxer.audio_00 \
filesrc location="infile.mp4" ! decodebin ! videoscale ! "video/x-raw-yuv, width=(int)176,height=(int)144" ! \
videorate ! "video/x-raw-yuv, framerate=(fraction)15/1" ! ffmpegcolorspace ! dsph263enc bitrate= 50000 ! \
queue ! muxer.video_00
I had to split video- and audio-processing, using a temporary file to store the encoded AMR before muxing. This made me depend on ffmux_amr and introduced gstreamer0.10-ffmpeg as a dependency. :(
(gstreamer0.10-ffmpeg will be available on your system once you installed the Extra Decoders Support package.)

Also, I needed to use ffmux_3gp as a muxer instead of hantromp4mux.

All of this leads to a) a 3rd party dependency I didn't want to have and b) a performance that's worse than with the original approach. I'm still convinced, though, that a pipe properly set up, called and monitored from within an application via the API can live without gstreamer0.10-ffmpeg and that all these dirty tricks are only needed because I work on the command line with gst-launch.

OTOH, that's the beauty of Maemo, isn't it? You needn't know how to write serious code. A short shell script is my application for video-editing! :D

Russianhaxor 2010-09-06 05:29

Re: [Announce] fMMS - MMS on the N900
 
I tried searching this topic and came up with no results.

All i want to know is... why are all of my received MMS messages not downloading completely so I can actually view them? All of them download into unopened messages once I open them they say downloading but it never finishes. Also, i receive the same message like 2-3 times.

ThePooBurner 2010-09-15 06:01

Re: [Announce] fMMS - MMS on the N900
 
Quote:

Originally Posted by Russianhaxor (Post 808358)
I tried searching this topic and came up with no results.

All i want to know is... why are all of my received MMS messages not downloading completely so I can actually view them? All of them download into unopened messages once I open them they say downloading but it never finishes. Also, i receive the same message like 2-3 times.

This began happening with me on sunday.

Shaneaf 2010-09-16 01:40

Re: [Announce] fMMS - MMS on the N900
 
Hi there, I'm in Australia and on the crazy johns net work. I have tried to follow all the links and settings to no avail. I can recieve mms from all net works but can't open them? I can't send them either? At the moment I have 5 unread mms that I don't want to lose before reading them. I have tried a re installing a fresh copyas well. PLEASE HELP. Thanks

wshamroukh 2010-09-16 11:29

Re: [Announce] fMMS - MMS on the N900
 
fmms does not sho the sender name but shows '00000' instead.
any idea why?

frals 2010-09-16 15:28

Re: [Announce] fMMS - MMS on the N900
 
Quote:

Originally Posted by Shaneaf (Post 817413)
Hi there, I'm in Australia and on the crazy johns net work. I have tried to follow all the links and settings to no avail. I can recieve mms from all net works but can't open them? I can't send them either? At the moment I have 5 unread mms that I don't want to lose before reading them. I have tried a re installing a fresh copyas well. PLEASE HELP. Thanks

Try changing Access Point Name to "purtona.wap". This should let you download messages fine, however it only seems to be possible to send to other Crazy John subscribers.

@wshamroukh: Known issue, I've not had time to investigate it yet

@Russianhaxor @thepooburner: Please send me the logs. Thanks!


@benny1967: Brilliant! Thank you! Will hopefully have some time during the weekend to try to get something working in fMMS. :)

Russianhaxor 2010-09-18 22:15

Re: [Announce] fMMS - MMS on the N900
 
How can I send you the logs? I am admittedly a fairly nooobish user by comparison to others.

Shaneaf 2010-09-19 00:30

Re: [Announce] fMMS - MMS on the N900
 
[QUOTE=frals;817981]Try changing Access Point Name to "purtona.wap". This should let you download messages fine, however it only seems to be possible to send to other Crazy John subscribe

Hi Frals, This has worked for me. THANK YOU. It does take a long time to open and to send. Is that normal? I can live with this, just asking. Does it open small videos as well? I have some sms that say unabe to recieve still not sure why?
Thanks again.:)

ThePooBurner 2010-09-20 03:55

Re: [Announce] fMMS - MMS on the N900
 
1 Attachment(s)
here is my log file from this evening. i'm also having the problem of MMS being set as the default connection. When i try to run fmms_config.py to solve it as the thread says to i get this

Code:

# /opt/fmms/fmms_config.py
Traceback (most recent call last):
  File "/opt/fmms/fmms_config.py", line 440, in <module>
    config.switcharoo(force=True)
  File "/opt/fmms/fmms_config.py", line 393, in switcharoo
    iaps = self.get_active_iaps()
  File "/opt/fmms/fmms_config.py", line 329, in get_active_iaps
    simimsi = self.get_sim_imsi()
  File "/opt/fmms/fmms_config.py", line 314, in get_sim_imsi
    osso_c = osso.Context('fMMSconfig', '1.0', False)
  File "context.pyx", line 8, in osso.context.Context.__cinit__ (osso/context.c:531)
osso.exceptions.OssoException: Cannot initialize context.


toki 2010-09-20 08:35

Re: [Announce] fMMS - MMS on the N900
 
sorry im not sure if this has been brought up but...
i cant send more than one picture in a mms.. is there a function i dont know of or is it something we can look into? :)

if i want to send multiple pictures to one person i have to go in and out sending seperate mms'
a little tiresome after a while lol


All times are GMT. The time now is 03:56.

vBulletin® Version 3.8.8