mikemyers wrote: ↑
Fri May 25, 2018 7:01 am
Is there an editor, or a codec, which would allow the .h264 video to be edited directly?
It depends what you mean by "edit".
Video encoding relies on the concept of I (intra) frames and P (predicted) frames. I frames stand alone, while P frames use the I frames to reduce the amount of data necessary to reconstruct the P frame. I frames occur roughly once a second, but this can vary hugely according to video content ("busy" video needs more frequent I frames). There may also be B frames (bidirectional prediction), but I won't go into those.
If all you want to do is cut and splice, as long as your cut points are exactly at an I frame, the encoded video can be spliced without decoding it (and therefore without loss of quality due to decoding and re-encoding).
If you want to alter the picture in any way (eg zoom or pan), you will need to work on the fully decoded video data. If you want to cut at a point between I frames (or cannot control the cut point), the local GOP (group of pictures - ie the I frame and successive P frames until the next I frame) will need to be decoded and re-encoded to create a new I frame at the cut point.
VideoReDo is an editor which can make intelligent decisions about the need to decode and re-encode.
The quality of the output after re-encoding is highly dependent on the time spent processing it. Higher quality settings require much more intensive processing with a longer processing time. Depending on the power of your PC (and any hardware video encoding acceleration), you may have encoder settings which are a compromise between quality and processing time. You could look for the settings and set for higher quality encoding, but be prepared to wait.