Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Audio in video files is misidentified as Dolby Digital

  1. #1

    Default Audio in video files is misidentified as Dolby Digital

    I have one video file that the description on the screen is correct that it is DD 5.1, but everything else is described as DD when it's 2-ch stereo.

    The ffmpeg output from the correct file is:
    Stream #0.0(und): Video: h264, yuv420p, 1280x528 [PAR 1:1 DAR 80:33], 1590 kb/s, 23.98 fps, 23.98 tbr, 66893 tbn, 47.95 tbc
    Stream #0.1(und): Audio: aac, 48000 Hz, 5.1, s16, 257 kb/s
    and a file that is incorrectly identified shows this:
    Stream #0.0: Video: h264, yuv420p, 640x360 [PAR 1:1 DAR 16:9], 817 kb/s, 29.92 tbr, 1k tbn, 59.94 tbc
    Stream #0.1: Audio: aac, 44100 Hz, stereo, s16, 105 kb/s
    Is there any way to have Mezzmo downmix the audio to 2-ch stereo on non DD files?

    I've even tried re-encoding the files using a different audio codec and a lower bitrate, but it didn't change the way they were identified and played.

    Edit: My BluRay player is a Sony BDP-S370 and I'm using an updated profile (SonyBDP-NTSC-NoDivX.prf) that you have sent me for a previous problem.
    Last edited by pizzaguy541; 12-09-2010 at 03:03 AM. Reason: Forgot to mention what player I was using.

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

    Default

    What is the container of that file? It's possible that it's being transcoded and thus presented to the device as something else - I'll need full FFmpeg output to see that.

    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

    Default

    Here is the ffmpeg output of that particular file:
    Code:
    FFmpeg version SVN-r25446, Copyright (c) 2000-2010 the FFmpeg developers
      built on Oct 12 2010 10:38:21 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-ffprobe --disable-ffplay --prefix=/media/windows-share/ffmpeg --extra-cflags=-U__STRICT_ANSI__ --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect
      libavutil     50.32. 3 / 50.32. 3
      libavcore      0. 9. 1 /  0. 9. 1
      libavcodec    52.92. 0 / 52.92. 0
      libavformat   52.81. 0 / 52.81. 0
      libavdevice   52. 2. 2 / 52. 2. 2
      libavfilter    1.50. 1 /  1.50. 1
      libswscale     0.12. 0 /  0.12. 0
    [flv @ 0122ccc0] Estimating duration from bitrate, this may be inaccurate
    
    Seems stream 0 codec frame rate differs from container frame rate: 59.94 (2997/50) -> 29.92 (359/12)
    Input #0, flv, from 'C:\Users\******\Videos\Charline_s No Worries.flv':
      Metadata:
        duration        : 30
        starttime       : 0
        totalduration   : 30
        width           : 640
        height          : 360
        videodatarate   : 798
        audiodatarate   : 103
        totaldatarate   : 896
        framerate       : 30
        bytelength      : 3431876
        canseekontime   : true
        sourcedata      : B4A7D6A82HH1271158765422361
        purl            : 
        pmsg            : 
      Duration: 00:00:30.09, start: 0.000000, bitrate: 922 kb/s
        Stream #0.0: Video: h264, yuv420p, 640x360 [PAR 1:1 DAR 16:9], 817 kb/s, 29.92 tbr, 1k tbn, 59.94 tbc
        Stream #0.1: Audio: aac, 44100 Hz, stereo, s16, 105 kb/s
    At least one output file must be specified
    
    
    ---> DB Level Info: 30
    I know that the output shows a frame rate discrepancy, but all of my files audio are playing in the same way.

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

    Default

    Ok, so the FLV will be transcoded to an AVCHD (MPEG-TS with h264/AC3 sound) and should show up as "Dolby" sound on the player - is that what's happening? If yes, then that's correct. The BDP does not support playing FLV files natively.

    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

  5. #5

    Default

    Yes, that is what's happening.

    I wonder why WMP and PlayOn both play the file in 2-ch stereo instead of Dolby?

    I've tested Wild Media Server which also uses ffmpeg for transcoding and it too displays the audio track as Dolby.

    It would be nice if there were an option to force ffmpeg to transcode the audio to standard 2-ch stereo.

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

    Default

    Well, it's possible of course - just need to modify the device profile. If you want, I can post the changes here or e-mail support to do it via e-mail.

    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

  7. #7

    Default

    If you can post the necessary profile changes, that would be very helpful.

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

    Default

    Trying changing the following in the "mpegts_transcoding" container:

    Code:
    		<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">
    			</format>
    		</audio>
            	<audio>
            		<format id="mp3" encode="0">
            		</format>
            	</audio>
            	<audio>
            		<format id="mp2" encode="0">
            		</format>
            	</audio>
    to read:

    Code:
    		<audio>
    			<format id="ac3" encode="0">
    			</format>
    		</audio>
    		<audio>
    			<format id="aac" encode="0">
    			</format>
    		</audio>
            	<audio>
            		<format id="mp3" encode="1" codec="libmp3lame" preferredtranscoded="1">
    				<channels>2</channels>
                                    <bitrate>320000</bitrate>
    				<maxbitrate>320000</maxbitrate>
    				<maxsamplingrate>48000</maxsamplingrate>
    				<minsamplingrate>11025</minsamplingrate>
    				<samplingrate>48000</samplingrate>
    				<samplingrate>44100</samplingrate>
    				<samplingrate>32000</samplingrate>
            		</format>
            	</audio>
            	<audio>
            		<format id="mp2" encode="0">
            		</format>
            	</audio>
    then save the file, restart the server and see if that helps.

    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

  9. #9

    Default

    No, that actually made things worse. Now the Sony displays no audio data and produces no sound.

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

    Default

    Maybe the TV doesn't support MP3 audio in an MPEG-TS. If you change it back (to AC3) and then remove the <channels>6</channels> (which should cause the audio to always be transcoded to stereo) - does it work?

    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

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
  •