Trying to join two clips that are h.264 with no luck. As a test, I rendered them both using Virtualdub's x264 8-bit video encoder, and the LAME MP3 audio encoder, then tried to take those clips and join them together. Since they were both rendered using Vdub's own codec, I figured there wouldn't be an issue, but I'm getting an error when I try to stream copy:
And an error when I try full processing, smart render:Direct stream copy cannot be used with this video stream. You may want to select a different Input Driver.
Is this just a limitation of the x264 codec? Of course, my eventual use case would be to try and join two clips that weren't re-encoded by Vdub, but this experiment seems to suggest it isn't possible at all. Why is this?Cannot initialize smart rendering: The selected video codec is able to compress the source video, but cannot match the same compressed format.
+ Reply to Thread
Results 1 to 5 of 5
I believe the smart rendering only works with AVI files. And you generally shouldn't use x264 in AVI. And you may need to force the AVI File reader when you open the video.
As in, .avi source and output files? Because .mp4 sources to .avi outputs didn't work, maybe I could try re-wrapping before my next attempt.
And you generally shouldn't use x264 in AVI
And you may need to force the AVI File reader when you open the video
Some years ago I struggled to find a method that would losslessly join three or four MP4 / H.264 videos with no synchronization issue. The only one that worked flawlessly was ffmpeg with a temporary TS remuxing.
ffmpeg -i "input1.mp4" -c copy -bsf h264_mp4toannexb "temp1.ts" ffmpeg -i "input2.mp4" -c copy -bsf h264_mp4toannexb "temp2.ts" ffmpeg -i "input3.mp4" -c copy -bsf h264_mp4toannexb "temp3.ts" ffmpeg -i "concat:temp1.ts|temp2.ts|temp3.ts" -c copy -absf aac_adtstoasc "output.mp4"
Virtualdub Hack" or "Packed Bitstream".