Avidemux Forum

Avidemux => Windows => Topic started by: lenildosb on October 14, 2012, 10:24:10 PM

Title: cut videos in mkv format, help me!!!!
Post by: lenildosb on October 14, 2012, 10:24:10 PM
please, help me friends, urgent, have a video and want cut part at the beginning, but when I save appears the error: 'The beginning frame is not a key frame. Please move the A marker.'

i mark copy for video and audio (not want render), after mark set A I(00) in beginning and set B P(00) in end the part that cut...

the avidemux cut only when set B is I(00).

can someone explain to me how to do precise cutting?
Title: Re: cut videos in mkv format, help me!!!!
Post by: Jan Gruuthuse on October 15, 2012, 05:11:12 AM
This depends on the used video codec inside the mkv container.
Avidemux 2.6 is time based, orientated towards the newer video codecs H264, AVC, ... And cuts only on keyframes (up/down keyboard arrow)
Avidemux 2.5.6 is frame based
So try with 2.5.6 and see if that works for you. If not you need to use 2.6
Title: Re: cut videos in mkv format, help me!!!!
Post by: lenildosb on October 15, 2012, 10:15:23 PM
already tested in 2.5.6 and not forward, appears 'The beginning frame is not a key frame. Please move the A marker.'

must have a specific explanation for this!!!!!

many users have this same problem and so far no one can explain...........
Title: Re: cut videos in mkv format, help me!!!!
Post by: Jan Gruuthuse on October 16, 2012, 05:26:13 AM
When that message appears: press keyboard arrow up key once and mark that location [A ].
Key frames are selected with up/down arrow. If avidemux for one reason or another does not recognize key frames, it becomes hard to make cut.
This could be the case on H264 or avc in mkv, other possibilities too. Without a sample nobody can't explain what is going on. Provide sample: 5 sec or 20 MB, and upload to rapidshare (https://www.rapidshare.com/) or similar web service and provide a link to it.
Title: Re: cut videos in mkv and mp4 format, help me!!!!
Post by: lenildosb on October 29, 2012, 11:35:06 PM
try cutting the commercial this stretch the video !!!!!

cutting in time 00:00:06.680 in mode copy video and audio

https://hotfile.com/dl/177951820/c0f08b2/Cassey_Doreen___Loona_-_Tell_It_To_My_Heart_(Official_HD)_-_YouTube.MP4.html
Title: Re: cut videos in mkv format, help me!!!!
Post by: Jan Gruuthuse on October 30, 2012, 10:35:02 AM
You can't cut in between this cutting points, cutting points only available at:
0:00:01.880
0:00:03.880
0:00:05.880
0:00:06.999
0:00:09.000
0:00:10.800

If you want something else: make a rough edit with:
cut at cutting point before start
cut at cutting point after end
save edited video to new clip
re-encode saved new clip to a lossless video codec like: Huffyuv, where you can have frame based editing.
once this edited: re-encode to video codec you want for end usage.
Title: Re: cut videos in mkv format, help me!!!!
Post by: lenildosb on November 04, 2012, 02:28:15 AM
should have some way cutting the frame P without re-encode, a friend can, but not whether me teach!!!!
Title: Re: cut videos in mkv format, help me!!!!
Post by: Jan Gruuthuse on November 04, 2012, 07:30:34 AM
When you found out, please let me know how to? Plenty of people want to know how this could be done.
Title: Re: cut videos in mkv format, help me!!!!
Post by: jaaney on December 22, 2012, 04:51:24 AM
Basically when u get this message go back to the beginning of the video that you are editing so the time is at 0.  On the Keyboard hit the up arrow key once then press the B button once on Avidemux not on the keyboard press the delete key now you should be able to save the video successfully.
Title: Re: cut videos in mkv format, help me!!!!
Post by: jaaney on December 22, 2012, 04:52:57 AM
Basically when u get this message go back to the beginning of the video that you are editing so the time is at 0.  On the Keyboard hit the up arrow key once then press the B button once on Avidemux NOW on the keyboard press the delete key once now you should be able to save the video successfully
Title: Re: cut videos in mkv format, help me!!!!
Post by: lenildosb on December 22, 2012, 09:08:52 PM
hi friend jaaney, I did not, you can make a video demonstration through, cut p-frames not work in avidemux, only i-frames!!!!  :-[ :-[ :-[ :-[ :-[ :-[