Hi,
i want to cut off parts of a video but without recoding. I use virtualdub for that but i have found it has a glitch because it doesnt cut exactly at the time frame i want, but always keeps some seconds before and no matter what i do i just cant cut that part off unless i recode. Is there any other program that can do that but do it right?
Thank you.
+ Reply to Thread
Results 1 to 30 of 48
-
-
An issue discussed a thousand times. Obviously, you are using a compressed video with a long GOP structure. Unless you use smart rendering, you can only cut on I-frames, not P or B frames.
-
Well, sorry for not being around in any of the thousand times this issue was discussed... anyway, could you please tell me if smart render is possible in virtualdub?
-
what format? smart rendering is only possible on very few types of video with specific editors. mainly variants of mpeg-2, and DVavi.
--
"a lot of people are better dead" - prisoner KSC2-303 -
Assuming it's XviD or DivX AVI then, yes, smart rendering is available for you. It'll reencode the rest of the GOP where you make the cut and direct stream the rest.
-
Strangely enough, this is described in the section on 'Smart rendering' in the VirtualDub help file.
Might be worth a read... -
Nothing strange, i was using virtualdubmod, i assumed it had the same options. The video is avi but was made with mpeg (recorded with bandicam) and i already tried smart rendering but seems like it wont work. I get an error.
Isnt there any alternative for virtualdub? besides i dont want to render, i want direct stream copy because its much faster and there is no quality loss. There must be a way to cut off that part without recoding.Last edited by supercain; 24th Apr 2012 at 05:06.
-
VirtualDub's smart rendering will probably work if you install an old build of ffdshow and enable its VFW MPEG1 decoder and use its MPEG1 encoder. But recent builds of ffdshow have dropped most of the encoders so you'll have to search for an old build. I don't know exactly when the other encoders were dropped:
https://www.videohelp.com/tools/ffdshow/old-versions#download
One of the comments says rev3029 was the last build with all the encoders. -
For your purposes here you can disable all the audio and video codecs except "MPEG in AVI" in the VFW section.
-
I had already installed without checking any of the options. Should i reinstall it or can i set it up again even after having installed it?
-
Just select Start -> All Programs -> ffdshow -> VFW Configuration. Go to the Decoder tab, select Decoder in the left pane, then scroll down to enable "MPEG in AVI" in the right pane. You can disable any other codecs that you want there. If they're giving you problems you can disable the DirectShow video and audio decoders if you want via Start -> All Programs -> ffdshow -> Video Decoder Configuration, and Start -> All Programs -> ffdshow -> Audio Decoder Configuration.
-
-
-
Thank you, i found the option. I selected libavcodec and then i opened my file in virtualdub, i cut off the part i dont need, selected smart rendering and the bandicam mpeg codec for the compression and i still get this error:
unable to initialize the output video codec. Check that the video codec is compatible with the output video frame size and that the settings are correct or try a different one.
By the way, im using the virtualdub i already had, the 1.9.11 version. I didnt choose to install it when i installed ffdshow since i already had virtualdub.
Thank you. -
-
-
The sample clip I downloaded from bandicam.com had the frame rate set as 30000000 / 1000000. That was probably causing a numeric overflow in VirtualDub or ffdshow's frame rate calculations. I used AviFrate to change it to 30000 / 1000 to eliminate that problem.
What's the frame size of the video you're working with? Maybe ffdshow has different frame size limitations. Stick with mod 16 whenever possible.
Yes, you should be using Full Processing mode and Smart Rendering.Last edited by jagabo; 25th Apr 2012 at 08:40.
-
The video has a bitrate of 4519 and a frame rate of 30fps. Size is 1920x1080. I just want to cut off the undesired parts but keeping the same quality and not spend time in recoding it. Thank you for your help.
-
Tested some cuts on "Bandicam download sample" using VD Direct Stream Copy and no have any problems.
ClaudioLast edited by Cauptain; 28th Apr 2012 at 02:29.
-
My problem is that i cant smart render. I have the same settings as in the picture of the post by jagabo. I get an error that says:
Unable to initialize the output video codec. Check that the video codec is compatible with the output video frame size and that the settings are correct or try a different one.
Sometimes i get also this one:
Cannot initialize smart rendering. The selected video codec is able to compress the video but cannot match the same compressed format.
i recorded my video using bandicam mpeg codec at 60% of quality. The video has a bitrate of 4519 and a frame rate of 30fps. Size is 1920x1080.Maybe you need to try out with my video to see better. Let me know if i should uploaded somewhere so you can see it.
Thanks. -
Thank you.
-
Thank you.
Similar Threads
-
No direct stream copy in vegas pro 11?
By supercain in forum EditingReplies: 13Last Post: 18th Dec 2011, 02:10 -
direct stream copy of a mkv file Q
By Information in forum EditingReplies: 5Last Post: 20th Jul 2009, 14:06 -
h.264 one-click solution with direct stream copy?
By mpalm887 in forum DVD RippingReplies: 2Last Post: 30th Apr 2009, 21:24 -
Direct Stream Copy for All Formats
By bigMach™ in forum EditingReplies: 10Last Post: 11th Jun 2008, 13:02 -
Virtualdub direct stream copy takes _forever_. What's going on?
By Colmino in forum Newbie / General discussionsReplies: 3Last Post: 8th May 2008, 08:01