Results 1 to 5 of 5

Thread: How to change profile to transcode 5.1 AAC to 5.1 AC3 for Samsung C750 or HT-C6500

  1. #1
    Join Date
    Aug 2011
    Posts
    3

    Default How to change profile to transcode 5.1 AAC to 5.1 AC3 for Samsung C750 or HT-C6500

    Hi all,

    Sheesh!! Talk about jumping through Hoops lol

    I hope someone will be able to help me. My movie collection consists of a large number of .MP4 files encoded to H264/AAC5.1. The issue I have is that the Samsung TV and the Sound system will accept the movies ok but I only get PCM 2.0.
    Both support AC3 5.1 so I was wondering about using Mezzmo to transcode the audio on the fly and get full surround sound.

    Now....I have downloaded the trial version, scanned my media and got both devices talking to it. Reading on another thread I found a piece of code to put in one of the profiles to do the transcoding. Problem I have is....

    Both Media Devices have a default profile of SamsungC.prf or SamsingHTS.prf. None of these profiles can be located in the Profiles folder. Thinking of a way around this I decided to edit the SamsungA.prf instead but I keep getting either a read only error or Access Denied. Tried through CMD as Administrator, attrib -h -r -s -a for good measure but still can't change the Profiles. The service was in a stopped state so no idea how others seem to edit their profiles and I can't. Windows 7 issue?

    Would someone please help me with a) understanding the profile structure b) getting the files changed c) getting the right code in for transcoding

  2. #2
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    11,642

    Default

    Hi,

    The "Samsung C" device profile is "SamsungLA.prf", "Samsung HTS" device profile is "SamsungHT.prf".

    You'll need to right-click on those files in Windows Explorer and remove the read-only attribute before editing them.

    Regarding that change to transcoding - if the input file is AAC 5.1, it should be transcoded to AC3 5.1 by default, so you shouldn't need to adjust anything in the device profiles. Please confirm that you have "Samsung C" and "Samsung HTS" selected in your Media Devices dialog, just to be sure that we're looking at the same profiles.

    Can you please post FFmpeg information on one of those files (in Mezzmo right-click on the file and use the "Get FFmpeg Information" command) and we'll start looking at what may be 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

  3. #3
    Join Date
    Aug 2011
    Posts
    3

    Default

    Thanks I'll try it again and see what happens

    Here's the info anyway

    ffmpeg version N-31788-g0d4ea7b, Copyright (c) 2000-2011 the FFmpeg developers
    built on Aug 10 2011 11:16:35 with gcc 4.4.2
    configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-mingw32- --enable-static --disable-shared --enable-zlib --disable-ffplay --prefix=/media/windows/ffmpeg --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --pkg-config=pkg-config
    libavutil 51. 11. 1 / 51. 11. 1
    libavcodec 53. 10. 0 / 53. 10. 0
    libavformat 53. 6. 0 / 53. 6. 0
    libavdevice 53. 2. 0 / 53. 2. 0
    libavfilter 2. 28. 1 / 2. 28. 1
    libswscale 2. 0. 0 / 2. 0. 0
    libpostproc 51. 2. 0 / 51. 2. 0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\Movies\X-Men Collection\X-Men - The Last Stand (2006).mp4':
    Metadata:
    major_brand : isom
    minor_version : 1
    compatible_brands: isomavc1
    creation_time : 2010-09-03 02:19:36
    Duration: 01:44:05.31, start: 0.000000, bitrate: 6002 kb/s
    Chapter #0.0: start 0.000000, end 317.192000
    Metadata:
    title :
    Chapter #0.1: start 317.192000, end 561.311000
    Metadata:
    title :
    Chapter #0.2: start 561.311000, end 739.405000
    Metadata:
    title :
    Chapter #0.3: start 739.405000, end 1073.072000
    Metadata:
    title :
    Chapter #0.4: start 1073.072000, end 1389.138000
    Metadata:
    title :
    Chapter #0.5: start 1389.138000, end 1857.898000
    Metadata:
    title :
    Chapter #0.6: start 1857.898000, end 2037.494000
    Metadata:
    title :
    Chapter #0.7: start 2037.494000, end 2282.363000
    Metadata:
    title :
    Chapter #0.8: start 2282.363000, end 2628.167000
    Metadata:
    title :
    Chapter #0.9: start 2628.167000, end 3036.742000
    Metadata:
    title :
    Chapter #0.10: start 3036.742000, end 3337.084000
    Metadata:
    title :
    Chapter #0.11: start 3337.084000, end 3482.854000
    Metadata:
    title :
    Chapter #0.12: start 3482.854000, end 3673.879000
    Metadata:
    title :
    Chapter #0.13: start 3673.879000, end 3836.750000
    Metadata:
    title :
    Chapter #0.14: start 3836.750000, end 4096.801000
    Metadata:
    title :
    Chapter #0.15: start 4096.801000, end 4240.570000
    Metadata:
    title :
    Chapter #0.16: start 4240.570000, end 4401.314000
    Metadata:
    title :
    Chapter #0.17: start 4401.314000, end 4751.538000
    Metadata:
    title :
    Chapter #0.18: start 4751.538000, end 4930.092000
    Metadata:
    title :
    Chapter #0.19: start 4930.092000, end 5103.849000
    Metadata:
    title :
    Chapter #0.20: start 5103.849000, end 5381.751000
    Metadata:
    title :
    Chapter #0.21: start 5381.751000, end 5665.702000
    Metadata:
    title :
    Chapter #0.22: start 5665.702000, end 5762.590000
    Metadata:
    title :
    Chapter #0.23: start 5762.590000, end 6245.312000
    Metadata:
    title :
    Stream #0.0(und): Video: h264 (High), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 5680 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
    Metadata:
    creation_time : 2010-09-03 02:19:36
    Stream #0.1(eng): Audio: aac, 48000 Hz, 5.1(back), s16, 317 kb/s
    Metadata:
    creation_time : 2010-09-03 02:22:10
    At least one output file must be specified


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

  4. #4
    Join Date
    Aug 2011
    Posts
    3

    Default

    Update

    HT-C6500

    Plays MP4 (H264/AAC) Movies ok but not in 5.1
    Plays MP4 (H264/AC3) Movies ok and in 5.1

    C750 TV

    Unsupported Format (plays them fine natively, ie through USB or Twonky)

    It's the HT-C6500 I'm really bothered about

    Tonight I managed to edit the HT profile and entered the following settings

    <avcontainer id="mov,mp4,m4a,3gp,3g2,mj2" name="h264aac" format="mp4" encode="1" mimetype="video/m4v">
    <video>
    <format id="h264" encode="1" codec="libx264" preferredtranscoded="1">
    <copyts>1</copyts>
    <samequality>1</samequality>
    <bitrate>25000000</bitrate>
    </format>
    </video>
    <audio>
    <format id="ac3" encode="1" codec="ac3" preferredtranscoded="1">
    <channels>2</channels>
    <channels>6</channels>
    <bitrate>448000</bitrate>
    <maxbitrate>448000</maxbitrate>
    <minbitrate>64000</minbitrate>
    <samplingrate>48000</samplingrate>
    </format>
    </audio>
    <audio>
    <format id="aac" encode="0" codec="aac">
    <channels>2</channels>
    </format>
    </audio>
    <ffmpegadditional>-threads 4 -coder 1 -flags +loop -cmp +chroma -me_method hex -subq 6 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -bf 3 -refs 2 -directpred 1 -trellis 1 -flags2 +bpyramid+mixed_refs+wpred+dct8x8+fastpskip -wpredp 2</ffmpegadditional>
    </avcontainer>

    Now the HT-C6500 plays MP4 movies in AC3 5.1 :-) Excellent!! However.....the transcoded file sitting on the PC is growing at an alarming rate. So much so that after only a few mins it was well past 5GB (the source movie is only 4GB). The issue with this is that playing the movie is very choppy. Do we have to encoding the video as well as the audio? I'm thinking the answer here will be yes due to lip sync? is that correct?

    What I'm trying to achieve is minimal transoding but having 5.1

    Thanks!
    Last edited by glen8; 08-26-2011 at 06:48 AM.

  5. #5
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    11,642

    Default

    Another way to do this is to revert back to the original device profile ("Samsung HTS", I assume) and then just change the MP4 container to be like this (basically adding the constraint of stereo AAC):

    Code:
            <avcontainer id="mov,mp4,m4a,3gp,3g2,mj2" name="h264aac" encode="0" mimetype="video/mp4" supportschunked="0">
                    <video>
                            <format id="h264" encode="0">
                            </format>
                    </video>
                    <video>
                            <format id="mpeg4" encode="0">
                            </format>
                    </video>
                    <audio>
                            <format id="aac" encode="0">
    				<channels>2</channels>
                            </format>
                    </audio>
                    <audio>
                            <format id="pcm_s16le" encode="0">
                            </format>
                    </audio>
            </avcontainer>
    This will go back to the default MKV h264/AC3 encoding that should produce good results.

    Also, if you'd like to keep your transcoding, try changing "samequality" to 0 - this should reduce the file size.

    I'd also recommend the following "ffmpegadditional" parameter:

    Code:
    <ffmpegadditional>-threads 4 -pix_fmt yuv420p -copyinkf -coder 1 -flags +loop -fflags +genpts -cmp +chroma -me_method hex -subq 7 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -directpred 1 -flags2 +fastpskip+bpyramid+mixed_refs-dct8x8+wpred+aud+ivlc+mbtree -partitions -parti8x8-parti4x4-partp8x8-partp4x4-partb8x8 -crf 22 -bf 1 -refs 2 -bidir_refine 1 -deblockalpha 0 -deblockbeta 0</ffmpegadditional>

    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

Similar Threads

  1. Transcoding: list devices and transcode state - option to pre-transcode
    By Dillster in forum Mezzmo Wish List and Feedback
    Replies: 13
    Last Post: 01-06-2012, 04:30 PM
  2. Must restrat Mezzmo on Samsung C5500/C6500 power on
    By gliot1 in forum Mezzmo Questions and Support
    Replies: 6
    Last Post: 07-28-2011, 02:16 AM
  3. Samsung BD-c6500 not seeing mezzmo app
    By Scuzzo in forum Mezzmo Questions and Support
    Replies: 5
    Last Post: 03-11-2011, 09:26 AM
  4. streaming with samsung bd-c6500 and mezzmo
    By jgoodell7 in forum Mezzmo Questions and Support
    Replies: 1
    Last Post: 01-10-2011, 10:01 AM
  5. Samsung bd-c6500 blu ray blues
    By David in forum Mezzmo Questions and Support
    Replies: 1
    Last Post: 11-11-2010, 02:47 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
  •