XBMC Community Forum
[WINDOWS][PATCH]Bitstream output of HD audio formats - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Development (/forumdisplay.php?fid=93)
+--- Thread: [WINDOWS][PATCH]Bitstream output of HD audio formats (/showthread.php?tid=121877)



RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - serieofilo - 2012-04-22 10:33

Umm ... I've tried to demux the video/audio of this file using 'ffmpeg.exe' and I get a similar error:

Code:
C:\> ffmpeg -i input.mp4 -vcodec copy out.h264 -acodec copy out.aac

FFmpeg version SVN-r25099, Copyright (c) 2000-2010 the FFmpeg developers
  built on Sep 11 2010 03:32:41 with gcc 4.4.2
  configuration: --extra-cflags=-I/usr/i686-mingw32/include/ --extra-ldflags=-L/
usr/i686-mingw32/lib/ --extra-cflags=-U__STRICT_ANSI__ --extra-cflags=-D_MT --en
able-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i586-mingw32msv
c- --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-w32threads
--enable-libmp3lame --enable-libvorbis --enable-libopencore_amrwb --enable-libo
pencore_amrnb --enable-libfaac --enable-avisynth --enable-static --disable-share
d --extra-libs=-lfaac
  libavutil     50.26. 0 / 50.26. 0
  libavcore      0. 9. 0 /  0. 9. 0
  libavcodec    52.88. 0 / 52.88. 0
  libavformat   52.78. 4 / 52.78. 4
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.38. 3 /  1.38. 3
  libswscale     0.11. 0 /  0.11. 0
Assertion failed: s->chapters[i]->start <= s->chapters[i+1]->start, file libavfo
rmat/utils.c, line 2119

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

So, I've downloaded the latest build of FFmpeg at http://ffmpeg.zeranoe.com/builds/ (git-9849515 - 2012-04-21) that includes libavformat 54.3.100 and bingo! I have two files (video + audio) separated. I'll try to remux using MKVToolnix to see if XBMC can use it.


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - DanielaE - 2012-04-22 10:38

(2012-04-21 22:14)Roman_V_M Wrote:  Here's Russian translation for the latest Eden including strings from HD audio build
Thanks a lot - merged to code base


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - DanielaE - 2012-04-22 10:51

(2012-04-22 01:05)serieofilo Wrote:  File: libavformat/utils.c
Line: 2195
Expression: s->chapters[i]->start<=s->chapters[i+1]->start
Congratulations - it looks like you've hit a strangely authored media file where a chapter starts after the next one.

Sorry, but discussing this is completely off-topic in this thread.


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - serieofilo - 2012-04-22 14:20

(2012-04-22 10:51)DanielaE Wrote:  Sorry, but discussing this is completely off-topic in this thread.

Sorry, you're right! I'll try to post into the right thread. Sorry for the inconvenience I've caused. If some moderator wants to delete these posts, please do it ...


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - golddk - 2012-04-24 10:45

All format using DirectSound is working but not Wasapi only old format is ok, have e-350.


April merge window stuff - DanielaE - 2012-04-27 19:28

This is the current state of XBMC development - a 12.0 alpha with all of the changes and additions from the april merge window - with may current HD audio patch on top of it:
XBMCSetup 12.0 alpha1 (april merge window) master+HD-Audio

Advisory notes:
  1. library and settings formats may have changed from Eden final. I recommend to run 12.0 alpha 1 separate from your everyday installation by means of portable mode (i.e. '-p' option applied)
  2. stability may be reduced due to alpha status. Use at your own risk. Don't kill me if your disk gets formatted.



RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - Venares - 2012-04-27 19:51

DanielaE, forgive me if this has been covered before.
Everything works great accept I seem to require around a -250ms delay on any bitstreamed audio.
Standard PCM/2channel sources play fine?

Is there some way to delay ONLY bitstreamed audio?

And thank you for such a wonderfull mod Big Grin


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - HeresJohnny - 2012-04-28 09:33

Holy XBMC, Batman! My disk got formatted and aliens ate my buick!


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - leghorn01 - 2012-04-28 19:09

(2012-04-28 09:33)HeresJohnny Wrote:  My disk got formatted and aliens ate my buick!
Now my rig is going hyperactive!Wink


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - Streamerke - 2012-04-28 21:41

Unfortunately this is not working at all for me...

I have an Onkyo TX-SR707 capable of every HD audio format and this was already proven with my Popcorn Hour player. I have played movies with DTS-HD MA and TrueHD.

Unfortunately when I enable the addtional settings supplied by the patch then I get a movie in slow motion and no sound as soon as I run a movie with TrueHD or DTS MA. At the bottom the error message "Failed to initialize audio device - Please check your settings".