Page 1 of 6 123 ... LastLast
Results 1 to 10 of 53

Thread: Native format passthrough (BD M2TS, DTS-MA/TrueHD)

  1. #1
    Join Date
    Jul 2011
    Location
    Melbourne, Australia
    Posts
    35

    Unhappy Native format passthrough (BD M2TS, DTS-MA/TrueHD)

    Hi,

    Last night I tried to watch an M2TS file which I remux'd from an actual BD iso. See below picture for more info on the media file (strictly BD remuxing no transcoding involved.)

    Attachment 158

    The pleasure was thoroughly denied when I tried to play this from Mezzmo on my Sony BDV-E970W, observed:
    1. 30 seconds into the video it began stuttering every 2-3 sceonds
    2. Disruptively timed out one minute into the playback
    3. FFmpeg CPU usage stayed at >90%
    4. Transcoding kicked in as I could see filenames with "trancoding" string in the filenames actively being generated/updated in the transcoding directory.

    I had to burn it onto a BD RE 50 to watch it natively on the Blu-ray HT device (BDV-E970W).

    Makes me wonder:

    How do I modify the device profiles so that BD M2TS container gets passed through to the BDV "as is", preserving all of the three mandatory BD video formats (MPEG-2, H2.64/MPEG4-AVC, and VC-1) as well as audio formats all the way up to TrueHD and DTS-HD/MA/HRA?
    Attached Images Attached Images
    Last edited by l8router; 10-13-2011 at 09:56 AM.

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

    Default

    Hi,

    Can you please right-click on that file in Mezzmo and post the output of the "Get FFmpeg Information" command, so that I could see what the file actually is (the screenshot is too small to read and also won't tell me how Mezzmo sees it).

    Which device profile are you using for your device?

    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
    Jul 2011
    Location
    Melbourne, Australia
    Posts
    35

    Default

    I'm on 2.4.4.0 (registered) with original 32-bit FFmpeg

    Device profile is: Sony BDP (PAL)

    Get FFmpeg info:


    ffmpeg version N-33093-gb4483a5, Copyright (c) 2000-2011 the FFmpeg developers
    built on Sep 29 2011 14:54:32 with gcc 4.4.2
    [mpegts @ 01408460] max_analyze_duration 5000000 reached at 5000000
    [NULL @ 01536b60] start time is not set in estimate_timings_from_pts
    Input #0, mpegts, from '\\10.21.21.21\Media\\Movies\HD\Black Hawk Down [2001].m2ts':
    Duration: 02:23:26.07, start: 600.000000, bitrate: 30442 kb/s
    Program 1
    Stream #0:0[0x1011]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 38000 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0:1[0x1100](eng): Audio: truehd (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), s32
    Stream #0:2[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), s16, 640 kb/s
    Stream #0:3[0x1200](eng): Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    At least one output file must be specified


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

  4. #4
    Join Date
    Jul 2011
    Location
    Melbourne, Australia
    Posts
    35

    Default

    Yeah the forum software somehow tried to convert my picture to a tiny jpg.

    Here's how MediaInfo sees the file:

    http://imgur.com/EV5ZZ

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

    Default

    That file is converted because of the "truehd" audio track.

    If you turn transcoding off, does the file play natively? If it does, we'll modify the device profile to pass it through.

    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

  6. #6
    Join Date
    Jul 2011
    Location
    Melbourne, Australia
    Posts
    35

    Default

    I turned transcoding off last night and the file disappeared from the screen.

    I burnt the file to onto a BD RE 50 and inserted into the tray on the BDV and it played natively, thus the device was able to play it natively.

  7. #7
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    11,616

    Default

    Playing a file from disk or a USB is not the same as through the DLNA, so if it plays from disk/USB, it doesn't mean that it'll be successfully streamed.

    I can tell you how to modify the device profile to try and get this file to play through natively, if you are comfortable with editing text files or, alternatively, please open a support ticket and I'll send you a device profile to try.

    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

  8. #8
    Join Date
    Jul 2011
    Location
    Melbourne, Australia
    Posts
    35

    Default

    Hi Dennis,

    I agree with you in principle, however in this particular case I tend to believe all the formats in question are totally native to the device and thus should be playable over DLNA, remuxed or not.

    I'm happy go through this with you on the forum to share the info and findings with a lot of users who have Sony BDV class devices. If successful we'll be able to enjoy streamed native M2TS, and for the first time, DTS-*/TrueHD over network via Mezzmo.

    I now have the prf files in front of me, ready to go.

  9. #9
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    11,616

    Default

    Particular format implementations are up to the device's firmware developers, so it may or may not be supported, based on what they deemed practical to implement over DLNA.

    In any case, let's give it a try.

    If you have the device profile open in Notepad, please change:

    Code:
            <avcontainer id="mpegts" name="mpegts_transcoding" encode="1" format="mpegts" mimetype="video/vnd.dlna.mpeg-tts" dlnaprofile="MPEG_TS_SD_EU" supportschunked="0" preferredtranscoded="1">
            	<video>
            		<format id="mpeg1video" encode="0">
            		</format>
            	</video>
            	<video>
                            <format id="mpeg2video" encode="0" codec="mpeg2video">
                            </format>
    		</video>
    		<video>
    			<format id="h264" encode="1" codec="libx264" preferredtranscoded="1">
    				<copyts>0</copyts>
    				<samequality>0</samequality>
    			</format>
    		</video>
    		<audio>
    			<format id="ac3" encode="1" codec="ac3" preferredtranscoded="1">
    				<channels>2</channels>
    				<channels>6</channels>
    				<bitrate>640000</bitrate>
    				<maxbitrate>640000</maxbitrate>
    				<minbitrate>64000</minbitrate>
    				<samplingrate>48000</samplingrate>
    			</format>
    		</audio>
    		<audio>
    			<format id="aac" encode="1" codec="aac">
    				<channels>2</channels>
    				<channels>6</channels>
    				<bitrate>320000</bitrate>
    				<samplingrate>44100</samplingrate>
    			</format>
    		</audio>
            	<audio>
            		<format id="mp3" encode="0">
            		</format>
            	</audio>
            	<audio>
            		<format id="mp2" encode="0">
            		</format>
            	</audio>
                    <ffmpegadditional>-threads 0 -pix_fmt yuv420p -copyinkf -coder 1 -flags +loop -cmp +chroma -me_method hex -subq 7 -me_range 16 -g 25 -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 -bsf h264_mp4toannexb -strict experimental</ffmpegadditional>
            </avcontainer>
    to:

    Code:
            <avcontainer id="mpegts" name="mpegts_transcoding" encode="1" format="mpegts" mimetype="video/vnd.dlna.mpeg-tts" dlnaprofile="MPEG_TS_SD_EU" supportschunked="0" preferredtranscoded="1">
            	<video>
            		<format id="mpeg1video" encode="0">
            		</format>
            	</video>
            	<video>
                            <format id="mpeg2video" encode="0" codec="mpeg2video">
                            </format>
    		</video>
    		<video>
    			<format id="h264" encode="1" codec="libx264" preferredtranscoded="1">
    				<copyts>0</copyts>
    				<samequality>0</samequality>
    			</format>
    		</video>
    		<audio>
    			<format id="ac3" encode="1" codec="ac3" preferredtranscoded="1">
    				<channels>2</channels>
    				<channels>6</channels>
    				<bitrate>640000</bitrate>
    				<maxbitrate>640000</maxbitrate>
    				<minbitrate>64000</minbitrate>
    				<samplingrate>48000</samplingrate>
    			</format>
    		</audio>
    		<audio>
    			<format id="aac" encode="1" codec="aac">
    				<channels>2</channels>
    				<channels>6</channels>
    				<bitrate>320000</bitrate>
    				<samplingrate>44100</samplingrate>
    			</format>
    		</audio>
            	<audio>
            		<format id="truehd" encode="0">
            		</format>
            	</audio>
            	<audio>
            		<format id="mp3" encode="0">
            		</format>
            	</audio>
            	<audio>
            		<format id="mp2" encode="0">
            		</format>
            	</audio>
                    <ffmpegadditional>-threads 0 -pix_fmt yuv420p -copyinkf -coder 1 -flags +loop -cmp +chroma -me_method hex -subq 7 -me_range 16 -g 25 -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 -bsf h264_mp4toannexb -strict experimental</ffmpegadditional>
            </avcontainer>
    Then save the file, restart the server and it should now stream that file through natively.

    Please let me know how that goes.

    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

  10. #10
    Join Date
    Jul 2011
    Location
    Melbourne, Australia
    Posts
    35

    Default

    Thanks Dennis. I made the above changes to the .prf file. Will post feedback when I get home and test it around 5pm today Melbourne time.

    In the meanwhile I'm studying a bunch of .prf files to see if there's anything I can adapt to enhance the profile. Is there any documentation available on editing .prf files?

    Thanks.

Similar Threads

  1. Native format for Sony Bravia TV Streaming
    By jwgill in forum Mezzmo Questions and Support
    Replies: 7
    Last Post: 12-08-2011, 12:57 PM
  2. native file and transcoding
    By ken in forum Mezzmo Questions and Support
    Replies: 1
    Last Post: 02-21-2011, 08:09 AM
  3. Don't transcode, just play native format please.
    By djvdgalien in forum Mezzmo Questions and Support
    Replies: 3
    Last Post: 01-10-2011, 09:36 AM
  4. Streaming M2TS Video (Blu-ray rip)
    By LilJ in forum Mezzmo Questions and Support
    Replies: 1
    Last Post: 01-01-2011, 10:26 AM
  5. Sony BDP-S370 transcoding .m2ts to .m2ts
    By JohnM in forum Mezzmo Questions and Support
    Replies: 4
    Last Post: 12-07-2010, 05:31 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
  •