[Android] aMPdroid 0.7 - Android Remote Control (2 Viewers)

Status
Not open for further replies.

shotek

Portal Member
September 16, 2008
43
0
Niedersachsen
Home Country
Germany Germany
DieBagger thanks for this nice app! :)

Sent from my GT-I9100 using Tapatalk
 

Oxan

Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    For the streaming feature I'm looking for someone who has a Galaxy S and knows a (preferably opensource) program to convert videos for his/her phone. A sample of a working video would be nice too. The problem is that our current implementation works fine on our HTCs but doesn't on the Galaxy S.
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,568
    3,948
    Lehmden
    Home Country
    Germany Germany
    AW: [Android] aMPdroid 0.7 - Android Remote Control

    Hi.
    I have a Galaxy S 9000. I did not jet tried to convert Video to playback on my phone, but I can do it. I'm not 100% sure, but I think XMediaRecode has a profile for Samsung Smartphones. Tonight it's too late and tomorrow is a big Party (Schützenfest) in our Village. But Monday I can do some tests...

    I have 2.3.3 (Gingerbread) installed. Witch container and codec should I try to use for testing?
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,568
    3,948
    Lehmden
    Home Country
    Germany Germany
    AW: [Android] aMPdroid 0.7 - Android Remote Control

    Hi.
    Here is a .mp4 I've just recorded with my phone. This video plays well on my GSI9000, of course. ;) Maybe this is a little help. Upload is stlln on the way, so be patient. I have a horrible slow internet connection..
    http://ge.tt/9yPJfd5

    Media Info:
    General
    Complete name : Z:\Downloads\20110603-010643.mp4
    Format : MPEG-4
    Format profile : 3GPP Media Release 4
    Codec ID : 3gp4
    File size : 18.8 MiB
    Duration : 15s 584ms
    Overall bit rate : 10.1 Mbps

    Video
    ID : 2
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : Baseline@L3.0
    Format settings, CABAC : No
    Format settings, ReFrames : 1 frame
    Format settings, GOP : M=1, N=30
    Muxing mode : Container profile=Unknown@12.3
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 15s 584ms
    Bit rate mode : Variable
    Bit rate : 10.0 Mbps
    Width : 720 pixels
    Height : 480 pixels
    Display aspect ratio : 3:2
    Frame rate mode : Variable
    Frame rate : 30.031 fps
    Minimum frame rate : 27.778 fps
    Maximum frame rate : 33.333 fps
    Standard : NTSC
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.967
    Stream size : 18.6 MiB (99%)
    Language : English

    Audio
    ID : 1
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format version : Version 4
    Format profile : LC
    Format settings, SBR : No
    Codec ID : 40
    Duration : 15s 535ms
    Bit rate mode : Variable
    Bit rate : 91.9 Kbps
    Maximum bit rate : 100 Kbps
    Channel(s) : 1 channel
    Channel positions : Front: C
    Sampling rate : 16.0 KHz
    Stream size : 168 KiB (1%)
    Language : English
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    Thanks. It's ridiculous - I simply cannot get audio working with ffmpeg and the Galaxy S. As soon as I remove the audio it starts working fine. Even if I try to get a close as possible to your sample file it doesn't work. I either get a crash in libstagefright (the media playing library on Android) or an error about too small buffers from OMXCodec (the AAC codec). Could you please test if this file plays on your device? It's a 10seconds sample that starts with ~3s of noise. I don't care about quality yet, just if it's playable using the internal player. http://www.filedropper.com/sample_5
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,568
    3,948
    Lehmden
    Home Country
    Germany Germany
    AW: [Android] aMPdroid 0.7 - Android Remote Control

    Hi.
    I've tried to convert a HDTV (1080i) Recording from MP to GalaxyS with XMediaRecode 3.0.0.2. Works really good and plays without issues on my phone. I've attached the converted video. I simply choose Samsung-> Galaxy S I9000 from profiles dropdown menu in XMR, open the recording, add a job and press convert. Lasts about 40 seconds to complete...

    Your sample I can't download. Maybe there is a problem with the hoster? I've tried it several times. Every time I got another file size between 40 and 200 kb. None of them are playable at all...

    I'm not really sure, but I think XMediaRecode uses ffmpeg also.

    MediaInfo:
    General
    Complete name : Z:\Hubertusjagd - Servus TV HD - 2011-07-03 - 12_15.mp4
    Format : MPEG-4
    Format profile : Base Media
    Codec ID : isom
    File size : 4.73 MiB
    Duration : 39s 480ms
    Overall bit rate : 1 005 Kbps
    Encoded date : UTC 2011-07-03 10:54:01
    Tagged date : UTC 2011-07-03 10:54:01
    Writing application : Lavf53.4.0

    Video
    ID : 1
    Format : MPEG-4 Visual
    Format profile : Simple@L1
    Format settings, BVOP : No
    Format settings, QPel : No
    Format settings, GMC : No warppoints
    Format settings, Matrix : Default (H.263)
    Codec ID : 20
    Duration : 39s 480ms
    Bit rate mode : Constant
    Bit rate : 906 Kbps
    Width : 720 pixels
    Height : 480 pixels
    Display aspect ratio : 16:9
    Original display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 25.000 fps
    Standard : NTSC
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.105
    Stream size : 4.27 MiB (90%)
    Writing library : Lavc53.7.0
    Encoded date : UTC 2011-07-03 10:54:01
    Tagged date : UTC 2011-07-03 10:54:01

    Audio
    ID : 2
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format version : Version 4
    Format profile : LC
    Format settings, SBR : No
    Codec ID : 40
    Duration : 38s 521ms
    Bit rate mode : Constant
    Bit rate : 96.0 Kbps
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 44.1 KHz
    Stream size : 451 KiB (9%)
    Language : German
    Encoded date : UTC 2011-07-03 10:54:01
    Tagged date : UTC 2011-07-03 10:54:01
     

    Attachments

    • Hubertusjagd - Servus TV HD - 2011-07-03 - 12_15.zip
      4.6 MB

    uggabugga

    MP Donator
  • Premium Supporter
  • February 21, 2007
    115
    11
    QXQgaG9tZSA7LSk=
    Home Country
    Re: AW: [Android] aMPdroid 0.7 - Android Remote Control

    Hi.
    Your sample I can't download. Maybe there is a problem with the hoster? I've tried it several times. Every time I got another file size between 40 and 200 kb. None of them are playable at all...

    Hi.
    I downloaded the clip and re-uploaded it to my own Megashares account, if you where interested.
    Here is the link

    Hope this can help a little and thank you(DieBagger, Oxan, Lehmden) very much for all the time you put into this :)
    :D
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,568
    3,948
    Lehmden
    Home Country
    Germany Germany
    AW: [Android] aMPdroid 0.7 - Android Remote Control

    Hi.
    Thanks, now I'm able to download.
    The sample.mp4 did play well on PC, but did not play at all on Phone. "Unsupported File Type"...
    Maybe it's due the Menu, that is not included in my sample...

    MediaInfo:
    ID : 1
    Complete name : Z:\sample(3).mp4
    Format : MPEG-TS
    File size : 1.97 MiB
    Duration : 13s 360ms
    Overall bit rate : 1 232 Kbps

    Video
    ID : 256 (0x100)
    Menu ID : 1 (0x1)
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : Baseline@L3.0
    Format settings, CABAC : No
    Format settings, ReFrames : 2 frames
    Duration : 13s 360ms
    Nominal bit rate : 1 024 Kbps
    Width : 720 pixels
    Height : 576 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Variable
    Standard : PAL
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Writing library : x264 core 115 r2008 4c552d8
    Encoding settings : cabac=0 / ref=2 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=abr / mbtree=1 / bitrate=1024 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00

    Audio
    ID : 257 (0x101)
    Menu ID : 1 (0x1)
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format version : Version 4
    Format profile : LC
    Muxing mode : ADTS
    Duration : 12s 565ms
    Bit rate mode : Variable
    Channel(s) : 2 channels
    Sampling rate : 48.0 KHz
    Language : English

    Menu
    ID : 4096 (0x1000)
    Menu ID : 1 (0x1)
    Duration : 13s 360ms
    List : 256 (0x100) (AVC) / 257 (0x101) (AAC, English)
    Language : / English
    Service name : Service01
    Service provider : FFmpeg
    Service type : digital television
     

    DieBagger

    Retired Team Member
  • Premium Supporter
  • September 11, 2007
    2,516
    1,276
    40
    Austria
    Home Country
    Austria Austria
    Do you have any approximate date for the release of aMPdroid 0.8 and GMAWebServices 0.3? I'm not asking for an exact day, just wanted to know if we are talking about some months, some weeks, some days... I suppose that the correct answer is some weeks, right?
    Shouldn't be too long... ;)


    Are you also going to submit the code to the project's google code's page? :D
    Yes, the code was really messy with the streaming features so I didn't commit the changes, but I will checkin the code soon.

    Dutch translation done!

    Hmmm can't wait to try the 0.8 version...

    Any progress in adapting the layout for tablets? (autorotate & autoscale, etc)
    Thx for translating. Regarding the tablet layout: It's high on the priority list after 0.8 is released.
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    Thanks, I get what the problem is with playback on the Galaxy S. Apparantly it only supports Low-Complexibility AAC audio instead of the standard format (which does play on HTC). Now I need to find out how to encode this with the free ffmpeg encoder.
    EDIT: no, that's not the case.

    This is what I get with a new encoding test (with a custom patched ffmpeg to actually accept LC audio):

    Code:
    Audio
    ID                               : 257 (0x101)
    Menu ID                          : 1 (0x1)
    Format                           : AAC
    Format/Info                      : Advanced Audio Codec
    Format version                   : Version 4
    Format profile                   : LC
    Muxing mode                      : ADTS
    Codec ID                         : 15
    Duration                         : 42s 410ms
    Bit rate mode                    : Variable
    Channel(s)                       : 1 channel
    Channel positions                : Front: C
    Sampling rate                    : 48.0 KHz
    Compression mode                 : Lossy
    Language                         : English
    The only thing that I see that differs with your working sample is the bit rate mode, but I can't force that one to change in ffmpeg. I'll try the libfaac encoder as used by XMediaRecode. The problem with that is that redistributing libfaac is, thanks to the so called "open standards" guys at MPEG, actually illegal to do.
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom