PDA

View Full Version : m4a plays with video player using BubbleUPnP Android App. Incorrect mime type?



dafunk60
02-09-2019, 01:04 PM
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.



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;*.sh n;*.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;*.sh n;*.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=01 700000000000000000000000000000" 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_C I=1;DLNA.ORG_FLAGS=00F0000000000000000000000000000 0" resolution="320x252" colorDepth="24">http://10.0.0.3:53168/content/JPEG_TN/9l62C0D89E-0DE8-433d-B7B2-AC2D00A383D3zklzjpeg_tnzjpegzjpegz320z320z24zjl837 xc774.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_tnzjpegzjpegz320z320z24zjl837 xc774.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:



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!

Peter
02-11-2019, 09:19 AM
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.

dafunk60
02-11-2019, 02:11 PM
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.

Peter
02-11-2019, 03:13 PM
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?

dafunk60
02-11-2019, 05:46 PM
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!