Home > Archive (Community help, from old helpdesk) > Video Edit can't remove event!

Video Edit can't remove event!

Avatar image
Aug 23, 2015
Archive Agent wrote
I always use
videoEdit.OnStop -= VideoEdit1_OnStop;
videoEdit.OnStop += VideoEdit1_OnStop;
videoEdit.OnProgress -= VideoEdit1_OnProgress;
videoEdit.OnProgress += VideoEdit1_OnProgress;
videoEdit.OnError -= videoEdit_OnError;
videoEdit.OnError += videoEdit_OnError;

remove the event before add it. but now I find the remove event operation is not working. please check it.

If I'm use it twice, it will trigger two event. not only one.

qakmak on July 22, 2013 13:56
Completed
0
Vote
Reply
22 Answers
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Please try latest build.

on July 22, 2013 14:23
Aug 23, 2015
Archive Agent agent wrote
qakmak

1.I just try the new version. still not working.

2.and when it's happening OnError, the video edit status still worked, not Free. I said a lot time. it's must stop , and change status to Free when it's error.(especially it happening problem like that:http://support.visioforge.com/forums/172855-developers-community-help/suggestions/4216020-why-some-mpeg2-file-will-video-stream-not-found-e)

on July 23, 2013 21:17
Aug 23, 2015
Archive Agent agent wrote
qakmak

hello??? do you forget update the full version or something?

on July 23, 2013 22:29
Aug 23, 2015
Archive Agent agent wrote
qakmak

my problem not resolved. don't close it.

You are so anxious for what?? get the prize???

on July 26, 2013 08:50
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Please be polite or we will stop our support.

Send us sample application that demonstrate a problem.

on July 26, 2013 15:15
Aug 23, 2015
Archive Agent agent wrote
qakmak

Are you kidding me ?? I'm not be polite??
Your country is not discriminated against the Chinese people or how??

What about you ? my problem not fixed, you every time not wait me and close the topic. I'm right or not?? and this time, you let me wait a lot time. I'm right or not?

in the 3 month, I find you component a lot bug and problem. you give me what?? or I want you what?

I already give you a lot sample application. I'm already Bored make sample for you. because you can't fixed nothing. I'm right or not? encrypted problem you know it's how long . I'm give you so many sample. did you look it carefully or not? Why endless questions? and this time . I'm already give you the sample code. you want me send you another sample?

if I make the all work you need to do. so what do you do??
I hope you will improve your attitude and mentality, move the body more!

on July 26, 2013 18:27
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Please be polite or we will stop our support.

on July 26, 2013 20:49
Aug 23, 2015
Archive Agent agent wrote
qakmak

ok. I'll be polite. sorry if I'm let you uncomfortable.
I'll send a new sample code for you.....

on July 26, 2013 20:57
Aug 23, 2015
Archive Agent agent wrote
qakmak

this is sample code. I'm make it for you today .
https://www.dropbox.com/s/cob77kli3pibrl3/WindowsFormsApplication15.rar

and this is the record Video. please look it carefully.
https://www.dropbox.com/s/pt7lp3954h92jli/2%20Record%20Video.rar

thank you .....

if there is any problem. I hope you can tell me , don't ignore me, it's will make me crazy...thanks.

on July 26, 2013 21:02
Aug 23, 2015
Archive Agent agent wrote
qakmak

I'm polite now. but you still not support to me just like before.
I hope you do not so childish. Wait every day will give me a lot of losses and I have our own customers, they would scolded me every day,because I'm did not finish the project schedule.

on July 27, 2013 08:15
Aug 23, 2015
Archive Agent agent wrote
qakmak

the video in the sample code used. in here:https://www.dropbox.com/s/8ejxcqpsxew6zir/Problem.rar
file name is : 0001.mpg

on July 27, 2013 13:44
Aug 23, 2015
Archive Agent agent wrote
qakmak

Can you give me a time, how long can fix those problems?, that I might not ask you everyday, also to own customers an answer. thanks.

on July 28, 2013 09:55
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

We've tried your application, got Unregistered video encryption SDK usage message, one time. That's all.

How to use it?

on August 03, 2013 17:27
Aug 23, 2015
Archive Agent agent wrote
qakmak

I think maybe if you want see the problem. need let sdk appear some error, let the error like the record video.

now some mpeg-2 can't use Haali Media Splitter anymore. when I'm use the sample application and video record. I'm using that demo mpeg-2 file and Haali Media Splitter+ffdshow codec.

if now can't use Haali, that's not a big deal, now the problem is , if because codec problem , it let the sdk onError be trigging. (you need OnError happening "GetGroupOutputPin" error, like the record video)
1. Video Edit SDK inside will mess, like: can't remove event.(it will let OnError trig again and again)
2.Video Edit already happening error, but the status still Worked, not Free.

I just try again, the version is:7.15.27.0. still like the video record.

on August 03, 2013 20:05
Aug 23, 2015
Archive Agent agent wrote
qakmak

please download my application and demo mpeg-2 file:0001.mpg

and use Haali Splitter + ffdshow codec convert it.

on August 03, 2013 20:07
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Yes, we have tried. That's decoding problem, not SDK problem...

You can read more about DirectShow Editing Services, it's only one way to add video file to timeline, nothing was changed here within last 5 years.

on August 04, 2013 15:52
Aug 23, 2015
Archive Agent agent wrote
qakmak

before I thought event can't remove maybe because when error happening SDK be chaos...
Ok. if that's because decoding, I think maybe I should use another way avoid it happening.
thanks.

on August 04, 2013 16:01
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Please download updated build. Some logic has been changed, also we have found memory leak in logging engine.

on August 10, 2013 14:23
Aug 23, 2015
Archive Agent agent wrote
qakmak

Memory still continue to increase when switch a lot files. the final result also is stuck or crash ......version is 7.16.5.0
Maybe you can use this sample code when you test:https://www.dropbox.com/s/77z8dgl8pwnoxi0/WpfApplication2-5.rar

I recommend that you use FinalCodecs, and you can select any codec of it to use and test you application.(it will very helpful for you work)
download:https://www.dropbox.com/s/g7b7yb05bw9utuz/FinalCodecs.1.13.0719.rar

on August 10, 2013 16:28
Aug 23, 2015
Archive Agent agent wrote
qakmak

but <Video Edit can't remove event> fixed. The only regret is when there is some error, and trigger OnError, video edit status still VFVideoEditStatus.Work, not VFVideoEditStatus.Free.

thanks, please close this topic. if you have free time , you can analyze about when error , the status not Free problem.

on August 10, 2013 20:18
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Not all errors are critical and set status to free. Usually after Start call if error happens you can analyze it and call Stop manually. For example if audio stream can't be added it's error but not critical, so, graph will start with error. That's not a bug, it's by design.

on August 10, 2013 20:41
Aug 23, 2015
Archive Agent agent wrote
qakmak

Ok. Thank you very much.

on August 10, 2013 20:50