Solveig Multimedia Forum - Get help for video editing software

SolveigMM End-User Products => Video Splitter => Topic started by: Dmitry Vergeles on June 24, 2010, 05:08:35 PM

Title: AVI frame accuracy trimming. Testing
Post by: Dmitry Vergeles on June 24, 2010, 05:08:35 PM
Hi all,

Preliminary alpha version with the feature of AVI files trimming with frame accuracy (only some frames are re-encoded, other 99% is kept originaly)

http://solveigmm.com/files/SolveigMM_Video_Splitter_2_3_beta.zip

How to use it.

Load your AVI file.

To switch the frame accuracy mode, locate Frame Accuracy menu item:

(http://www.solveigmm.com/img/splitter/smart_item.PNG)

If appropreate encoder/decoder is installed on the PC, the item should be switched with no errors.
Otherwise it has to deliver a message what is missed.

Available Decoders/Encoders can ve viewed through Preferences:

(http://www.solveigmm.com/img/splitter/smart_pref.jpg)

We appretiate any feedback and/or bug reports.

Russian topic is here: http://www.solveigmm.com/forum/index.php?topic=3007.0
Title: Re: AVI frame accuracy trimming. Testing
Post by: pallab on June 25, 2010, 02:16:23 AM
Hi Dmitry,

  I updated to this beta version. I haven't used an avi file yet, but when I open a wmv file i get the following error message.

    Can't init KeyFrame Manager
    Class not registered
    HRESULT:0x80040154

  However, if I click OK and continue I can play the file and trimming operations are successful. Maybe this is a false alarm?

  This message repeats if I open another wmv file.


 
Title: Re: AVI frame accuracy trimming. Testing
Post by: pallab on June 25, 2010, 02:46:18 AM
One more thing I noticed is the file length for wmv files seems to be reported as bigger than it is - 1hr06min18secs is reported when actual wmv file is 12min38sec.
Title: Re: AVI frame accuracy trimming. Testing
Post by: pallab on June 25, 2010, 03:13:25 AM
Update to my previous post - it seems to take the duration of the first wmv file correctly, and then retains this for subsequent wmv files.

E.g. File A is 20 mins, file B is 15 mins, file C is 25 mins.
1. Open file A, length is reported correctly
2. Open file B, length is reported as 20 mins even though it is only 15 mins
3. Open file C, length is reported as 20 mins even though it is 25 mins

I am opening the files in the same session (after I finish trimming the previous one, but without closing it explicitly).
Title: Re: AVI frame accuracy trimming. Testing
Post by: Frank123 on June 27, 2010, 08:49:20 PM
This is what I get after loading a WMV file. What am I missing?

(http://home.wanadoo.nl/dewilde-deligny/errormessage.png)
Title: Re: AVI frame accuracy trimming. Testing
Post by: Maxim.Sakhankov on June 29, 2010, 08:30:54 AM
Thank you all for the feedback. We've found the reason of error with KeyFrameManager.
An update has been posted. Please download the new version.

(use the link from the first post)
Title: Re: AVI frame accuracy trimming. Testing
Post by: pallab on July 06, 2010, 10:50:05 PM
I think the clip size (reported in the bottom left-hand corner) is not updated after the first clip.

E.g. Open clip A with length 20 mins. Clip length of 20 mins is reported.
      Open clip B with length 25 mins. Clip length of 20 mins is reported.
      Open clip C with length 15 mins. Clip length of 20 mins is reported.
 
I am using version 2.2.1006.29 from the link above.
Title: Re: AVI frame accuracy trimming. Testing
Post by: pallab on July 06, 2010, 11:50:38 PM
A small feature request.

Is it possible to include a volume level slider in the preview window?

I sometimes have multiple media applications running on my PC (e.g. vlc & video splitter) and it would be useful to be able to adjust the volume level for video splitter application to balance against the other apps.
Title: Re: AVI frame accuracy trimming. Testing
Post by: pallab on July 07, 2010, 03:24:14 PM
I have noticed an issue if I open a file of type A, trim it, then open a file of type B (different from File A) and try to trim it.

For example:

  1. Open File A (.wmv for example)
  2. Perform a Trim operation (successful)
  3. Open File B (different type from File A - e.g. xvid or .avi)
  4. Select parts to split (ok)
  5. Attempt to perform a Trim operation - unsuccessful with following error:

       Can't start trim process ( HRESULT:0xc00d0026 ).

If I close the Splitter instance, open a new instance and perform the splitting operation on File B it is successful.

Please see if this issue can be reproduced?
Title: Re: AVI frame accuracy trimming. Testing
Post by: escobar on July 10, 2010, 09:20:36 AM
Hello,

I found your forum when searching for a frame-accurate way of splitting AVI's, retaining as much lossless as possible.
Then I found this topic, & downloaded your software.
I've installed it, and noticed a possible bug.

There might be a possible conflict with the K-Lite Mega Codec pack:
Code: [Select]
http://www.codecguide.com/download_k-lite_codec_pack_mega.htm
Problem: While opening any video (wmv, asf, or avi) in SolveigMM, the program will crash.
In detail, I will explain:
- Open SolveigMM
- Choose "Open Media File"
- Select video and press "Open"
- SolveigMM will attempt to open the video, fail, then exit without warning.

Possible Cause: When K-Lite Mega Codec Pack is not present, SolveigMM loads videos perfectly.
In detail, I will explain:
- Before K-Lite, I have "MainConcept Reference", "QuickTime Pro", & "Divx Plus" installed.
- With this environment, SolveigMM beta works perfectly.
- But then I install K-Lite Mega, & SolveigMM experiences the problem.
- Here are the K-Lite Mega settings used during installation:
(http://img823.imageshack.us/img823/3947/components.png) (http://img823.imageshack.us/i/components.png/)
(http://img571.imageshack.us/img571/2686/additionaloptions.png) (http://img571.imageshack.us/i/additionaloptions.png/)

Title: Re: AVI frame accuracy trimming. Testing
Post by: Maxim.Sakhankov on July 13, 2010, 10:46:37 AM
An update has been posted.

I think the clip size (reported in the bottom left-hand corner) is not updated after the first clip.

E.g. Open clip A with length 20 mins. Clip length of 20 mins is reported.
      Open clip B with length 25 mins. Clip length of 20 mins is reported.
      Open clip C with length 15 mins. Clip length of 20 mins is reported.
 
I am using version 2.2.1006.29 from the link above.
I have noticed an issue if I open a file of type A, trim it, then open a file of type B (different from File A) and try to trim it.

For example:

  1. Open File A (.wmv for example)
  2. Perform a Trim operation (successful)
  3. Open File B (different type from File A - e.g. xvid or .avi)
  4. Select parts to split (ok)
  5. Attempt to perform a Trim operation - unsuccessful with following error:

       Can't start trim process ( HRESULT:0xc00d0026 ).

If I close the Splitter instance, open a new instance and perform the splitting operation on File B it is successful.

Please see if this issue can be reproduced?

These problems should be solved in an updated version.

escobar,
First of all please download the new version(link is the same, posted in a topic start). If it doesnt solve the problem, please do the following:
1. Enable logging. Download the logging.zip from here: http://solveigmm.com/files/logging.zip and extract it. Inside you'll find 2 files that would enable and disable log-writing accordingly.
2. Right-click the Enable.reg and choose Merge to add an information to registry. Now the log-file would be written and placed in the same directory where the SMMVSplitter.exe is(it is called SMMVSplitter.exeinstance.log).
3. Reproduce the error and send the resulting log file to our support(support address can be found here http://solveigmm.com/?Support&id=Feedback ) or to me directly. In your letter do not forget to point the installation version you use.

When you no longer need logging disable it (repeat steps 1-2 using file Disable.reg instead)
Title: Re: AVI frame accuracy trimming. Testing
Post by: pallab on July 15, 2010, 01:14:58 AM
Thanks for the update.

However, I am noticing some stability issues with trimming .wmv files with each of these beta versions (i.e. after 2.2.1005.4). Both Trim & Save All Fragments operations can freeze unexpectedly, sometimes even for the first .wmv that is opened, and I have to terminate the instance.

When I revert back to the stable version (2.2.1005.4) I do not see these issues.

It is possible that the changes that have been submitted since this version need some regression testing to ensure the existing functionality is not affected. :-)

Essentially for each of the beta updates (3 so far, including the latest version 2.3.1007.13) I have had to uninstall and revert back to the stable version 2.2.1005.4 as I am primarily working with .wmv files.

Please investigate this if possible. I am using Vista Ultimate SP2 x64 on an Intel Quad Q9650 @ 3 GHz, 8 GB RAM if that helps.
Title: Re: AVI frame accuracy trimming. Testing
Post by: Maxim.Sakhankov on July 15, 2010, 06:58:38 AM
pallab,
ok, we will check that.

Thanks for your assistance.
Title: Re: AVI frame accuracy trimming. Testing
Post by: pallab on August 12, 2010, 12:25:27 AM
Hi! I guess you guys must be busy with the development, just wondering if there was an updated beta coming up which has been through some regression testing for wmv file editing?

Warm regards,

Pallab
Title: Re: AVI frame accuracy trimming. Testing
Post by: Dmitry Vergeles on August 13, 2010, 11:39:22 AM
Hi Pallab,
Thank you for your interest. I guess next week, Maxim will update testing version with WMV support
Title: Re: AVI frame accuracy trimming. Testing
Post by: babingez on August 13, 2010, 06:45:22 PM
Hi Maxim
Looking forward to the next beta.
Tony
Title: Re: AVI frame accuracy trimming. Testing
Post by: Maxim.Sakhankov on September 08, 2010, 07:25:45 PM
An update has been posted. Please download the new version.

(use the link from the first post)

In this version WMV/ASF frame-accurate splitting added in test mode.
Please let us know about all errors that you face using the current beta.
Title: Re: AVI frame accuracy trimming. Testing
Post by: Frank123 on September 09, 2010, 10:17:40 PM
I did a quick test, but after 5 seconds I already discovered something strange:
If you start with a small window, load a (WMV) file and resize the form (=make it bigger), the video window resizes but the actual displayed video size stays the same (small) size. I will try to test this with other source material.
Title: Re: AVI frame accuracy trimming. Testing
Post by: pallab on September 10, 2010, 02:23:11 AM
Hi! I have downloaded from the original 2_3_beta.zip link posted by Dmitry, but this file is timestamped 2010-07-13 and has the same name as the previous beta. Is this the correct link for the updated beta?
Title: Re: AVI frame accuracy trimming. Testing
Post by: marcelser on September 10, 2010, 05:30:24 AM
the beta is very unreliable when it comes to frame accuracy trimming.

I noticed the following problems:
1.) wmv - audio is always out-of-sync, not a single file had correct audio. Audio is always in advance, the video which the audio belongs too is show up 10-20 seconds later then the sound for it
2.) some avi's make the trimming process hang (for example one avi always got stuck at 39% trimming, but worked when I had frame accuracy disabled)
3.) wmv - trimmer often produces very small files (only a few KB) on first try, if you try again it trimms ok (with above problems)
4.) big avi files in HD quality: Trimming is not exact. Especially with big files it seems that the trimming is not accurate, it always encodes 1-2 seconds before the actual trimming point
5.) you can not switch from frame accuracy to non-frame accuracy and enable k-frames navigation and markers if you still have markers set from the frame-accuracy mode. It makes the trimmer hand when you try to trim.

All-in-All Frame accuracy trimming seems not yet very stable and usability is quite limited with wmv's always beeing out-of-sync in audio and I don't want to convert them to avi or else I wouldn't use a lossless trimmer. BTW: are there any plans to support .mp4 files in the next release?


Title: Re: AVI frame accuracy trimming. Testing
Post by: Maxim.Sakhankov on September 14, 2010, 01:08:50 PM
Hi! I have downloaded from the original 2_3_beta.zip link posted by Dmitry, but this file is timestamped 2010-07-13 and has the same name as the previous beta. Is this the correct link for the updated beta?
pallab, thanks for the info.

We had some issues with file storage.
Now the correct beta version can be downloaded by the same link (http://solveigmm.com/files/SolveigMM_Video_Splitter_2_3_beta.zip).

The installer version should be  2.3.1009.08. This is the actual version with Windows Media files trimming support.

the beta is very unreliable when it comes to frame accuracy trimming.
2.) some avi's make the trimming process hang (for example one avi always got stuck at 39% trimming, but worked when I had frame accuracy disabled)

marcelser, if it is possible, please copy the trimming configuration info for this file and send to the technical support( http://solveigmm.com/?Support&id=Feedback ) or to me directly.
To make such file please do the following: Load your file in Splitter, Set the trimming configuration(preferred filters, trimming mode). Then open "Tools"->"Preferences" menu and push "Copy info to clipboard" button.
Then crate a text file, open it and paste the info there or just paste it in your letter.

4.) big avi files in HD quality: Trimming is not exact. Especially with big files it seems that the trimming is not accurate, it always encodes 1-2 seconds before the actual trimming point
Please explain what is your HD quality file? What is the video format of this avi and what is its length. This info could be generated by any video analyzing tool.
Title: Re: AVI frame accuracy trimming. Testing
Post by: pallab on September 16, 2010, 08:10:42 AM
Hi! Stability of the new beta 2.3.1009.08 is much better with wmv files!

I seem to see a problem when I have 2 instances open (I find it useful to have 2 instances open to make my workflow more efficient - while 1 instance is performing the trimming operation on clip A, I use the second instance to browse clip B and select which sections to keep). In this situation the instance that is trimming may freeze after reaching 99% complete for a particular tasks. I  then see a Microdoft Visual C++ Runtime Library  error window:

     Runtime Error!

     Program:D:\Program Files (x86)\S...

     This application has requested the Runtime to terminate it in an unusual way.
      Please contact the application's support team for more information.

 For example, in the case i am looking at the trimmer task was going to process 16 tasks, but hung at task 1/16 (99% of current task, 6% of total).
 However, in a previous occurence it completed 4 out of 17 tasks and hung on the 5th one.
 In both occurences it hangs at 99% of the current task. The trimmed clip file is written to disk but not closed properly.

  This has happened 4 times over the past day. In some cases the C++ Runtime Error window was not displayed - in this case the trimming process could be cancelled and the SolveigMM window closed, but the SMMVSplitter.exe *32 process was left hanging and had to be killed through Task Manager.

 I have observed this with both wmv & mpg files. It does not happen the first time I start the second instance - usually both instances complete one or two clip processing sequences successfully before one of them freezes.

  I have not observed this scenario with the previous stable version (2.2.1005.17).

  Maybe you will be able to reproduce this in your lab?
Title: Re: AVI frame accuracy trimming. Testing
Post by: Maxim.Sakhankov on September 17, 2010, 06:09:11 PM
An update has been posted.
You can downloaded the updated beta by the link (http://solveigmm.com/files/SolveigMM_Video_Splitter_2_3_beta.zip).

The installer version is  2.3.1009.17.

Fixes:
- inability to trim multiple fragments from the single GOP.
- incorrect wmv aspect ratio after trimming( while playing trimmed file in WMP )

pallab, as for your problem - I wasn't able to reproduce it yet. Maybe you can give me an extended info from the error/crash window, or make it's screenshot?
Title: Re: AVI frame accuracy trimming. Testing
Post by: pallab on September 19, 2010, 09:28:41 AM
Hi Maxim,

  Thanks for posting the updated beta, I will capture the screenshot if I observe this again!
Title: Re: AVI frame accuracy trimming. Testing
Post by: pallab on September 22, 2010, 10:06:23 AM
I am using Vista x64 and have an observation about memory usage.

Just observing memory usage through Windows Task Manager when opening, splitting & closing the same wmv file 3 times I notice that the memory usage creeps upwards each time.

Not sure if this is significant but thought to mention it - is this expected behaviour?


Step                                                    Mem usage (1st time, 2nd time, 3rd time)
-----                                                    ---------------------------------------
                                                           1st       2nd         3rd
                                                            ---       ----         ----
1. Start Splitter                                      4184K    N/A          N/A

2. Open a wmv file about 800 Mb in size    25572K  41344K     43444K

3. Splitting 10 fragments (using Save As    44498K  49664K     56548K
    Fragments)                                       

4. Splitting completes                             41196K  42876K     47184K

5. Close the file                                     32472K  37068K     41888K


Title: Re: AVI frame accuracy trimming. Testing
Post by: Maxim.Sakhankov on September 27, 2010, 11:26:13 AM
Thanks for your info pallab, will check it.
Title: Re: AVI frame accuracy trimming. Testing
Post by: Maxim.Sakhankov on October 12, 2010, 03:59:02 PM
An update has been posted.
You can download the updated beta by the link (http://solveigmm.com/files/SolveigMM_Video_Splitter_2_3_beta.zip)

The installer version is  2.3.1010.12.

Fixes:
- Crash while trying to load file in a splitter on some machines.
Title: Re: AVI frame accuracy trimming. Testing
Post by: Maxim.Sakhankov on October 26, 2010, 05:34:16 PM
An update has been posted.
You can download the updated beta from here:
http://solveigmm.com/files/SolveigMM_Video_Splitter_2_3_beta.zip (http://solveigmm.com/files/SolveigMM_Video_Splitter_2_3_beta.zip)

The installer version is  2.3.1010.25.

Fixes:
- audio/video synchronization lost in files with long GOP length in AVI and ASF/WMV files.
- invalid output video while cutting some ASF/WMV file with frame accuracy.
- second fragment in some cases was invalid or absent in output file after trimming.
- added logging system.