Commit Graph

59 Commits

Author SHA1 Message Date
Robin Gareus 1434c624ff
Fix ffmpeg-5+ encoding drop-frame framerates 2023-12-13 17:41:44 +01:00
Robin Gareus 811f625623
transcode debug should not print (null) array termination 2022-07-04 18:05:49 +02:00
Robin Gareus f5866c1dee
Fix video-file audio extraction on big-endian systems 2022-06-20 16:16:25 +02:00
Robin Gareus 72d5fd248a
VTL: fix lead-in/out, explicitly set fps 2022-04-15 18:25:58 +02:00
Robin Gareus f74b8227c5
Ignore LD-environment for video transcoding and Lua exec 2022-04-01 18:20:04 +02:00
Robin Gareus 0b5e502546
Video import/export overhaul and ffmpeg-5.0 compat
* Update commandline parameters for ffmpeg 5.0
* Simplify video-export, allow only standard settings
* Check ffmpeg exit code and parse errors
* Fix SessionhandleRef on audio-import (clear import status)
* Cleanup and reformat sourcecode
2022-04-01 01:35:08 +02:00
Robin Gareus 4050ca5633
Update GPL boilerplate and (C)
Copyright-holder and year information is extracted from git log.

git history begins in 2005. So (C) from 1998..2005 is lost. Also some
(C) assignment of commits where the committer didn't use --author.
2019-08-03 15:53:15 +02:00
Robin Gareus a390d8d3ca
Use enum for exec stderr parameter (2/2) 2019-03-05 22:49:18 +01:00
Robin Gareus 79731a716d Update GUI, use/remove meta-data methods that have been migrated to the backend 2018-11-21 00:05:13 +01:00
Robin Gareus a5b38fd6dc Use libardour video-tool path (2/2) 2018-11-19 03:20:11 +01:00
Robin Gareus 2ba3e03be5 Fix ffmpeg/ffprobe parser (sample/frame 30b087ab) - #7544 2018-01-21 11:35:22 +01:00
Paul Davis 30b087ab3d globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
2017-09-18 12:39:17 -04:00
Paul Davis cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
Robin Gareus 396644dcf2 fall back to use video-duration from container if stream duration is n/a
this fixes issues with some .mkv files encoded with
libebml v1.2.0 + libmatroska v1.1.0
2016-01-03 19:50:39 +01:00
Robin Gareus 4abf943340 clarify missing ffmpeg messages
Don't refernce "ffmpeg", "ffprobe" executables directly. Refer to the
elaborate Log message (ffmpeg_harvid)
2015-12-22 16:43:26 +01:00
Robin Gareus a50af45a14 back to mjpeg (revert 2cb511e and 3f157f9) for now
There is anecdotal evidence that using mpeg4 as codec leads to issues
(xjadeo indexes and gets stuck at 99%, likely in libavcodec).

The main motivation for using mpeg4 is/was windows/VFAT 2GB file limit
and improved video quality.  This will have to be revisited.
2015-10-23 23:34:21 +02:00
Robin Gareus 076ca20321 Delete SystemExec in the main process thread. 2015-10-23 23:29:04 +02:00
Robin Gareus 94014dc5d5 fix video-metadata for windows. 2015-08-10 22:47:32 +02:00
Robin Gareus 460a06380c Revert "Disable video-export metadata on windows (for now)"
This reverts commit 54ab3fb37e.
2015-08-10 22:02:01 +02:00
Robin Gareus 54ab3fb37e Disable video-export metadata on windows (for now)
Quote escaping metadata currently breaks export.
2015-08-10 00:35:24 +02:00
Robin Gareus 2fd506c07c possible fix for stack overflow when parsing video info 2015-07-02 14:46:46 +02:00
Robin Gareus 2cb511e25a update video import flags, relax GOP size. 2015-06-23 17:11:45 +02:00
Robin Gareus 3f157f961a use mpeg4 for internal video format (not mjpeg)
reduces file size.
xjadeo > 0.8 and harvid >= 0.8 handle this fine.
2015-06-16 00:47:53 +02:00
Robin Gareus 34a7a3078a unhardcode "Ardour" in ffmpeg encoder comment 2015-01-05 18:37:00 +01:00
Robin Gareus 9c251037f0 consolidate video-tool filepaths - step one
1:1 cut/paste
2014-12-23 23:43:24 +01:00
Robin Gareus 1b6cbf743b update harvid & ffmpeg binary path discovery on windows (64 & 32 bit) 2014-11-23 23:57:55 +01:00
Robin Gareus e6ab754e4f video-timeline tools path updates for OSX and Windows 2014-08-28 21:39:59 +02:00
Robin Gareus 77e716943f round A/V offset to video-frames. 2014-07-02 23:36:06 +02:00
Tim Mayberry cd12698b9c Rename PBD::find_file_in_search_path to just PBD::find_file
saves a bit of typing and not necessary if you look at how it is used.
2014-06-25 12:40:10 -04:00
Paul Davis 8c9749e42f merge with master and fix 4 conflicts by hand 2014-06-02 11:32:13 -04:00
Robin Gareus 670c066793 add manual reference to missing video-tools warnings 2014-04-11 17:24:50 +02:00
Robin Gareus 92b7e0709c videotimeline: fix black-frame generation (sample aspect ratio) on export 2014-03-20 00:15:39 +01:00
Robin Gareus 01c6266909 videotimeline: fix black-frame generation (sample aspect ratio) on export 2014-03-19 23:46:01 +01:00
Robin Gareus 543099afba rework SystemExec - use vfork wrapper (and lots of related stuff) 2014-03-13 16:58:07 +01:00
John Emmas 5568026387 'gtk2_ardour' - Harmonize '__WIN32__', 'OS_WIN32' etc, etc. Use 'PLATFORM_WINDOWS' instead 2013-10-14 17:00:28 +01:00
John Emmas f8574fc39d 'gtk2_ardour' - Add namespaces + casting where necessary + general bits of 'correctness' to keep MSVC happy 2013-10-03 09:06:56 +01:00
Tim Mayberry 8ddd12a60d Rename SearchPath class Searchpath
Windows headers define SearchPath which means we have to undefine it
where necessary. This is a pain and can be tricksy, so I feel renaming
the class slightly is the easiest solution.
2013-09-06 14:31:11 +10:00
Paul Davis ee1b49f87e fix merge conflicts from master 2013-08-24 12:18:06 -04:00
Robin Gareus 43ae996b3a dedicated namespace for video-utils
conflicting symbol prophylaxis
2013-08-03 16:54:57 +02:00
Paul Davis 6a436fd826 fix merge conflict from master 2013-07-31 20:11:15 -04:00
Robin Gareus cd28d62b26 fix compiler warnings. 2013-07-28 20:32:52 +02:00
Robin Gareus dd65329363 clean up video related messages 2013-07-23 20:24:23 +02:00
Tim Mayberry ccaa29d210 Use Glib::usleep for portability 2013-07-22 13:44:32 +10:00
Tim Mayberry f42c514631 undef SearchPath where needed as it is defined via windows.h 2013-07-22 13:44:32 +10:00
Robin Gareus 003492cbf9 move ff* structs & typedef into dedicated namespace
(further avoid conflicts with plugins)
2013-07-16 18:01:56 +02:00
Robin Gareus e3db97efe9 vtl: use avi/mjpeg (insted of mpeg4) for video proxy
* average picture quality is worse
 * ..but seeking works accurately
   (no more PTS/DTS mess with Quicktime files)
 * ffmpeg transcode to mpeg4 retains PTS, DTS ( to mjpeg does not)
 * eventually harvid&xjadeo need to be
   updated to seek to non-monotonic PTS, DTS timestamps
2013-06-16 17:04:00 +02:00
Robin Gareus 748de7e794 avoid name-conflict
when compiled with -rdynamic, "AudioStream" symbol
conflicts with AspectVST.so
2013-06-14 13:58:55 +02:00
Robin Gareus 21a4ce62dc vtl: wait for output from ffprobe
fix code-ordering bug that sneaked in when re-factoring the parser.
2013-06-11 02:58:10 +02:00
Robin Gareus ce0aa96838 NOOP - use PBD's std::string to number functions 2013-06-08 09:03:26 +02:00
Robin Gareus 66ee2c8e59 enable videotimeline by default 2013-04-11 19:49:48 +02:00