PDA

View Full Version : Gapless multifile feature doesnt work with flac but works with mp3



Jasonx
03-13-2014, 12:51 PM
Im demoing the mezzmo 3.4 and when i created a gapless multifile flac, it only plays the first file then stops after the track and doesnt continue to play the rest of the tracks. With mp3, it plays all gaplessly with no problem. Anything i need to do to make this work?

Paul
03-13-2014, 01:59 PM
Gapless music streaming is dependent on the device you are streaming to (i.e. it has to be able to decode and play gapless music). Your device may be able to play gapless MP3s but may not be able to play gapless FLAC. What device do you have and what device profile is assigned to your device? Go to the Media Devices dialog to see this. We may need to tweak the device profile. Also, post the FFmpeg information for one of the FLAC files that you have inside your gapless FLAC. Right-click on the FLAC in Mezzmo and click 'Get FFmpeg Information'.

Jasonx
03-13-2014, 02:08 PM
Hi Paul,

I'm using a Marantz NA-7004. Here is the info you are asking. By the way i'm using the Mezzo Feature Gapless Multifile(you select multiple files and make them play gapless).

ffmpeg version N-50460-g393dcbf Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 27 2013 17:20:20 with gcc 4.6.2 (GCC)
configuration: --enable-memalign-hack --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' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc64/include --extra-ldflags=-L/home/peter/cc64/lib --pkg-config=pkg-config --disable-w32threads --enable-zlib
libavutil 52. 17.103 / 52. 17.103
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.102 / 54. 63.102
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 41.100 / 3. 41.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
[flac @ 000000000159f460] Stream #1: not enough frames to estimate rate; consider increasing probesize
Input #0, flac, from 'pipe:':
Metadata:
ALBUM : Blue Bossa
ALBUM ARTIST : Ana Caram
ARTIST : Ana Caram
DATE : 2002
GENRE : Latin Jazz / Bossa Nova
HDTRACKS : www.hdtracks.com
TITLE : Desafinado
TOTALTRACKS : 12
track : 1
Duration: 00:04:23.08, bitrate: N/A
Stream #0:0: Audio: flac, 96000 Hz, stereo, s32
Stream #0:1: Video: mjpeg, yuvj420p, 300x300 [SAR 72:72 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
Metadata:
comment : Cover (front)
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:

Paul
03-13-2014, 03:39 PM
Please email us at support [at] conceiva [dot] com and we'll provide an updated device profile.

Jasonx
03-13-2014, 03:56 PM
Please email us at support [at] conceiva [dot] com and we'll provide an updated device profile.

Hi Paul,

I just sent an e-mail to the e-mail address you specified. Will be waiting for your reply. Also please include instruction on how to update the device profile. Thanks again for your support.

Jasonx
03-13-2014, 04:11 PM
Hi Paul,

I just received the Updated Profile for my device. Will update it later. Thanks for the quick response and help.

Paul
03-13-2014, 04:37 PM
OK - let us know how it goes.

Jasonx
03-13-2014, 09:47 PM
Hi Paul,

Tested it now. Replaced the Device profile with the one you guys sent me and issue still same.. It only plays the first track of the single file then stops after playing. Here is the info of the file.

I tried to transcode it then chooses the mp3 format and it plays gaplessly. I guess it's really flac's thats affected..

ffmpeg version N-50460-g393dcbf Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 27 2013 17:20:20 with gcc 4.6.2 (GCC)
configuration: --enable-memalign-hack --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' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc64/include --extra-ldflags=-L/home/peter/cc64/lib --pkg-config=pkg-config --disable-w32threads --enable-zlib
libavutil 52. 17.103 / 52. 17.103
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.102 / 54. 63.102
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 41.100 / 3. 41.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
[flac @ 000000000159f460] max_analyze_duration 60000000 reached at 60000000 microseconds
Input #0, flac, from 'pipe:':
Metadata:
ALBUM : Rio After Dark
ALBUM ARTIST : Ana Caram
ARTIST : Ana Caram
DATE : 2003
GENRE : Brazilian Jazz / Bossa Nova
HDTRACKS : www.hdtracks.com
TITLE : Rio After Dark
TOTALTRACKS : 15
track : 1
Duration: 00:03:54.79, bitrate: N/A
Stream #0:0: Audio: flac, 96000 Hz, stereo, s32
Stream #0:1: Video: mjpeg, yuvj420p, 300x300 [SAR 72:72 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
Metadata:
comment : Cover (front)
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:

Jasonx
03-14-2014, 02:33 PM
Hi Paul,

Just wanted to ask if there's an update regarding this? Thanks

Paul
03-14-2014, 03:14 PM
Hi Jason,

Please turn on logging in Mezzmo (see http://forum.conceiva.com/showthread.php/419-FAQ-How-to-turn-on-diagnostic-logging) and restart your Mezzmo server. Right-click on the gapless FLAC and click Properties. On the Properties dialog, go to the Transcoding tab and delete all transcoded files. Now stream the gapless FLAC to your Marantz and when it only plays the first track, stop your Mezzmo server and exit Mezzmo. Zip up all the logs and email them to us at support [at] conceiva [dot] com.

Jasonx
03-14-2014, 03:20 PM
Hi Jason,

Please turn on logging in Mezzmo (see http://forum.conceiva.com/showthread.php/419-FAQ-How-to-turn-on-diagnostic-logging) and restart your Mezzmo server. Right-click on the gapless FLAC and click Properties. On the Properties dialog, go to the Transcoding tab and delete all transcoded files. Now stream the gapless FLAC to your Marantz and when it only plays the first track, stop your Mezzmo server and exit Mezzmo. Zip up all the logs and email them to us at support [at] conceiva [dot] com.

Thanks Paul, will do this later today after work. Will keep you posted. Thanks for the update.

Jasonx
03-14-2014, 08:53 PM
Thanks Paul, will do this later today after work. Will keep you posted. Thanks for the update.

Hi Paul,

I just sent support the log file. Let me know how it goes. Thanks for the support..

Paul
03-16-2014, 07:57 AM
Thanks - got your logs. We'll analyse them and report back via email.

Jasonx
03-17-2014, 12:24 AM
Hi Paul,

I just sent support the log file. Let me know how it goes. Thanks for the support..

Thanks Paul... will be waiting for that e-mail. Thanks for the support. I hope we can have a fix for this so i can buy the software as this is the feature that i really needed.

Paul
03-17-2014, 01:39 PM
Just sent an updated device profile to try. Let us know how it goes.

Jasonx
03-17-2014, 02:13 PM
Just sent an updated device profile to try. Let us know how it goes.

Hi Paul, got the file and will test it later. Thanks.. Will keep you posted..

Jasonx
03-17-2014, 08:53 PM
Just sent an updated device profile to try. Let us know how it goes.

Hi Paul,

It seems working after the update. I just played the created gapless multifile and playing right now. It didnt stop after the first track and continue playing, im at the 3rd track right now without stoping.. Very nice..

Now my question is, is it possible to see all track on an android remote instead of seeing a single file? I have Flac Cue albums in a single file and i can see all the tracks when using an ios/android remote on some players out there. Can this be done as well here? I have not tested any android app remote here so i'm not sure what will i see, but do you get what i'm saying? I mean if i have an actual file (There is actually two files, one is .flac and the other one is .cue) with multiple tracks, remote apps from other players are seeing the tracks inside the single file instead of just seeing the single file. Will bubbleupnp see this as a multiple track file instead of a single one?

Jasonx
03-17-2014, 10:03 PM
Hi Paul,

Gapless Multifile works, there's another issue.. I made a Gapless file again this time with 192khz bit rate, my Marantz is connected to a DAC and the DAC reads only 96khz.. anything higher than 96khz is being read as 96khz and not the actual bitrate if it's more than 96khz. If i play a regular non gapless single file that is 192, the dac registers 192.. it's only Gapless multifile affected

Jasonx
03-17-2014, 10:18 PM
Hi Paul,

Gapless Multifile works, there's another issue.. I made a Gapless file again this time with 192khz bit rate, my Marantz is connected to a DAC and the DAC reads only 96khz.. anything higher than 96khz is being read as 96khz and not the actual bitrate if it's more than 96khz. If i play a regular non gapless single file that is 192, the dac registers 192.. it's only Gapless multifile affected


Nevermind this, i deleted all transcoded file and restart the server and it seems it's reading now the bitrates correctly...

Anyway

Now my question is, is it possible to see all track on an android remote instead of seeing a single file? I have Flac Cue albums in a single file and i can see all the tracks when using an ios/android remote on some players out there. Can this be done as well here? I have not tested any android app remote here so i'm not sure what will i see, but do you get what i'm saying? I mean if i have an actual file (There is actually two files, one is .flac and the other one is .cue) with multiple tracks, remote apps from other players are seeing the tracks inside the single file instead of just seeing the single file. Will bubbleupnp see this as a multiple track file instead of a single one?

Jasonx
03-17-2014, 10:36 PM
Ok i thought everything is fine but my mistake.. here is what's going on..

To test all my files..

I created Gapless Multifiles with 192khz bitrate(All files in album are 192), 176khz, 96khz, 88khz, 44khz flac files..

I connected the Marantz NA-7004 to a DAC just to see if the Marantz is receiving the bitrate and passing it correctly to the DAC

I have two ways of playing the file. Via NA7004 remote and via Bubbleunpn Android remote app..

When i play using the NA-7004 remote and select the server and hit the file, all files greater than 96khz is being played only at 96khz(according to DAC display) but continues to play the rest of the track

When i use the bubbleUpnp remote, select the NA-7004 as Renderer and Mezzmo as Local Media Server from the device settings.. all Bitrate is being sent correctly to the Marantz and then DAC. The DAC displays the correct bitrate being played by the Marantz BUT PLAYS ONLY THE FIRST TRACK OF THE MULTIFILE AND STOPS..

I'm not sure what's the difference between the two..

Paul
03-19-2014, 04:23 PM
Hi Jason,

Thanks for the detailed posts. We have emailed you an updated device profile to try. Let us know how it goes.

Jasonx
03-19-2014, 08:54 PM
Hi Jason,

Thanks for the detailed posts. We have emailed you an updated device profile to try. Let us know how it goes.

Thanks Paul, will test this as soon as i get home

Jasonx
03-19-2014, 11:17 PM
Hi Paul,

Just to give you and update..

1. When using the Marantz Remote, and choosing the DLNA server, then selecting the Gapless Multi File.. It works.. Bitrate is now being sent correctly and it would play continously.. so problem on this part is solved..

2. ISSUE. If i use an APPS for remote (i use BubbleUpNp). I select Marantz as the Renderer and Mezzmo as the Library. I select the Gapless Multifile and Play. It will play with the correct bitrate but will not play the next track. It will just play the 1st track and never the rest. I also notice that it doesnt Transcode a newly created gapless multifile, i guess this is the reason the Marantz didnt play the next track..

So is there a difference with DLNA if it sense that the control is coming from The renderer or from a remote apps? Is there a difference using the Actual Remote of the Marantz or using an APPS as a remote like Bubbleupnp?

WIll send the logs again

Paul
03-20-2014, 10:37 AM
Hi Jason,

Got your logs. Glad the new device profile works now. I have sent you an email explaining why the BubbleUPnP app does not work correctly. Our new Mezzmo (Android) app does overcome this problem and will stream your files properly, so I suggest you try this when it is released in the next 1-2 weeks.

Jasonx
03-20-2014, 03:02 PM
Hi Jason,

Got your logs. Glad the new device profile works now. I have sent you an email explaining why the BubbleUPnP app does not work correctly. Our new Mezzmo (Android) app does overcome this problem and will stream your files properly, so I suggest you try this when it is released in the next 1-2 weeks.

Hi Paul,

I know i saw that e-mail but wasnt able to read it as i'm doing some task. Can you re-send?

Paul
03-20-2014, 03:36 PM
I have re-sent the email.