Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 45

Thread: mp4 with 5.1 AAC audio not playing on xbox 360

  1. #11
    Join Date
    Jan 2011
    Posts
    33

    Default

    Quote Originally Posted by Dennis View Post
    I'll be happy to tell you how to modify the XBox profile to transcode to AAC and you can test and see if it works for you or not.
    Yes please, I'm happy to test it!

    If it doesnt work, can we force Mezzmo to transcode everything to WMV by further editing the profile?

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

    Default

    Yes, we can force Mezzmo to transcode everything to WMV (of course it's the slowest transcoding format, so the experience won't be great, unless you've got a really fast CPU).

    To try, edit the MicrosoftXBox360.prf (in Notepad) and change:

    Code:
            <avcontainer id="mov,mp4,m4a,3gp,3g2,mj2" name="mp4_video" encode="0" mimetype="video/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">
                            	<channels>2</channels>
                            </format>
                    </audio>
            </avcontainer>
    to:

    Code:
            <avcontainer id="mov,mp4,m4a,3gp,3g2,mj2" name="h264aac" encode="1" mimetype="video/mp4" format="mp4" supportschunked="0" preferredtranscoded="1">
            		<video>
            			<format id="mpeg4" encode="0">
            			</format>
            		</video>
                    <video>
                            <format id="h264" encode="1" codec="libx264" preferredtranscoded="1">
                            	<maxbitrate>2000000</maxbitrate>
                                	<copyts>0</copyts>
                                	<samequality>0</samequality>
    	                        <framerate>30</framerate>
                                	<bitrate>1500000</bitrate>
                            </format>
                    </video>
                    <audio>
                            <format id="aac" encode="1" codec="aac" preferredtranscoded="1">
                            	<channels>2</channels>
    				<maxbitrate>160000</maxbitrate>
    				<bitrate>128000</bitrate>
    				<maxsamplingrate>44100</maxsamplingrate>
    				<minsamplingrate>22050</minsamplingrate>
                            </format>
                    </audio>
                    <ffmpegadditional>-threads 4 -coder 0 -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 0 -refs 4 -directpred 1 -trellis 0 -flags2 +bpyramid+mixed_refs-wpred+dct8x8+fastpskip -wpredp 2 -strict experimental</ffmpegadditional>
            </avcontainer>
    Also, change
    Code:
    preferredtranscoded="1"
    to be
    Code:
    preferredtranscoded="0"
    in the ASF container.

    After that save the file, restart the server and give it a try. I'd recommend enabling logging before that and then checking the transcoding log for any possible errors and such.

    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. #13
    Join Date
    Jan 2011
    Posts
    33

    Default

    ok tried that and now instead of just kicking me back to the "file browser" without error on the xbox it actually gives me an error that the format is not supported (69-C00D002F). Maybe that counts for something?

    Here is the Transcoder log:

    Code:
       1 - Jan 13 22:54:51.890 - ERROR> Transcoder: NO CURRENT CONTAINER! (1569)
       2 - Jan 13 22:54:51.890 - ERROR> Transcoder: NO CURRENT CONTAINER! (1569)
       3 - Jan 13 22:54:53.234 - TRANS> Input file: D:\Media\Video\Movies\Cars.h264.aac.mp4
       4 - Jan 13 22:54:53.234 -      > Transcoder: Executing: C:\Program Files\Conceiva\Mezzmo\ffmpeg.exe -i "D:\Media\Video\Movies\CARSH2~1.MP4" -y -vcodec copy -r 30  -vf "scale=640:478"  -acodec aac -ac 2  -ab 128000  -ar 48000  -sn  -f mp4  -threads 4 -coder 0 -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 0 -refs 4 -directpred 1 -trellis 0 -flags2 +bpyramid+mixed_refs-wpred+dct8x8+fastpskip -wpredp 2 -strict experimental  "C:\Documents and Settings\Administrator\Local Settings\Application Data\Conceiva\Mezzmo\TranscodingFiles\73DBA4DC-58B6-4754-857D-D35FA5E058D4\Video\308-h264aac-libx264-aac.mzt" 
       5 - Jan 13 22:54:53.234 -      > Ffmpeg --------------------------------------------------------------------
       6 - Jan 13 22:54:53.453 -      > Looks like transcoding started ok, let's wait for the actual file a bit...
       7 - Jan 13 22:54:53.453 -      > Transcoded file is ok, size is 48 bytes
       8 - Jan 13 22:54:53.468 - FFmpeg version SVN-r26071, Copyright (c) 2000-2010 the FFmpeg developers
      built on Dec 22 2010 10:30:32 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.35. 0 / 50.35. 0
      libavcore      0.16. 0 /  0.16. 0
      libavcodec    52.100. 0 / 52.100. 0
      libavformat   52.88. 0 / 52.88. 0
      libavdevice   52. 2. 2 / 52. 2. 2
      libavfilter    1.69. 0 /  1.69. 0
      libswscale     0.12. 0 /  0.12. 0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\Media\Video\Movies\CARSH2~1.MP4':
      Metadata:
        major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        creation_time   : 
        title           : Cars
        album           : CRZ0NNF1
        encoder         : Lavf52.78.4
      Duration: 01:56:30.77, start: 0.000000, bitrate: 1552 kb/s
        Stream #0.0(und): Video: h264, yuv420p, 640x478, 1099 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
        Metadata:
          creation_time   : ÿÿÿ
        Stream #0.1(und): Audio: aac, 48000 Hz, 5.1, s16, 447 kb/s
        Metadata:
          creation_time   : ÿÿÿ
    Output #0, mp4, to 'C:\Documents and Settings\Administrator\Local Settings\Application Data\Conceiva\Mezzmo\TranscodingFiles\73DBA4DC-58B6-4754-857D-D35FA5E058D4\Video\308-h264aac-libx264-aac.mzt':
      Metadata:
        major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        creation_time   : 
        title           : Cars
        album           : CRZ0NNF1
        encoder         : Lavf52.88.0
        Stream #0.0(und): Video: libx264, yuv420p, 640x478, q=2-31, 1099 kb/s, 24k tbn, 23.98 tbc
        Metadata:
          creation_time   : ÿÿÿ
        Stream #0.1(und): Audio: aac, 48000 Hz, 2 channels, s16, 128 kb/s
        Metadata:
          creation_time   : ÿÿÿ
    Stream mapping:
      Stream #0.0 -> #0.0
      Stream #0.1 -> #0.1
    Press [q] to stop encoding
    Resampling with input channels greater than 2 unsupported.
    Can not resample 6 channels @ 48000 Hz to 2 channels @ 48000 Hz
      11 - Jan 13 22:54:53.468 - 
    <MEZZMO>: Child process ended
      12 - Jan 13 22:54:53.687 -      > Transcoder: GetAudioVideoFileName: C:\Documents and Settings\Administrator\Local Settings\Application Data\Conceiva\Mezzmo\TranscodingFiles\73DBA4DC-58B6-4754-857D-D35FA5E058D4\Video\308-h264aac-libx264-aac.mzt ALREADY EXISTS!
      13 - Jan 13 22:54:53.718 -      > Transcoder: GetAudioVideoFileName: C:\Documents and Settings\Administrator\Local Settings\Application Data\Conceiva\Mezzmo\TranscodingFiles\73DBA4DC-58B6-4754-857D-D35FA5E058D4\Video\308-h264aac-libx264-aac.mzt ALREADY EXISTS!
    Looks like what you stated before, it cant transcode from 6 channels to 2?

    Resampling with input channels greater than 2 unsupported.
    Can not resample 6 channels @ 48000 Hz to 2 channels @ 48000 Hz
    Does this mean we are stuck transcoding to WMV?
    Last edited by rkneeshaw; 01-14-2011 at 02:58 PM.

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

    Default

    Hmm, what if you change that to:

    Code:
            <avcontainer id="mov,mp4,m4a,3gp,3g2,mj2" name="h264aac" encode="1" mimetype="video/mp4" format="mp4" supportschunked="0" preferredtranscoded="1">
            		<video>
            			<format id="mpeg4" encode="1" codec="mpeg4" preferredtranscoded="1">
                            	<maxbitrate>2000000</maxbitrate>
                                	<copyts>0</copyts>
                                	<samequality>0</samequality>
    	                        <framerate>30</framerate>
                                	<bitrate>1500000</bitrate>
            			</format>
            		</video>
                    <video>
                            <format id="h264" encode="0">
                            </format>
                    </video>
                    <audio>
                            <format id="aac" encode="1" codec="aac" preferredtranscoded="1">
                            	<channels>2</channels>
    				<maxbitrate>160000</maxbitrate>
    				<bitrate>128000</bitrate>
    				<maxsamplingrate>44100</maxsamplingrate>
    				<minsamplingrate>22050</minsamplingrate>
                            </format>
                    </audio>
                    <ffmpegadditional>-threads 4 -coder 0 -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 0 -refs 4 -directpred 1 -trellis 0 -flags2 +bpyramid+mixed_refs-wpred+dct8x8+fastpskip -wpredp 2 -strict experimental</ffmpegadditional>
            </avcontainer>
    Try that and see if it produces a playable result.

    If it still doesn't, I'll give it a try here later as well and see if I can make 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

  5. #15
    Join Date
    Jan 2011
    Posts
    33

    Default

    Ok this time it produced the same result but a new error code on the xbox: 69-807B0194

    Error in the transcoder log looks the same though:
    Code:
       1 - Jan 13 23:01:27.890 - TRANS> Input file: D:\Media\Video\Movies\Cars.h264.aac.mp4
       2 - Jan 13 23:01:27.890 -      > Transcoder: Executing: C:\Program Files\Conceiva\Mezzmo\ffmpeg.exe -i "D:\Media\Video\Movies\CARSH2~1.MP4" -y -vcodec mpeg4 -b 1500000 -maxrate 2000000 -bufsize 1000000  -r 30  -vf "scale=640:478"  -acodec aac -ac 2  -ab 128000  -ar 48000  -sn  -f mp4  -threads 4 -coder 0 -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 0 -refs 4 -directpred 1 -trellis 0 -flags2 +bpyramid+mixed_refs-wpred+dct8x8+fastpskip -wpredp 2 -strict experimental  "C:\Documents and Settings\Administrator\Local Settings\Application Data\Conceiva\Mezzmo\TranscodingFiles\73DBA4DC-58B6-4754-857D-D35FA5E058D4\Video\308-h264aac-mpeg4-aac.mzt" 
       3 - Jan 13 23:01:27.890 -      > Ffmpeg --------------------------------------------------------------------
       4 - Jan 13 23:01:28.140 -      > Looks like transcoding started ok, let's wait for the actual file a bit...
       5 - Jan 13 23:01:28.250 - FFmpeg version SVN-r26071, Copyright (c) 2000-2010 the FFmpeg developers
      built on Dec 22 2010 10:30:32 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.35. 0 / 50.35. 0
      libavcore      0.16. 0 /  0.16. 0
      libavcodec    52.100. 0 / 52.100. 0
      libavformat   52.88. 0 / 52.88. 0
      libavdevice   52. 2. 2 / 52. 2. 2
      libavfilter    1.69. 0 /  1.69. 0
      libswscale     0.12. 0 /  0.12. 0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\Media\Video\Movies\CARSH2~1.MP4':
      Metadata:
        major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        creation_time   : 
        title           : Cars
        album           : CRZ0NNF1
        encoder         : Lavf52.78.4
      Duration: 01:56:30.77, start: 0.000000, bitrate: 1552 kb/s
        Stream #0.0(und): Video: h264, yuv420p, 640x478, 1099 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
        Metadata:
          creation_time   : ÿÿÿ
        Stream #0.1(und): Audio: aac, 48000 Hz, 5.1, s16, 447 kb/s
        Metadata:
          creation_time   : ÿÿÿ
    [buffer @ 026ee110] w:640 h:478 pixfmt:yuv420p
    [scale @ 026ee3f0] w:640 h:478 fmt:yuv420p -> w:640 h:478 fmt:yuv420p flags:0x4
    Output #0, mp4, to 'C:\Documents and Settings\Administrator\Local Settings\Application Data\Conceiva\Mezzmo\TranscodingFiles\73DBA4DC-58B6-4754-857D-D35FA5E058D4\Video\308-h264aac-mpeg4-aac.mzt':
      Metadata:
        major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        creation_time   : 
        title           : Cars
        album           : CRZ0NNF1
        encoder         : Lavf52.88.0
        Stream #0.0(und): Video: mpeg4, yuv420p, 640x478, q=10-51, 1500 kb/s, 30 tbn, 30 tbc
        Metadata:
          creation_time   : ÿÿÿ
        Stream #0.1(und): Audio: aac, 48000 Hz, 2 channels, s16, 128 kb/s
        Metadata:
          creation_time   : ÿÿÿ
    Stream mapping:
      Stream #0.0 -> #0.0
      Stream #0.1 -> #0.1
    Press [q] to stop encoding
    Resampling with input channels greater than 2 unsupported.
    Can not resample 6 channels @ 48000 Hz to 2 channels @ 48000 Hz
       8 - Jan 13 23:01:28.250 - 
    <MEZZMO>: Child process ended
       9 - Jan 13 23:01:28.343 -      > Transcoded file is ok, size is 44 bytes
    EDIT: Looks like I got ya with the ninja edit You're fast!!

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

    Default

    Try this one:

    Code:
                            <format id="aac" encode="1" codec="aac" preferredtranscoded="1">
                            	<channels>2</channels>
                            	<channels>6</channels>
    				<maxbitrate>160000</maxbitrate>
    				<bitrate>128000</bitrate>
    				<maxsamplingrate>44100</maxsamplingrate>
    				<minsamplingrate>22050</minsamplingrate>
                            </format>
    (added 6 channels to AAC encoding basically)

    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. #17
    Join Date
    Jan 2011
    Posts
    33

    Default

    Check out this guy who had a similar problem:

    http://www.activeobjects.no/subsonic...?p=19555#19555

    Is it possible to somehow remove the "-ac 2" switch and see what happens?

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

    Default

    You can try running it manually by pasting the command line from the log into a DOS command prompt.

    Or adjust the profile as per my last post and that'll actually add "-ac 6" in case of 5.1 sound.

    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. #19
    Join Date
    Jan 2011
    Posts
    33

    Default

    Quote Originally Posted by Dennis View Post
    Try this one:

    Code:
                            <format id="aac" encode="1" codec="aac" preferredtranscoded="1">
                            	<channels>2</channels>
                            	<channels>6</channels>
    				<maxbitrate>160000</maxbitrate>
    				<bitrate>128000</bitrate>
    				<maxsamplingrate>44100</maxsamplingrate>
    				<minsamplingrate>22050</minsamplingrate>
                            </format>
    (added 6 channels to AAC encoding basically)
    No change, same error

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

    Default

    What do you get if you run this in your command prompt (from Mezzmo's installation folder):

    Code:
    ffmpeg.exe -i "D:\Media\Video\Movies\CARSH2~1.MP4" -y -vcodec mpeg4 -b 1500000 -maxrate 2000000 -bufsize 1000000  -r 30  -vf "scale=640:478"  -acodec aac -ac 6  -ab 128000  -ar 48000  -sn  -f mp4  -threads 4 -coder 0 -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 0 -refs 4 -directpred 1 -trellis 0 -flags2 +bpyramid+mixed_refs-wpred+dct8x8+fastpskip -wpredp 2 -strict experimental  "C:\Documents and Settings\Administrator\Local Settings\Application Data\Conceiva\Mezzmo\TranscodingFiles\73DBA4DC-58B6-4754-857D-D35FA5E058D4\Video\308-h264aac-mpeg4-aac.mzt"
    Is it the same error?

    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
  •