Continue encryption Problem

Avatar image
Aug 23, 2015
Archive Agent wrote
last:http://support.visioforge.com/forums/172855-community-help/suggestions/3895410-about-mediaplayer-audio-problem

I don't understand . I try sometime , but sometime can't convert. and when It's convert finish. Media Player can't play.

qakmak on April 28, 2013 17:08
Completed
0
Vote
Reply
128 Answers
Aug 23, 2015
Archive Agent agent wrote
qakmak

I think you website only can display 76comments, so I rewrite new idea.

on April 28, 2013 17:09
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

With MJPEG + LAME problem happens? Using latest xvid for encoding on our PC it's just crashed, huh. In other apps too, not only in our SDK.

on April 28, 2013 18:05
Aug 23, 2015
Archive Agent agent wrote
qakmak

What is your mean:"With MJPEG + LAME problem happens?"??
I'm not using MJPEG. It's xvid.
and I just try use x264vfw + mp3 lame. same result , can't play.

God.......what can I do???????????

on April 28, 2013 18:48
Aug 23, 2015
Archive Agent agent wrote
qakmak

"Using latest xvid for encoding on our PC" what is that mean???
the last media file is encryption file. so other apps can't play . what is this?????

on April 28, 2013 18:53
Aug 23, 2015
Archive Agent agent wrote
qakmak

I just use original media. It's can use Media player demo play. and It's can change audio stream. great......

but why ? why use Media Edit encrption mode. It can't play with media player demo????
Is that because the Media Edit encoder problem? or It's encrption problem?

please hurry fixed that .

on April 28, 2013 19:16
Aug 23, 2015
Archive Agent agent wrote
qakmak

source file is jj.rar
encripted file is jj2.rar
you can download from dropbox.

It's all use xvid.
1 different is audio encoder. source media file aac, encrypted media file is mp3 lame.(and it's encrpted by Media Edit).

if the avi encrpted problem resolved. may be I'm not anxisous to use mpeg2 or mkv

on April 28, 2013 19:22
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Please use x264vfw instead xvid. It looks xvid now cause some problems, even not in crypted files. With LAME too.

on April 28, 2013 20:04
Aug 23, 2015
Archive Agent agent wrote
qakmak

doday it's just a Mess. I finally found why can't play.
because I'm use FFMPEG mode......
GOD......

on April 28, 2013 20:33
Aug 23, 2015
Archive Agent agent wrote
qakmak

Let's go back to last night.
So, now problem is : video very slow, and not has audio(when use xvid+mp3 lame mode, not like today use FFMPEG mode there is nothing of course.)
SO.....xvid+mp3 lame mode , not normap play just like you say. now I'm trying x264vfw later.

on April 28, 2013 20:35
Aug 23, 2015
Archive Agent agent wrote
qakmak

I just try x264vfw + mp3 lame, and the result is : no any audio. and the video looks like raining.

on April 28, 2013 20:39
Aug 23, 2015
Archive Agent agent wrote
qakmak

I just use x264vfw + mp3 lame output avi .not encrption. but the result is same....
so....what's going on?

Is that because I add second audio stream??? this is my code:

VideoEdit1.Input_AddVideoFile(s, -1, -1, -1, VFVideoEditStretchMode.Letterbox, tbSpeed.Value / 100.0);
VideoEdit1.Input_AddAudioFile(s, -1, -1, -1, s, 0, 0, tbSpeed.Value / 100.0);
//Audio Stream2
VideoEdit1.Input_AddAudioFile(s, -1, -1, -1, s, 1, 1, tbSpeed.Value / 100.0);

on April 28, 2013 20:45
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Working on it...

on April 30, 2013 19:57
Aug 23, 2015
Archive Agent agent wrote
qakmak

but the mjpeg so big. you know that.
and I just test some media file (xvid+ac3 2 audio stream files)

if use DirectShow mode, Media player can't hear the sound.(I mean before convert to MJPEG, if convert to MJPEG,same result, can't hear) but if use FFMPEG mode, can hear, and can change the audio stream. so maybe I think maybe the directShow api has some problem.

please download the test file: jj.rar from Dropbox(I give you before)

I hope you can fix it soon.

on May 06, 2013 18:10
Aug 23, 2015
Archive Agent agent wrote
qakmak

and the jj.rar(xvid+ac3) can play with windows media player(I think it's use directshow).
so I think the problem not because video edit. It's about your media player sdk.

on May 07, 2013 15:23
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

We're working on this feature. But still in BETA.

on May 07, 2013 16:08
Aug 23, 2015
Archive Agent agent wrote
qakmak

I'm looking forward to this feature.
Another question: buy your software, how to deal with the invoice (cross-border purchase,I'm in China)
In addition the safety of your products purchased from this site?
http://www.componentsource.com/products/media-player-sdk-net/index.html

on May 07, 2013 16:34
Aug 23, 2015
Archive Agent agent wrote
qakmak

Or you give me to recommend a agents in China

on May 07, 2013 16:35
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

You're can directly purchase on Avangate or using reseller (Componentsource). Avangate accepts China local payment systems, also credit cards, Paypal and so on.

on May 07, 2013 16:37
Aug 23, 2015
Archive Agent agent wrote
qakmak

Ok. If the feature is finish. please give me a message, I'll look there every day.

on May 07, 2013 16:40
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Sure.

on May 07, 2013 16:41
Aug 23, 2015
Archive Agent agent wrote
qakmak

hi, guys. how's it going?
can u give me a beta version for me test my product or do something.

on May 15, 2013 09:03
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Working on it.

on May 15, 2013 12:45
Aug 23, 2015
Archive Agent agent wrote
qakmak

Well, Then I continue to wait for a while.

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

Are you guys very busy? a lot bug not fix yet. like double click problem(Stop throw exception), Audio audio Effect crash not a good solution.

and the big feature about DirectShow play encryption xvid video in http.
my customer begin push me again. don't let me wait so long please.

on June 03, 2013 21:26
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Encryption update will be released tomorrow.

on June 03, 2013 22:15
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Encryption added. Now it's H264 / AAC based. This version is final release, not beta is before. Please download updated build.

on June 04, 2013 17:56
Aug 23, 2015
Archive Agent agent wrote
qakmak

I'm sorry, I just download and Install it .and I found it's not dll. and just ax file. So how use it?
and another question. I read the license. when I'm buy it. I need my all customer Install it on own computer. am I need buy for every customer or just one, I'm little confuse.

and the final quetion is , It's a new product. So am I need to buy Media Player SDK, Video Edit SDK, and Encryptor SDK all now?? Buy 3 products for me some budget excessive right now, because my product not sale any one and my product is not expensive.

on June 04, 2013 19:21
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Install new build of Video Capture / Video Edit / Media Player, it's integrated now. So, just use this SDK's as before. But yes, for encryption module additional license is required.

on June 04, 2013 19:23
Aug 23, 2015
Archive Agent agent wrote
qakmak

I just need buy 1 for one for develop, right? not need my every customer need buy one .

on June 04, 2013 19:38
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Yes, only one. Deployment to users is royalty free.

on June 04, 2013 19:56
Aug 23, 2015
Archive Agent agent wrote
qakmak

ok then...final question.
if I'm buy the three product all(Media Player SDK, Video Edit SDK, ENCRYPTOR SDK).discount how much? looks like ENCRYPTOR SDK expensive more than other product, please give me more discount .

on June 04, 2013 20:07
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Purchase .Net products bundle (discount preapplied) + Encryptor.

on June 04, 2013 20:17
Aug 23, 2015
Archive Agent agent wrote
qakmak

Come on. don't use like that. I don't buy Video Capture SDK.(At least not now). I hope you can give me a new Discount portfolio, please talk it you sales manager about this.
I hope we have a lot cooperation in the future.

on June 04, 2013 20:27
Aug 23, 2015
Archive Agent agent wrote
qakmak

And I just test encrypted some file .
single audio stream or multiple audio stream. All not sound when finish encrypted.

I also changed the Audio mpeg version to mpeg4 , mpeg2. and try change Object Type, RAW ADTS. all same result.

another problem. your mainDemo source code not update. only mainDemo.exe(In BIN folder) update.

on June 04, 2013 21:07
Aug 23, 2015
Archive Agent agent wrote
qakmak

ok. maybe because the source code not update. so there is have audio problem. I will try again tomorrow.

on June 04, 2013 21:11
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Yes, source code not updated, sorry, we'll update soon.

In Media Player SDK Demo select Encrypted file playback mode.

on June 04, 2013 22:48
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Discount preapplied in Bundle price. Very serious discount. Use VF10 discount code to get discount for encryptor. Sorry, we'll not provide bigger discount.

on June 04, 2013 22:49
Aug 23, 2015
Archive Agent agent wrote
qakmak

what is mean VF10 discount? and I'll contact componentsource for buy your product. If you can't give me determine the price, how can I talk to componentsource ?

and your purchase page:http://www.visioforge.com/purchase.html not the Media SDK + Video Edit discount . Is this like last time you said if buy the two both, 80%?

on June 05, 2013 11:30
Aug 23, 2015
Archive Agent agent wrote
qakmak

and the new version mainDemo another problem is : if I'm use multiple audio stream video.

VideoEdit1.Input_AddVideoFile(s, -1, -1, -1, VFVideoEditStretchMode.Letterbox, tbSpeed.Value / 100.0);
VideoEdit1.Input_AddAudioFile(s, -1, -1, -1, s, 0, 0, tbSpeed.Value / 100.0);
VideoEdit1.Input_AddAudioFile(s, -1, -1, -1, s, 1, 1, tbSpeed.Value / 100.0);//New Added Audio2

when I'm convert and output it. I found the two audio is same, is first AudioStream, before not the problem, I don't know why this time the two audio stream is same.

on June 05, 2013 12:37
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Please purchase on our website, not ComponentSource. Bundles and Encryption SDK not available on CS.
So, you can:
1. Purchase Encryption SDK with 10% discount using VF10 code.
2. Purchase independent .Net SDK's using VF10 or a bundle of all products (discount preapplied).

on June 05, 2013 16:06
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Please download updated build, demos source code updated,

on June 05, 2013 16:44
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

VideoEdit1.Input_AddVideoFile(s, -1, -1, -1, VFVideoEditStretchMode.Letterbox, tbSpeed.Value / 100.0);
VideoEdit1.Input_AddAudioFile(s, -1, -1, -1, s, 0, 0, tbSpeed.Value / 100.0);
VideoEdit1.Input_AddAudioFile(s, -1, -1, -1, s, 1, 1, tbSpeed.Value / 100.0);//New Added Audio2

What about AVI output? Problem with Encrypted video only?

on June 05, 2013 16:45
Aug 23, 2015
Archive Agent agent wrote
qakmak

1.I just download new version ,and test it . avi (MJPEG+PCM) same result . same audio stream1. I don't know what's going on, but now I just care ecrypted file use mp4. I'm add this code on line 133.

VideoEdit1.Input_AddAudioFile(s, -1, -1, -1, s, 1, 1, tbSpeed.Value / 100.0);

and the result is , ecrypted files some video file only have one audio stream. some video files not have any audio (maybe have 1 audio stream ,but there is not any voice I can hear).

and the ecrypted is very very slow.vonvertion to the more final, more slower. I think there is must have some operation problem , Otherwise not getting slower and slower, it will maintain a speed.

so :
1. check it what's happening about multiple audio stream.
2. check why It is more and more slowly when converting in ecrypted mode(mp4 mode not like this).
3. I hope you can add encrypted "nVida CUDA" feature for it can fast converter.

I must to say , I'm very disappointed. I'm waiting your 1 month. and there is a lot problem. I can't believe this.

I can't test your product everyday. So please give me more responsibility. there is a lot work I need to do. and I can't wait your everyday .I need you to be quickly now. and before build. I hope your test your product next time. and quickly fix it.

on June 05, 2013 21:53
Aug 23, 2015
Archive Agent agent wrote
qakmak

In addition, I have to say about your man it is not sincere. Promised before I bought two products. Give me 20% discount you actually delete it, then now says only 10% discount.(I still don't know what is VF10 , and how I get that)
And the encryption feature It 'a part Video Edit. And your changed it to a new product, and it's a big price. Your not telling me before you will let it to a new product.

I very disappointed you and your product.

on June 05, 2013 22:17
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Use VF20 to get 20% discount. Analyzing your problems now. Yes, we can add CUDA encoder support soon if required.

on June 06, 2013 20:00
Aug 23, 2015
Archive Agent agent wrote
qakmak

ok. thanks a lot. when this features complete I will order within few days.

on June 06, 2013 21:30
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Please download updated build.

Changes:
+ Added CUDA support (Encryption_Format property added)
* Multiple audio tracks bug fixed

About problem with slower speed in the end - please check updated version. Maybe it's caused by multiple audio streams bug. If not fixed - please send us used source files and source code, because we unable to reproduce problems on our side.

on June 07, 2013 00:35
Aug 23, 2015
Archive Agent agent wrote
qakmak

I just test new version. and there is have a lot problem
1.MP4_H264_SW_AAC mode and MP4_H264_CUDA_AAC upside down. I mean use MP4_H264_SW_AAC can use cuda.

2.start encrypted convert. MainDemo will let me input the encrypted code again, and if use cuda mode, will display another window (last version not have this )

3.multipe audio problem not fixed. when finish. there is have two audio stream, but it same.(all is audio stream0)

4.it's will slow and slow (cuda not this problem).

5.if use cuda it's quickly, but when almost complete , it's stop. and can't finish convert.(convert file can't open)

6. I give you test file for test,the address is:
https://www.dropbox.com/s/y6ewszrbtouuuqf/Test%20Files.rar

and change your VideoEdit .4.0 Winform Demo line 130 to this:

if (cbInsertAfterPreviousFile.Checked)
{
VideoEdit1.Input_AddVideoFile(s, -1, -1, -1, VFVideoEditStretchMode.Letterbox, tbSpeed.Value / 100.0);
VideoEdit1.Input_AddAudioFile(s, -1, -1, -1, s, 0, 0, tbSpeed.Value / 100.0);
VideoEdit1.Input_AddAudioFile(s, -1, -1, -1, s, 1, 1, tbSpeed.Value / 100.0);
}
else
{
VideoEdit1.Input_AddVideoFile(s, -1, -1, Convert.ToInt32(edInsertTime.Text), VFVideoEditStretchMode.Letterbox, tbSpeed.Value / 100.0);
VideoEdit1.Input_AddAudioFile(s, -1, -1, Convert.ToInt32(edInsertTime.Text), s, 0, 0, tbSpeed.Value / 100.0);
VideoEdit1.Input_AddAudioFile(s, -1, -1, Convert.ToInt32(edInsertTime.Text), s, 1, 1, tbSpeed.Value / 100.0);
}

on June 07, 2013 12:13
Aug 23, 2015
Archive Agent agent wrote
qakmak

another problem. when I'm encrypted file(you can convert file MPEG4.avi for test).
Encrypted_File_DS mode play it :
1.also can't change audio stream.
2.when click play. I need wait a lot time before it play.(if not encrypted MPEG4, I don't need wait so long in File_DS mode)
3.video does not display properly.it's stuck.

on June 07, 2013 13:02
Aug 23, 2015
Archive Agent agent wrote
qakmak

about multiple audio , you can download KMPlayer test it. and KMPlayer can play. then test on Media player SDK.

on June 07, 2013 13:03
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Discount code worked now. Analyzing your problems.

on June 7, 2013 1:06 PM
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

1. Not confirmed. All correct. Generate logs if not sure.
2. Encrypted code sets using interface in Video Edit SDK. Problem resolved?
3. Try with AVI file with 2 audio streams. For some files multiple audio streams looks like one because IAMStreamSelect interface used to select a stream. It's not possible to select audio stream for this files.

1.MP4_H264_SW_AAC mode and MP4_H264_CUDA_AAC upside down. I mean use MP4_H264_SW_AAC can use cuda.

2.start encrypted convert. MainDemo will let me input the encrypted code again, and if use cuda mode, will display another window (last version not have this )

3.multipe audio problem not fixed. when finish. there is have two audio stream, but it same.(all is audio stream0)

on June 7, 2013 7:44 PM
Aug 24, 2015
Archive Agent agent wrote
qakmak

1.because last version I'm use convert to MP4 with nVida CRDA, and the convert speed very fast. and this version I found use MP4_H264_CUDA_AAC very slow, but MP4_H264_SW_AAC quick. so I thought it upside down.

2.I don't understand what are you mean, please look at the picture:
https://www.dropbox.com/s/zjisyd6qz2ymgp8/xxx.png

3.and about the problem3 I'm not understand . I mean is when finish convert , I can open KMPlayer see there is have two audio stream, but it's same (I mean Listen exactly the same).

looks like some problem you're not understand what I mean, please using google tranlate.

and I corrected it problem5:
5.if use cuda it's quickly, but when almost complete , it's stop. and can't finish convert.(convert file can't open)

that's not cuda, because I'm wrong , it's normal mode.

on June 7, 2013 8:22 PM
Aug 24, 2015
Archive Agent agent wrote
qakmak

you must to understand problem 2. you know I'm use this in my code:
VideoEdit1.Input_AddAudioFile(s, -1, -1, -1, s, 0, 0, tbSpeed.Value / 100.0); //original stream 0
VideoEdit1.Input_AddAudioFile(s, -1, -1, -1, s, 1, 1, tbSpeed.Value / 100.0); //original stream 1

but the result look like I'm using this:
VideoEdit1.Input_AddAudioFile(s, -1, -1, -1, s, 0, 0, tbSpeed.Value / 100.0); //original stream 0
VideoEdit1.Input_AddAudioFile(s, -1, -1, -1, s, 0, 1, tbSpeed.Value / 100.0); //original stram 0

just like I'm using original file stream 0 to the convert file stream 0 and 1.because finish convert. use kmplayer play , that is the result.

on June 7, 2013 8:28 PM
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

1.because last version I'm use convert to MP4 with nVida CRDA, and the convert speed very fast. and this version I found use MP4_H264_CUDA_AAC very slow, but MP4_H264_SW_AAC quick. so I thought it upside down.

I've checked. All correct here. Remember, some CPU required for encryption.

2.I don't understand what are you mean, please look at the picture:
https://www.dropbox.com/s/zjisyd6qz2ymgp8/xxx.png

Source file is not crypted? Latest SDK build have this problem? Looks strange.

3.and about the problem3 I'm not understand . I mean is when finish convert , I can open KMPlayer see there is have two audio stream, but it's same (I mean Listen exactly the same).

Try with source AVI file with 2 different streams as I told before.

and I corrected it problem5:
5.if use cuda it's quickly, but when almost complete , it's stop. and can't finish convert.(convert file can't open)

that's not cuda, because I'm wrong , it's normal mode.

OK, we'll check it.

on June 8, 2013 12:00 AM
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Updated build available. Media Player SDK has been updated to play files with multiple audio streams better.

Note: Video Edit SDK do not support encrypted videos on input without showing a dialog.

on June 8, 2013 12:13 AM
Aug 24, 2015
Archive Agent agent wrote
qakmak

1.I really don't understand what are you talking about "Try with source AVI file with 2 different streams as I told before.";

what are you mean ? am I not use different stream? I already give you test file, you can hear the test file sounds, It's already has two different streams. what is that???
Am I not said clear, or I'm not understand what are you talking about. next time please said more clear.

I give you test file, in MPEG4.avi or MPEG2.avi , each has two different audio stream, and I already use it ,I give you my used code for convert audio stream before.

2."Source file is not crypted? Latest SDK build have this problem? Looks strange." of course source file is not encrypted. this new version not that window and let me input . but only when use CUDA mode it's let me input again. (but now the window like last picture)

3.Convert speed is getting slower problem is not fixed, are you have tried to convert the test files I'm give you yesterday?

4.if play other file, application will use 2%-5% of cup. but if use encrypted file in encrypted mode, It will use 40%-50% of cpu. can you Optimization it?

5. if use DirectShow mode or Encrypted DirectShow mode, if open : AudioEffect = true.
there is not has any sound can hear(I remember I already talk you this problem long time ago, FFMPEG mode not has this problem)

6. if change audio stream in DirecShow mode and Encrypted DirectShow mode , audio volumn will changed. please check it.

7. I can't find how way can check current media file is encrypted or not. are you delete the property IsEncrypted you add before?

this is current problem, plese check and Reply me by serial number.

on June 8, 2013 11:18 AM
Aug 24, 2015
Archive Agent agent wrote
qakmak

If you still can not understand what I mean, I suggest you pass the "Remote Control" software to view my computer.

on June 8, 2013 11:20 AM
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

1,2 - confirmed, fixed.
3 - not confirmed on our pc. please check memory usage.
4 - yes, maybe in the future. decryption of video stream takes some cpu. we using Windows Crypto API, so, it's fast
5 - we'll check
6 - that's normal, not bug. volume is independent for each stream and set for independent audio renderer
7 - yes, removed due very big changes in encryption engine. we'll add it

on June 8, 2013 3:01 PM
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

5 - in WinForms binary demo too? Enabled checkbox on Audio effects tab must be checked before playback started.

on June 8, 2013 3:07 PM
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Updated build available.

on June 8, 2013 3:36 PM
Aug 24, 2015
Archive Agent agent wrote
qakmak

finally.....finally.....your guys Completely solved Multiple audio stream in DirectShow. thanks.

and:

1.about your said , you test pc Does not appear getting slower problem : because I'm test convert to mp4(not cuda), and the preview window display the convert speed is very quick and Very uniform. but if I'm convert to encrypted(not cuda), when click start, the speed is very quick, but when complete 30%, the Speed ​​is the just started's doubled (you can look at the preview window when convert). and when it complete 60%, it's 30% of the double. It's just More slowly.
if convert to mp4, just need 1 or 2 minute. but if encrypted need use 15-20 minute(You can compare yourself). the memory state is normal. but I think There is something in the affect it.

2.when I'm encrypted finish. I found the Sound has suffered serious losses, It sounds somewhat vague(Significant distortion) , I'm use Winform Demo Test it. the Audio option not changed. MPEG4, 128.

3.about the " if enable audio effect ,no sounds" problem. I just use Winform demo test, it's not has this problem . I just add this in my own project before play:
MediaPlayer1.Audio_Effects_Enabled = true;

Really strange.I'll check it

4.I hope you can fixed that two problem. and give me a new version before tomorrow. I'll check it tomorrow, if all fine. I hope I can buy product at tomorrow. and about the Excessive CPU usage, and the Check if encryption problem , you can add it later. thanks.

on June 8, 2013 6:32 PM
Aug 24, 2015
Archive Agent agent wrote
qakmak

sorry , about the problem 3, I use DirectShow mode before in MainDemo. DirectShow mode no problem. but encrypted Mode has that problem. (Media Player SDK net4 Winform Demo).
please check it together.

on June 8, 2013 6:51 PM
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

We're working on "going slowly" issue now. Problem with Intel Media SDK. For example we can use x264 codec as workaround, for a some time. Do you agreed? (Using CUDA must be ok too).

on June 9, 2013 3:03 PM
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

IsFileCrypted will be available in next build.

on June 9, 2013 4:26 PM
Aug 24, 2015
Archive Agent agent wrote
qakmak

what is the different if use it as workaround? am i need install someother software or do something?

on June 9, 2013 4:47 PM
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Yes, x264 encoder. Difference - bug fixed. Also xvid as alternative.

on June 9, 2013 5:03 PM
Aug 24, 2015
Archive Agent agent wrote
qakmak

if use internet xvid its all GPL license. can't use。don't forget test the aac sound not very well when encrypted problem。i am outside now ,i will test when comeback。

on June 9, 2013 5:30 PM
Aug 24, 2015
Archive Agent agent wrote
qakmak

1.I just test the new version. and when click encrypted, there is display a window , and let me input password again(before has this problem I said to you ,but last version not display). and when I'm input password it's begin ecrypted. and almost complete, it's Stuck. I check the file size, it's only 1kb.(cuad not has that problem)
there is the picture:
https://www.dropbox.com/s/yk8dtlmrjok1q3w/test.rar

I also find some little bug.

2.OnError Event doesn't work.long time ago It's worked.I'm use like this(I test in Winform Demo Source, not Bin Directory exe file. exe File in Bin Directory not has this problem , very Strange):
MediaPlayer1.OnError -= OnErrorMethod;
MediaPlayer1.OnError += OnErrorMethod;
and that is why this is happening:
http://support.visioforge.com/forums/172855-community-help/suggestions/4023258-media-player-directshow-mode-if-not-foud-decoder-p

3.Do you remember the Audio reset problem?
http://support.visioforge.com/forums/172855-community-help/suggestions/3985218-audio-volumn-and-audio-stream-and-audio-effect-aut

and this problem happening in DirectShow mode and encrypted mode.
so I think there is two solution.
(1)change your inside api let it like FFMPEG mode.(before I use FFMPEG mode, and that problem resolved)
(2)let the Initial Volume to 0. not 100. then when I'm play , there is no voice, then I can pause set volume and reset. how about it?

4. can't encrypted MPEG2 multiple audio stream file. but single file can encrypted. I also Install the software you give me(Haali Media Splitter), but also can't convert.

on June 10, 2013 8:00 AM
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

We're working on main problem. No new updates now.

on June 10, 2013 7:53 PM
Aug 24, 2015
Archive Agent agent wrote
qakmak

Find a lot of x264 codec, All also GPL Licence. Is there have any other way to handle it? (About you last time said need install x264 encoder)
I just test old bug. look like the new Updated not build available yet.

on June 10, 2013 20:05
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Our team hardly working on it and localized a problem.

on June 11, 2013 20:40
Aug 24, 2015
Archive Agent agent wrote
qakmak

are you want localized your product? do you need me help? I can help you translate to chinese.

on June 13, 2013 14:41
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Currently we have no plans to do that. Most of developers speak English.

on June 13, 2013 14:50
Aug 24, 2015
Archive Agent agent wrote
qakmak

oh.....you last time said "and localized a problem.", Maybe I'm mistaken.

how long can fixed other problem, Give me a specific time, so I gave my client said.

on June 13, 2013 15:42
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Localized means here that we found code that cause this problem.

Within several days I think.

on June 13, 2013 15:54
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Please download updated build. "slow" problem must be fixed now.

on June 13, 2013 17:48
Aug 24, 2015
Archive Agent agent wrote
qakmak

I'm just test it. if use cuda, it's normal speed.
but normal mode(not cuda) , it's very slow. is that normal?

there is my option:

videoEdit.Input_Clear_List();
videoEdit.Mode = VFVideoEditMode.Convert;
videoEdit.Input_AddVideoFile(System.IO.Path.Combine(s, -1, -1, -1, s, 1);
videoEdit.Input_AddAudioFile(System.IO.Path.Combine(s1,, -1, -1, -1, s1, 0, 0, 1);
videoEdit.Input_AddAudioFile(System.IO.Path.Combine(s2, -1, -1, -1, s2, 0, 1, 1);

videoEdit.Encryption_Password = "100";
videoEdit.Encryption_Format = VFEncryptionFormat.MP4_H264_SW_AAC;

videoEdit.Output_Filename = System.IO.Path.Combine(krptConvertFilePath.Text, convertFile[current].Name.Replace(convertFile[current].Extension, ".avi"));

videoEdit.Output_Format = VFVideoEditOutputFormat.Encrypted;
// Video H264 settings

videoEdit.MP4_Video_Profile = VFH264Profile.ProfileHigh;
videoEdit.MP4_Video_Level = VFH264Level.LevelAuto;
videoEdit.MP4_Video_Target_Usage = VFH264TargetUsage.BestQuality;
videoEdit.MP4_Video_PictureType = VFH264PictureType.Auto;

videoEdit.MP4_Video_RateControl = VFH264RateControl.VBR;
videoEdit.MP4_Video_MBEncoding = VFH264MBEncoding.CABAC;
videoEdit.MP4_Video_GOP = false;
videoEdit.MP4_Video_BitrateAuto = true;

videoEdit.MP4_Video_IDR_Period = 15;

videoEdit.MP4_Video_P_Period = 3;

//videoEdit.MP4_Video_Bitrate = 2000;

// Audio AAC settings
videoEdit.MP4_Audio_AAC_Bitrate = 256;

videoEdit.MP4_Audio_AAC_Version = VFAACVersion.MPEG4;
videoEdit.MP4_Audio_AAC_Output = VFAACOutput.RAW;
videoEdit.MP4_Audio_AAC_Object = VFAACObject.Main;

test file is MPEG.avi. before I give you.

on June 13, 2013 22:19
Aug 24, 2015
Archive Agent agent wrote
qakmak

now cuda very quick. normal mode very slow.

on June 13, 2013 22:26
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Yes, normal. Use Main H264 profile instead High, also change from Best quality to another preset. You are specified very high settings, so, speed will be slow.

on June 13, 2013 23:25
Aug 24, 2015
Archive Agent agent wrote
qakmak

I'm test CUDA and normal mode. result is :
when encrypted. same source file, same setting.(Setting is the last time you saw)

(1)file size different cuda mode file size: 79MB. normal mode file size:131MB
(2)encrypted time different: cuda mode use about 15minute. normal mode use about 3 minute
(3)Bit Rate different. cuda mode : about 3000. normal mode about 6000.
CUDA mode video quality better than Normal mode video quality .

and there is a bug : The AAC sound is distorted, especially normal mode sound distortion is more serious.(I mean The sound quality deteriorates).

and the 2 important problem not fixed.
1.Media Player SDK: OnError event not working.
2.Media Player SDK: if open Audio effect(AUDIO_EFFECT=true) not sound(directShow mode fixed. but ecrypted DirectShow mode not fixed)

not found other problem.

on June 14, 2013 06:56
Aug 24, 2015
Archive Agent agent wrote
qakmak

you know what, another Weird thing.
if normal mode, I'm use :
videoEdit.MP4_Video_Target_Usage = VFH264TargetUsage.BestSpeed;

the result is:
also 131M. also 6000 bit rate. but the convert speed is about 3,4 minute.
but cuda mode not change.

on June 14, 2013 07:12
Aug 24, 2015
Archive Agent agent wrote
qakmak

if you have free time fixed that. please fixed mp4 encrypted files different result and AAC Poor quality problem first. and I'm buy it, encrypted my media file. and other bug you can fixed later.

on June 14, 2013 07:14
Aug 24, 2015
Archive Agent agent wrote
qakmak

there is a big bug not fixed. if use cuda encrypted, and use media sdk play it . video will stuck in first picture. can play audio , but can't play video. normal mode not this problem.

and Media Player SDK : about the Excessive CPU usage. if little size file , CPU is normal now. but if media file more than 100M. It will have Excessive CPU usage problem again, and media player sdk play it , the video is not smooth.

on June 14, 2013 08:37
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

CUDA and normal encoders is a very different, that's the reason to have different results. Please send me sample file with audio quality problem.

OnError must worked, in demo it's worked normally...

on June 14, 2013 12:09
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

In Main Demo if audio effects enabled in encrypted mode - no audio?

on June 14, 2013 2:25 PM
Aug 24, 2015
Archive Agent agent wrote
qakmak

1.I test morning, your main demo SourceCode has OnError problem to. you can test (inpu a invalid address in Media Player Sdk , and click play), then you can see it not any changed(if Use the exe file in Bin directory, the debug panel will tell you some wrong).

2.About the audio effect enable no audio problem(before I test , all use cuda mode, I just test normal mode, and normal mode fine.)

3. hold on, I'm prepare sample file for use test.

on June 14, 2013 3:14 PM
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Audio is normal is file that you sent to me... Why WAV files? I need encrypted file and password.

on June 14, 2013 3:40 PM
Aug 24, 2015
Archive Agent agent wrote
qakmak

there is encrypted files(normal mode)
https://www.dropbox.com/s/8bwqst7rocs4hvq/xx3%28encrypted%29.avi

and about the Excessive CPU usage, I was wrong, that's not about encrypted files. if the file is large, like 100MB. Media Player SDK play it , will use a lot cpu.(other player not has this problem)

on June 14, 2013 4:45 PM
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

we'll release updated version soon, with audio playback with effects fixed.

on June 14, 2013 5:02 PM
Aug 24, 2015
Archive Agent agent wrote
qakmak

About the OnError. you can use your Main Demo Winform 4.0 source code project. don't use the exe file in Bin directory.and add the invalid address. and click play.

on June 14, 2013 5:23 PM
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

I think we can add MP3 as alternative if required

on June 14, 2013 5:33 PM
Aug 24, 2015
Archive Agent agent wrote
qakmak

and another quesion:
if use :videoEdit.MP4_Video_RateControl = VFH264RateControl.VBR;
then must be set:videoEdit.MP4_Video_BitrateAuto = true;

if I'm set BitrateAuto = false; and use VBR mode. it can't convert.

is that normal??
because if use BitrateAuto = true.

videoEdit.MP4_Video_Profile = VFH264Profile.ProfileHigh;
and
videoEdit.MP4_Video_Profile = VFH264Profile.ProfileMain;

all result is same. not any different.

on June 14, 2013 5:35 PM
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Bitrate specified correctly if auto bitrate disabled?

on June 14, 2013 5:42 PM
Aug 24, 2015
Archive Agent agent wrote
qakmak

videoEdit.MP4_Video_Profile = VFH264Profile.ProfileHigh;
videoEdit.MP4_Video_Level = VFH264Level.LevelAuto;
videoEdit.MP4_Video_Target_Usage = VFH264TargetUsage.BestSpeed;
videoEdit.MP4_Video_PictureType = VFH264PictureType.Auto;

videoEdit.MP4_Video_RateControl = VFH264RateControl.VBR;
videoEdit.MP4_Video_MBEncoding = VFH264MBEncoding.CABAC;
videoEdit.MP4_Video_GOP = false;
videoEdit.MP4_Video_BitrateAuto = false;

videoEdit.MP4_Video_IDR_Period = 15;

videoEdit.MP4_Video_P_Period = 3;

videoEdit.MP4_Video_Bitrate = 2000;

is that correctly ?

on June 14, 2013 5:57 PM
Aug 24, 2015
Archive Agent agent wrote
qakmak

you can add MP3 , but make sure It's no problem. I remember before use avi xvid + mp3. there is some problem.

on June 14, 2013 5:58 PM
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

in MP4 output problem present?

about OnError - x86 or AnyCPU? Debug or Release?

on June 14, 2013 17:59
Aug 24, 2015
Archive Agent agent wrote
qakmak

x86. and It's not about MP4 , because I just test it use invalid media file address. there is no any real file.

on June 14, 2013 18:11
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

only this profile use CBR, for other profiles VBR can be used.

on June 14, 2013 18:22
Aug 24, 2015
Archive Agent agent wrote
qakmak

you mean "Height" and "Main" right?

on June 14, 2013 18:31
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

No, I mean Profile, Target usage and Bitrate mode.

on June 14, 2013 18:34
Aug 24, 2015
Archive Agent agent wrote
qakmak

you're right , I'm use this:
videoEdit.MP4_Video_Profile = VFH264Profile.ProfileHigh;
videoEdit.MP4_Video_Target_Usage = VFH264TargetUsage.Balanced;//Changed this.

and the problem is resolved. but the video.quality is not good.

I decided to use this model:
videoEdit.MP4_Video_Profile = VFH264Profile.ProfileHigh;
videoEdit.MP4_Video_RateControl = VFH264RateControl.VBR;
videoEdit.MP4_Video_Target_Usage = VFH264TargetUsage.BestSpeed;

but now Media Player if play 100mb file , use cpu a lot , please Optimize it.

on June 14, 2013 19:07
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Nothing to optimize here... High profile require a lot of CPU and memory. Also, our SDK do not includes H264 decoder, only encoder. So, decoder installed on your PC used.

on June 14, 2013 19:10
Aug 24, 2015
Archive Agent agent wrote
qakmak

win7 x86. vs 2012 update2.
I'm just open MainDemo Winform x86 Media Player SDK sourcode. and open debug.
and select some file(like C:\xx.avi), and changed it name.(for invalid , like xx2.avi, there is no xx2.avi).and add it. and click play.
if I'm use the already buil file(in BIN) and click : the debug textbox display:invalid XX....
but if I'm use new version Sourcode, and build myselft. and click play. there is nothing.

on June 14, 2013 19:11
Aug 24, 2015
Archive Agent agent wrote
qakmak

new problem. You know I'm use wav audio file before for test.
and I just test use mp3. and when converted, there is only single audio stream. (it must be multiple audio stream), the setting is like before I told you.

there is the test file.
https://www.dropbox.com/s/ia7tq2lmqm8z84r/mp3%20source%20problem.rar

on June 14, 2013 19:22
Aug 24, 2015
Archive Agent agent wrote
qakmak

no. I'm not mean h264 file. xvid file to , if the file is big , like about 100m. Media Player will use a lot cpu.

on June 14, 2013 19:23
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Our encryptor produce H264 files, not xvid.

Same settings but MP3 instead WAV?

on June 14, 2013 19:25
Aug 24, 2015
Archive Agent agent wrote
qakmak

and about the cpu problem. your not understand what I mean.
I mean. not because It's h264 so Media Player sdk use a lot cpu.

I test h264, xvid. and mpeg2(DVD) file. all file size like 100mb. and because the file large(I mean big). and when use Media Player SDK play it(DirectShow mode), it use a lot cpu. you can try play the two file.(I already give you before)

https://www.dropbox.com/s/y6ewszrbtouuuqf/Test%20Files.rar

on June 14, 2013 19:40
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

To make CPU usage lower please disable all video effects in your project or add Video_Effects_Clear() call before .Play() call.

on June 14, 2013 19:42
Aug 24, 2015
Archive Agent agent wrote
qakmak

hu? you mean you can use the avi + two mp3 file can converted multiple audio stream??
I just test , there is only one audio stream. So Weird, I test more again.

on June 14, 2013 19:55
Aug 24, 2015
Archive Agent agent wrote
qakmak

ok. about the video effects. because now not buy yet. so can't display.
Can you handle the aac sound problem? when you finish this, I think I need buy it. and disable video effects. and test again.

on June 14, 2013 19:56
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Yeah, I'm sure about MP3 because we are using them for all tests, not WAV like you.

We'll add MP3 audio stream support as alternative to AAC, maybe will work better. I hope today or tomorrow will be ready.

on June 14, 2013 19:59
Aug 24, 2015
Archive Agent agent wrote
qakmak

ok. and about the video effect. I'm not use any effect. are you sure because your logo let this happening? (I mean you logo on top left , display: Unregister version)

on June 14, 2013 20:05
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Logo present even if video effects disabled, that's TRIAL limitation.

Just use Video_Effects_Clear() if Main Demo used.

on June 14, 2013 20:57
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

We've found one problem with AAC encoder, quality will be better. But got problems with MP3, that's bad.

Also good news - we'll add API for fast encryption without reencoding if source files alread H264 / MPEG-4 / AAC / PCM / MP3 (in the future). This feature will be added after you purchase (if you want it faster) or just wait.

on June 14, 2013 22:13
Aug 24, 2015
Archive Agent agent wrote
qakmak

ok. that's a good news. I can wait a few days, if I need to convert media files here, and then I rush to purchase directly.

on June 14, 2013 22:17
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Updated build with AAC will be available today. About MP3 - I don't know now. But AAC quality will be maximal for AAC encoders after this build. FAAC encoder used in FFMPEG and many other tools, and in our SDK.

on June 14, 2013 22:25
Aug 24, 2015
Archive Agent agent wrote
qakmak

and about the Media Player use a lot CPU problem . I'm just test Media Player SDK(clear video effedcts) and KMPlayer play it. there is the result.

MPEG file(not encrypted)
KMPlayer: 2%-8% cpu used.
MediaPlayerSDK(DirectShow mode):15%-22% cpu used.

h264 file(encrypted)
KMPlayer: 5%-10% cpu used.
MediaPlayerSDK(DirectShow mode):22%-32% cpu used.

cpu is Core Duo, ordinary CPU.

So I think that's not about Video Effect. Can you try to optimize Media Player SDK again? because you know some time I need some audio effect. if I'm add it. the result is (h264)30% cpu + audio effect 30% cpu. Low profile PC would be more difficult.

and Media Player SDK use 30% cpu. but the video looks Not smooth now.

on June 14, 2013 22:29
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Maybe different video decoders used. 20-30 is ok, not so bad.

on June 14, 2013 22:33
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Well, DirectShow is 20-30, FFMPEG is 20-30. It's not 70-90. It's a good result. Don't worry about it. It's mean that playback possible even on Atom netbooks (also usually they have H264 GPU decoder now).

We planned to develop H264 CUDA decoder in the future (several months).

on June 14, 2013 22:43
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

updated build available.

set AAC bitrate to 256.

on June 14, 2013 22:54
Aug 24, 2015
Archive Agent agent wrote
qakmak

sorry I'm just test , but not display the video. maybe if display the video. will take more cpu.

I'm use second screen when use Media Player SDK play,(wpf)
Player_OnVideoFrameBuffer //use this event display to second screen.

and only problem is the second screen looks Not smooth now if use h264 video.(encrypted)

on June 14, 2013 23:31
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Yeah, we did a great job today. Thank you!

Try to use WriteableBitmap. Also maybe 3D acceleration not available on 2nd display, that can be a problem.

So, that's more WPF problem than our SDK. We gave you frame as a buffer on fastest possible speed.

Good night!

on June 14, 2013 23:54
Aug 24, 2015
Archive Agent agent wrote
qakmak

I met a problem, you know I decide use that setting:
videoEdit.MP4_Video_Profile = VFH264Profile.ProfileHigh;
videoEdit.MP4_Video_Level = VFH264Level.LevelAuto;
videoEdit.MP4_Video_Target_Usage = VFH264TargetUsage.BestSpeed;
videoEdit.MP4_Video_PictureType = VFH264PictureType.Auto;

videoEdit.MP4_Video_RateControl = VFH264RateControl.VBR;
videoEdit.MP4_Video_MBEncoding = VFH264MBEncoding.CABAC;
videoEdit.MP4_Video_GOP = false;
videoEdit.MP4_Video_BitrateAuto = true;

videoEdit.MP4_Video_IDR_Period = 15;
videoEdit.MP4_Video_P_Period = 3;
videoEdit.MP4_Video_Bitrate = 2000;

now problem is ,if I'm use Video_BitrateAuto = true; the Bit Rate is twice the original.(for example there is one file, the bitrate is vbr 3000-3500, but when converted use that setting, the result file bit rate is 6000-7000).that's why the encrypted file is large, and Media Player SDK play it the video is not smooth.

So Is there anyway I can let the encrypted file use vbr. and use original bit rate? ( I before think BitrateAuto mean is use the original file bit rate, but It's not).

on June 15, 2013 09:40
Aug 24, 2015
Archive Agent agent wrote
qakmak

I use another convert tool can use original bit rate(set the bit rate: default)
because there is a lot Media file, all bit rate not same, so I can't set a Constant Bit Rate.

on June 15, 2013 09:46
Aug 24, 2015
Archive Agent agent wrote
qakmak

if there is some way can handle this, maybe we don't need worry about Media Player SDK play large file use a lot cpu problem.

on June 15, 2013 9:48 AM
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

This thread is closed (too big). Create a new theads if required, one per issue.

on July 16, 2013 16:59