PDA

View Full Version : Mezzmo device profiles



bondtimbond
01-10-2012, 08:01 AM
I have been working with the trial version of Mezzmo for some time, trying to get it to work with and stream a variety of video formats to my new Sony Bravia KDL-EX720 series TV. This TV can directly play a variety of video formats, in fact it can play all the types I have from my various cameras except for older AVI files created by earlier model Canon cameras. HD mp4 files on Sony cameras and full HD mts files from my new Canon camcorder play just fine on the Sony Bravia directly. So when I setup Mezzmo to try out, I was expecting that when I selected a Sony KDL series device profile that Mezzmo would send files that the Sony can natively play directly without transcoding - doesn't appear to be the case. Strangely, even after trying several profiles that would appear to be for the Sony, most formats still transcode unnecessarily. I have worked with Mezzmo customer support and they provided a modified Sony KDL profile that transcodes the AVI files (which it did already) but sends the mp4's direct to the TV. This profile works great. I have sent them a note today asking for a modified profile that would send the mts files direct also, and hope that I can get that.

Here is my primary question: Does anyone have a document or instructions on how to modify the profiles ourselves so that I don't have to keep going to Mezzmo tech support back and forth to get modified versions? I can open them in notepad, and edit them, but don't really know what commands do what, etc. so it is just trial and error. So far I can't get a modified one to work right so I am waiting on Mezzmo to modify it for me. Is there a reference document?

Also, it would seem to me that Mezzmo needs more flexibility with device profiles such that users can easily make changes for their hardware. For example, it would be great if you could just click on the device that Mezzmo found on the network and open up a dialog to TELL it what the file types are that the device can play natively without transcoding. The owners manual usually tells you for the device what it is capable of playing, or the user can try a file and if it plays then great. Once you know what it can play, then you should be able to setup the profile the way you want it to. It seems impractical for Mezzmo to keep track of all the various devices out there and make profiles that are correct all the time. For the Sony KDL series for example, there are several profiles that seem to maybe be for that device, but none really seem a perfect fit. There are too many profile choices to just try everything to see what works! As a minimum, every single device profile should have in it a comments section that CLEARLY describes specifically what that profile is designed to do for various formats. I.e. which formats it passes through, which formats it transcodes, etc.

I tried turning off transcoding for all connected devices, and also tried to setup files to send original version which is feature of version 2.5, but when I do that the Bravia no longer shows any of the files at all. They only way they show up to browse and play on the Bravia is for transcoding to be enabled (even when the device profile doesn't actually transcode a particular file type). So apparently Mezzmo does something else when transcoding is enabled to enable the Bravia to see the files even when not actually transcoding. This seems like odd behavior too. Anyone else seen that?

Yes, I am new to Mezzmo so my hope is that this forum will bring some good answers so that I can make things work the way I would like. I did some basic searches of this forum and didn't find the answers, so if they are here already please point me in the right direction. I appreciate everyone's help.

Thanks.

Paul
01-10-2012, 09:22 AM
There's no official documentation on modifying device profile, but do feel free to ask about anything you don't understand and I'll be glad to explain :)

One of the reasons we haven't included a profile editor yet is because not every Mezzmo user is technical or knowledgeable enough to modify the device profiles and it may lead to more confusion and ultimately a worse Mezzmo experience. Our aim is to make Mezzmo work out-of-the-box with as many devices as possible without any tweaking. Yes, it may transcode a bit more than needed, but we're constantly updating our device profiles to make them better (hopefully!), so over time this will occur less and less. The owner's manual usually is quite limited in what it tells, for example, it rarely specifies supported h264 video profile levels or the maximum bitrates. Also, in many cases it just mentions a container format (such as AVI), but doesn't mentioned which video/audio codecs are supported within that container, so one AVI may play, but another won't. It's a bit of mess :)

There are so many profiles because the firmware in different TVs is different and support different formats or requires different DLNA descriptions or mime types.

We do have plans to re-organize our device profiles and possibly this will be done in time for Mezzmo v3.

bondtimbond
01-10-2012, 01:19 PM
Thanks Dennis,

I understand you comments about not wanting to give everyone a profile editor, but it seems that there should be a capability for those with the skills to do more. Here is a suggestion: Create a feature in Mezzmo where a user could point to a sample file on his machine that he plans to access and choose a "save characteristics to profile" option. That way the actual important characteristics of that file type that you point out can be unique can be captured without the user knowiing much about it. He could then save those characteristics to a device profile and tell it what he wants it to do with that file type, such as stream without transcoding. If I had that feature now I could setup my file types in very little time. That has the added benefit for situations like my case where I had a profile that was working, then got a new camera that had a new format that also should not be transcoded. I could just add that new "signature" to my existing profile and be done and not lose the features of the existing profile that was working for other formats.

Do you have an explaination as to why when I choose the "turn off transcoding for all connected devices" otpion, that none of the files shared will appear any longer on the Bravia? I can explain further if you need more. I see Mezzemo, but when I open a folder on the Bravia it says the folder is empty.

OK, so I will take you up on your offer to help me learn how to modify a profile! :-) Here is the FFmpeg info from one of the mts files off the Canon camcorder:

ffmpeg version N-36036-ga40f43d, Copyright (c) 2000-2011 the FFmpeg developers
built on Dec 22 2011 13:44:49 with gcc 4.6.2
configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/media/ffmpeg --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/dennis/cc/include --extra-ldflags=-L/home/dennis/cc/lib --pkg-config=pkg-config --disable-w32threads
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 46. 1 / 53. 46. 1
libavformat 53. 27. 0 / 53. 27. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0
[h264 @ 01a5a500] Increasing reorder buffer to 1
[mpegts @ 01959560] max_analyze_duration 5000000 reached at 5003333

Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 59.94 (60000/1001)
Input #0, mpegts, from 'C:\Documents and Settings\All Users\Documents\My Pictures\Digital Photos\Test AVCHD\20120101143431.mts':
Duration: 00:01:24.09, start: 0.766967, bitrate: 6360 kb/s
Program 1
Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], 59.96 fps, 59.94 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16, 256 kb/s
At least one output file must be specified


---> DB Level Info: 40, 100
---> Frame rate: 59.96
---> Aspect ratio: 16:9

Now the camcorder can save files in three different "qualities" which I think is probably different bitrates. I think the Sony can play them all. What would the "container" look like in the profile to tell Mezzemo to stream without transcoding?

Below is what I think (correct me if wrong) is the container section from the profile you created for me a month ago that allows it to send mp4's direct without transcoding:

<avcontainer id="mov,mp4,m4a,3gp,3g2,mj2" name="h264aac" encode="0" mimetype="video/mp4" dlnaprofile="MP4" supportschunked="0">
<video>
<format id="mpeg4" encode="0">
</format>
</video>
<video>
<format id="h264" encode="0">
</format>
</video>
<audio>
<format id="aac" encode="0">
</format>
</audio>
<audio>
<format id="mp3" encode="0">
</format>
</audio>
</avcontainer>

What changes would I need to make to this to make it send the mts files without transcoding, but still have them appear in the folder list and with thumbnails?

Thanks for your help.

Paul
01-10-2012, 01:50 PM
Can you please confirm that you also have the support issue 22647 with us? I'm just asking, so that I don't duplicate things here and via e-mail, let's choose the forum or e-mail to get things working.

If you use the "Sony Bravia KDL MP4" device profile, then it should work with both MPEG-TS and MP4 files that you have without the need to change anything (or with minor tweaking). The only change required then is to take out the AVI files from the container so that they are transcoded (actually we'll probably make a new device profile that does this).

I can send you a new device profile that supports MPEG-TS, MP4, but doesn't support AVI via e-mail.

Thanks for the suggestion regarding the device profile editor - it's a good idea to be able to specify which files play natively on the device and take that into account, as a very minimum, it'll help Mezzmo build up proper format/codec definitions.

With transcoding turned off device profiles are not used to build up the file descriptions, thus some devices may reject those descriptions as they don't match what the device expects (e.g. a mime type or a DLNA profile id). Device profiles not only specify supported formats, but also specify how those formats should be presented to the device.

On a side note (as I still think you should be using a different device profile), to add that file to a device profile you'd add something like:



<avcontainer id="mpegts" name="mpegts" encode="0" mimetype="video/vnd.dlna.mpeg-tts" dlnaprofile="AVC_TS_HD_EU_ISO" supportschunked="0">
<video>
<format id="h264" encode="0">
</format>
</video>
<audio>
<format id="ac3" encode="0">
</format>
</audio>
</avcontainer>


The above will pass through that file to the TV natively.

bondtimbond
01-10-2012, 02:38 PM
Thanks Dennis! Yes, this is same topic as my email for support item 22647. Sorry about that, but I didn't realize until now that the same folks would be seeing the forum as the support emails! Thank you for being so accessible to the users like you are! :-) I will try the new profile you sent and see how it works, and post the results on this thread. Others might learn from my experience also and help them.

Paul
01-10-2012, 02:54 PM
No problem - let me know how it works out. It may need some tweaking :)

bondtimbond
01-11-2012, 05:37 AM
Well I tried the modified profile sent to me by Dennis, and neither the AVI files or the mts files play correctly. The modified version of the "Bravia KDL Japan" profile was sent to me by "Paul" of Conceiva in early December, modified to pass through mp4s. That profile apparently handles the AVI files differently that the profile you sent me yesterday Dennis, since with that latest profile they show up at just mpg and not mpg2, and they take much longer to start playing and become jittery while transcoding. Maybe you can look at those two profiles and examine what is different about AVI handling? The settings for that section of the KDL Japan profile works much better for the AVI files I have, which are from earlier Canon and Fuji cameras in standard definition.

For the mts files (FFmpeg data below in this thread), with the new profile you sent yesterday loaded, the videos will not play at all. They show up on the list, and show up identified as AVC which I think they should, but when I try to play them they hang up and do nothing that I can tell. There must be something about how that stream is being presented to the Sony TV device that it doesn't like. My TV can play those same files directly via the usb connector, and also when streamed via Tversity, so it must be possible.

On a positive note, the MP4s still play correctly and are not transcoded, so that part is fine.

I also tried inserting the code you included in this thread into the KDL Japan profile sent to me by Paul, but that didn't seem to have any effect at all. There must be something not right in that code....

Thanks for you help!

Paul
01-11-2012, 08:56 AM
The "Japan" profile transcodes non-compatible files (such as AVI) to MPEG2, while the profile I sent transcodes them to MPEG-TS. If they are not playing, then it's possible that either your TV doesn't support MPEG-TS with h264 video or the description of it in the device profile is not correct.

If you can send an e-mail to support, I'll send you a modified profile to try. As I said, it may require tweaking ;)

bondtimbond
01-11-2012, 11:15 AM
THanks Dennis, I have sent you an email.

Paul
01-11-2012, 11:33 AM
I'll get back to you via e-mail with a modified profile soon.

bondtimbond
01-12-2012, 02:42 AM
The latest profile works for AVI and MP4, but now the mts files don't even show up in the file list on the Bravia. Folders they are in appear empty. I sent Dennis another email about that for him to try again.

However, I am looking again at the profiles and maybe someone could describe in general terms the layout and key sections of the profile?

There is a section at the start called the "device" section, what are the key parts of that and role in the profile? I see a "waitbeforestreaming" item that in some profiles is 6000 and others is 2000 (I think in milliseconds). Does that item explain why some profiles seem to take so long to start streaming and other not?

Next is the "descriptiondeliveryrules" section. What are the key parameters in that section?

The rest appears to be the actual containers, with many parameter options there.

Paul
01-12-2012, 09:31 AM
I've replied to you via e-mail regarding the device profile.

The "waitbeforestreaming" specifies how long the server will wait before sending a file that's currently being transcoded (it'll wait either that many milliseconds or until the file grows to a minimum streaming size, whichever comes first). The "descriptiondeliveryrules" section should not be changed - it's for special testing only.

rellik
08-01-2012, 04:37 PM
Hi Dennis
i have Ziova ClearStream CS615 , Mezzmo detects this as Generic NTSC device. when i select a file and start playing it i wont work. but if i look in Mezzmo transcoding tab i can see that its being transcoded. but even if its 100% transcoded it wont play unless i re select the file again from Ziova. how can i create a custom device profile for this device.
thank you

Paul
08-01-2012, 04:48 PM
We can create a device profile for you Ziova. First step - please create a set of logs and send them to us. Turn on logging (see http://forum.conceiva.com/showthread.php/419-FAQ-How-to-turn-on-diagnostic-logging) and restart your Mezzmo server. Connect to Mezzmo server using your Ziova and browse some folders & playlists. Try to play a few video, audio and photo files and then stop your Mezzmo server and exit Mezzmo. Zip up all the logs and send them to us at support [at] conceiva [dot] com. Also, if you know the video, audio and image formats that the Ziova supports (check your manual or Ziova's web site), please include that information as well. It will help us create a device profile that streams perfectly for your device.

concei
05-19-2014, 04:23 AM
hello,
i have a LG tv 55LW980S that can play MKV but not DTS or DTS HD !. Mezzmo transcode that in mpegts with h264 codec audio in ac3 . i Have mdedia files this all are in mkv format ,some of them are in DTS audio or AC3 -AC3 5.1 my problem is that mezzmo all media files transcode in mpegts with h264 codec audio in ac3 ! i can not choose mkv its not in the device profile ! .what i need is that mezzmo mkv files with ac3 not transcode but mkv files with dts or dsthd transcode but only the Audio.

thank you for your help !

regards, concei

Paul
05-19-2014, 10:17 AM
Try using the "LG TV (2013 models)" device profiles. It will not transcode AC3 in MKV but will transcode DTS in MKV.

concei
05-20-2014, 03:21 AM
Try using the "LG TV (2013 models)" device profiles. It will not transcode AC3 in MKV but will transcode DTS in MKV.

hello,
(ehm DTS IS AUDIO FILE NOT VIDEO MKV IS VIDEO Container is only as info.)

you have me not understand ,my lg tv can MKV video with ac3 or ac3 with 6 channel Audio and but not a MKV video-Movie with DTS Audio or DTSHD Audio !.
i have tryed all Profiles LG TV ,LG TV 2012 models ,LG TV 2013 Models , but none of them works for me !. All profiles want or have the option only mpeg - mpegts > h264 > ac3 and mezzo transcoding all files !! even if I have a file that is MKV video with ac3 ! . what i want is that mezzmo only transcode DTS AUDIO OR DTSHD AUDIO in AC3 not the MKV video because my LG tv can play MKV video with Ac3 AUDIO.

Thanks for your Answer.

regards, concei

Paul
05-20-2014, 09:58 AM
Please email us at support [at] conceiva [dot] com and we'll provide an updated device profile.

concei
05-24-2014, 06:22 PM
hello,
I mailed you but I got a message from mailerdeamon that support@conceiva.com was not reached !! . what can i do now ?

thank you for your Help.

regards,

Paul
05-25-2014, 09:26 AM
Try using our support page. See http://www.conceiva.com/support/default.asp

concei
05-28-2014, 12:52 PM
Thanks for your emails.

I have re-read your request and I think I understand what you want. I understand you want to transcode into MKV (but not using DTS audio) rather than MPEG-TS. The LG device profiles transcode to MPEG-TS because your LG TV can stream MPEG-TS files while transcoding on-the-fly. It cannot stream & play MKV when transcoding on-the-fly. So, if we change to transcoding to MKV, then your TV will not be able to play these videos when transcoding on-the-fly.

Best regards

Paul
Customer Support, Conceiva

ONLY MKV VIDEO FILES THAT CONTAINS DTS AUDIO AND ONLY THAT DTS AUDIO FILES SHOULD TRANSCODE IN AC3 AUDIO FILE ,NOT THE MKV VIDEO FILE !!

Please ! You not understand me !MY LG TV 55LW980S Can Play without transcoding MKV as Stream!!BUt if contains DTS AUDIO THAT IS NOT-NOT SUPPORTED!!!! My LG TV Type Supported file format:
Video : MPG, MPEG, DAT, TS, TRP, TP, VOB , MP4,
MOV, MKV, DivX, AVI, ASF, WMV, M4V Max bitrate of playable movie file: 20 Mbps
(Mega bit per second)

Supported external subtitle format: *.smi, *.srt,
*.sub (MicroDVD, SubViewer 1.0/2.0), *.ass,
*.ssa, *.txt (TMPlayer), *.psb (PowerDivX)
Supported Internal subtitle format: only XSUB
(It is the subtitle format made in DivX files),
Text UTF-8, SRT, ASS, SSA (It is the subtitle
format used in DivX-Plus HD files)

AUDIO Supported :
MAX Bit rate of audio format: within 32 kbps to 320
kbps (MP3) ,AAC,WMA, All Audio ,except DTS AUDIO FILES !
Bit rate range 32 Kbps to 320 Kbps
Sampling rate (Sampling Frequency)
MPEG1 layer 3: 32 kHz, 44.1 kHz, 48 kHz
MPEG2 layer 3: 16 kHz, 22.05 kHz, 24 kHz
* A copy-protected file will not play.

regards,concei , i Hope you understand me now!!

concei
05-28-2014, 01:02 PM
Hello,
I need a device profile that not transcode MKV Video Files that contains Ac3 audio files ! in your current device profile mezzmo transcode all files in mpegts video file and ac3 audio file ! if a have a video file that is a MKV and a Audio File contains, in that MKV As A DTS Audio Format!! THAT is not supported from my lg tv 55lw980S !

You not understand me !MY LG TV 55LW980S Can Play without transcoding MKV as Stream via DLNA!!BUt if contains DTS AUDIO THAT IS NOT-NOT SUPPORTED!!!! My LG TV Type Supported file format From Support LG.COM/DE !! :
Video : MPG, MPEG, DAT, TS, TRP, TP, VOB , MP4,
MOV, MKV, DivX, AVI, ASF, WMV, M4V Max bitrate of playable movie file: 20 Mbps
(Mega bit per second)

Supported external subtitle format: *.smi, *.srt,
*.sub (MicroDVD, SubViewer 1.0/2.0), *.ass,
*.ssa, *.txt (TMPlayer), *.psb (PowerDivX)
Supported Internal subtitle format: only XSUB
(It is the subtitle format made in DivX files),
Text UTF-8, SRT, ASS, SSA (It is the subtitle
format used in DivX-Plus HD files)

AUDIO Supported :
MAX Bit rate of audio format: within 32 kbps to 320
kbps (MP3) ,AC3 ,AC3D,AAC,WMA, All Audio ,except DTS AUDIO FILES !
Bit rate range 32 Kbps to 320 Kbps
Sampling rate (Sampling Frequency)
MPEG1 layer 3: 32 kHz, 44.1 kHz, 48 kHz
MPEG2 layer 3: 16 kHz, 22.05 kHz, 24 kHz
* A copy-protected file will not play.

regards,concei , i Hope you understand me now!!

Paul
05-30-2014, 10:54 AM
Sorry for the frustration. I'll try to explain what we are doing. Our LG TV device profiles do support MKV container with AC-3 audio codec. However, if an MKV file is found to be incompatible (i.e. video codec is not supported or audio codec is not supported within the MKV), then Mezzmo transcodes the file to the MPEG-TS container. We transcode to MPEG-TS container since we found that LG TVs do not decode and play MKV files when they are transcoding on-the-fly. MKV files have an index that tells decoders about the audio and video channels within the file. Some devices' firmware wants to read this index before it will start playing the file. However, encoders (such as ffmpeg.exe that we use in Mezzmo to transcode audio and video files) only write the index into the MKV at the end of the file when the transcoding has completed. So devices like your LG TV will refuse to play the MKV file that is transcoding on-the-fly until it has been fully transcoded. This is not a great user experience - so that's why we don't transcode using MKV as you would like us to. Typically, MPEG-TS container does not have this problem with devices.

When Mezzmo transcodes to MPEG-TS container, compatible audio and video codecs from the original file are remuxed (copied) into the MPEG-TS file - so it is very fast and keeps the original (compatible) audio/video codec. Non-compatible audio/video codecs are transcoded into another (compatible) format.

concei
06-03-2014, 03:57 PM
hmmmm, thank you for your wundefull and clear answer ! yes i Understand now and i am sorry for trouble you . thanks a lot for your help. AND MEZZMO IS THE BEST!!

Best Regards ,concei