Windows 10: PC hangs/freezes while splitting a large video

Page 2 of 3 FirstFirst 123 LastLast
  1.    26 May 2018 #11

    Bree said: View Post
    Is your windows 32-bit or 64-bit? If 32-bit then you won't be able to use all of that 4GB. Typically you'll have about 2.6GB available to use...

    1.1gb cached memory out of 2.6gb ram
    My Windows is 64 bit. If I increase ram to 4GB, will it work.
      My ComputerSystem Spec

  2.    26 May 2018 #12

    CountMike said: View Post
    Actually all of them RAM would have greatest impact. You really need older programs. Ones like Handbrake or using Handbrake and Vondershare for instance make even my 8core, 16 thread processor and 16GB f RAM sweat a lot.
    Which free older program can split MPEG2 without putting pressure to processor, if I increase ram to 4GB.
      My ComputerSystem Spec

  3.    26 May 2018 #13

    Bree said: View Post
    Trying to work on a 14GB video with only 2GB installed RAM, you're going to be hammering the swapfile. That alone could be sufficient to explain why the system slows to a crawl.

    If, as is likely with that amount of RAM, you run the 32-bit version of Windows 10 then installing more RAM is not going to help much. The 4GB address limit of a 32-bit OS means you'd only have about 2.9GB available to use, however much RAM you add.

    You might place less demands on the system using the command line utility FFmpeg. https://ffmpeg.org/

    Its parammeters -ss and -to can be used to specify start and end times of a section of video you want to extract. The -c copy parameter will avoid the need for any codec processing for decoding/recoding the video while working on it.
    https://trac.ffmpeg.org/wiki/Seeking...gsmallsections
    Thanks very much. Though I am not conversant with command prompt and ffmpeg was also a new thing to me. But with the help of some friends and google, I succeeded and that also very fast. I think now I will be using it very often for splitting and will see that what other things can be done with this. Thanks again
      My ComputerSystem Spec

  4.    26 May 2018 #14

    sam9 said: View Post
    Thanks very much. Though I am not conversant with command prompt and ffmpeg was also a new thing to me. But with the help of some friends and google, I succeeded and that also very fast. I think now I will be using it very often for splitting and will see that what other things can be done with this. Thanks again
    One more thing, as my video size is very big and even after splitting, the split part size is also big. can it also reduce the split part size to enable me to easily upload to google drive or youtube.
      My ComputerSystem Spec

  5. Bree's Avatar
    Posts : 8,842
    10 Home x64 (1809) (10 Pro on 2nd pc)
       26 May 2018 #15

    sam9 said: View Post
    Thanks very much. Though I am not conversant with command prompt and ffmpeg was also a new thing to me. But with the help of some friends and google, I succeeded and that also very fast. I think now I will be using it very often for splitting and will see that what other things can be done with this. Thanks again

    Yes, FFmpeg's command prompt options can be a bit cryptic, but it is powerful open source software and is used by many professionals. It can do ANYTHING you could possibly think of doing to a video. Apart from converting from any known video format to any other, it can crop, scale, rotate or resample to a new frame rate. These days I create a batch file script of FFmpeg commands to do all my video editing.

    As it is used by many professionals, you'll find any question you have about how to do something (however obscure) has already been asked and answered on a professional forum somewhere. Just Google it, that's what I do when I's stuck

    It also comes with a player that takes the same commands so you can 'test run' your command options. It's called FFplay.
      My ComputersSystem Spec

  6. Bree's Avatar
    Posts : 8,842
    10 Home x64 (1809) (10 Pro on 2nd pc)
       26 May 2018 #16

    sam9 said: View Post
    One more thing, as my video size is very big and even after splitting, the split part size is also big. can it also reduce the split part size to enable me to easily upload to google drive or youtube.
    You can dramatically reduce the size of a video file by using higher compression levels. The Constant Rate Factor (CRF) is used to specify compression. In addition, you can specify how much time it spends processing each frame, from 'ultrafast' to 'veryslow'. The longer you take, the better the quality of the compressed video. Typically I use....

    ffmpeg -i input.mp4 -crf 28 -preset veryslow output.mp4

    ...which generally takes about four times as long as the video length (I leave it running over night for long videos).


    The range of the CRF scale is 051, where 0 is lossless, 23 is the default, and 51 is worst quality possible. A lower value generally leads to higher quality, and a subjectively sane range is 1728...

    ...The range is exponential, so increasing the CRF value +6 results in roughly half the bitrate / file size, while -6 leads to roughly twice the bitrate...
    https://trac.ffmpeg.org/wiki/Encode/H.264
      My ComputersSystem Spec

  7.    26 May 2018 #17

    Bree said: View Post
    Yes, FFmpeg's command prompt options can be a bit cryptic, but it is powerful open source software and is used by many professionals. It can do ANYTHING you could possibly think of doing to a video. Apart from converting from any known video format to any other, it can crop, scale, rotate or resample to a new frame rate. These days I create a batch file script of FFmpeg commands to do all my video editing.

    As it is used by many professionals, you'll find any question you have about how to do something (however obscure) has already been asked and answered on a professional forum somewhere. Just Google it, that's what I do when I's stuck

    It also comes with a player that takes the same commands so you can 'test run' your command options. It's called FFplay.
    Is it possible for you to share the Batch File created by you?
      My ComputerSystem Spec

  8. Bree's Avatar
    Posts : 8,842
    10 Home x64 (1809) (10 Pro on 2nd pc)
       26 May 2018 #18

    Each batch file is a list of ffmpeg commands tailored for a specific video, each command specifies the start and stop time for each extract, followed by a FFmpeg command line to join (concatenate) all the extracts into a single complete video. I use Movie Maker purely as a player to locate the exact time of the frame I want as an edit point.

    This is a typical batch file. You'll see a few unfamiliar options, like afade (audio fade) and yadif (Yet Another De-Interlace Filter).

    Code:
    ffmpeg -i 1.mp4 -ss 2.73 -to 1491.73 -vf yadif -aspect 16:9 -c:v mpeg4 -q 2 -b:a 128k 2a.mp4
    ffmpeg -i 2a.mp4 -af "afade=t=in:ss=0:d=6" -c:v copy 2.mp4
    ffmpeg -i 1.mp4 -ss 1498.07 -to 2737.07 -vf yadif -aspect 16:9 -c:v mpeg4 -q 2 -b:a 128k 3.mp4
    ffmpeg -i 1.mp4 -ss 2747.27 -to 4365.23 -vf yadif -aspect 16:9 -c:v mpeg4 -q 2 -b:a 128k 4.mp4
    ffmpeg -i 1.mp4 -ss 4370.63 -to 5912.57 -vf yadif -aspect 16:9 -c:v mpeg4 -q 2 -b:a 128k 5.mp4
    ffmpeg -i 1.mp4 -ss 5917.90 -to 7884.80 -vf yadif -aspect 16:9 -c:v mpeg4 -q 2 -b:a 128k 6.mp4
    echo file '2.mp4' > files.txt
    echo file '3.mp4' >> files.txt
    echo file '4.mp4' >> files.txt
    echo file '5.mp4' >> files.txt
    echo file '6.mp4' >> files.txt
    ffmpeg -f concat -i files.txt -crf 28 -tune film -preset veryslow -aspect 16:9 -af "volume=6dB" "My Edited Video.mp4"
    The original unedited video was 1.mp4, the intermediate extracted clips (2.mp4, etc.) and the files.txt list of clips can be deleted once the finished video is made.
      My ComputersSystem Spec

  9.    26 May 2018 #19

    Bree said: View Post
    Each batch file is a list of ffmpeg commands tailored for a specific video, each command specifies the start and stop time for each extract, followed by a FFmpeg command line to join (concatenate) all the extracts into a single complete video. I use Movie Maker purely as a player to locate the exact time of the frame I want as an edit point.

    This is a typical batch file. You'll see a few unfamiliar options, like afade (audio fade) and yadif (Yet Another De-Interlace Filter).

    Code:
    ffmpeg -i 1.mp4 -ss 2.73 -to 1491.73 -vf yadif -aspect 16:9 -c:v mpeg4 -q 2 -b:a 128k 2a.mp4
    ffmpeg -i 2a.mp4 -af "afade=t=in:ss=0:d=6" -c:v copy 2.mp4
    ffmpeg -i 1.mp4 -ss 1498.07 -to 2737.07 -vf yadif -aspect 16:9 -c:v mpeg4 -q 2 -b:a 128k 3.mp4
    ffmpeg -i 1.mp4 -ss 2747.27 -to 4365.23 -vf yadif -aspect 16:9 -c:v mpeg4 -q 2 -b:a 128k 4.mp4
    ffmpeg -i 1.mp4 -ss 4370.63 -to 5912.57 -vf yadif -aspect 16:9 -c:v mpeg4 -q 2 -b:a 128k 5.mp4
    ffmpeg -i 1.mp4 -ss 5917.90 -to 7884.80 -vf yadif -aspect 16:9 -c:v mpeg4 -q 2 -b:a 128k 6.mp4
    echo file '2.mp4' > files.txt
    echo file '3.mp4' >> files.txt
    echo file '4.mp4' >> files.txt
    echo file '5.mp4' >> files.txt
    echo file '6.mp4' >> files.txt
    ffmpeg -f concat -i files.txt -crf 28 -tune film -preset veryslow -aspect 16:9 -af "volume=6dB" "My Edited Video.mp4"
    The original unedited video was 1.mp4, the intermediate extracted clips (2.mp4, etc.) and the files.txt list of clips can be deleted once the finished video is made.
    Thanks very much. Though these things goes above my head but I will try to learn. I normally do splitting or reducing the file size.
      My ComputerSystem Spec

  10. Bree's Avatar
    Posts : 8,842
    10 Home x64 (1809) (10 Pro on 2nd pc)
       26 May 2018 #20

    sam9 said: View Post
    Thanks very much. Though these things goes above my head but I will try to learn. I normally do splitting or reducing the file size.
    Scaling the video down to (say) 320p, and/or using a high CRF of (typically) 28 can significantly reduce the size of the video to be uploaded.

    This video may help explain using CRF...
    FFmpeg video compression - decrease size, maintain quality - YouTube
      My ComputersSystem Spec


 
Page 2 of 3 FirstFirst 123 LastLast

Related Threads
Hello. If a moderator prefers to move this thread to another subforum please feel free. The issue is with transferring large files from my main HDD to my removable HDD, the transfer STOPS and Windows freezes (usually recoverable by clicking...
Hi. I am currently trying to transfer files to my new 4tb WD external HD. Ran into a problem where some specific large mkv files transferring freezed. don't know what causes it. I did try to copy and paste the same file on the original location,...
When dealing with large video files (.MOV QT ProRes) that are 60-100 gigs in file size Explorer on Windows 10 Pro/Enterprise (v1607) will often freeze and come to a grinding halt. Physical memory is gobbled up by Explorer, and then all the Virtual...
I'm getting this periodically when renaming a folder, explorer.exe will hang for a while when attempting to rename. Any ideas guys?:rolleyes: --win10 64-bit home(Anniversary edition)--Norton AV--Comodo Firewall--
Hi all, I am having a very annoying issue and hoping someone can help me out here. I am running Windows 10 on an HP Spectre x360 laptop. I have a clean install of Win10 (and actually did a clean re-install when I started noticing this issue in...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 04:44.
Find Us