You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
The timeline classes are finally working correctly, and have the following features:
1) Layers (unlimited # of layers) 2) IN, OUT, and Position (time) 3) X, Y offset 4) Alpha 5) Rotation 6) Transparency + compositing + overlays
This commit is contained in:
@@ -442,23 +442,6 @@ void FFmpegWriter::WriteTrailer()
|
||||
if (info.has_audio && audio_st)
|
||||
write_audio_packets(true);
|
||||
|
||||
// Experimental: Repeat last frame many times, to pad
|
||||
// the end of the video, to ensure the codec does not
|
||||
// ignore the final frames.
|
||||
// if (last_frame)
|
||||
// {
|
||||
// // Create black frame
|
||||
// tr1::shared_ptr<Frame> padding_frame(new Frame(999999, last_frame->GetWidth(), last_frame->GetHeight(), "#000000", last_frame->GetAudioSamplesCount(), last_frame->GetAudioChannelsCount()));
|
||||
// padding_frame->AddColor(last_frame->GetWidth(), last_frame->GetHeight(), "#000000");
|
||||
//
|
||||
// // Add the black frame many times
|
||||
// for (int p = 0; p < 100; p++)
|
||||
// WriteFrame(padding_frame);
|
||||
//
|
||||
// // Write these blank frames
|
||||
// write_queued_frames();
|
||||
// }
|
||||
|
||||
// Flush encoders (who sometimes hold on to frames)
|
||||
flush_encoders();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user