Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Can't DELETE Videos properly using Avidemux ....

19 Dec 2015   #1
fahadhum

Windows 7 Home Premium 64 bit
 
 
Can't DELETE Videos properly using Avidemux ....

I am trying to delete UNWANTED scenes from Movies.I selected one particular scene and deleted it using Avidemux.I simply selected that LETTER A and dragged the slip to the end of the scene (where i wanted the scene to end) & then i clicked Letter B.

Then after that , i selected the Output format (Which in this case was mkv).After clicking save , it gave me this error.


What am i doing worng....




Attached Thumbnails
Can't DELETE Videos properly using Avidemux ....-avedimux-error.png  
My System SpecsSystem Spec
.
20 Dec 2015   #2
wasnotwas

W10 Pro x64, W7 Pro x64 in VMware
 
 

Movies are not a series of images, there are I frames - as in image (about every second or so) and the frames inbetween are calculated on the fly.

In Avidemux, if the edits/cuts are made on I frames you can simply save the output with audio + video on copy and it does just that ie copies very fast. If the cuts are not on I frames, a recode is required which takes longer (and slightly degrades the movie quality). The audio and video then have to be set according eg x264 and faac.

If you look at the bottom of the GUI, it tells you what type of frame the position indicator is on ( I, P or B frames). If you navigate thru the movie when editing using up/down arrow keys, you are always on an I frame. Using L/R arrows is one frame at a time.

https://en.wikipedia.org/wiki/Video_..._picture_types
My System SpecsSystem Spec
21 Dec 2015   #3
fahadhum

Windows 7 Home Premium 64 bit
 
 
It worked :)

Quote   Quote: Originally Posted by wasnotwas View Post
Movies are not a series of images, there are I frames - as in image (about every second or so) and the frames inbetween are calculated on the fly.

In Avidemux, if the edits/cuts are made on I frames you can simply save the output with audio + video on copy and it does just that ie copies very fast. If the cuts are not on I frames, a recode is required which takes longer (and slightly degrades the movie quality). The audio and video then have to be set according eg x264 and faac.

If you look at the bottom of the GUI, it tells you what type of frame the position indicator is on ( I, P or B frames). If you navigate thru the movie when editing using up/down arrow keys, you are always on an I frame. Using L/R arrows is one frame at a time.

https://en.wikipedia.org/wiki/Video_..._picture_types
I initially couldn't understand this I Frame thing.So,i dropped this idea of deleting Unwanted scenes from movies.But this morning,i noticed in your reply something about setting the Audio to faac and Video to x264.I tried selecting those options after deleting a specific scene and IT WORKED.

I basically did 3 things after deleting the scene,

1.Firstly , i changed the file extension by clicking the "Output Format" & selecting "Mkv Muxer"
2.Then I clicked the "Video Output" & selected "Mpeg4 AVC (X264)"
3.Then i clicked the "Audio Output" and selected "AAC (faac)"

Then after saving , the Encoding processes started and it took about roughly 30 minutes or so to complete.The result was PERFECT.The timing was precise , just as i selected for the scene to start and end.

My question now is that , does this process decreases the Video Quality of the final Output file?
My System SpecsSystem Spec
.

21 Dec 2015   #4
wasnotwas

W10 Pro x64, W7 Pro x64 in VMware
 
 

In general, any recoding of video will degrade the quality, but if you set the bitrate to a suitable value the difference will probably be not noticeable. If the filesize after encoding is about the same as the original, then the bitrate is OK. In Avidemux, click configure under Video Output to get to bitrate, 1 pass/2pass settings etc.

The business with I frames is worth getting the hang of, because if you cut on I frames the output is just a 1:1 copy of the remaining scenes, with no loss of quality (and is fast). The distance between I frames is different for each movie (it's set by the person who encoded it), but is usually about 1 sec or 30 frames approx. Obviously the cut points for your edit will probably not fall conveniently on I frames, but if you can live with that, it's the best method for editing.

My approach - say you wanted to save just one scene from a movie -

load the movie in Avidemux

press up and down arrow keys to get to the scene start
click B, then del to remove highlighted 1st part

press up and down arrow keys to get to the scene end
click A, then del to remove unwanted highlighted last part

if you only moved the position using up/down arrow keys, the cuts will be on I frames and the settings can be left on copy (it shows I, P or B frame at the bottom of the interface). Click to save, and it takes about 3 secs.

If cutting on I frames is not accurate enough, use L-R arrows for 1 frame at a time and encode the result (longer).

I often use a mixture of copy + encode eg if a movie has low audio volume, I leave the video on copy, click audio Filters and set the gain to (say) manual +12 dB. When I save, the audio is boosted (recoded) and the video isn't touched so is identical quality. You can even shift the audio in millisecs to fix out of sync movies.

Sorry for long reply.
My System SpecsSystem Spec
24 Dec 2015   #5
fahadhum

Windows 7 Home Premium 64 bit
 
 
You were rite ...

Quote   Quote: Originally Posted by wasnotwas View Post
In general, any recoding of video will degrade the quality, but if you set the bitrate to a suitable value the difference will probably be not noticeable. If the filesize after encoding is about the same as the original, then the bitrate is OK. In Avidemux, click configure under Video Output to get to bitrate, 1 pass/2pass settings etc.

The business with I frames is worth getting the hang of, because if you cut on I frames the output is just a 1:1 copy of the remaining scenes, with no loss of quality (and is fast). The distance between I frames is different for each movie (it's set by the person who encoded it), but is usually about 1 sec or 30 frames approx. Obviously the cut points for your edit will probably not fall conveniently on I frames, but if you can live with that, it's the best method for editing.

My approach - say you wanted to save just one scene from a movie -

load the movie in Avidemux

press up and down arrow keys to get to the scene start
click B, then del to remove highlighted 1st part

press up and down arrow keys to get to the scene end
click A, then del to remove unwanted highlighted last part

if you only moved the position using up/down arrow keys, the cuts will be on I frames and the settings can be left on copy (it shows I, P or B frame at the bottom of the interface). Click to save, and it takes about 3 secs.

If cutting on I frames is not accurate enough, use L-R arrows for 1 frame at a time and encode the result (longer).

I often use a mixture of copy + encode eg if a movie has low audio volume, I leave the video on copy, click audio Filters and set the gain to (say) manual +12 dB. When I save, the audio is boosted (recoded) and the video isn't touched so is identical quality. You can even shift the audio in millisecs to fix out of sync movies.

Sorry for long reply.
It is ok.I am used to long reply's, since i write long reply's myself .

Anyways,my excitement for finally being able to edit scenes from my Movies has gone down.You were rite about this technique of Using "Mpeg4 AVC x264" as Video Output & using "AAC (Faac)" as Audio Output taking longer time in Encoding.

This was not the case with .mkv extension Movie which i tried to edit But now i tried deleting scenes from a .MP4 Movie that i had , and you are not gonna believe the Encoding process time ..Like , 5 or 6 hours , sometimes its says 1 , sometimes 2..It keeps on changing...but usually 5 to 6 hours ...

Now,here is the thing.I just noticed that using Up & Down Keys for "I" Frames is not precise.So,i have to use the Left & Right Arrow keys,but it won't stay on "I" frame once the left or right arrow is pressed....
So i can not really choose where I WANT the scene to start or end.
Now that i think about it.This thing also happened in a similar software that i used earlier called "Free Movie Studio" or something. ..
It was editing scenes 4 or 5 seconds late from what i had selected.Perhaps it was an "I" Frame thing and any particular scene could only be deleted on a specific "I" frame.
My System SpecsSystem Spec
27 Dec 2015   #6
fahadhum

Windows 7 Home Premium 64 bit
 
 

Alrite.I have decided to delete scenes from a Movie that i have.I am not going to use the I Frame , rather i will be deleting scenes from my own choice.The encoding process will take 6 to 7 hours.So be it At least , i will have the thing i want (I hope).I am skeptical about the final file size.But let's see.

I have a laptop and i have my own Desktop as well.So,i will just put this Encoding process in my Laptop at night & will see the result afterwards....
My System SpecsSystem Spec
28 Dec 2015   #7
fahadhum

Windows 7 Home Premium 64 bit
 
 

Before i say anything, i must say that it feels to see the only my own comments here, for the past few days
Anyways,i finally found a solution...
The process i mentioned in my previous reply took roughly 12 hours.
And later i tried using "I" Frames but used "mpeg X264" as "Video Out" & using "AAC (faac)" as Audio Output which was taking slightly less time,perhaps 6 hours or so. ..
So i decided to use "Copy" for both "Audio Output" & "Video Output".
It took ONLY 6 or so minutes.THAT's IT
Even though, "I" FRAMES cutting is not 100% accurate but it is like closer to 85% in my opinion.Which is working great for me.
Thank you all for your replies...
My System SpecsSystem Spec
28 Dec 2015   #8
wasnotwas

W10 Pro x64, W7 Pro x64 in VMware
 
 

Not ignoring your posts - didn't have much else to add from my previous messages.

Avidemux works as you have described - cut on I frames + copy is fast with no loss of quality. Anything else is a recode and longer. I still think it's a good app (for free) - has many uses.

If you don't already use it, you might want to also checkout Handbrake, which is a fast, free convertor that can resize and/or trim black letterbox bars automatically. Accepts virtually any video file and converts to mp4 or mkv. Jobs can be queued and run in a batch eg overnight.

https://handbrake.fr/
My System SpecsSystem Spec
29 Dec 2015   #9
fahadhum

Windows 7 Home Premium 64 bit
 
 
I understand ...

Quote   Quote: Originally Posted by wasnotwas View Post
Not ignoring your posts - didn't have much else to add from my previous messages.

Avidemux works as you have described - cut on I frames + copy is fast with no loss of quality. Anything else is a recode and longer. I still think it's a good app (for free) - has many uses.

If you don't already use it, you might want to also checkout Handbrake, which is a fast, free convertor that can resize and/or trim black letterbox bars automatically. Accepts virtually any video file and converts to mp4 or mkv. Jobs can be queued and run in a batch eg overnight.

https://handbrake.fr/
There is one small thing,that has come about.That is: after editing a movie via Avidemux,i decided to add subtitles to it using "DivX Media Subtitler".Since,the regular SRT (Subtitles) file that came with movie is not going to be accurate now.As i have deleted some scenes from the movie.

Anyways,i used 3 lines of dialogues and applied them on the movie as an SRT file.When i played the movie to check the result,the scene/frame lagged for a second as soon as the subtitle appeared.Which was odd.

I was watching the movie with Power Plan set to Balanced Mode on my Laptop.But when i turned to High Performance , the scenes with my subtitles weren't lagging.

I have watched plenty movies with Balanced mode and subtitles.This didn't happened before.

Any thoughts ?
My System SpecsSystem Spec
29 Dec 2015   #10
wasnotwas

W10 Pro x64, W7 Pro x64 in VMware
 
 

Can't help with that one - I never use subs.
My System SpecsSystem Spec
Reply

 Can't DELETE Videos properly using Avidemux ....




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
How to create bootmgr for windows 7 after Properly Delete a OS
How to create bootmgr for windows 7 after Properly Delete a OS in a Dual Boot. I Have Two Os (windows 7 and windows xp service pack 3) in my hard disk. I don't have knowledge so i delete xp from hard disk directly by deleting files and restart my pc, so problem is that its not load windows 7 :(...
Installation & Setup
How do I properly delete my old playlists that have been moved?
When I moved my audio and video files lots of playlists no longer worked so I tried to delete them. This worked but every time I restarted my computer and opened up Windows Media Player every single one of them returned as if they had never been deleted. Is there a way to delete the play lists...
Music, Pictures & Video
My graphic card isn't functioning properly, games/videos won't load
I've been having this problem for a while now, and I stopped using my Windows desktop and started using my Chromebook instead. I just got back into using my desktop again, and I restarted it factory fresh. After installing all possible Windows updates, installing the latest graphics drivers, and...
Graphic Cards
Cannot play videos properly
Today I opened a video on my computer, but none of the video players could play it properly. I tried with KM Player and there was a sound but no video . Next I tried VLC player but video was pixelated. I also tried BS player and video and sound were not synchronized. I tried few other players but...
Music, Pictures & Video
Videos on YouTube Not Playing Properly
I'm having an issue with YouTube videos on Firefox 22 not playing properly they will wait for about a minute and all the YouTube controls will come up, Videos are playing just fine on IE10 though, is there any way to where I can fix the issue on Firefox I am using the latest version of Adobe Flash...
Browsers & Mail
certain videos do not play properly
I've been stumped by this video problem for too long and I would really appreciate it if someone here can figure it out. (if this is not an appropriate forum for this problem, I would appreciate it if someone could point me to one that is. thanks in advance!) The problem occurs when I am...
Music, Pictures & Video


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 06:49.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App