Screen freezes when scrolling timeline with audio waveform

Post Reply
Skedton
Posts: 3
Joined: Sun Mar 30, 2008 3:28 am

Screen freezes when scrolling timeline with audio waveform

Post by Skedton »

With MSP7, When I scroll the timeline with audio track in waveform mode, the screen freezes for a long time (mintuess) but not in the filename mode. This happens when I was using a P4 with 1 Gb ram. Now I am using a duro core with 2 GB ram and things are the same. Otherwise MSP7 is working very satisfactorily. Any Ideas?

Thanks!
Skedton
Devil
Posts: 3032
Joined: Fri Mar 18, 2005 8:06 am
Location: Cyprus

Post by Devil »

It is obvious that to convert a stretch of video to appear correctly takes a lot of resources and audio is secondary to video. If you are in waveform mode, then you are adding a lot of extra detail for your GUI processor to cope with.
[b][i][color=red]Devil[/color][/i][/b]

[size=84]P4 Core 2 Duo 2.6 GHz/Elite NVidia NF650iSLIT-A/2 Gb dual channel FSB 1333 MHz/Gainward NVidia 7300/2 x 80 Gb, 1 x 300 Gb, 1 x 200 Gb/DVCAM DRV-1000P drive/ Pan NV-DX1&-DX100/MSP8/WS2/PI11/C3D etc.[/size]
Gorf
Advisor
Posts: 428
Joined: Tue May 31, 2005 2:46 pm
Location: Blackburn, UK

Post by Gorf »

That's rubbish. When your system is in both filmstrip and waveform mode, MSP has to do far less work when displaying the video frames than it has to do for the waveform.

For example, a single DV clip filling the screen width* will show 29 or 30 video frames - needing about 4MB of picture data in order to decode. It doesn't matter if that's at full zoom (individual frames) or "fit in window" zoom. It doesn't matter if it's a five second, 17MB AVI or a one hour, 13GB AVI. The volume of data read from the disc, and the CPU overhead in decompressing that data to picture information is the same.

Audio, on the other hand, must be read in full. So that 13GB file will be trawled for its 675MB of uncompressed audio data and each pixel width will represent approx 3secs of audio - or 288,000** samples - to find the peak amplitude to get the appropriate height for the waveform display.

Even at full zoom, where you're only displaying just over a second (188 KB) of data, each pixel represents 154 samples which must be "peaked" to yield one pixel width of the waveform. It's less work than the full DV tape example above, so it may even be quicker than the frame display, but it's the only zoom level that is.

* A docked timeline on a maximised MSP window on a 1280 pixel wide screen, with each frame 40x35 pixels.
** 16 bit stereo @ 48 KHz
Skedton
Posts: 3
Joined: Sun Mar 30, 2008 3:28 am

Post by Skedton »

Thanks, guys.

Does that mean in lay terms that it's normal for scrolling the timeline in waveform mode to take much longer time to process that in filename mode. How come it takes the P4 Duo core to take about the same time as a P4 to process the same clip.

Would inreasing the RAM to 4 Gb help?
Skedton
User avatar
Ron P.
Advisor
Posts: 12002
Joined: Tue May 10, 2005 12:45 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Hewlett-Packard 2AF3 1.0
processor: 3.40 gigahertz Intel Core i7-4770
ram: 16GB
Video Card: NVIDIA GeForce GTX 645
sound_card: NVIDIA High Definition Audio
Hard_Drive_Capacity: 4TB
Monitor/Display Make & Model: 1-HP 27" IPS, 1-Sanyo 21" TV/Monitor
Corel programs: VS5,8.9,10-X5,PSP9-X8,CDGS-9,X4,Painter
Location: Kansas, USA

Post by Ron P. »

Simply because MSP8 was out way before the P4 Duo Cores, so it is not written to utilize both cores efficiently..
Ron Petersen, Web Board Administrator
Devil
Posts: 3032
Joined: Fri Mar 18, 2005 8:06 am
Location: Cyprus

Post by Devil »

I disagree partially. It uses dual-cores exactly like it used dual processors and HT, for which it was written. Where I agree is the word 'efficiently'! In fact, any of these technologies will decrease rendering times by only 5-15%. The problem which the OP mentions is a question of the GUI processor, not the CPU nor the RAM (at least normally). There is a slight proviso here: if the GUI is on the motherboard and not a separate card, then a small amount of CPU and RAM horsepower is stolen to drive it. IMO, 4Gb RAM is unnecessary and will not make any difference, If the OP read the PLEASE READ THIS BEFORE POSTING... thread and complied, we would know better what we are dealing with.
[b][i][color=red]Devil[/color][/i][/b]

[size=84]P4 Core 2 Duo 2.6 GHz/Elite NVidia NF650iSLIT-A/2 Gb dual channel FSB 1333 MHz/Gainward NVidia 7300/2 x 80 Gb, 1 x 300 Gb, 1 x 200 Gb/DVCAM DRV-1000P drive/ Pan NV-DX1&-DX100/MSP8/WS2/PI11/C3D etc.[/size]
Gorf
Advisor
Posts: 428
Joined: Tue May 31, 2005 2:46 pm
Location: Blackburn, UK

Post by Gorf »

Skedton wrote:Does that mean in lay terms that it's normal for scrolling the timeline in waveform mode to take much longer time to process that in filename mode <snip> Would inreasing the RAM to 4 Gb help?
No, nor would getting a faster CPU, or moving from on-board to a dedicated, high speed GPU. It's all down to the way MSP was written. Improving your system will speed up MSP performance overall, but will not significantly improve the relative performance of waveform vs frame display.

<snipped bit already answered by vidoman>
troppo
Posts: 290
Joined: Sat Feb 11, 2006 4:51 am
Location: Broome, Western Australia

Post by troppo »

The GUI processor is the CPU, not the GPU. Windows XP does not use the GPU to assist in the display of windowed programs.
Skedton
Posts: 3
Joined: Sun Mar 30, 2008 3:28 am

Post by Skedton »

Thanks again, Guys.

So the hardware is not the culprit. Is there any other video editors that does this differently and faster?

My system is as follows:
CPU - Intel E6400
MB - Foxconn 1965G7MA-8EkRSZH
2 x 1GB Kingston DDR2-667 RAM
Onboard video & audio
Windows XP
Skedton
troppo
Posts: 290
Joined: Sat Feb 11, 2006 4:51 am
Location: Broome, Western Australia

Post by troppo »

I'd say that most other editors do things differently.. ;)
Post Reply