Notices


Reply
Thread Tools
benny1967's Avatar
Posts: 3,790 | Thanked: 5,718 times | Joined on Mar 2006 @ Vienna, Austria
#601
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:

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!

Last edited by benny1967; 2010-09-05 at 20:39.
 

The Following 2 Users Say Thank You to benny1967 For This Useful Post:
Posts: 117 | Thanked: 16 times | Joined on Jun 2010 @ San Diego
#602
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.
 
Posts: 85 | Thanked: 15 times | Joined on Sep 2010
#603
Originally Posted by Russianhaxor View Post
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.
 
Posts: 3 | Thanked: 0 times | Joined on Aug 2010
#604
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
 
Posts: 49 | Thanked: 7 times | Joined on Sep 2010
#605
fmms does not sho the sender name but shows '00000' instead.
any idea why?
 
Posts: 547 | Thanked: 1,383 times | Joined on Sep 2009 @ Stockholm, Sweden
#606
Originally Posted by Shaneaf View Post
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.
__________________

Problem with fMMS? Run in x-terminal: cp /tmp/fmms.log /home/user/MyDocs/
After that you'll see fmms.log in filemanager or when you connect the device to your desktop as a mass storage device.
E-mail the log to me, if you don't have the email address, drop me a PM. Thanks!

fMMS - MMS for your N900
fAPN - GUI for adding a new GPRS APN
If you like this post, don't be shy to thank me -->
 
Posts: 117 | Thanked: 16 times | Joined on Jun 2010 @ San Diego
#607
How can I send you the logs? I am admittedly a fairly nooobish user by comparison to others.
 
Posts: 3 | Thanked: 0 times | Joined on Aug 2010
#608
[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.

Last edited by Shaneaf; 2010-09-19 at 00:33.
 
Posts: 85 | Thanked: 15 times | Joined on Sep 2010
#609
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.
Attached Files
File Type: tar Fmmslog.tar (50.0 KB, 97 views)
 
Posts: 188 | Thanked: 74 times | Joined on May 2010
#610
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
 
Reply

Tags
bada rox, bada rulez, fmms, mms, mms config, n900, python


 
Forum Jump


All times are GMT. The time now is 13:39.