minor fixes from Andrew + info on plugins
authorGood Guy <good1.2guy@gmail.com>
Mon, 30 Aug 2021 01:23:16 +0000 (19:23 -0600)
committerGood Guy <good1.2guy@gmail.com>
Mon, 30 Aug 2021 01:23:16 +0000 (19:23 -0600)
cinelerra-5.1/cinelerra/fileffmpeg.C
cinelerra-5.1/cinelerra/pluginserver.C
cinelerra-5.1/info/plugins.txt

index bcc558170db4817a3976f0a248aaabfe7aaa3b05..a6437242ddd633973252b2fcac7a9f9f4bab9e84 100644 (file)
@@ -159,7 +159,7 @@ void FFMpegPixelFormat::update_formats()
        pixfmts.remove_all_objects();
        char video_codec[BCSTRLEN]; video_codec[0] = 0;
        const char *vcodec = vid_config->asset->vcodec;
        pixfmts.remove_all_objects();
        char video_codec[BCSTRLEN]; video_codec[0] = 0;
        const char *vcodec = vid_config->asset->vcodec;
-       AVCodec *av_codec = !FFMPEG::get_codec(video_codec, "video", vcodec) ?
+       const AVCodec *av_codec = !FFMPEG::get_codec(video_codec, "video", vcodec) ?
                avcodec_find_encoder_by_name(video_codec) : 0;
        const AVPixelFormat *pix_fmts = av_codec ? av_codec->pix_fmts : 0;
        if( pix_fmts ) {
                avcodec_find_encoder_by_name(video_codec) : 0;
        const AVPixelFormat *pix_fmts = av_codec ? av_codec->pix_fmts : 0;
        if( pix_fmts ) {
@@ -190,7 +190,7 @@ void FFMpegSampleFormat::update_formats()
        samplefmts.remove_all_objects();
        char audio_codec[BCSTRLEN]; audio_codec[0] = 0;
        const char *acodec = aud_config->asset->acodec;
        samplefmts.remove_all_objects();
        char audio_codec[BCSTRLEN]; audio_codec[0] = 0;
        const char *acodec = aud_config->asset->acodec;
-       AVCodec *av_codec = !FFMPEG::get_codec(audio_codec, "audio", acodec) ?
+       const AVCodec *av_codec = !FFMPEG::get_codec(audio_codec, "audio", acodec) ?
                avcodec_find_encoder_by_name(audio_codec) : 0;
        const AVSampleFormat *sample_fmts = av_codec ? av_codec->sample_fmts : 0;
        if( sample_fmts ) {
                avcodec_find_encoder_by_name(audio_codec) : 0;
        const AVSampleFormat *sample_fmts = av_codec ? av_codec->sample_fmts : 0;
        if( sample_fmts ) {
@@ -1852,7 +1852,7 @@ int FFOptionsViewAudio::handle_event()
        const char *name = asset->acodec;
        char audio_format[BCSTRLEN];  audio_format[0] = 0;
        char audio_codec[BCSTRLEN];   audio_codec[0] = 0;
        const char *name = asset->acodec;
        char audio_format[BCSTRLEN];  audio_format[0] = 0;
        char audio_codec[BCSTRLEN];   audio_codec[0] = 0;
-       AVCodec *codec = !ret &&
+       const AVCodec *codec = !ret &&
            !FFMPEG::get_format(audio_format, "audio", name) &&
            !FFMPEG::get_codec(audio_codec, "audio", name) ?
                avcodec_find_encoder_by_name(audio_codec) : 0;
            !FFMPEG::get_format(audio_format, "audio", name) &&
            !FFMPEG::get_codec(audio_codec, "audio", name) ?
                avcodec_find_encoder_by_name(audio_codec) : 0;
@@ -1890,7 +1890,7 @@ int FFOptionsViewVideo::handle_event()
        const char *name = asset->vcodec;
        char video_format[BCSTRLEN];  video_format[0] = 0;
        char video_codec[BCSTRLEN];   video_codec[0] = 0;
        const char *name = asset->vcodec;
        char video_format[BCSTRLEN];  video_format[0] = 0;
        char video_codec[BCSTRLEN];   video_codec[0] = 0;
-       AVCodec *codec = !ret &&
+       const AVCodec *codec = !ret &&
            !FFMPEG::get_format(video_format, "video", name) &&
            !FFMPEG::get_codec(video_codec, "video", name) ?
                avcodec_find_encoder_by_name(video_codec) : 0;
            !FFMPEG::get_format(video_format, "video", name) &&
            !FFMPEG::get_codec(video_codec, "video", name) ?
                avcodec_find_encoder_by_name(video_codec) : 0;
index dec5824c97886da41ac77d05090ddef52ff60156..8ea9140d10e8930c5fadea849e1c4b67185a0502 100644 (file)
@@ -508,6 +508,7 @@ void PluginServer::process_transition(VFrame *input,
                int64_t total_len)
 {
        if( !plugin_open ) return;
                int64_t total_len)
 {
        if( !plugin_open ) return;
+       if (total_len == 0) return;
        PluginVClient *vclient = (PluginVClient*)client;
        to_ram(input);
        to_ram(output);
        PluginVClient *vclient = (PluginVClient*)client;
        to_ram(input);
        to_ram(output);
index c25a0900c1959f691c42906c815198d6ca65782a..24f3b67a28d4811a463ecf12c51eafc600660fe6 100644 (file)
@@ -172,6 +172,8 @@ Perspective:        Allows you to change the viewpoint of an object.
 Polar:         Bends and warps your video in weird ways based on
                conversion from either polar coordinates to
                rectangular or vice-versa.
 Polar:         Bends and warps your video in weird ways based on
                conversion from either polar coordinates to
                rectangular or vice-versa.
+Posterize:     Reduces the color depth so as to decrease the displayed
+               color gradients.
 RGB - 601:     Used to reduce/increase contrast in your video via
                601 compression or RGB expansion.
 RGBShift:      Align 3 separate planes of R, G, B if misaligned in
 RGB - 601:     Used to reduce/increase contrast in your video via
                601 compression or RGB expansion.
 RGBShift:      Align 3 separate planes of R, G, B if misaligned in
@@ -219,7 +221,9 @@ Threshold:  Converts the image to pure luminance and replaces
 Time Average:  Use to create trail patterns, or reduce noise in
                still images.  A number of frames is accumulated
                and then divided by a divisor to the the average.
 Time Average:  Use to create trail patterns, or reduce noise in
                still images.  A number of frames is accumulated
                and then divided by a divisor to the the average.
+TimeBlur:      Use to blur a number of frames.
 TimeFront:     Performs spatio-temporal video warping.
 TimeFront:     Performs spatio-temporal video warping.
+Timelapse Helper: Sets the number of frames to skip during playback.
 Title:         Add text/timestamp/background pngs to video along
                with the ability to drag to a location if Drag on.
                Flexible attributes in textbox (mouse right click):
 Title:         Add text/timestamp/background pngs to video along
                with the ability to drag to a location if Drag on.
                Flexible attributes in textbox (mouse right click):