![]() |
|
AudioEngine branch - DO NOT REQUEST BINARY BUILDS - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Development (/forumdisplay.php?fid=32) +--- Forum: Development (/forumdisplay.php?fid=93) +--- Thread: AudioEngine branch - DO NOT REQUEST BINARY BUILDS (/showthread.php?tid=78289) Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
- Calvados - 2011-04-18 08:23 gnif Wrote:Yay, first time I have had another update before people replied to the thread It almost work - my receiver sees a TrueHD stream in 48Khz but with 1/0/0 as channel config (needless to say I hear nothing). I tried with my bluray of "the hangover". FYI, here is the log: 16:17:50 T:139707994793728 M:3942559744 INFO: ffmpeg[4D66E700]: Input #0, mpegts, from 'http://127.0.0.1:51000/stream/title3.m2ts': 16:17:50 T:139707994793728 M:3942559744 INFO: ffmpeg[4D66E700]: Duration: 01:47:53.50, start: 4198.000000, bitrate: 20658 kb/s 16:17:50 T:139707994793728 M:3942559744 INFO: ffmpeg[4D66E700]: Program 1 16:17:50 T:139707994793728 M:3942408192 INFO: ffmpeg[4D66E700]: Stream #0.0[0x1011]: Video: vc1, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc 16:17:50 T:139707994793728 M:3942535168 INFO: ffmpeg[4D66E700]: Stream #0.1[0x1100]: Audio: truehd, 48000 Hz, 6 channels, s32 16:17:50 T:139707994793728 M:3942535168 INFO: ffmpeg[4D66E700]: Stream #0.2[0x1100]: Audio: ac3, 48000 Hz, 5.1, s16, 640 kb/s .... 16:17:51 T:139707994793728 M:3927961600 NOTICE: Opening audio stream: 1 source: 256 16:17:51 T:139708005631744 M:3927961600 DEBUG: Thread CDVDPlayerVideo start, auto delete: 0 16:17:51 T:139707994793728 M:3927961600 NOTICE: Finding audio codec for: 86063 16:17:51 T:139708005631744 M:3927961600 DEBUG: LinuxRendererGL: Cleaning up GL resources 16:17:51 T:139707994793728 M:3927961600 DEBUG: FactoryCodec - Audio: passthrough - Opening 16:17:51 T:139708005631744 M:3927961600 NOTICE: running thread: video_thread 16:17:51 T:139707994793728 M:3927961600 DEBUG: FactoryCodec - Audio: passthrough - Opened 16:17:51 T:139707994793728 M:3927961600 DEBUG: CDVDPlayerAudio: Sample rate changed, checking for passthrough 16:17:51 T:139707994793728 M:3927961600 DEBUG: FactoryCodec - Audio: passthrough - Opening 16:17:51 T:139707994793728 M:3927961600 DEBUG: FactoryCodec - Audio: passthrough - Opened 16:17:51 T:139707994793728 M:3927961600 NOTICE: Creating audio thread 16:17:51 T:139707994793728 M:3927961600 NOTICE: Opening Subtitle stream: 3 source: 256 16:17:51 T:139708027250432 M:3927961600 DEBUG: Thread CDVDPlayerAudio start, auto delete: 0 16:17:51 T:139707994793728 M:3927961600 DEBUG: FactoryCodec - Overlay: FFmpeg Subtitle Decoder - Opening 16:17:51 T:139708027250432 M:3927961600 NOTICE: running thread: CDVDPlayerAudio::Process() 16:17:51 T:139708479068096 M:3927961600 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/ImageLib-x86_64-linux.so) 16:17:51 T:139708479068096 M:3927691264 DEBUG: Loading: /usr/lib/xbmc/system/ImageLib-x86_64-linux.so 16:17:51 T:139707994793728 M:3927793664 DEBUG: FactoryCodec - Overlay: FFmpeg Subtitle Decoder - Opened 16:17:51 T:139707994793728 M:3927793664 DEBUG: CDVDPlayer::SetCaching - caching state 2 16:17:51 T:139708005631744 M:3927793664 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE 16:17:51 T:139708027250432 M:3927793664 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_RESYNC(0.000000, 0) 16:17:51 T:139708027250432 M:3927793664 INFO: CAEStreamInfo::SyncMLP - TrueHD stream detected (48000Hz) 16:17:51 T:139708027250432 M:3927793664 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available 16:17:51 T:139708005631744 M:3927650304 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(0.000000, 1) 16:17:51 T:139708027250432 M:3927650304 DEBUG: CDVDPlayerAudio: Sample rate changed, checking for passthrough 16:17:51 T:139708005631744 M:3927650304 INFO: CDVDPlayerVideo - Stillframe left, switching to normal playback 16:17:51 T:139708027250432 M:3927752704 DEBUG: FactoryCodec - Audio: passthrough - Opening 16:17:51 T:139708027250432 M:3927752704 DEBUG: FactoryCodec - Audio: passthrough - Opened 16:17:51 T:139708027250432 M:3927752704 NOTICE: Creating audio stream (codec id: 86063, channels: 1, sample rate: 192000, pass-through) 16:17:51 T:139708027250432 M:3927752704 INFO: CSoftAE::GetStream - AE_FMT_RAW8, 192000, 1, RAW 16:17:51 T:139708005631744 M:3927371776 NOTICE: (VDPAU) screenWidth:1920 vidWidth:1920 16:17:51 T:139708005631744 M:3927371776 NOTICE: (VDPAU) screenHeight:1080 vidHeight:1080 16:17:51 T:139708027250432 M:3918057472 INFO: CSoftAE::OpenSink - RAW passthrough enabled 16:17:51 T:139708005631744 M:3911655424 NOTICE: (VDPAU) Total Output Surfaces Available: 2 of a max (tmp: 2 const: 4) 16:17:51 T:139708005631744 M:3911655424 NOTICE: (VDPAU) Creating the video mixer 16:17:51 T:139708005631744 M:3909365760 NOTICE: fps: 23.976024, pwidth: 1920, pheight: 1080, dwidth: 1920, dheight: 1080 16:17:51 T:139708005631744 M:3909365760 DEBUG: OutputPicture - change configuration. 1920x1080. framerate: 23.98. format: VDPAU 16:17:51 T:139708005631744 M:3909111808 NOTICE: Display resolution DESKTOP : 1920x1080 @ 50.00 - Full Screen (12) 16:17:51 T:139708479068096 M:3903496192 NOTICE: Using GL_TEXTURE_2D 16:17:51 T:139708479068096 M:3903369216 NOTICE: GL: Using VDPAU render method 16:17:51 T:139708479068096 M:3903369216 NOTICE: GL: NPOT texture support detected 16:17:51 T:139708479068096 M:3903369216 NOTICE: GL: Using GL_ARB_pixel_buffer_object 16:17:51 T:139707994793728 M:3903242240 DEBUG: CDVDPlayer::HandleMessages - player started 2 16:17:51 T:139708479068096 M:3901034496 DEBUG: Activating window ID: 12005 16:17:51 T:139708479068096 M:3900907520 DEBUG: ------ Window Deinit (MyVideoNav.xml) ------ 16:17:51 T:139708479068096 M:3900907520 DEBUG: ------ Window Init (VideoFullScreen.xml) ------ 16:17:51 T:139708479068096 M:3900780544 INFO: Loading skin file: VideoFullScreen.xml 16:17:51 T:139708479068096 M:3900653568 DEBUG: Load VideoFullScreen.xml: 1.26ms 16:17:51 T:139708479068096 M:3900653568 DEBUG: Alloc resources: 1.36ms (1.36 ms skin load) 16:17:51 T:139708479068096 M:3897069568 DEBUG: CAnnouncementManager - Announcement: PlaybackStarted from xbmc 16:17:51 T:139708027250432 M:3889541120 INFO: CSoftAE::Initialize - ALSA Initialized: 16:17:51 T:139708027250432 M:3889541120 INFO: Output Device : hdmi:AES0=0x06,AES1=0x82,AES2=0x00,AES3=0x0e 16:17:51 T:139708027250432 M:3889541120 INFO: Sample Rate : 192000 16:17:51 T:139708027250432 M:3889541120 INFO: Sample Format : AE_FMT_S16NE 16:17:51 T:139708027250432 M:3889541120 INFO: Channel Count : 8 16:17:51 T:139708027250432 M:3889541120 INFO: Channel Layout: FL,FR,BL,BR,FC,LFE,SL,SR 16:17:51 T:139708027250432 M:3889541120 INFO: Frames : 64 16:17:51 T:139708027250432 M:3889541120 INFO: Frame Samples : 512 16:17:51 T:139708027250432 M:3889541120 INFO: Frame Size : 16 16:17:51 T:139708027250432 M:3889541120 DEBUG: CDVDPlayerAudio:: synctype set to 0: clock feedback 16:17:51 T:139708479068096 M:3889467392 DEBUG: CGUIInfoManager::SetCurrentMovie(http://127.0.0.1:51000/stream/title3.m2ts) 16:17:51 T:139707994793728 M:3885780992 DEBUG: CDVDPlayer::HandleMessages - player started 1 16:17:51 T:139707994793728 M:3885780992 DEBUG: CDVDPlayer::SetCaching - caching state 3 16:17:51 T:139707994793728 M:3885527040 DEBUG: CDVDPlayer::SetCaching - caching state 0 16:17:51 T:139708027250432 M:3885527040 DEBUG: CDVDPlayerAudio:: Discontinuity - was:51.815000, should be:329588.006606, error:329536.191606 16:17:51 T:139708479068096 M:3885019136 DEBUG: ------ Window Deinit (DialogBusy.xml) ------ 16:17:52 T:139708005631744 M:3882004480 ERROR: Decode - avcodec_decode_video returned failure 16:17:52 T:139708005631744 M:3882004480 DEBUG: CDVDPlayerVideo - video decoder returned error 16:17:52 T:139708005631744 M:3881549824 ERROR: Decode - avcodec_decode_video returned failure 16:17:52 T:139708005631744 M:3881549824 DEBUG: CDVDPlayerVideo - video decoder returned error 16:17:57 T:139708005631744 M:3772104704 DEBUG: CPullupCorrection: detected pattern of length 1: 41708.33, frameduration: 41708.333333 - HeresJohnny - 2011-04-18 12:03 gnif Wrote: Not sure if this is in any way helpful: The "DVD-Audio Decoder" project on sourceforge has support for Dolby TrueHD since foo_input_dvda_0.4.1 and they also have a component which decodes DTS-HD/MA. - gnif - 2011-04-18 16:03 Hey, thanks for the info and the log... I will have a look at that, but we are a few tweaks away from having TrueHD working. Fixed a few crash issues, nothing major, and I now have access to my AVR again, so I can start testing/fixing the TrueHD code. Just for future reference, please dont paste logs in this thread, it just clutters it up, if you with to paste your log, go to "pasebin.ca" and paste it there, and link to your paste. - liquidskin76 - 2011-04-18 21:39 Hey gnif, Excellent work! Bring on DTS-HD! One thing... i'm getting the following build errors when trying to compile in dx release... ![]() Thanks - Calvados - 2011-04-19 04:59 Sorry about the log, I will remember that. Just to let you know that E-AC3 (DD+) pass-through doesn't work either, I get a 3/2/0 configuration, no sound (receiver says offset -31dB as well), and the video rendering/playback stutters coz it loses eac3 synch a lot. - Mrfingers - 2011-04-19 05:26 Awsome news! I hope all you devs know how much you are appreciated. - Mrfingers - 2011-04-19 05:28 Awsome news! Hope all you devs know how much you are appreciated. - Calvados - 2011-04-19 05:38 Tried your latest fix. Works perfectly on the 3 Bluray I tried (The Hangover, Benjamin Button, Rock'n'rolla) . FYI, changing the stream on the fly, make it to somehow send a TrueHD stream but with the 1/0/0 config, meaning no sound, but when starting from the beginning it works fine. Good work .
- gnif - 2011-04-19 06:31 wow! I only JUST pushed that fix in . I need some real TrueHD sources to verify the code is operating correctly, I only have a few 60 second samples at the moment.As for other formats... be patient, I am working on it, and I am aware E-AC3 doesn't work properly yet, it was never finished due to lack of time. - gnif - 2011-04-20 03:20 Ok, im confident TrueHD is working, fixed a sync issue with the audio, so if your playing with TrueHD support and notice poor lip sync, please pull the latest version. |