Open unclebrr opened 8 years ago
I recommended
to try to use DART mode not UNIAUD by specifying '-audio dart', and try to use DIVE mode by specifying '-video dive'.
And your reply was
Tried. WPS hangs are away, but all other is the same. Volume control is uniaud-only and audio-players (and KMP too) do not change volume. UPD. Hmmm... it plays youtube's mp4s (aac) normally but gives no sound with avis (ac3). So I hasn't been quite correct.
'All other is same' means that
right ?
Instead, use master volume with Volume on WPS. Later, there is need to use soft volume to avoid this.
OK. Two questions: -Why do other audio-players (f.x. PM123, Qu/2, z!) work nice with this version of Uniaud? -Why nothing works AFTER using KMP? I've attached the Uniaud report in my mail. You can see that all controls are well-known and working. PMUnimixer works fine switching outs etc.. RTL883-chip is well-known and has been in production over 9 years. Do you really think the problem is in Uniaud?
G:\Download>E:\APPM\WarpVision\kmp.exe -audio dart -video dive G:\Download\Asia-Fantasia-Live.In.Tokyo.200 CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 SwScaler CPUflags : MMX MMX2 KMP v0.7.2(ffplay N-37509-g11675cf) Copyright (c) 2007-2012 KO Myung-Hun Playing file : G:\Download\Asia-Fantasia-Live.In.Tokyo.2007.BDRip.XviD.AC3.-HQ-ViDEO.avi [1/1] Input #0, avi, from 'G:\Download\Asia-Fantasia-Live.In.Tokyo.2007.BDRip.XviD.AC3.-HQ-ViDEO.avi': Metadata: encoder : VirtualDubMod 1.5.10.2 (build 2540/release) title : Asia / Fantasia - Live in Tokyo (2007) artist : SENATOR (BDRip 720) copyright : HQ-ViDEO (www.hq-video.ru) comment : 14.08.2009 Duration: 01:54:56.81, start: 0.000000, bitrate: 2719 kb/s Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x400 [SAR 1:1 DAR 9:5], SAR 80:81 DAR 16:9, 23.98 tbr, 23.98 tbn, 23.98 tbc Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), s16, 448 kb/s [swscaler @ 0x23ddc40] using unscaled yuv420p -> bgra special converter [swscaler @ 0x26240e0] using unscaled yuv420p -> bgra special converterB f=0/0 DART error(15ed):Insufficient buffer size specified.
What can you say? Another Uniaud bug?
Two questions: -Why do other audio-players (f.x. PM123, Qu/2, z!) work nice with this version of Uniaud?
Because they use DART only. Can they control volumes ? But cannot KMP ?
-Why nothing works AFTER using KMP?
If you run KMP without specifying audio mode, then KMP try to use UNIAUD mode first. Currently, uniaud APIs of Uniaud device driver are buggy. So after uniaud APIs are used, Uniaud device driver does not work even on DART.
You'd better to use KMP with DART mode only. Do not use UNIAUD mode.
I've attached the Uniaud report in my mail. You can see that all controls are well-known and working. PMUnimixer works fine switching outs etc.. RTL883-chip is well-known and has been in production over 9 years. Do you really think the problem is in Uniaud?
What is this for ? Volume control ? Or...
DART error(15ed):Insufficient buffer size specified.
Maybe, did you run KMP with UNIAUD mode, and then run again with DART mode ?
Do not use UNIAUD mode.
No. I've run KPM in DART mode only and get this message. (///)
G:\Download>ffplay Asia-Fantasia-Live.In.Tokyo.2007.BDRip.XviD.AC3.-HQ-ViDEO.avi ffplay version 2.1.5 Copyright (c) 2003-2014 the FFmpeg developers built on Sep 10 2014 16:08:41 with gcc 4.4.6 (GCC) configuration: --cxx=g++ --prefix=/ffmpeg --disable-debug --samples=/fate/fate-suite --extra-ldflags=-Zhigh-mem --extra-cflags=-D_GNU_SOURCE --enable-gpl --enable-version3 --enable-libxvid --enable-libx264 --enable-libmp3lame --enable-postproc --enable-runtime-cpudetect --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libspeex --enable-libopus --cpu=i486 --extra-libs= --extra-cxxflags=-D_GNU_SOURCE libavutil 52. 48.101 / 52. 48.101 libavcodec 55. 39.101 / 55. 39.101 libavformat 55. 19.104 / 55. 19.104 libavdevice 55. 5.100 / 55. 5.100 libavfilter 3. 90.100 / 3. 90.100 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 17.104 / 0. 17.104 libpostproc 52. 3.100 / 52. 3.100 Input #0, avi, from 'Asia-Fantasia-Live.In.Tokyo.2007.BDRip.XviD.AC3.-HQ-ViDEO.avi': Metadata: encoder : VirtualDubMod 1.5.10.2 (build 2540/release) title : Asia / Fantasia - Live in Tokyo (2007)f=0/0 artist : SENATOR (BDRip 720) copyright : HQ-ViDEO (www.hq-video.ru) comment : 14.08.2009 Duration: 01:54:56.81, start: 0.000000, bitrate: 2719 kb/s Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x400 [SAR 1:1 DAR 9:5], 2259 kb/s, SAR 80:81 DAR 16:9, 23.98 tbr, 23.98 tbn, 23.98 tbc Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 448 kb/s
G:\Download>E:\APPM\WarpVision\kmp.exe -audio dart -video dive G:\Download\Asia-Fantasia-Live.In.Tokyo.200 CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 SwScaler CPUflags : MMX MMX2 KMP v0.7.2(ffplay N-37509-g11675cf) Copyright (c) 2007-2012 KO Myung-Hun Playing file : G:\Download\Asia-Fantasia-Live.In.Tokyo.2007.BDRip.XviD.AC3.-HQ-ViDEO.avi [1/1] Input #0, avi, from 'G:\Download\Asia-Fantasia-Live.In.Tokyo.2007.BDRip.XviD.AC3.-HQ-ViDEO.avi': Metadata: encoder : VirtualDubMod 1.5.10.2 (build 2540/release) title : Asia / Fantasia - Live in Tokyo (2007) artist : SENATOR (BDRip 720) copyright : HQ-ViDEO (www.hq-video.ru) comment : 14.08.2009 Duration: 01:54:56.81, start: 0.000000, bitrate: 2719 kb/s Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x400 [SAR 1:1 DAR 9:5], SAR 80:81 DAR 16:9, 23.98 tbr, 23.98 tbn, 23.98 tbc Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), s16, 448 kb/s
DART error(1138e):Hardware error. Cannot open audio [swscaler @ 0x2396da0] using unscaled yuv420p -> bgra special converter [swscaler @ 0x25a15a0] using unscaled yuv420p -> bgra special converter
sorry for THE BIG letters - I really don't know where git takes these tags...
No problem.
This problem is for other videos, too ?
How about trying to enlarge audio buffers with -audiobufsize ? Default is 8192 for 2ch and 16bits audio.
Finally, would you mind providing a clip to me ?
Yes, I've tried -audiobufsize 16384 - did not change anything. This is not a clip - this is full concert (3Gb), but I can try to cut meg or two :) I'll also look for the smaller one and put it on share. Can you check differrence in latest ffplay and kmp? or maybe upgrade kmp? because ffplay as you can se does its work well.
I've confirmed. This is a problem of a number of channels. DART implementation of uniaud driver seems not to support 5.1 ch. Try
SET KAI_AUDIO_CHANNELS=2
Hello KO, Thanks for your efforts! Sorry, I am not able to check it right now, 'cause I have no system installed here. I promise to do it later. Anyway, somebody at the channel can do it.
wbr,brr
On Thu, 07 Jan 2016 17:22:28 -0800 KO Myung-Hun notifications@github.com wrote:
I've confirmed. This is a problem of a number of channels. DART implementation of uniaud driver seems not to support 5.1 ch. Try
SET KAI_AUDIO_CHANNELS=2
Reply to this email directly or view it on GitHub: https://github.com/komh/kmp/issues/5#issuecomment-169860128
Professional hosting for everyone - http://www.host.ru
Any result ?
Sorry KO, have no OS/2 right now. Will install in VB and check later. Thanks for your efforts.
On Mon, 18 Jan 2016 22:05:06 -0800 KO Myung-Hun notifications@github.com wrote:
Any result ?
Reply to this email directly or view it on GitHub: https://github.com/komh/kmp/issues/5#issuecomment-172750310
Professional hosting for everyone - http://www.host.ru
problem.zip Short explanation of the problem (also see attached zip with logs etc). After years under ACP2/OS4/p6, I have a fresh install of eCS 2.2 on ICH8/iQuad. The problem is with playing video. After systemstart the audiocard initializes normally, all controls are shown and almost all are working. AUDIO-players (PM123, Qu2) give good sound which can be changed from programm's interfaces. NEW KMP is showing video with sound, but volume control is NOT working. After video is finished WPS hangs, but the process could be killed by CADH. But after this audio-players give no sound and hang (Qu2) and give message "Not enough audio-buffers" (PM123). KMP works and hangs. I've tried a lot of drivers and players - all the same, best variant is with latest KMP, all older give "DART error(15ed):Insufficient buffer size specified".