Results 1 to 5 of 5

Thread: m4a plays with video player using BubbleUPnP Android App. Incorrect mime type?

  1. #1
    Join Date
    Mar 2013
    Posts
    36

    Default m4a plays with video player using BubbleUPnP Android App. Incorrect mime type?

    Hello,

    I recently updated my install of Mezzmo to version 5.2.0.0 from 5.1.1.0. After the update, m4a audio files are treated as video files by the BubbleUPnP Android app which I use as the audio renderer. Other audio files such as mp3's play in the BubbleUPnP Android app as expected. I sent a log to the BubbleUPnP developer thinking the issue was with their android app. They replied with the following:

    ....the media server set a mime-type of video/mp4 for m4a audio files. That is not correct and it should be audio/mp4 or audio/m4a or audio/x-m4a....
    I took a look at the device profile I was using and the .prf file, BubbleToMxPlayer.prf, does not appear to have changed from the DeviceProfiles folder to the DeviceProfiles.bak folder. The device profile is set to BubbleToMxPlayer & the delivery options seem fine.

    Let me know if you would like me to email a full set of logs. The section below appears to confirm the mime type being incorrect for these. taz1l0z1l3z4l28552l622zal6501xdc05.m4a is the uid of the m4a file which is being requested. This is an audio file but it appears be identified as video/mp4.

    Code:
    48277 - Feb 08 20:42:40.705 [ThreadID:0e1c] - [0E1C]      > ---------------------------------------------------------------------
    48278 - Feb 08 20:42:40.736 [ThreadID:0e1c] - [0E1C] WARN > _GetWatchFolderChildren_UsingPaths: Time taken (32 ms), collected 11 files/folders
    48279 - Feb 08 20:42:40.736 [ThreadID:0e1c] - [0E1C] DB   > Counting files in [M:\iTunes Library\Zac Library\Curtis Mayfield\Superfly (Disc 1)] with filter [*.aac;*.au;*.ac3;*.aif;*.ape;*.dts;*.fla;*.flac;*.m4a;*.m4b;*.mp+;*.mp2;*.mp3;*.mpc;*.ogg;*.oma;*.shn;*.tta;*.wav;*.wave;*.wma;*.wv;]
    48280 - Feb 08 20:42:40.736 [ThreadID:0e1c] - [0E1C] DB   > Starting count in: M:\iTunes Library\Zac Library\Curtis Mayfield\Superfly (Disc 1)\*.*
    48281 - Feb 08 20:42:40.736 [ThreadID:0e1c] - [0E1C] DB   > After counting files, count = 0 in [M:\iTunes Library\Zac Library\Curtis Mayfield\Superfly (Disc 1)] with filter [*.aac;*.au;*.ac3;*.aif;*.ape;*.dts;*.fla;*.flac;*.m4a;*.m4b;*.mp+;*.mp2;*.mp3;*.mpc;*.ogg;*.oma;*.shn;*.tta;*.wav;*.wave;*.wma;*.wv;], limited by 0+0
    48282 - Feb 08 20:42:40.736 [ThreadID:0e1c] - [0E1C]      >  E1C [       BubbleUPnP To MX Player]: DMS_ProcessQuery: Counted (914) taz1l0z1l3z5l28552l622 - total = 11 (0 ms)
    48283 - Feb 08 20:42:40.736 [ThreadID:0e1c] - [0E1C] INFO> LookupMappedHost: IP address 50331658, hosts list size: 0
    48284 - Feb 08 20:42:40.736 [ThreadID:0e1c] - [0E1C]      >  E1C [       BubbleUPnP To MX Player]: AddElement: id = taz1l0z1l3z4l28552l622zal6501, parent = taz1l0z1l3z5l28552l622, title = Little Child Runnin' Wild
    48285 - Feb 08 20:42:40.751 [ThreadID:0e1c] - [0E1C] INFO> LookupMappedHost: IP address 50331658, hosts list size: 0
    48286 - Feb 08 20:42:40.751 [ThreadID:0e1c] - [0E1C] INFO > Sending bytes from 0, length=0
    48287 - Feb 08 20:42:40.751 [ThreadID:0e1c] - [0E1C] OUT  >  E1C SendTo: (send) socket 5292, length = 1851, bytes sent = 1851
    734
    <item id="taz1l0z1l3z4l28552l622zal6501" parentID="taz1l0z1l3z5l28552l622" searchable="0" restricted="1">
    <upnp:class>object.item.audioItem.musicTrack</upnp:class>
    <dc:creator>Curtis Mayfield</dc:creator>
    <upnp:artist>Curtis Mayfield</upnp:artist>
    <upnp:album>Superfly (Disc 1)</upnp:album>
    <upnp:genre>R&B</upnp:genre>
    <av:mediaClass>M</av:mediaClass>
    <res duration="00:05:26.000" nrAudioChannels="2" bitrate="15876" sampleFrequency="44100" protocolInfo="http-get:*:video/mp4:DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000" size="5465136" importUri="http://10.0.0.3:53168/content/taz1l0z1l3z4l28552l622zal6501xdc05.m4a">http://10.0.0.3:53168/content/taz1l0z1l3z4l28552l622zal6501xdc05.m4a</res>
    <upnp:originalTrackNumber>1</upnp:originalTrackNumber>
    <res dlna:profileID="JPEG_TN" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN;DLNA.ORG_OP=01;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=00F00000000000000000000000000000" resolution="320x252" colorDepth="24">http://10.0.0.3:53168/content/JPEG_TN/9l62C0D89E-0DE8-433d-B7B2-AC2D00A383D3zklzjpeg_tnzjpegzjpegz320z320z24zjl837xc774.jpg</res>
    <upnp:albumArtURI dlna:profileID="JPEG_TN" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/">http://10.0.0.3:53168/content/9l62C0D89E-0DE8-433d-B7B2-AC2D00A383D3zklzjpeg_tnzjpegzjpegz320z320z24zjl837xc774.jpg</upnp:albumArtURI>
    <dc:date>1972-08-12T15:26:06Z</dc:date>
    <dc:title>Little Child Runnin' Wild</dc:title>
    </item>
    FFmpeg info from the Mezzmo server for the file is:

    Code:
    ffmpeg version N-78742-gf477849 Copyright (c) 2000-2017 the FFmpeg developers
      built with gcc 4.9.2 (GCC)
      configuration: --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/home/peter/ffmpeg/build/gpl64 --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread -lstdc++' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc32/include --extra-ldflags=-L/home/peter/cc64/lib --pkg-config=pkg-config --pkg-config-flags=--static --disable-w32threads --enable-libvpx --enable-libvorbis --enable-libtheora --enable-libx265 --enable-cuda --enable-cuvid --enable-dxva2 --enable-libmfx --enable-nvenc --enable-gnutls --extra-libs='-lz -lnettle -lhogweed -lgmp -lidn -lws2_32 -lcrypt32'
      libavutil      55. 74.100 / 55. 74.100
      libavcodec     57.103.100 / 57.103.100
      libavformat    57. 76.100 / 57. 76.100
      libavdevice    57.  7.100 / 57.  7.100
      libavfilter     6.100.100 /  6.100.100
      libswscale      4.  7.102 /  4.  7.102
      libswresample   2.  8.100 /  2.  8.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000587640] stream 0, timescale not set
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'M:\iTunes Library\Zac Library\curtis mayfield\superfly (disc 1)\1-01 little child runnin' wild.m4a':
      Metadata:
        major_brand     : M4A 
        minor_version   : 0
        compatible_brands: M4A mp42isom
        creation_time   : 2006-08-12T12:34:06.000000Z
        title           : Little Child Runnin' Wild
        artist          : Curtis Mayfield
        composer        : Curtis Mayfield
        album           : Superfly (Disc 1)
        genre           : R&B
        track           : 1/11
        disc            : 1/2
        date            : 1972
        compilation     : 0
        encoder         : iTunes v6.0.4.2, QuickTime 7.0.4
        iTunNORM        :  00000A78 00000A57 000084FF 00009C08 00015243 0003ABAD 00007C88 00007C88 0000684F 000068C2
        iTunes_CDDB_IDs : 11+BC1353811E4AA45182EA227CE36C1F11+558007
      Duration: 00:05:26.96, start: 0.000000, bitrate: 133 kb/s
        Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)
        Metadata:
          creation_time   : 2006-08-12T12:34:06.000000Z
        Stream #0:1: Video: png, rgb24(pc), 500x500 [SAR 2834:2834 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
    At least one output file must be specified
    
    <MEZZMO>: Child process ended with code: 109, ExitCode=1
    
    
    ---> DB Level Info: 0, -99
    ---> Frame rate: 
    ---> Aspect ratio: 
    ---> Duration: 00:05:26
    Thanks!
    Last edited by dafunk60; 02-09-2019 at 01:07 PM.

  2. #2
    Join Date
    Sep 2009
    Posts
    1,888

    Default

    Looking at the profile it appears that the container id of the audio mp4 section is wrong and will not match the file, it is mp4 but should be mov,mp4,m4a,3gp,3g2,mj2. It is matching the video mp4 container id so this is why video/mp4 is used as the mimetype. We have fixed this so you can send an email to support [at] conceiva [dot] com and we will send you the updated profile.

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

  3. #3
    Join Date
    Mar 2013
    Posts
    36

    Default

    Quote Originally Posted by Peter View Post
    Looking at the profile it appears that the container id of the audio mp4 section is wrong and will not match the file, it is mp4 but should be mov,mp4,m4a,3gp,3g2,mj2. It is matching the video mp4 container id so this is why video/mp4 is used as the mimetype. We have fixed this so you can send an email to support [at] conceiva [dot] com and we will send you the updated profile.
    Thank you for the reply. I have replaced the device profile with the new one provided, stopping the media server, closing the GUI, replacing the file, then reopening the GUI & starting the server. Unfortunately I'm seeing the same behavior as originally reported.

  4. #4
    Join Date
    Sep 2009
    Posts
    1,888

    Default

    Can you please enable diagnostic logging then after restarting your Mezzmo media server try playing the file in the app then add the logs to a zip and send the logs to support [at] conceiva [dot] com so we can investigate what is happening?

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

  5. #5
    Join Date
    Mar 2013
    Posts
    36

    Thumbs up

    Quote Originally Posted by Peter View Post
    Can you please enable diagnostic logging then after restarting your Mezzmo media server try playing the file in the app then add the logs to a zip and send the logs to support [at] conceiva [dot] com so we can investigate what is happening?
    The 2nd device profile you sent along has resolve the issue. Thanks as always for the great support!

Similar Threads

  1. Android App Plays One Song Then Stops
    By rcblackwell in forum Mezzmo Questions and Support
    Replies: 13
    Last Post: 01-30-2017, 04:28 PM
  2. How can I stop incorrect metadata being assigned to a video file?
    By armchairdriver in forum Mezzmo Questions and Support
    Replies: 3
    Last Post: 03-31-2015, 12:20 PM
  3. Stutter/Lag with BubbleUPnP/MXPlayer on Android tablet
    By DouglasBaker in forum Mezzmo Questions and Support
    Replies: 3
    Last Post: 04-09-2014, 10:12 AM
  4. Mezzmo 3.3 + BubbleuPnP + MX player on Android
    By igrik1986 in forum Mezzmo Questions and Support
    Replies: 1
    Last Post: 08-22-2013, 10:26 AM
  5. Mezzmo 3.2 AND Sharp Aquos LC-46LE830E AND Android BubbleUPNP
    By Infinity in forum Mezzmo Questions and Support
    Replies: 3
    Last Post: 06-02-2013, 12:27 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •