Show Posts
|
|
Pages: [1] 2 3
|
|
1
|
Developments / BASS / Re: BASS_DSHOW Video Library
|
on: 27 Jun '12 - 21:07
|
Here it is
Thanks, I looked into the code and saw nothing strange. Is it possible for you to change this demo a little bit, and put panel2 on a separate form (e.g. form 2)? I can then drag that form to the second monitor.
|
Reply
Quote
|
|
|
4
|
Developments / BASS / Re: BASS_DSHOW Video Library
|
on: 2 May '12 - 17:16
|
 HELP! Is anybody using DSHOW? And does pausing and SetPosition work correct? (Meaning you can set the position without playing starting on its own) Please! Anybody?  I;m sorry but i can;t reproduce the problem.
I'm sorry, but what's not to reproduce? I tested with a simple test application with one small form and only this code: ------- Imports Un4seen.Bass Imports System.Net Public Class Form1 BASS_PluginLoad("bass_dshow.dll") BassDShow.BASS_DSHOW_Init(FrmMain.MyPicturebox1.Handle, _ AddOn.DShow.BASSDSHOWInit.BASS_DSHOW_Default) Dim testvideo As Integer Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click testvideo = BASS_StreamCreateFile("c:\test.flv", 0, 0, BASSFlag.BASS_SPEAKER_PAIR1) BassDShow.BASS_DSHOW_ChannelSetWindow(testvideo, MyPicturebox1.Handle, 1) End Sub Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click BASS_ChannelPlay(testvideo, False) End Sub Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click BASS_ChannelPause(testvideo) End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click BASS_ChannelSetPosition(testvideo, 1) End Sub End Class ----------------------------------------------------------------- If I run the video and pause it, the video starts playing when I press Button 2. Why???
|
Reply
Quote
|
|
|
5
|
Developments / BASS / Re: BASS_DSHOW Video Library
|
on: 2 Apr '12 - 20:08
|
Thanks Ionut for the quick reply, It's still the same though. I can pause, but as soon as I ChannelSetPosition the track starts playing again. <EDIT> Can anybody confirm this issue? I can't continue my work until this is fixed :-(  HELP! Is anybody using DSHOW? And does pausing and SetPosition work correct? (Meaning you can set the position without playing starting on its own) Please! 
|
Reply
Quote
|
|
|
6
|
Developments / BASS / In desperate need of a vb.net example
|
on: 7 Mar '12 - 15:00
|
|
Hello all,
I've asked this a few times before, but I am in desperate need of an example of how to play a video in vb.net. The simpler the better. Just so it is clear how to load bass_dshow, initialize and start a video.
It's hard to keep track with all these changes. Should I 'import', should I 'pluginload', should I start the video with the bass streamcreate or should I use dshow streamcreate?
Anybody? Please?
|
Reply
Quote
|
|
|
7
|
Developments / BASS / Re: BASS.NET API 2.4.8.0
|
on: 24 Nov '11 - 10:34
|
|
Hi Bernd,
Thank you for implementing DSHOW.
Could you please help me get started?
I use the latest version of bass.Net and I load xvideo as a plugin.
But I can't seem to find any namespace for Xvideo? Do I also need to import something else?
(I need to set the video output panel).
Thanks!
|
Reply
Quote
|
|
|
8
|
Developments / BASS / Re: HDMI TV - Windows7 - Switch TV Off/On lose sound
|
on: 31 Mar '11 - 13:38
|
|
Thank you very much,
I thought I tried monitoring the WM_DEVICECHANGE but didn't see a change. I Will have another look at it though, as it seems to be working for you. I Must have been looking at the wrong device.
Although it's not the neatest way, I even wouldn't mind restarting the app after a DEVICECHANGE event. Everything better than just freezing.
Thanks, and of course I'll let you know if I find something to work with.
|
Reply
Quote
|
|
|
9
|
Developments / BASS / Re: HDMI TV - Windows7 - Switch TV Off/On lose sound
|
on: 30 Mar '11 - 21:55
|
As a side note, I also have another HDMI TV (LG, but older make) and when I turn the TV Off the output disappears from the output list. This situation is fine for me as I am able to handle this scenario in the code.
Can I ask you how you handle this in code? Because I am struggling with this issue a long time and don't know what to do about it. My complete program always freezes if someone turns on/off a tv. AFAIK the problem is with WIN messing up the display settings when attaching/de-attaching/turning on/off a display.
|
Reply
Quote
|
|
|
10
|
Developments / BASS / Process audio from live output possible?
|
on: 24 Mar '11 - 09:40
|
|
Hello,
Is there a way to catch/redirect the audio from a soundcard output and apply dynamic gain to it before outputting it?
The reason: I now have bass for audiofile processing and directx for videofile processing. But I need to have both on the same audio-level.
|
Reply
Quote
|
|
|
11
|
Developments / BASS / Re: BASS_DSHOW
|
on: 19 Mar '11 - 19:43
|
+1 @Quickmic: I decided to abandon DSHOW. I am in the early stage of implementing directx audiovideoplayback. Is there a reason for you to choose VLC over the standard directx? Maybe I should search in that direction then too. The biggest problem I have is the lack of audio normalizing in videos. With BASS, and if we had a working version of DSHOW, I could use dynamic gain to normalize (sortoff). I am not aware of any tool that can normalize videos without demuxing and re-encoding. @Sharky
I don't wanna stress you up but do you have a aproximate timeline for bass_Dshow? My impression is, that bass_Dshow is almost stopped. Only Xvideo is in development.... Is there a possibility to a get an almost working bass_DShow (as bass-plugin with decoded support) in the next weeks or 1-3 month, or do you say forget it. Next half a year or longer is nothing ready. ... You know the stories of video-plugins... (bassvideo.dll from kenshin1101) ... and DShow almost remembers me more and more to this. So my state is.... I try to implement VLC as good as possible to my project or I use DShow. Much more perfect will be yours dShow but if there is no light at the end of the tunnel, I will start implementing VLC as soon as possible.
|
Reply
Quote
|
|
|
13
|
Developments / BASS / Re: BASS_DSHOW
|
on: 1 Mar '11 - 18:01
|
Well I still have problems with basic playback. I get "AccessViolation" error: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. I start the video simply like this: private void PlayVideo() { Bass.BASS_ChannelStop(videostream); Bass.BASS_StreamFree(videostream); videostream = Bass.BASS_StreamCreateFile(_file, 0, 0, BASSFlag.BASS_DEFAULT); BassDShow.BASS_DSHOW_ChannelSetWindow(videostream, _videoPic.Handle); Bass.BASS_ChannelPlay(videostream, false); }
Init is like this: if (Bass.BASS_Init(-1, 44100, BASSInit.BASS_DEVICE_DEFAULT, IntPtr.Zero)) { Bass.BASS_PluginLoad("BASS_DSHOW.dll"); BassDShow.BASS_DSHOW_Init(IntPtr.Zero); }
First run works fine, but when I run "PlayVideo()" a second time I get the error on BASS_StreamFree. Same error on BASS_Free. Pretty impossible to use DShow like this. DShow 2.4.2 Bass 2.4.7.1 Bass.NET 2.4.7.2 (yes it's a C# app) I have the same problem with 2.4.2. The only thing that helps is using a 2.4.1 .X version. Although you get a lot of other issues then. Sharky says he's working on it, but I guess that will be after he finishes his "volume per device" project 
|
Reply
Quote
|
|
|
14
|
Developments / BASS / Re: BASS_DSHOW
|
on: 19 Feb '11 - 17:58
|
A 2.4.1 version should work well.
Have a download link for it? Edit: Found it. I have now 2.4.1.17 and it works again. One more question: Video's sometimes start and sometimes they don't. If I click a few times they eventually start. Any idea what causes this behaviour? And the same video is sometimes in sync and sometimes it's not.
|
Reply
Quote
|
|
|
15
|
Developments / BASS / Re: BASS_DSHOW
|
on: 19 Feb '11 - 12:15
|
I know about those bugs, there were present in the old BASS_DSHOW. What i want to ask you,users, that to be patient. Now i'm trying with Ian to fix all the bugs so that you have finnaly the disired video library
Regards, Ionut
Great to hear that Ian is involved in this. As you can see by the times this thread has been viewed there really, REALLY, is a need for a video plugin. I mean, it's 2011, and everything is about multimedia these days. As for me, sorry for my impatience, but I promised a friend of mine, he's a dj, that I would add video in 2010. I hate to break promises. Please keep up the good work. It's highly appreciated by many people. As for now, can someone please point me to the best BASS_DSHOW version so far, so I can at least get simply playing a video working? And is it possible to download older versions somewhere?
|
Reply
Quote
|
|
|
16
|
Developments / BASS / Re: BASS_DSHOW
|
on: 18 Feb '11 - 22:40
|
Sharky, anybody?
I am back to using DSHOW instead, but I still get this error. What does this mean? It occurs everytime I try to use BASS_DSHOW_StreamFree or Bass.BASS_StreamFree
--------------------- HEAP: Invalid Address specified to RtlFreeHeap( 055E0000, 003C9670 ) Windows has triggered a breakpoint.
This may be due to a corruption of the heap, which indicates a bug in the application or any of the DLLs it has loaded. This may also be due to the user pressing F12 while the application has focus. The output window may have more diagnostic information. ----------------------
BUMP
|
Reply
Quote
|
|
|
17
|
Developments / BASS / Re: BASS_DSHOW
|
on: 15 Feb '11 - 20:22
|
|
Sharky, anybody?
I am back to using DSHOW instead, but I still get this error. What does this mean? It occurs everytime I try to use BASS_DSHOW_StreamFree or Bass.BASS_StreamFree
--------------------- HEAP: Invalid Address specified to RtlFreeHeap( 055E0000, 003C9670 ) Windows has triggered a breakpoint.
This may be due to a corruption of the heap, which indicates a bug in the application or any of the DLLs it has loaded. This may also be due to the user pressing F12 while the application has focus. The output window may have more diagnostic information. ----------------------
|
Reply
Quote
|
|
|
18
|
Developments / BASS / Re: BASS_DSHOW
|
on: 13 Feb '11 - 18:33
|
a .NET wrapper is available. If you like i can add a .NET example that work with BASS
Ok, add it please. But it's not going to be a plugin anymore? Wasn't that the point of starting this thread in the first place?
|
Reply
Quote
|
|
|
19
|
Developments / BASS / Re: BASS_DSHOW
|
on: 12 Feb '11 - 15:50
|
Oh...the idea is: you
1) create a xVideo stream 2) create a BASS PUSH DAta channel 3) Create a DSP In xVideo that will push data to BASS channel 4) Sync xVideo and BASS streams (play/pause/stop)
Arrgggh.... Back to square one and rewriting all code. Well as soon as anybody has this working in VB.NET I'd be thankful to see some code.
|
Reply
Quote
|
|
|
20
|
Developments / BASS / Re: BASS_DSHOW
|
on: 12 Feb '11 - 14:36
|
Here is the API for xVideo. It also provides a VB6 header, but is not completed yet. Note: to use properly the mixing video 2 sample you need to register multivmr9.dll.
Thank you, but uhhm... where did BASS go? This way it's just another videoplayer, isn't it?
|
Reply
Quote
|
|
|