27 Commits

Author SHA256 Message Date
6dce022873 Accepting request 1196341 from multimedia:apps
- revert to ffmpeg-7
- Force ffmpeg-6 library use to fix build
- Update to 1.3 to add support for FFmpeg 7. Check the ChangeLog
  file for the full list of changes.

OBS-URL: https://build.opensuse.org/request/show/1196341
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cutterff?expand=0&rev=11
2024-08-28 19:29:36 +00:00
8d0205ffa2 fix typo
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/cutterff?expand=0&rev=24
2024-08-27 18:14:27 +00:00
5dbac131da - revert to ffmpeg-7
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/cutterff?expand=0&rev=23
2024-08-27 17:39:35 +00:00
68c3dd1b76 - Force ffmpeg-6 library use to fix build
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/cutterff?expand=0&rev=22
2024-08-27 11:34:13 +00:00
e0cf85b188 Update to 1.3 to support FFmpeg 7
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/cutterff?expand=0&rev=21
2024-08-27 10:53:03 +00:00
c21f046c18 Accepting request 989098 from multimedia:apps
OBS-URL: https://build.opensuse.org/request/show/989098
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cutterff?expand=0&rev=10
2022-07-14 14:34:31 +00:00
bf3c4ace51 Accepting request 988967 from home:iznogood:branches:home:dimstar:ffmpeg5
- Update to version 1.0.2:
  * gui.c:
    + changed in 'cff_gui_dialog_progress_callback'
      Gui_PRIORITY_REDRAW to G_PRIORITY_HIGH_IDLE
    + changed in 'cff_gui_logwindow_add_timeout'
      G_PRIORITY_HIGH to GTK_TEXT_VIEW_PRIORITY_VALIDATE
    + if the first character of the log string is '\r',
      the last line will be overwritten (Last message
      repeated x times). See 'cff_gui_logwindow_mainthread'
      and 'cff_gui_logwindow_cb'
  * ffmpeg.c:
    + works with FFmpeg version 5.0.1
    + in 'cff_ffmpeg_get_image_format_names' looking
      for the codec_id (TIFF, GIF ...) if the encoder
      has not the mime type 'image'
    + test in 'cff_ffmpeg_get_encoder_names' whether
      the encoder supports the pixel format of the input
    + removed in 'cff_ffmpeg_encoder_new' the options
      for 'b-frames', 'gop' and 'sc_threshold'
    + in 'cff_ffmpeg_copy_softcut' forgot to free the
      frame if packet allocation fails
    + 'level &= 0x00FF' in 'cff_ffmpeg_log_callback'
    + get the parent class in 'cff_ffmpeg_log_callback'
      with 'avr' may crash. Right way is using 'ptr'
    + 'skip_prefix' in 'cff_ffmpeg_log_callback' to
      append the next string to the current
    + compare the string in 'cff_ffmpeg_log_callback'
      to the previous one. If equal throw the message
      "Last message repeated x times"
    + some improvements in'cff_ffmpeg_get_frame' for
      proper decoding. Sometimes a frame may report a
      wrong picture type, or a key frame which is not
      at this position, or the frame is not correct
      displayed.
  * ffmpeg.h: including 'libavcodec/bsf.h' (FFmpeg 5.0.1)
- Drop lang package Recommends, no longer needed, nor wanted.

OBS-URL: https://build.opensuse.org/request/show/988967
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/cutterff?expand=0&rev=19
2022-07-14 07:46:09 +00:00
6beea7ab46 Accepting request 917804 from multimedia:apps
OBS-URL: https://build.opensuse.org/request/show/917804
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cutterff?expand=0&rev=9
2021-09-09 21:07:49 +00:00
Jörg Lorenzen
5fd311b56f Accepting request 917803 from home:enzokiel:branches:multimedia:apps
- Update to version 1.0.1
  * gui.c
    + if encoding (softcut enabled) has finished, the text in the
      progressbar may not disappear. Fixed!
  * ffmpeg.c
    + if saving a file with softcut more than once the automatic
      enabling of 'h264_mp4toannexb' or 'hevc_mp4toannexb' fails.
      Fixed!
    + in 'cff_ffmpeg_copy_write_frame_softcut' the PTS assignment
      may wrong, 'pts -= pts_diff' followed by 'pts = pptr->dts'.
      Fixed!
    + 'av_packet_int' replaced with 'av_packet_alloc'
    + 'av_packet_ref' replaced with 'av_packet_clone'

OBS-URL: https://build.opensuse.org/request/show/917803
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/cutterff?expand=0&rev=18
2021-09-09 19:27:07 +00:00
f1ca931455 Accepting request 915273 from multimedia:apps
OBS-URL: https://build.opensuse.org/request/show/915273
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cutterff?expand=0&rev=8
2021-08-31 17:55:51 +00:00
Jörg Lorenzen
d2e8b974dc Accepting request 915270 from home:enzokiel:branches:multimedia:apps
- Update to version 1.0
  * main.c
    + replaced 'GLIB_MAJOR_VERSION' with
      'GLIB_MINOR_VERSION' and 'glib_major_version'
      with 'glib_minor_version'
  * gui.c
    + setting '-GtkMenuBar-shadow-type' only for
      versions < 3.20 (GTK-3 only)
    + if closing a file with unsaved cutpoints a
      dialog asks for discarding changes
    + replaced in 'cff_gui_css_load_from_data'
      'gtk_style_context_add_provider_for_screen'
      with 'gtk_style_context_add_provider'
    + changed priority in 'cff_gui_logwindow_color_set'
      from 'GTK_STYLE_PROVIDER_PRIORITY_APPLICATION' to
      '..._USER' (GTK-3 only)
    + changed tag color and font in 'textview' to
        GTK-2 'gtk_widget_modify_...' or
        GTK-3 'cff_gui_css_load_from_data'
    + in 'cff_gui_logwindow_color_parse' converting
      'rgb(r,g,b)' to '#rrggbb' (GTK-2 only)
    + popup in 'cff_gui_file_save' for selecting the
      encoder for soft cutting
    + may hang if log was set to 'debug'. So
      'g_main_context_invoke_full' in 'cff_gui_logwindow_cb'
      was removed, 'cff_gui_logwindow_mainthread' is now
      called every 5ms using 'g_timeout_add_full'
    + remove last '\n' from log string in 'cff_gui_logwindow_cb'
    + '_textview_scroll_to_iter' in 'cff_gui_logwindow_cb'
      was removed. Now down scrolling is done using the
      signal 'changed', and setting the new value in
      'cff_gui_logwindow_adjustment' with the function
      'gtk_adjustment_set_value'
    + the slider is now 'GtkScale'
    + using 'Cairo' instead of 'GdkDraw' (GTK-2 only)
  * ffmpeg.c
    + 'cff_ffmpeg_print_codecs_for_id': codecs separated
      by commas, last space in front of terminating ')'
      removed
    + softcut is de- and encoding frames at the cutpoint(s)
    + stream-sync starts copying packets if the timestamp
      is greater or equal than the cutpoint
    + test if bitstream filter 'mp4toannexb' is needed for
      encoding in 'cff_ffmpeg_get_frame_dts' (h.264 + h.265)
    + 'cff_ffmpeg_copy_open': if 'avformat_transfer_internal_
      stream_timing_info' failed, try '(st->oStream)->time_
      base = (st->iStream)->time_base' before 'av_stream_get_
      codec_timebase'
    + if the first DVB subtitle frame should clear a subtitle,
      it is dropped (no subtitle shown yet). This will also
      compute the right stream duration
  * tools-gtk.c
    + renamed 'guitl_' to 'cff_guitl_'
    + moved 'cff_gui_beep' to 'cff_guitl_beep'
    + 'cff_guitl_window_destroy' sets 'gWindata.topwin'
      to NULL, if the main window is not on the top
    + 'cff_guitl_dialog_icon' sets 'gWindata.topwin' to
      'gWindata.mainwin', is the top window is NULL
    + changed signal 'size-allocate' in 'cff_guitl_window_setup'
      to 'configure-event'

OBS-URL: https://build.opensuse.org/request/show/915270
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/cutterff?expand=0&rev=17
2021-08-31 14:02:59 +00:00
f506414483 Accepting request 721375 from multimedia:apps
OBS-URL: https://build.opensuse.org/request/show/721375
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cutterff?expand=0&rev=7
2019-08-07 12:00:43 +00:00
Jörg Lorenzen
078ab610e8 Accepting request 721374 from home:enzokiel:branches:multimedia:apps
Update to version 0.9

OBS-URL: https://build.opensuse.org/request/show/721374
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/cutterff?expand=0&rev=15
2019-08-06 22:39:22 +00:00
79568ccdc3 Accepting request 686789 from multimedia:apps
OBS-URL: https://build.opensuse.org/request/show/686789
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cutterff?expand=0&rev=6
2019-03-20 12:21:28 +00:00
Jörg Lorenzen
02631d0d32 Accepting request 686788 from home:enzokiel:branches:multimedia:apps
- Update to version 0.8
  + gui.c
    - memory leak in 'cff_gui_init', 'logname' may not be freed.
      Fixed!
    - memory leak in 'cff_gui_save_image', 'filechooser_utf8str'
      may not be freed. Fixed!
    - max 10 extensions (file filter) can be added for the
      filechooser
    - if copying to another format the matching extension is now
      appended to the filename
  + ffmpeg.c
    - memory leak in 'cff_ffmpeg_copy_cb', 'bsf_ctx' may not be
      freed. Fixed!
    - videos could not loaded if the frames have a duration of
      zero. Fixed!
    - videos may not loaded by some muxers if the first packet is
      not a key frame. Fixed!
    - if copying to another format (especially to AVI) the
      timestamps may incorrect. Fixed!
    - 'cff_ffmpeg_get_format_names' now returns only the formats
      useable for the available streams
    - 'cff_ffmpeg_get_bitstream_filter_names' now returns only the
      filters useable for the available streams
    - 'cff_ffmpeg_get_outformat_extension' returns the extension
      for the given format

OBS-URL: https://build.opensuse.org/request/show/686788
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/cutterff?expand=0&rev=13
2019-03-19 21:00:24 +00:00
Stephan Kulow
2336b5000c Accepting request 672428 from multimedia:apps
OBS-URL: https://build.opensuse.org/request/show/672428
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cutterff?expand=0&rev=5
2019-02-08 11:13:54 +00:00
Jörg Lorenzen
207c0101b8 Accepting request 672427 from home:enzokiel:branches:multimedia:apps
- Update to version 0.7
  + gui.c
    - memory leak in 'cff_gui_save_start', 'format_names' may not
      be freed. Fixed!
    - disable menu entry File->Save if there is only one cut point,
      which is the last frame
    - image dialog for saving an image
    - disable okay-button if in the saving dialogs the entry field
      is empty
  + ffmpeg.c
    - buffer may too small for displaying all codecs or formats.
      Fixed!
    - may compute wrong display aspect ratio. Fixed!
    - new function 'cff_ffmpeg_printf_concat' (re)allocates memory
      and writing the string to it
    - log-window displays "Repeated last message n times", if the
      same message should be displayd more then two times
    - scale, encode and save an image
    - at end of copying the bitstream filters will be flushed
    - flushing the codec at end of stream may not work since the
      decode timestamps (dts) are not set. These missing values
      will now computed and saved while opening a file
    - replaced deprecated functions (FFmpeg version 4.0.2)

OBS-URL: https://build.opensuse.org/request/show/672427
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/cutterff?expand=0&rev=11
2019-02-07 12:00:02 +00:00
1ded8bb02e Accepting request 665670 from multimedia:apps
OBS-URL: https://build.opensuse.org/request/show/665670
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cutterff?expand=0&rev=4
2019-01-21 09:52:24 +00:00
Jörg Lorenzen
c05da59999 Accepting request 665669 from home:enzokiel:branches:multimedia:apps
- Update to version 0.6
  + gui.c
    - save dialog with option for shortest stream duration
    - memory leak in 'cff_gui_save_start', 'bsf_info' may not be
      freed. Fixed!
    - removed double question for overwriting an existing file
    - if copying the log-window to the clipboard it will be
      converted from UNIX to DOS (LF to CRLF)
      (MINGW and GTK-2 only)
  + ffmpeg.c
    - searching to previous frame may fail, if the current
      position is near the last frame and K/I/P-frame is requested.
      Fixed!
    - if at label '_got_picture' the condition 'last_frame != NULL'
      is true, the assignment 'video->vframe.packet[0].pos = -1'
      may overwrite the packet position which was found. Fixed!
    - searching one frame forward or backward may skip a frame with
      a duration less than the picture duration. Fixed!
    - the written file may too short if the duration of either
      audio or video is shorter than the other stream.
      The option 'shortest' was always active, now the user may
      choose if this should happen.
    - may hang if clicking twice on the slider at the same
      position. Fixed!
    - tiny memory leak in 'cff_ffmpeg_get_frame_dts'. Fixed!
    - flushing the codec at end of stream

OBS-URL: https://build.opensuse.org/request/show/665669
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/cutterff?expand=0&rev=9
2019-01-14 09:20:01 +00:00
b9182704b2 Accepting request 652169 from multimedia:apps
OBS-URL: https://build.opensuse.org/request/show/652169
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cutterff?expand=0&rev=3
2018-11-28 10:14:44 +00:00
Jörg Lorenzen
1981925158 Accepting request 652168 from home:enzokiel:branches:multimedia:apps
- Update to version 0.5
  + gui.c
    - memory leak  in 'cff_gui_logwindow_cb'. Fixed!
    - now it is possible to close the log-window while opening a
      video file as long as the progressbar is not visible
    - using an extra thread for opening a video file while the
      progressbar is not visible, which speeds up displaying
      FFmpeg messages in the log-window
    - mutex for the progress-bar
  + ffmpeg.c
    - adding a semaphore if closing the log-window while logging
      is active
    - searching the last frame may fail, if K/I/P-frame is
      requested. Fixed!
    - copying a file do not clear the dirty flag for the cutlist
  + macros-gtk.h
    - 'GuiRecMutex' to 'GuiMutex'

OBS-URL: https://build.opensuse.org/request/show/652168
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/cutterff?expand=0&rev=7
2018-11-27 13:23:28 +00:00
cc8b4eb6b0 Accepting request 639583 from multimedia:apps
OBS-URL: https://build.opensuse.org/request/show/639583
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cutterff?expand=0&rev=2
2018-10-04 17:00:54 +00:00
Ismail Dönmez
4a705e67e2 Accepting request 639582 from home:enzokiel:branches:multimedia:apps
- Update to version 0.4.2
  + gui.c
    - since GTK+ version 3.22.30 the window will not be proper
      drawn after start, but when changing the size of the window
      everything works fine. Testing the cairo surface pointer in
      the redraw functions and create a surface if the pointer is
      NULL fix this bug!
    - removed depricated functions 'gtk_color_button_get_rgb' and
      'gtk_scrolled_window_add_with_viewport', since the required
      GTK+ version is min 3.10. (GTK-3 only)
  + ffmpeg.c
    - works with FFmpeg version 4.0.2.

OBS-URL: https://build.opensuse.org/request/show/639582
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/cutterff?expand=0&rev=5
2018-10-02 12:13:47 +00:00
c6def9932d Accepting request 625796 from multimedia:apps
- Use noun phrase in summary, and ensure neutrality of description.
- Enable %desktop_database_post{un} only for suse_version < 1500.
- Initial package, version 0.4.1

OBS-URL: https://build.opensuse.org/request/show/625796
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cutterff?expand=0&rev=1
2018-07-28 10:45:21 +00:00
Ismail Dönmez
b6472bbcd3 Accepting request 625486 from home:jengelh:branches:multimedia:apps
- Use noun phrase in summary, and ensure neutrality of description.

OBS-URL: https://build.opensuse.org/request/show/625486
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/cutterff?expand=0&rev=3
2018-07-27 08:23:22 +00:00
Jörg Lorenzen
0e0af92832 Accepting request 624086 from home:enzokiel:branches:multimedia:apps
- Enable %desktop_database_post{un} only for suse_version < 1500.

OBS-URL: https://build.opensuse.org/request/show/624086
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/cutterff?expand=0&rev=2
2018-07-19 13:53:36 +00:00
0638b98439 Accepting request 622915 from home:enzokiel:Test
- Initial package, version 0.4.1

OBS-URL: https://build.opensuse.org/request/show/622915
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/cutterff?expand=0&rev=1
2018-07-16 07:03:17 +00:00