On 2016-03-07 07:46, Roger Oberholtzer wrote:
On Sun, Mar 6, 2016 at 2:06 AM, Carlos E. R. <> wrote:
I want to try "gopchop" (http://gopchop.sourceforge.net/). I don't find it ready built. So I try to build it. Configure fails here:
I use gopchop for the edits I do. It depends on your source format. The nice thing about gopchop is that it does not decode/encode the file. It just cuts out whatever is between GOP markers. So it is fast, there is no degredation of the results, and whatever was in the source is in the destination.
Exactly. That's why I want it.
I never had any problems building it.
What version? I have 1.1.8 from sourceforge, and the compiler throws an error: Main.cpp:139:1: error: C99 designator ‘video_driver’ outside aggregate initializer }; The code is: global_options options={ run_loop: 0, /* don't wrap arround by default */ run_speed: 1, /* one frame at a time by default */ default_run_speed: 1, /* one frame at a time by default */ auto_refresh: 1, /* show gop position changes by default */ ignore_errors: 0, /* don't ignore errors by default */ drop_orphaned_frames: 0, /* orphaned frame dropping can be nasty */ adjust_timestamps: 1, /* adjust by default */ video_driver_ptr: NULL, /* prefered video driver */ video_driver: "\0", force_system_header: 0, /* force prepended system header pack */ drop_trailing_pack_with_system_header: 0, /* drop final pack if it has a system header */ ignore_endcode: 0, /* don't stop parsing when an End Code is seen */ }; I think it refers to this one: video_driver: "\0", Let me see... the declaration is: typedef struct { gboolean run_loop; /* when in "Run" mode, wrap to beginning at end */ int run_speed; /* how many GOPs to jump forward during "run" */ int default_run_speed; /* the speed to start with upon load */ gboolean auto_refresh; /* redraw the frames after moving the slider */ gboolean ignore_errors; /* don't store errors about file loading */ gboolean drop_orphaned_frames; /* get rid of starting B frames on an open GOP */ gboolean adjust_timestamps; /* adjust the GOP timestamps as we write clips */ gchar* video_driver_ptr; --> gchar video_driver[24]; /* this is the name of the video driver to use */ gboolean force_system_header; /* should a system header be prepended */ gboolean drop_trailing_pack_with_system_header;/* should final pack with a system header be dropped? */ gboolean ignore_endcode; /* should parsing continue past an end code? */ } global_options; I have no idea what to write instead of video_driver: "\0", -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)