Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Hardware & Software > Software players

Reply
 
Thread Tools Search this Thread Display Modes
Old 11th April 2009, 13:49   #41  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,401
Quote:
Originally Posted by Shadson View Post
I had a code for ejecting discs, so Eject button costs me 15 minutes. I spent already 2 hours with tries to implement volume control and will spent 2 more for finishing it and twice more in catching bugs. Do you feel the difference?


Quote:
If you need perfect out-of-the-box solution - you can always spent money for PowerDVD or WinDVD.
You are kidding alright. Come on!

Anyway, I conclude it must be terribly difficult to create independent buttons for the functions "pause" and "start playback"/"resume playback". Seriously now, I suspect your programming code is not fast enough to decide which track should be "chosen" under specific circumstances, which makes the player kill itself in order to escape from "anxiety".

Last edited by Midzuki; 11th April 2009 at 14:02.
Midzuki is offline   Reply With Quote
Old 11th April 2009, 14:20   #42  |  Link
Shadson
Registered User
 
Join Date: Mar 2009
Posts: 34
Quote:
Originally Posted by Midzuki View Post
Seriously now, I suspect your programming code is not fast enough to decide which track should be "chosen" under specific circumstances, which makes the player kill itself in order to escape from "anxiety".
There is no any connection between the code speed and the problem you have. You are the only man who says that PAUSE button crashes the player.

DOES ANYBODY ELSE HAVE SUCH PROBLEM?

I can't solve the problem I can't repeat. The problem can be in DVD-A disc, but according to your report it happens when player tries to release DirectShow graph. So, may be something wrong not with player but with your system. Try another disc, or try to give a link somehow to problematic disc.
Shadson is offline   Reply With Quote
Old 11th April 2009, 14:24   #43  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,423
I had the problem on the Seal "best of" DVD-A....there was some "fake" 1 sec. track between the 2 albums(original version/acoustic) that crashed your player instantly..

good point about the "Waveparser" mode + Reclock, I only tried the ffdshow mode...but Reclock has a prebuffer of 500ms that "eats up" the first half second of each track(you can disable it but then Reclock won't work in movies anymore), rather annoying..but I got bitperfect MME drivers so I'm cool

apparently KMixer on XP runs in 16/48, it's a real butchery! bypassing it is like you bought a new soundcard

on Vista it runs in 32float sumthing, still annoying but a lot less
leeperry is offline   Reply With Quote
Old 11th April 2009, 15:20   #44  |  Link
Shadson
Registered User
 
Join Date: Mar 2009
Posts: 34
Quote:
Originally Posted by leeperry View Post
I had the problem on the Seal "best of" DVD-A....there was some "fake" 1 sec. track between the 2 albums(original version/acoustic) that crashed your player instantly..
This is another bug (I have it also on Queen 'Night in Opera'), I will fix it in v0.4, the track seems to be too small for filling internal ShaPLAY's buffers. I didn't expect such small tracks

PS: Do you use ReClock for movies also? I don't think it is reasonable except you watching TrueHD/DTS-HD MA streams ...

Last edited by Shadson; 11th April 2009 at 15:25.
Shadson is offline   Reply With Quote
Old 11th April 2009, 16:35   #45  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,423
Quote:
Originally Posted by Shadson View Post
Do you use ReClock for movies also? I don't think it is reasonable
I personally don't think it's reasonable to watch movies w/o Reclock

You could complain about it resampling the audio, but you're prolly watching movies in DS at this point and KMixer does the exact same thing....just worse

Reclock resamples the audio to match an exact multiple of your video refresh rate(so you never get dropped/dupped video frames), then sends it in bit-perfect to your soundcard(WASAPI/KS)

you dunno you have a problem until you try it, it raises your standards up the roof smoothness-wise(especially in conjunction w/ Haali's Renderer in 24/48Hz)

looking forward to your next ShaPlay build

Last edited by leeperry; 11th April 2009 at 20:12.
leeperry is offline   Reply With Quote
Old 11th April 2009, 16:42   #46  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,401
Quote:
Originally Posted by Shadson View Post
There is no any connection between the code speed and the problem you have.
Given that you yourself said you're not a "senior programmer",
I will swallow the statement above with a grain of salt.

Quote:
I can't solve the problem I can't repeat.
Midzuki had written:

Quote:
The player autoplays the first track; I pause it before "time == 1.00 sec", then I press the button NEXT, and then Shaplay.exe shuts down.
Did you try to repeat it, at least?
It does appear the answer is NO, given that I had already said
I'm testing your AOB player on AUDIO_TS folders created by dvda-author on my HDD,
however you keep repeating:

Quote:
The problem can be in DVD-A disc,
And considering that the team behind the DVD-Audio Tools
IS made of "senior programmers", I prefer to believe their skills are more
solid than yours.

{
Sorry if this all sounds rude to your ears,
but I really can't help it.
}

Last edited by Midzuki; 11th April 2009 at 17:02.
Midzuki is offline   Reply With Quote
Old 11th April 2009, 17:08   #47  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,401
I'm quitting this thread.
Midzuki is offline   Reply With Quote
Old 11th April 2009, 19:56   #48  |  Link
Shadson
Registered User
 
Join Date: Mar 2009
Posts: 34
Quote:
Originally Posted by Midzuki View Post
I'm quitting this thread.
You are too expressive, man. Take it easy...
It seems that I found the possible reason for your crash. Well, if you still with us, which CPU you use and how many RAM? It matters

Quote:
Originally Posted by leeperry
but Reclock has a prebuffer of 500ms that "eats up" the first half second of each track
If I will add 500 ms of silence (switchable option!) at the beginning of track, does it help?

PS: I tried to write a small application for playing DVD-A, and now I feel as Microsoft that has to fix all the bugs in big software

Last edited by Shadson; 11th April 2009 at 20:22.
Shadson is offline   Reply With Quote
Old 11th April 2009, 20:10   #49  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,423
in my experience, no matter how much silence I add in front of audio tracks...Reclock still glitches

and anyway, I'm cool w/ my bitperfect MME drivers...thanks for your help!

usually ppl who only wanna go bit-perfect have tricks in their pockets(DirectWire drivers on the AudioTrak cards so they can internally route DS/MME to ASIO, etc)

I guess ASIO output would be too complicated as well? I'm not sure it'd work through a regular DS graph..
leeperry is offline   Reply With Quote
Old 11th April 2009, 20:25   #50  |  Link
Shadson
Registered User
 
Join Date: Mar 2009
Posts: 34
Quote:
Originally Posted by leeperry View Post
I guess ASIO output would be too complicated as well? I'm not sure it'd work through a regular DS graph..
May be it will be your homework?
Try to find in web how ASIO can be implemented in DirectShow graph and how I can implement it.
Shadson is offline   Reply With Quote
Old 11th April 2009, 20:58   #51  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,423
hah, that's the EZ part

http://www.steinberg.net/en/company/.../asio_sdk.html (need to register)

Quote:
The Steinberg ASIO Software Development Kit can be used freely subject to certain licensing conditions, by anyone interested in developing ASIO drivers, or to extend an application so that it's capable of hosting an ASIO driver.
Code:
ASIO 2.2 SDK Contents
---------------------

readme.txt                   - this file
changes.txt                  - contains change information between
                               SDK releases
ASIO SDK 2.2.pdf             - ASIO SDK 2.2 specification
ASIO Licensing Agreement.rtf - Licencing Agreement
mac.sea.hqx                  - Macintosh CodeWarrior Pro 5 Projects
                               After de-Binhexing and Unstuffing the
                               mac folder should be on this same directory level

common:
asio.h                 - ASIO C definition
iasiodrv.h             - interface definition for the ASIO driver class
asio.cpp               - asio host interface (not used on Mac)
asiodrvr.h
asiodrvr.cpp           - ASIO driver class base definition
combase.h
combase.cpp            - COM base definitions (PC only)
dllentry.cpp           - DLL functions (PC only)
register.cpp           - driver self registration functionality
wxdebug.h
debugmessage.cpp       - some debugging help

host:
asiodrivers.h
asiodrivers.cpp         - ASIO driver managment (enumeration and instantiation)
ASIOConvertSamples.h
ASIOConvertSamples.cpp  - sample data format conversion class
ginclude.h              - platform specific definitions

host/mac:
asioshlib.cpp          - asio.cpp for the Mac, resolves the symbols
codefragments.hpp
codefragments.cpp      - code fragment loader

host/pc:
asiolist.h
asiolist.cpp           - instantiates an ASIO driver via the COM model

host/sample:
hostsample.cpp         - a simple console app which shows ASIO hosting
hostsample.dsp         - MSVC++ 5.0 project
hostsample.vcproj      - Visual Studio 2005 project (32 and 64 bit targets)

driver/asiosample:
asiosmpl.h
asiosmpl.cpp           - ASIO 2.0 sample driver
wintimer.cpp           - bufferSwitch() wakeup thread (Windows)
asiosample.def         - Windows DLL module export definition
mactimer.cpp           - bufferSwitch() wakeup thread (Macintosh)
macnanosecs.cpp        - Macintosh system reference time
makesamp.cpp           - Macintosh driver object instantiation

driver/asiosample/asiosample:
asiosample.dsp         - MSVC++ 5.0 project
asiosample.vcproj      - Visual Studio 2005 project (32 and 64 bit targets)
leeperry is offline   Reply With Quote
Old 12th April 2009, 15:53   #52  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,401
A "junior programmer", or a TROLL ???

Shadson PMed:

Quote:
PS: Design is terrible, but it will not be changed. Read the readme file (about Stage2 at the end). It will be your chance to create superb interface
OK. An "enhanced" Audio-CD player which refuses to work properly on a "too-old" Pentium 4, and only because its creator regards design flaws as "unique features", really does not deserve my attention anymore.

Quote:
Originally Posted by Midzuki:

Well, when I click on the PAUSE button, and then click NEXT or PREVIOUS, the playback mode "inevitably" returns <-- I see this as a design flaw.

"It's not a bug, it's a feature..."
From my point of view it is not logical to keep PAUSE mode
if you try to go to next track.
Quote:
I was able to repeat situation you described but only on slowest from my work/home/htpc machines.
Your PC is fast enough for processing ShaPLAY's code, but not too fast to process DirectShow subsystem at the same time. Or may be too less memory, don't know exactly. When you press NEXT or PREV - ShaPLAY sends the message to Windows' DirectShow for closing the graph. Windows trys to do it, but got too less resources and ShaPLAY destroys variables before all of them were cleared by DirectShow subsystem. It's is not possible to check was DS closed properly or not, so all I did - just added "Sleep(50ms)" before destroing the variables. It is enough for DirectShow for doing all the things it needs for finishing. May be for your PC it will not be enough and I have to call sleep for 100 or 150 ms.
Obviously you still have something to learn:
how to write efficient code.

Last edited by Midzuki; 12th April 2009 at 17:54.
Midzuki is offline   Reply With Quote
Old 13th April 2009, 18:25   #53  |  Link
Shadson
Registered User
 
Join Date: Mar 2009
Posts: 34
Hi all,
New version 0.4a is released. The changes log is _HUGE_.
Shadson is offline   Reply With Quote
Old 13th April 2009, 19:33   #54  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,423
looks good! I'll try it ASAP.
leeperry is offline   Reply With Quote
Old 13th April 2009, 23:23   #55  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,401
At last! ^_^

After all, it was not that difficult, eh?

Just three more things for receiving the "Nihil Obstat":

--> a seeking bar

--> Keyboard shortcuts

{
CTRL + O
CTRL + Left Arrow
ALT + Left Arrow
ALT + Right Arrow
CTRL + Right Arrow
CTRL + Space
CTRL + Q
SHIFT + E
}

--> remove the string "(C)2009 Shadson" from the caption of the initial window.
Credits should be displayed in a separate message box,
duly called via an ABOUT button.

BTW, what the devil is a "remote" ?




Last edited by Midzuki; 14th April 2009 at 12:25.
Midzuki is offline   Reply With Quote
Old 14th April 2009, 06:40   #56  |  Link
Loul
Registered User
 
Join Date: Dec 2002
Location: Paris, France
Posts: 37
I wanted to post to express my appreciation to Shadson and tell Midzuki to somewhat behave since I felt he was way too harsh in this thread, but well, things are improving in this matter !

Tried to play without tweaking a very old ffdshow version installed and it worked despite a somewhat agressive sound (I guess it might be due to resampling).
I have just installed the latest SVN ffdshow version to compare.

Anyway thanks for your effort Shadson. Keep up the good work !
Loul is offline   Reply With Quote
Old 14th April 2009, 12:19   #57  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,401
Quote:
Originally Posted by Loul View Post
I wanted to post to express my appreciation to Shadson and tell Midzuki to somewhat behave since I felt he was way too harsh in this thread, but well, things are improving in this matter !
Please! The spoiled kid really was asking for some "discipline"
Anyway, the "strategy" did work --- or not ?
Midzuki is offline   Reply With Quote
Old 14th April 2009, 16:16   #58  |  Link
SeeMoreDigital
Life looks better in HD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,209
Quote:
Originally Posted by Midzuki View Post
Please! The spoiled kid really was asking for some "discipline"
Anyway, the "strategy" did work --- or not ?
With respect Midzuki, your attitude toward Shadson is indeed disrespectful (refer to rule 4).

And if you're into grammatical errors, the word is "spoilt" not "spoiled"....

Many thanks Shadson for your outstanding work
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 14th April 2009, 16:41   #59  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,423
Quote:
Originally Posted by SeeMoreDigital View Post
if you're into grammatical errors, the word is "spoilt" not "spoiled"
http://uk.answers.yahoo.com/question...8124921AAWYEyM
Quote:
Spoilt is typical of UK that is why most people from US would even say there isn't such a word. If in US - go for spoiled, if in UK - spoilt is perfectly correct.
like color/colour, flavor, flat/apartment, first floor/ground floor..."spoiled" IS english ?!
leeperry is offline   Reply With Quote
Old 14th April 2009, 18:39   #60  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,401
Quote:
Originally Posted by SeeMoreDigital View Post
With respect Midzuki, your attitude toward Shadson is indeed disrespectful
Well, I will not dare to deny that.

On the other hand, you will NOT convince me that it wasn't necessary.

*** Please read the entire thread again ***

Have a nice day.

Last edited by Midzuki; 14th April 2009 at 18:43.
Midzuki is offline   Reply With Quote
Reply

Tags
dvd-audio

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:15.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.