Results 1 to 10 of 23

Thread: on the FLY AAC to DD AC3 re-encode

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default

    Quote Originally Posted by itsmydamnation View Post
    ok, i have re-encoded as 5.1 AC3 and tested and it works fine, ie i can choose DD as the optical output

    Code:
    ffmpeg version N-32348-g6dbac85, Copyright (c) 2000-2011 the FFmpeg developers
      built on Sep  6 2011 16:03:56 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. 16. 0 / 51. 16. 0
      libavcodec   53. 13. 0 / 53. 13. 0
      libavformat  53. 11. 0 / 53. 11. 0
      libavdevice  53.  3. 0 / 53.  3. 0
      libavfilter   2. 37. 0 /  2. 37. 0
      libswscale    2.  1. 0 /  2.  1. 0
      libpostproc  51.  2. 0 / 51.  2. 0
    [matroska,webm @ 003f8c80] Estimating duration from bitrate, this may be inaccurate
    
    Seems stream 0 codec frame rate differs from container frame rate: 47.95 (5000000/104271) -> 23.98 (24000/1001)
    Input #0, matroska,webm, from 'D:\TV shows\ghost in the shell\Ghost in the Shell S.A.C. 2nd GIG E01.mkv':
      Duration: 00:24:32.22, start: 0.000000, bitrate: 384 kb/s
        Stream #0.0: Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
        Stream #0.1: Audio: ac3, 44100 Hz, 5.1(side), s16, 384 kb/s (default)
    At least one output file must be specified
    
    
    ---> DB Level Info: 41, 100
    ---> Frame rate: 23.98
    ---> Aspect ratio: 16:9

    i know this is now in the wrong section and its also the weekend :P , but any word? ( if you guys work mon to fri, i'll just wait till tomorrow afternoon before bugging or anything )

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

    Default

    Yes, we only work Monday to Friday

    That file will be passed through natively using the "Samsung C" device profile. That same profile will remux 5.1 AAC in an MP4 container to AC3, so perhaps if the TV cannot play 5.1 AAC (it should play stereo AAC in MKV though), then we can recode 5.1 AAC to 5.1 AC3, while leaving 2-channel AAC untouched. Do you have any MKVs with stereo AAC to test?

    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

    Quote Originally Posted by Dennis View Post
    Yes, we only work Monday to Friday

    That file will be passed through natively using the "Samsung C" device profile. That same profile will remux 5.1 AAC in an MP4 container to AC3, so perhaps if the TV cannot play 5.1 AAC (it should play stereo AAC in MKV though), then we can recode 5.1 AAC to 5.1 AC3, while leaving 2-channel AAC untouched. Do you have any MKVs with stereo AAC to test?

    i will have to check when i get home, if i dont i will just hack up a two channel AAC video by re-encoding DD5.1/DTS/AAC5.1 down to 2 channel AAC. so long as its in an mkv container its very quick to put it all back together thanks to mkvtools. i think 2 channel AAC will play fine as the audio in the 5.1 channel AAC itself plays fine on the TV but will only output in 2 channel PCM over the TOSLINK.

  4. #4

    Default

    Code:
    ffmpeg version N-32348-g6dbac85, Copyright (c) 2000-2011 the FFmpeg developers
      built on Sep  6 2011 16:03:56 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. 16. 0 / 51. 16. 0
      libavcodec   53. 13. 0 / 53. 13. 0
      libavformat  53. 11. 0 / 53. 11. 0
      libavdevice  53.  3. 0 / 53.  3. 0
      libavfilter   2. 37. 0 /  2. 37. 0
      libswscale    2.  1. 0 /  2.  1. 0
      libpostproc  51.  2. 0 / 51.  2. 0
    [matroska,webm @ 003f8c60] Estimating duration from bitrate, this may be inaccurate
    Input #0, matroska,webm, from 'F:\videos\music\metallica-magnetic_tour_2009_live_at_arenes_de_nimes-x264-2009-pmv.mkv':
      Duration: 01:34:55.28, start: 0.000000, bitrate: 384 kb/s
        Stream #0.0(eng): Video: h264 (Main), yuv420p, 688x368 [SAR 203:211 DAR 8729:4853], SAR 184:191 DAR 344:191, 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
        Stream #0.1: Audio: ac3, 48000 Hz, stereo, s16, 384 kb/s (default)
    At least one output file must be specified
    
    
    ---> DB Level Info: 30, 77
    ---> Frame rate: 25.00
    ---> Aspect ratio: 344:191
    this gets converted to DD????

    whoops, my mistake.....lol... left me find something thats AAC not DD/ac3...lol


    edit:
    i had to create this myself, it plays as PCM only out the TOSLINK

    Code:
    ffmpeg version N-32348-g6dbac85, Copyright (c) 2000-2011 the FFmpeg developers
      built on Sep  6 2011 16:03:56 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. 16. 0 / 51. 16. 0
      libavcodec   53. 13. 0 / 53. 13. 0
      libavformat  53. 11. 0 / 53. 11. 0
      libavdevice  53.  3. 0 / 53.  3. 0
      libavfilter   2. 37. 0 /  2. 37. 0
      libswscale    2.  1. 0 /  2.  1. 0
      libpostproc  51.  2. 0 / 51.  2. 0
    [matroska,webm @ 003f8c60] max_analyze_duration 5000000 reached at 5040000
    [matroska,webm @ 003f8c60] Estimating duration from bitrate, this may be inaccurate
    Input #0, matroska,webm, from 'D:\TV shows\[OZC] Ghost in the Shell S.A.C. 2nd GIG E11 _Affection_ [Blu-Ray 1080p] (1).mkv':
      Duration: 00:24:31.27, start: 0.000000, bitrate: N/A
        Stream #0.0: Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
        Metadata:
          title           : Episode 11 - Affection
        Stream #0.1: Audio: aac, 48000 Hz, stereo, s16 (default)
        Stream #0.2: Attachment: ttf
        Metadata:
          filename        : Androgyne_TB.otf
        Stream #0.3: Attachment: ttf
        Metadata:
          filename        : BellGothicStd-Black.otf
        Stream #0.4: Attachment: ttf
        Metadata:
          filename        : BellGothicStd-Bold.otf
        Stream #0.5: Attachment: ttf
        Metadata:
          filename        : Brianne_s_hand.ttf
        Stream #0.6: Attachment: ttf
        Metadata:
          filename        : ITCKabelStd-Medium.otf
        Stream #0.7: Attachment: ttf
        Metadata:
          filename        : kkberktp.ttf
        Stream #0.8: Attachment: ttf
        Metadata:
          filename        : POORICH.TTF
        Stream #0.9: Attachment: ttf
        Metadata:
          filename        : Sony_Sketch_EF.ttf
        Stream #0.10: Attachment: ttf
        Metadata:
          filename        : X-SCALE.TTF
        Stream #0.11: Attachment: ttf
        Metadata:
          filename        : YOUTHAN_.ttf
        Stream #0.12: Attachment: ttf
        Metadata:
          filename        : YOUTHANI.ttf
        Stream #0.13: Attachment: ttf
        Metadata:
          filename        : YOUTTX__.ttf
    At least one output file must be specified
    
    
    ---> DB Level Info: 41, 100
    ---> Frame rate: 23.98
    ---> Aspect ratio: 16:9
    Last edited by itsmydamnation; 09-12-2011 at 08:32 PM.

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

    Default

    That file plays natively though, right? So, AAC stereo doesn't need to be converted and everything works as-is, or am I missing your point (sorry, if I do!)?

    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

    Default

    Quote Originally Posted by Dennis View Post
    That file plays natively though, right? So, AAC stereo doesn't need to be converted and everything works as-is, or am I missing your point (sorry, if I do!)?
    yep all files play fine natively. the "issue" is that the 5.1 aac isn't being converted to 5.1 DD/ac3, it appears the first file shown in this thread is being passed to my TV as something other then DD5.1 or DTS (i assume two channel PCM?) because of this i can only out put 2 channel PCM over my TOSLINK to my receiver not 5.1 channel DD or DTS.

    worse comes to worest i can alway re-encode just the audio to ac3 or DTS (major pain, only if bitrate is needed) and then remux the ac3 audio into the mkv but if mezzmo could handle this for me it would be so much better!

    cheers

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

    Default

    Ok, got it You mean this file: "D:\TV shows\ghost in the shell\S.A.C. 2nd GIG \ Ghost in the Shell S.A.C. 2nd GIG E01.mkv" ? We'll need to modify the device profile a bit for it to transcode 5.1 AAC to 5.1 AC3 (currently it's passing it through, so I guess your TV is downsampling it to stereo PCM). Are you comfortable editing the device profile, or would you prefer me to send you an updated one?

    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
  •