ffmpegfs-2.15/ 0000755 0001750 0001750 00000000000 14557515776 010265 5 0000000 0000000 ffmpegfs-2.15/HISTORY.md 0000644 0001750 0001750 00000054473 14557512245 011671 0000000 0000000 History
=======
**New in in 2.15 (2024-02-03):**
- **Bugfix:** Issue [#151](https://github.com/nschlia/ffmpegfs/issues/151): Fixed autocopy STRICT never triggers for video streams
- **Bugfix:** Closes [#153](https://github.com/nschlia/ffmpegfs/issues/153): The --include_extensions parameter now contains a description, which was previously missing from the manual and online help.
- **Issue** [#149](https://github.com/nschlia/ffmpegfs/issues/149): 2023-05-04 - xxxxxxxxxx - lavu 58.7.100 - frame.h
Deprecate AVFrame.interlaced_frame, AVFrame.top_field_first, and AVFrame.key_frame.
Add AV_FRAME_FLAG_INTERLACED, AV_FRAME_FLAG_TOP_FIELD_FIRST, and AV_FRAME_FLAG_KEY flags as replacement.
- **Issue** [#149](https://github.com/nschlia/ffmpegfs/issues/149): 2023-05-04 - xxxxxxxxxx - lavu 58.7.100 - frame.h
Deprecate AVFrame.interlaced_frame, AVFrame.top_field_first, and AVFrame.key_frame.
Add AV_FRAME_FLAG_INTERLACED, AV_FRAME_FLAG_TOP_FIELD_FIRST, and AV_FRAME_FLAG_KEY flags as replacement.
- **Issue** [#149](https://github.com/nschlia/ffmpegfs/issues/149): 2021-09-20 - dd846bc4a91 - lavc 59.8.100 - avcodec.h codec.h
Deprecate AV_CODEC_FLAG_TRUNCATED and AV_CODEC_CAP_TRUNCATED, as they are redundant with parsers.
- Closes [#136](https://github.com/nschlia/ffmpegfs/issues/136): The CMake build files have been removed. Support was never more than experimental, and CMake lacks a good uninstall option. Will stick to automake system from now on.
**New in in 2.14 (2023-06-15):**
- **Bugfix:** Closes [#141](https://github.com/nschlia/ffmpegfs/issues/141): Improved memory management by allocating several times the average size of allocations. This prevents obtaining tiny portions over and over again. Additionally, after the file is opened, grab the entire expected memory block rather than doing a tiny allocation initially, followed by a larger allocation.
- **Bugfix:** Avoid race conditions that cause the inter-process semaphore creation to fail for the second process.
- **Bugfix:** Issue [#119](https://github.com/nschlia/ffmpegfs/issues/119): If a seek request is still open after EOF, restart transcoding.
- **Bugfix:** Issue [#119](https://github.com/nschlia/ffmpegfs/issues/119): To prevent frame/segment creation errors, the frame set and HLS code has been updated.
- **Bugfix:** Avoid crashes during shutdown if cache objects have already been closed.
- **Bugfix:** Issue [#119](https://github.com/nschlia/ffmpegfs/issues/119): The AVSEEK_FLAG_FRAME set should be used to seek to frames when building frame sets. Otherwise, output images may vary if searched for or continuously decoded.
- **Bugfix:** The conversion of PTS to frame number and vice versa for frame sets was incorrect if TBR did not equal frames per second.
- **Bugfix:** Fixed seek requests that are being ignored with frame sets.
- **Bugfix:** When transferring from cache to the Fuse buffer, avoid a possible 1 byte overrun.
- **Bugfix:** Issue [#143](https://github.com/nschlia/ffmpegfs/issues/143): To avoid occasional EPERM failures, missing synchronisation objects were added.
- **Bugfix:** Issue [#144](https://github.com/nschlia/ffmpegfs/issues/144): To fix the crashes that may have been caused by them, the variables impacted by a potential threading issue were marked as "volatile."
- **Bugfix:** [Closes#1037653:](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037653) Fix build with GCC-13
- **Bugfix:** Update docker build for Debian Bookworm
- **Enhancement:** Record milliseconds for every log event.
- **Enhancement:** make check: added a file size check to frame set tests.
- **Optimisation:** When reopening after invalidating the cache, the size remained at 0. The original size is now once again reserved in order to prevent reallocations.
- **Optimisation:** To avoid reallocations, save enough space in the cache buffer to hold the entire frame set.
- **Optimisation:** Checking folders to see if they can be transcoded is completely pointless. Directories are now immediately skipped.
- To avoid problems with logfile viewers, renamed built-in logfiles to *_builtin.log (removing the double extension).
**New in in 2.13 (2023-01-15):**
- **Feature:** Added --prebuffer_time parameter. Files will be decoded until the buffer contains the specified playing time, allowing playback to start
smoothly without lags. Works similar to --prebuffer_size but gives better control because it does not depend on the bit rate. An example: when set to 25 seconds for HLS transcoding, this will make sure that at least 2 complete segments will be available once the file is released and visible.
- **Feature:** Closes [#140](https://github.com/nschlia/ffmpegfs/issues/140): Filtering the files that will be encoded has been added. A comma-separated list of extensions is specified by the *—include_extensions* parameter. These file extensions are the only ones that will be transcoded. The entries support shell wildcard patterns.
- **Feature:** The --hide_extensions parameter syntax has been extended. The entries now support shell wildcard patterns.
- **Bugfix:** Closes [#139](https://github.com/nschlia/ffmpegfs/issues/139): Additional files could be added using the *—extensions* parameter. However, this is no longer necessary; in the past, a file's extension determined whether or not it would be transcoded. Files with unknown extensions would be ignored. The extension is no longer important because FFmpegfs now examines all input files and recognises transcodable files by the format.
The outdated *—extensions* argument was removed without substitution.
- **Bugfix:** Fixed crash when implode() function was called with an empty string. Happened with Windows GCC 11.3.0 only.
### Version 2.12 released
**New in in 2.12 (2022-08-27):**
- The code has been run through clang-tidy to detect areas that could be updated to C++17 and to find areas that are prone to bugs or are inefficient. Many problems could be fixed. Sometimes a few lines of code can take the place of many. Some components function far more effectively than they did in the past. C++17 is cool! I must purchase a t-shirt.
- **Bugfix:** In get prores bitrate(), a crash that might have happened under unusual circumstances has been corrected. If the best match resolution could not be found, array access out-of-bounds could happen.
- **Bugfix:** Several unlikely, but potential problems that could have happened when subtitle decoding failed or delayed video/audio packets couldn't be decoded have been fixed.
- **Bugfix:** An internal problem could cause the application to crash. Should never happen, though. Fixed anyway.
- **Bugfix:** Sometimes, the last segment's estimated size was incredibly small - about 2 bytes. Each segment should have the same predicted size as is is calculated simply by dividing the projected size of the entire file by the number of segments. Following transcoding, the size was accurate.
### Version 2.11 released
**New in in 2.11 (2022-06-16):**
* **Feature:** [Issue #86](https://github.com/nschlia/ffmpegfs/issues/86): Smart transcode now detects if a source file is audio only and uses the correct target format. For example, with --destination=webm+mp3, if one MP4 input file contains a video stream and another an audio stream only, the resulting files will be WebM (for the video input) and mp3 for the audio only file.
* **Feature:** [Issue #137](https://github.com/nschlia/ffmpegfs/issues/137): Add --no_subtitles option to turn subtitles off.
* **Bugfix:** Smart encode selected the video format for cue sheet tracks, regardless of the input format. This has been fixed now.
* **Bugfix:** Fix a crash that occurs when a DVD/Blu-ray is transcoded to audio only.
* **Bugfix:** If the track performer field in the cuesheet is blank, try album performer instead.
* **Bugfix:** Failing to mount Fuse during "make check" went unnoticed as the result code (which was supposed to be 99) was actually 0. Return the correct result code, failing the operation as expected.
* **Bugfix:** The Docker build command contained a "make check" which actually failed altogether. Step has been removed. "make check" mounts Fuse, but this requires privileges that do not exist during "docker build".
* **Bugfix:** On error, mremap () returns MAP_FAILED rather than NULL. Fixed a check for incorrect error conditions, which could cause the application to crash or return illogical error messages.
* **Bugfix:** [Issue #119](https://github.com/nschlia/ffmpegfs/issues/119): Fix a problem that caused frame set generation to fail sometimes. It seems to be related to the nremap() issue.
* Generally revisited documentation, logging, and display texts. Improved grammar, formatting, and fixed quite a few typos that escaped all proofreading sessions.
* The FFmpeg API INFO and DEBUG level log output has been changed to the FFmpegfs DEBUG level. What FFmpeg considers "INFO" is far too chatty.
* Frequent memory reallocations when creating HLS segments have been reduced to speed up processing.
* Optimised logging to save CPU time by not formatting log entries that are not written anyway at their log level.
* Logging has been revised to shorten file paths and remove mount, input, and cache paths. Log the additional portion only to reduce log file size and improve readability.
* **Bugfix:** To fix the build with GCC 12, add the missing include headers (closes: [#1012925](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012925)).
### Version 2.10 released
**New in in 2.10 (2022-04-26):**
* **Feature:** [Issue #123](https://github.com/nschlia/ffmpegfs/issues/123): New command line option to hide files by extension. Example: `--hide_extensions=jpg,png,cue` would stop covers and cue sheets from showing up.
* **Feature:** [Issue #120](https://github.com/nschlia/ffmpegfs/issues/120): Added subtitle support. Subtitle streams can now also be transcoded to the output files. Separate SRT or VTT files will be incorporated as subtitle streams.
* **Bugfix:** Fixed memory leak in encode_audio_frame().
* **Bugfix:** [Issue #122](https://github.com/nschlia/ffmpegfs/issues/122): Last song was missing from cuesheet files.
* **Bugfix:** [Issue #129](https://github.com/nschlia/ffmpegfs/issues/129): Files remained zero size when previously transcoded.
* **Bugfix:** [Issue #130](https://github.com/nschlia/ffmpegfs/issues/130): Fix file sizes can be incorrectly reported by ls but are correct when data is read.
* **Bugfix:** Duration was not saved in cache SQLite database.
* **Bugfix:** [Issue #131](https://github.com/nschlia/ffmpegfs/issues/131): Sometimes video parameters for some Blu-ray or DVD chapters cannot be detected by FFmpeg API. Transcode then fails - fixed by using data from the Blu-ray directory or DVD IFO instead.
* Lowest supported FFmpeg API version raised to 4.1.8 "al-Khwarizmi".
* Dropped libavresample support, library was removed from FFmpeg API after 3.4.9.
* Deprecated previous channel layout API based on uint64 bitmasks.
* Deprecated swr_alloc_set_opts() and swr_build_matrix().
* Going C++17 now: The packet queue has been recoded in C++17 to support external subtitles files. As C++17 is required now, why not go all the way: Starting to replace legacy C++ and somewhat C-like parts with real C++.
* Using std::shared_ptr to ensure proper memory allocation/free.
### Version 2.9 released
**New in in 2.9 (2022-02-16):**
* **Feature:** [Issue #97](https://github.com/nschlia/ffmpegfs/issues/97): Added options to chose different codecs. The audio codec can be selected with --audiocodec, for videos use --videocodec.
* **Feature:** [Issue #109](https://github.com/nschlia/ffmpegfs/issues/109): Allow user defined file extensions for source files. By default, only standard extensions are accepted, i.e., mp4, ts, avi etc. Arbitrary file extensions can be defined now, e.g. using --extensions=xxx,abc,yxz,aaa to also convert files ending with .xxx, .abc and so on.
* **Feature:** [Issue #121](https://github.com/nschlia/ffmpegfs/issues/121): Added MKV support. New format can be selected with --desttype=mkv.
* **Bugfix:** [Issue #112](https://github.com/nschlia/ffmpegfs/issues/112): Fixed Docker detection.
* **Bugfix:** [Issue #110](https://github.com/nschlia/ffmpegfs/issues/110): Docker build command failed, added missing libchardet and allow libdvdread4 or *8 to be used, whatever available.
* **Bugfix:** Fixed crash when video had no audio.
* **Bugfix:** [Issue #112](https://github.com/nschlia/ffmpegfs/issues/112): Fixed access problems with frame sets and HLS.
* **Bugfix:** Issue #119: Fixed problem that caused frame set generation to sometimes fail.
* **Bugfix:** Fixed JPG frame set generation. Suddenly FF_COMPLIANCE_UNOFFICIAL was required to have FFmpeg API accept the codec.
* **Enhancement:** [Issue #67](https://github.com/nschlia/ffmpegfs/issues/67): Enhanced file size prediction.
* **Bugfix:** Need to synchronise screen log. Concurrent entries by separate threads produced garbled output.
* **Bugfix:** Avoid creating an HLS segment number which is out of bounds (higher than the expected number of segments).
* **Bugfix:** Removed QMake support, replaced with CMake.
### Version 2.8 released
**New in in 2.8 (2021-11-29):**
* **Bugfix:** [Issue #102](https://github.com/nschlia/ffmpegfs/issues/102): Not all SQL queries where case sensitive, causing cache confusion. Several database entries were created, but only one was updated. Made all queries case sensitive.
* **Bugfix:** [Issue #91](https://github.com/nschlia/ffmpegfs/issues/91): Fixed HLS problems with cache causing garbled videos and hick-ups in audio.
* **Enhancement**: [Issue #103](https://github.com/nschlia/ffmpegfs/issues/103): If requested HLS segment is less than X (adjustable) seconds away, discard seek request. Segment would be available very soon anyway, and that seek makes a re-transcode necessary. Can be set with *--min_seek_time_diff*. Defaults to 30 seconds.
* **Feature**: [Issue #105](https://github.com/nschlia/ffmpegfs/issues/105): Added Free Lossless Audio Codec (FLAC) support. Activate with *--desttype=FLAC*.
* **Feature:** [Issue #101](https://github.com/nschlia/ffmpegfs/issues/101): Sample format for audio files can be selected via command line with *--audiosamplefmt*. Possible values are 0 to use the predefined setting, 8, 16, 32, 64 for integer format, F16, F32, F64 for floating point.
Not all formats are supported by all destination types, selecting an invalid format will be reported as error and a list of values printed.
Defaults to 0 (Use same as source or the predefined format of the destination if source format is not possible).
### Version 2.7 released
**New in in 2.7 (2021-11-08):**
* **Bugfix:** [Issue #92](https://github.com/nschlia/ffmpegfs/issues/92): Fixed crash when hardware decoding failed. The problem is that the FFmpeg API very late reports that it cannot decode the file in hardware. To find out about that, the source file must be decoded until the first video frame is encountered.
It would be very time consuming to do this on every file (decode until it is clear that the file is supported, then actually start transcoding it from scratch). There is no feasible way to automatically handle the situation. To get around this a --hwaccel_dec_blocked parameter has been added.
If hardware decoding fails, check the log for a message similar this:
"[vp9 @ 0x7fe910016080] No support for codec vp9 profile 0."
If VP9 profile 0 is not supported, the parameter would be:
--hwaccel_dec_blocked=VP9:0
This will tell FFmpegfs to decode the file in software. To block VP9 as a whole, the parameter would be --hwaccel_dec_blocked=VP9. To block both profile 0 and 1, use --hwaccel_dec_blocked=VP9:0:1. The parameter can be repeated to block even more codecs.
* **Bugfix:** [Issue #96](https://github.com/nschlia/ffmpegfs/issues/96): Fixed potential buffer overrun and crash when reading corrupted input files.
* **Enhancement:** [Issue #99](https://github.com/nschlia/ffmpegfs/issues/99): Report command line error if --desttype specifies audio format first, or if the second format is not audio only. Avoid misinterpretations. For example, --desttype=aiff+mov would create MOV files out of any input. Correct would be --desttype=mov+aiff which will create MOV files out of videos and AIFF from audio files, as expected.
### Version 2.6 released
**New in 2.6 (2021-09-04):**
* No new features, just a bugfix. See V2.4 for details.
### Version 2.5 released
**New in 2.5 (2021-06-18):**
* **Feature**: [Issue #63](https://github.com/nschlia/ffmpegfs/issues/63) - Hardware acceleration for encoding/decoding is partly implemented, VAAPI/MMAL/OMX/V4L2 are currently available only.
- Supported hardware: V4L2/VAAPI (Intel) and V4L2/MMAL/OMX (Raspberry).
- VAAPI: H264, H265/HEVC, MPEG-2 and VP-8 decoding and H264 encoding.
- VAAPI: MJPEG and VC-9 do not work (yet).
- MMAL: H264, MPEG-2, MPEG-4 and VC1 decoding.
- OMX: H264 encoding.
- V4L2: H263, H264, H265, MPEG1/2/4, VC-1, VP8/9 encoding/decoding.
* **Feature**: Added unit tests for hardware acceleration. Failing tests will report as *SKIPPED* and not fail the whole test.
* **Note**: Which hardware en/decoder actually works depends on what your hardware supports.
* **Call for testers**: Have a CUDA capable graphics adapter and interested in testing? Please write me an e-mail.
### Version 2.4 released
**New in 2.4 (2021-09-04):**
* **Bugfix:** [Issue #90](https://github.com/nschlia/ffmpegfs/issues/90): Make sure that one keyframe gets inserted at the start of each HLS segment.
### Version 2.3 released
**New in 2.3 (2021-06-11):**
* **Enhancement:** [Issue #80](https://github.com/nschlia/ffmpegfs/issues/80): Open input video codec only if target supports video. Saves resources: no need to decode video frames if not used.
* **Enhancement:** [Issue #81](https://github.com/nschlia/ffmpegfs/issues/81): If source format has no audio, and the target supports no video (e.g.WAV/MP3), the files have shown up zero sized. These will now not be visible when doing ls. When trying to open them "File not found" will be returned.
* **Added** "configure --enable-debug" to create binaries with debug symbols. Defaults to the optimised version.
* **Feature:** [Issue #73](https://github.com/nschlia/ffmpegfs/issues/73) Cue sheet tracks now play "gapless" if played in order. Whenever a track is started, the next track will automatically be transcoded as well.
* **Feature:** [Issue #66](https://github.com/nschlia/ffmpegfs/issues/66) and [issue #82](https://github.com/nschlia/ffmpegfs/issues/82): Added cue sheet support. If a file with cue extension is found with the same name as a media file or if a cue sheet is embedded into it (a tag named CUESHEET), tracks defined in it will show up in a virtual directory.
* **Feature:** [Issue #83](https://github.com/nschlia/ffmpegfs/issues/83): Character conversion for cue sheet files. Automatically detects the character encoding of the cue sheet. and converts as necessary.
* **Feature:** [Issue #78](https://github.com/nschlia/ffmpegfs/issues/78): Duplicate ARTIST to ALBUMARTIST tag if empty.
* **Feature:** [Issue #79](https://github.com/nschlia/ffmpegfs/issues/79): Added Docker support. See [Build A Docker Container](FEATURES.md#build-a-docker-container) how to use it.
* **Fixed deprecation:** 2021-03-17 - f7db77bd87 - lavc 58.133.100 - codec.h
Deprecated av_init_packet()
* **Fixed API compatitibility:** Many pointers made const as of 2021-04-27. Although reasonable, this breaks API compatibility with versions older than 59.0.100,
* **Bugfix:** find_original "fallback" method did not correctly handle the new filename format (extension added, not the original one replaced).
* **Bugfix:** [Issue #87](https://github.com/nschlia/ffmpegfs/issues/87): Segments are now properly separated, making sure that e.g. segment 3 only goes from 30 seconds up to 40 (including 30, but not 40 seconds).
* **Bugfix:** [Issue #88](https://github.com/nschlia/ffmpegfs/issues/88): HLS audio and video now stay in sync after longer playback (more than 30 minutes) or after seek operations.
### Version 2.2 released
**New in 2.2 (2021-02-06):**
* **Note**: This is planned as a maintenance version, no new features but bug fixes only.
* **Bugfix:** [Issue #75](https://github.com/nschlia/ffmpegfs/issues/75): Fix crash when opening mp3 output with Dolphin.
* **Bugfix**: Possible crash in transcoder_thread: Decoder object could have been used after being freed.
* **Bugfix:** Stupid blooper. WAV and AIFF size was always calculated for a mono file, thus for stereo files only half the correct size.
* **Bugfix:** [Issue #70](https://github.com/nschlia/ffmpegfs/issues/70): Possible crash in Buffer::init: Should not assert if duration is 0 (and thus segment count 0). Report internal error and go on.
* **Bugfix:** [Issue #70](https://github.com/nschlia/ffmpegfs/issues/70): Do not set duration to 0 from cache but leave unchanged. Caused HLS transcoding to fail if more than one transcoder was concurrently started.
* **Bugfix:** Corrected documentation, "make checks" should read "make check", funny this went unnoticed for over 3 years...
* **Bugfix:** [Issue #74](https://github.com/nschlia/ffmpegfs/issues/74): Album arts were only copied from MP3/4 sources. Removed restriction, if the input file contains an album art it will be copied to the target (if supported, of course, e.g., to mp3 or mp4. Ogg is not yet supported because embedding album arts in Ogg can only be done by an unofficial workaround).
* **Bugfix:** [Issue #71](https://github.com/nschlia/ffmpegfs/issues/71): Virtual directories were missing dot and dot-dot nodes.
### Version 2.1 released
**New in 2.1 (2020-12-14):**
* **Feature**: Add BLURAY_VIDEO_FORMAT_2160P (UHD)
* **Feature**: Implemented in 1.7, removed experimental state for --win_smb_fix now. Windows seems to access the files on Samba drives starting at the last 64K segment simply when the file is opened. Setting --win_smb_fix=1 will ignore these attempts (not decode the file up to this point).
* **Feature**: --win_smb_fix now defaults to 1 (fix on by default). Has no effect if the drive is accessed directly or via Samba from Linux.
* **Bugfix**: Fixed grammatical error in text: It's "access to", not "access at".
* **Bugfix**: Did not transcode some source files with invalid DTS.
* **Bugfix**: Cosmetical - No need to log date/time twice in syslog.
* **Bugfix**: Cosmetical - Fix man page/online help for --recodesame parameter.
* **Bugfix**: Report correct segment duration
* **Bugfix**: Avoid crash if opening next HLS segment failed. Should not ignore this, but report it instead and stop transcoding.
* **Cosmetical**: Log cache close action at trace level
* **Cosmetical**: Shorter log entry when opening cache files
ffmpegfs-2.15/ffmpegfs.1 0000644 0001750 0001750 00000110363 14553310574 012051 0000000 0000000 '\" t
.\" Title: ffmpegfs
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets vsnapshot
.\" Date: Januar 2024
.\" Manual: User Commands
.\" Source: ffmpegfs 2.15
.\" Language: English
.\"
.TH "FFMPEGFS" "1" "Januar 2024" "ffmpegfs 2\&.15" "User Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ffmpegfs \- mounts and transcodes a multitude of formats to one of the target formats on the fly\&.
.SH "SYNOPSIS"
.sp
\fBffmpegfs\fR [\fIOPTION\fR]\&... \fIIN_DIR\fR \fIOUT_DIR\fR
.SH "DESCRIPTION"
.sp
The ffmpegfs(1) command will mount the directory \fIIN_DIR\fR on \fIOUT_DIR\fR\&. Thereafter, accessing \fIOUT_DIR\fR will show the contents of \fIIN_DIR\fR, with all supported media files transparently renamed and transcoded to one of the supported target formats upon access\&.
.sp
Supported output formats:
.TS
allbox tab(:);
lt lt lt lt
lt lt lt lt
lt lt lt lt
lt lt lt lt
lt lt lt lt
lt lt lt lt
lt lt lt lt
lt lt lt lt
lt lt lt lt
lt lt lt lt
lt lt lt lt
lt lt lt lt
lt lt lt lt
lt lt lt lt
lt lt lt lt
lt lt lt lt
lt lt lt lt
lt lt lt lt.
T{
.sp
\fBFormat\fR
T}:T{
.sp
\fBDescription\fR
T}:T{
.sp
\fBAudio\fR
T}:T{
.sp
\fBVideo\fR
T}
T{
.sp
AIFF
T}:T{
.sp
Audio Interchange File Format
T}:T{
.sp
T}:T{
.sp
PCM 16 bit BE
T}
T{
.sp
ALAC
T}:T{
.sp
Apple Lossless Audio Codec
T}:T{
.sp
T}:T{
.sp
ALAC
T}
T{
.sp
FLAC
T}:T{
.sp
Free Lossless Audio
T}:T{
.sp
T}:T{
.sp
FLAC
T}
T{
.sp
HLS
T}:T{
.sp
HTTP Live Streaming
T}:T{
.sp
H264
T}:T{
.sp
AAC
T}
T{
.sp
MOV
T}:T{
.sp
QuickTime File Format
T}:T{
.sp
H264
T}:T{
.sp
AAC
T}
T{
.sp
MP3
T}:T{
.sp
MPEG\-2 Audio Layer III
T}:T{
.sp
T}:T{
.sp
MP3
T}
T{
.sp
MP4
T}:T{
.sp
MPEG\-4
T}:T{
.sp
H264
T}:T{
.sp
AAC
T}
T{
.sp
OGG
T}:T{
.sp
T}:T{
.sp
Theora
T}:T{
.sp
Vorbis
T}
T{
.sp
MKV
T}:T{
.sp
Matroska
T}:T{
.sp
H264
T}:T{
.sp
AAC
T}
T{
.sp
Opus
T}:T{
.sp
T}:T{
.sp
Opus
T}:T{
.sp
T}
T{
.sp
ProRes
T}:T{
.sp
Apple ProRes
T}:T{
.sp
ProRes
T}:T{
.sp
PCM 16 bit LE
T}
T{
.sp
TS
T}:T{
.sp
MPEG Transport Stream
T}:T{
.sp
H264
T}:T{
.sp
AAC
T}
T{
.sp
WAV
T}:T{
.sp
Waveform Audio File Format
T}:T{
.sp
T}:T{
.sp
PCM 16 bit LE
T}
T{
.sp
WebM
T}:T{
.sp
T}:T{
.sp
VP9
T}:T{
.sp
Opus
T}
T{
.sp
BMP
T}:T{
.sp
Video to frameset
T}:T{
.sp
T}:T{
.sp
BMP
T}
T{
.sp
JPG
T}:T{
.sp
Video to frameset
T}:T{
.sp
T}:T{
.sp
JPEG
T}
T{
.sp
PNG
T}:T{
.sp
Video to frameset
T}:T{
.sp
T}:T{
.sp
PNG
T}
.TE
.sp 1
.SH "OPTIONS"
.sp
Usage: ffmpegfs [OPTION]\&... IN_DIR OUT_DIR
.sp
Mount IN_DIR on OUT_DIR, converting audio and video files upon access\&.
.SS "Encoding options"
.PP
\fB\-\-desttype\fR=TYPE, \fB\-odesttype\fR=TYPE
.RS 4
Select the destination format\&.
\fITYPE\fR
can currently be:
.sp
\fBAIFF\fR,
\fBALAC\fR,
\fBBMP\fR,
\fBFLAC\fR,
\fBHLS\fR,
\fBJPG\fR,
\fBMOV\fR,
\fBMP3\fR,
\fBMP4\fR,
\fBMKV\fR,
\fBOGG\fR,
\fBOpus\fR,
\fBPNG\fR,
\fBProRes\fR,
\fBTS\fR,
\fBWAV\fR,
\fBWebM\fR\&.
.sp
To stream videos,
\fBMP4\fR,
\fBTS\fR,
\fBHLS\fR,
\fBOGG\fR,
\fBWEBM\fR,
\fBMKV\fR, or
\fBMOV\fR/\fBPRORES\fR
must be selected\&.
.sp
To use HTTP Live Streaming, set
\fBHLS\fR\&.
.sp
When a destination
\fBJPG\fR,
\fBPNG\fR, or
\fBBMP\fR
is chosen, all frames of a video source file will be presented in a virtual directory named after the source file\&. Audio will not be available\&.
.sp
To use the smart transcoding feature, specify a video and audio file type, separated by a "+" sign\&. For example, \-\-desttype=mov+aiff will convert video files to Apple Quicktime MOV and audio\-only files to AIFF\&.
.sp
Defaults to:
\fBmp4\fR
.RE
.PP
\fB\-\-audiocodec\fR=TYPE, \fB\-oaudiocodec\fR=TYPE
.RS 4
Select an audio codec\&.
\fITYPE\fR
depends on the destination format and can currently be:
.TS
allbox tab(:);
lt lt
lt lt
lt lt
lt lt
lt lt
lt lt.
T{
\fBFormats\fR
T}:T{
\fBAudio Codecs\fR
T}
T{
MP4
T}:T{
\fBAAC\fR, MP3
T}
T{
WebM
T}:T{
\fBOPUS\fR, VORBIS
T}
T{
MOV
T}:T{
\fBAAC\fR, AC3, MP3
T}
T{
MKV
T}:T{
\fBAAC\fR, AC3, MP3
T}
T{
TS, HLS
T}:T{
\fBAAC\fR, AC3, MP3
T}
.TE
.sp 1
Other destination formats do not support other codecs than the default\&.
.sp
Defaults to: The destination format\(cqs default setting, as indicated by the first codec name in the list\&.
.RE
.PP
\fB\-\-videocodec\fR=TYPE, \fB\-ovideocodec\fR=TYPE
.RS 4
Select a video codec\&.
\fITYPE\fR
depends on the destination format and can currently be:
.TS
allbox tab(:);
lt lt
lt lt
lt lt
lt lt
lt lt
lt lt.
T{
\fBFormats\fR
T}:T{
\fBVideo Codecs\fR
T}
T{
MP4
T}:T{
\fBH264\fR, H265, MPEG1, MPEG2
T}
T{
WebM
T}:T{
\fBVP9\fR, VP8, AV1
T}
T{
MOV
T}:T{
\fBH264\fR, H265, MPEG1, MPEG2
T}
T{
MKV
T}:T{
\fBH264\fR, H265, MPEG1, MPEG2
T}
T{
TS, HLS
T}:T{
\fBH264\fR, H265, MPEG1, MPEG2
T}
.TE
.sp 1
Other destination formats do not support other codecs than the default\&.
.sp
Defaults to: The destination format\(cqs default setting, as indicated by the first codec name in the list\&.
.RE
.PP
\fB\-\-autocopy\fR=OPTION, \fB\-oautocopy\fR=OPTION
.RS 4
Select the auto copy option\&.
\fIOPTION\fR
can be:
.TS
allbox tab(:);
lt lt
lt lt
lt lt
lt lt
lt lt.
T{
\fBOFF\fR
T}:T{
Never copy streams, transcode always\&.
T}
T{
\fBMATCH\fR
T}:T{
Copy stream if target supports codec\&.
T}
T{
\fBMATCHLIMIT\fR
T}:T{
Same as MATCH, only copy if target not larger, transcode otherwise\&.
T}
T{
\fBSTRICT\fR
T}:T{
Copy stream if codec matches desired target, transcode otherwise\&.
T}
T{
\fBSTRICTLIMIT\fR
T}:T{
Same as STRICT, only copy if target not larger, transcode otherwise\&.
T}
.TE
.sp 1
This can speed up transcoding significantly as copying streams uses much less computing power as compared to transcoding\&.
.sp
\fBMATCH\fR
copies a stream if the target supports it, e\&.g\&., an AAC audio stream will be copied to MPEG, although FFmpeg\(cqs target format is MP3 for this container\&. H264 would be copied to ProRes, although the result would be a regular MOV or MP4, not a ProRes file\&.
.sp
\fBSTRICT\fR
would convert AAC to MP3 for MPEG or H264 to ProRes for Prores files to strictly adhere to the output format setting\&. This will create homogenous results which might prevent problems with picky playback software\&.
.sp
Defaults to:
\fBOFF\fR
.RE
.PP
\fB\-\-recodesame\fR=OPTION, \fB\-orecodesame\fR=OPTION
.RS 4
Select recode to the same format option,
\fIOPTION\fR
can be:
.TS
allbox tab(:);
lt lt
lt lt.
T{
\fBNO\fR
T}:T{
Never recode to the same format\&.
T}
T{
\fBYES\fR
T}:T{
Always recode to the same format\&.
T}
.TE
.sp 1
Defaults to:
\fBNO\fR
.RE
.PP
\fB\-\-profile\fR=NAME, \fB\-oprofile\fR=NAME
.RS 4
Set profile for target audience,
\fINAME\fR
can be:
.TS
allbox tab(:);
lt lt
lt lt
lt lt
lt lt
lt lt
lt lt
lt lt
lt lt.
T{
\fBNONE\fR
T}:T{
no profile
T}
T{
\fBFF\fR
T}:T{
optimise for Firefox
T}
T{
\fBEDGE\fR
T}:T{
optimise for MS Edge and Internet Explorer > 11
T}
T{
\fBIE\fR
T}:T{
optimise for MS Edge and Internet Explorer ⇐ 11
T}
T{
\fBCHROME\fR
T}:T{
Google Chrome
T}
T{
\fBSAFARI\fR
T}:T{
Apple Safari
T}
T{
\fBOPERA\fR
T}:T{
Opera
T}
T{
\fBMAXTHON\fR
T}:T{
Maxthon
T}
.TE
.sp 1
\fBNote:\fR
applies to the MP4 output format only, and is ignored for all other formats\&.
.sp
Defaults to:
\fBNONE\fR
.RE
.PP
\-\-\fBlevel\fR=NAME, \-o \fBlevel\fR=NAME
.RS 4
Set level for output if available\&.
\fINAME\fR
can be:
.TS
allbox tab(:);
lt lt
lt lt
lt lt
lt lt.
T{
\fBPROXY\fR
T}:T{
Proxy \(en apco
T}
T{
\fBLT\fR
T}:T{
LT \(en apcs
T}
T{
\fBSTANDARD\fR
T}:T{
standard \(en apcn
T}
T{
\fBHQ\fR
T}:T{
HQ \- apch
T}
.TE
.sp 1
\fBNote:\fR
applies to the MP4 output format only, and is ignored for all other formats\&.
.sp
Defaults to:
\fBHQ\fR
.RE
.PP
\fB\-\-include_extensions\fR=LIST, \fB\-oinclude_extensions\fR=LIST
.RS 4
Set the list of file extensions to be encoded\&.
\fILIST\fR
can have one or more entries that are separated by commas\&. These are the only file extensions that will be transcoded\&. Can be specified numerous times and will be merged, which is required when specifying them in the fstab because commas cannot be used to separate the extensions\&. The entries support shell wildcard patterns\&.
.sp
Example: \-\-include_extensions=mp4,wmv to encode MPEG\-4 and Windows Media files only\&.
.sp
Defaults to: Encode all supported files\&.
.RE
.PP
\fB\-\-hide_extensions\fR=LIST, \fB\-ohide_extensions\fR=LIST
.RS 4
Set a list of file extensions to exclude from the output\&.
\fILIST\fR
can have one or more entries that are separated by commas\&. Can be specified numerous times and will be merged, which is required when specifying them in the fstab because commas cannot be used to separate the extensions\&. The entries support shell wildcard patterns\&.
.sp
Example: \-\-hide_extensions=jpg,png,cue to stop covers and cue sheets from showing up\&.
.sp
Defaults to: Show all files\&.
.RE
.SS "Audio Options"
.PP
\fB\-\-audiobitrate\fR=BITRATE, \fB\-o audiobitrate\fR=BITRATE
.RS 4
Select the audio encoding bitrate\&.
.sp
Defaults to:
\fB128 kbit\fR
.sp
\fBAcceptable values for \fR\fB\fIBITRATE\fR\fR\fB:\fR
.sp
\fBmp4:\fR
8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160, 176, 192, 224, 256, 288, 320, 352, 384, 416, and 448 kbps\&.
.sp
\fBmp3:\fR
For sampling frequencies of 32, 44\&.1, and 48 kHz,
\fIBITRATE\fR
can be among 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, and 320 kbps\&.
.sp
For sampling frequencies of 16, 22\&.05, and 24 kHz,
\fIBITRATE\fR
can be among 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, and 160 kbps\&.
.sp
When in doubt, it is recommended to choose a bitrate among 96, 112, 128, 160, 192, 224, 256, and 320 kbps\&.
.PP
\fBBITRATE\fR
.RS 4
can be defined as\&...
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
n bit/s: # or #bps
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
n kbit/s: #K or #Kbps
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
n Mbit/s: #M or #Mbps
.RE
.RE
.RE
.PP
\fB\-\-audiosamplerate\fR=SAMPLERATE, \fB\-o audiosamplerate\fR=SAMPLERATE
.RS 4
This limits the output sample rate to
\fISAMPLERATE\fR\&. If the source file sample rate is higher, it will be downsampled automatically\&.
.sp
Typical values are 8000, 11025, 22050, 44100, 48000, 96000, and 192000\&.
.sp
If the target codec does not support the selected sample rate, the next matching rate will be chosen (e\&.g\&. if 24K is selected but only 22\&.05 or 44\&.1 KHz is supported, 22\&.05 KHz will be set)\&.
.sp
Set to 0 to keep the source rate\&.
.sp
Defaults to:
\fB44\&.1 kHz\fR
.PP
\fBSAMPLERATE\fR
.RS 4
can be defined as\&...
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
In Hz: # or #Hz
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
In kHz: #K or #KHz
.RE
.RE
.RE
.PP
\fB\-\-audiochannels\fR=CHANNELS, \fB\-o audiochannels\fR=CHANNELS
.RS 4
This limits the number of output channels to
\fICHANNELS\fR\&. If the source has more channels, the number will be reduced to this limit\&.
.sp
Typical values are 1, 2 or 6 (e\&.g\&., 5\&.1) channels\&.
.sp
If the target codec does not support the selected number of channels, transcoding may fail\&.
.sp
Set to 0 to keep the number of channels\&.
.sp
Defaults to:
\fB2 channels (stereo)\fR
.RE
.PP
\fB\-\-audiosamplefmt\fR=SAMPLEFMT, \fB\-o audiosamplefmt\fR=SAMPLEFMT
.RS 4
This sets a sample format\&.
\fISAMPLEFMT\fR
can be:
.sp
0 to use the predefined setting; 8, 16, 32, 64 for integer format, F16, F32, F64 for floating point\&.
.sp
Not all formats are supported by all destination types\&. Selecting an invalid format will be reported as a command line error and a list of values printed\&.
.TS
allbox tab(:);
lt lt
lt lt
lt lt
lt lt
lt lt.
T{
\fBContainer Format\fR
T}:T{
\fBSample Format\fR
T}
T{
\fBAIFF\fR
T}:T{
0, 16, 32
T}
T{
\fBALAC\fR
T}:T{
0, 16, 24
T}
T{
\fBWAV\fR
T}:T{
0, 8, 16, 32, 64, F16, F32, F64
T}
T{
\fBFLAC\fR
T}:T{
0, 16, 24
T}
.TE
.sp 1
Defaults to: 0 (Use the same as the source or the predefined format of the destination if the source format is not possible\&.)
.RE
.SS "Video Options"
.PP
\fB\-\-videobitrate\fR=BITRATE, \fB\-o videobitrate\fR=BITRATE
.RS 4
This sets the video encoding bit rate\&. Setting this too high or too low may cause transcoding to fail\&.
.sp
Defaults to:
\fB2 Mbit\fR
.sp
\fBmp4:\fR
May be specified as 500 to 25,000 kbps\&.
.PP
\fBBITRATE\fR
.RS 4
can be defined as\&...
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
n bit/s: # or #bps
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
n kbit/s: #K or #Kbps
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
n Mbit/s: #M or #Mbps
.RE
.RE
.RE
.PP
\fB\-\-videoheight\fR=HEIGHT, \-o \fBvideoheight\fR=HEIGHT
.RS 4
This sets the height of the transcoded video\&.
.sp
When the video is rescaled, the aspect ratio is preserved if \-\-width is not set at the same time\&.
.sp
Defaults to:
\fBkeep source video height\fR
.RE
.PP
\fB\-\-videowidth\fR=WIDTH, \-o \fBvideowidth\fR=WIDTH
.RS 4
This sets the width of the transcoded video\&.
.sp
When the video is rescaled, the aspect ratio is preserved if \-\-height is not set at the same time\&.
.sp
Defaults to:
\fBkeep source video width\fR
.RE
.PP
\fB\-\-deinterlace\fR, \-o \fBdeinterlace\fR
.RS 4
Deinterlace video if necessary while transcoding\&.
.sp
This may need a higher bit rate, but this will increase picture quality when streaming via HTML5\&.
.sp
Defaults to: "no deinterlace"
.RE
.SS "HLS Options"
.PP
\fB\-\-segment_duration\fR, \-o \fBsegment_duration\fR
.RS 4
Set the duration of one video segment of the HLS stream\&. This argument is a floating point value, e\&.g\&., it can be set to 2\&.5 for 2500 milliseconds\&.
.sp
Should normally be left as the default\&.
.sp
\fBNote:\fR
This applies to the HLS output format only, and is ignored for all other formats\&.
.sp
Defaults to:
\fB10 seconds\fR
.RE
.PP
\fB\-\-min_seek_time_diff\fR, \-o \fBmin_seek_time_diff\fR
.RS 4
If the requested HLS segment is less than min_seek_time seconds away, discard the seek request\&. The segment will be available very soon anyway, and that makes a re\-transcode necessary\&. Set to 0 to disable\&.
.sp
Should normally be left as the default\&.
.sp
\fBNote:\fR
This applies to the HLS output format only, and is ignored for all other formats\&.
.sp
Defaults to:
\fB30 seconds\fR
.RE
.SS "Hardware Acceleration Options"
.PP
\fB\-\-hwaccel_enc\fR=API, \fB\-o hwaccel_enc\fR=API
.RS 4
Select the hardware acceleration API for encoding\&.
.sp
Defaults to:
\fBNONE\fR
(no acceleration)\&.
.PP
\fBAPI\fR
.RS 4
can be defined as\&...
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBNONE\fR: use software encoder
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBVAAPI\fR: Video Acceleration API (VA\-API)
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBOMX\fR: OpenMAX (Open Media Acceleration)
.RE
.RE
.RE
.PP
\fB\-\-hwaccel_dec_blocked\fR=CODEC[:PROFILE[:PROFILE]], \fB\-o hwaccel_dec_blocked\fR=CODEC:[:PROFILE[:PROFILE]]
.RS 4
Block a codec and, optionally, a profile for hardware decoding\&. The option can be repeated to block several codecs\&.
.sp
Defaults to: no codecs blocked\&.
.PP
\fBCODEC\fR
.RS 4
can be defined as\&...
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBH263\fR: H\&.263
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBH264\fR: H\&.264
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBHEVC\fR: H\&.265 / HEVC
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBMPEG2\fR: MPEG\-2 video
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBMPEG4\fR: MPEG\-4 video
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBVC1\fR: SMPTE VC\-1
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBVP8\fR: Google VP9
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBVP9\fR: Google VP9
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBWMV3\fR: Windows Media Video 9
.RE
.RE
.RE
.PP
\fBPROFILE\fR
.RS 4
can optionally be added to block a certain profile from the codec only\&.
.sp
Example: VP9:0 blocks Google VP profile 0\&.
.sp
Example: H264:1:33 blocks H\&.264 profile 1 and 33\&.
.RE
.PP
\fB\-\-hwaccel_enc_device\fR=DEVICE, \-o \fBhwaccel_enc_device\fR=DEVICE
.RS 4
Select the hardware acceleration device\&. May be required for VAAPI, especially if more than one device is available\&.
.sp
\fBNote:\fR
This only applies to VAAPI hardware acceleration; all other types are ignored\&.
.sp
Defaults to:
\fBempty\fR
(use default device)\&.
.sp
Example:
\fB/dev/dri/renderD128\fR
.RE
.PP
\fB\-\-hwaccel_dec\fR=API, \fB\-o hwaccel_dec\fR=API
.RS 4
Select the hardware acceleration API for decoding\&.
.sp
Defaults to:
\fBNONE\fR
(no acceleration)
.PP
\fBAPI\fR
.RS 4
can be defined as\&...
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBNONE\fR: use software decoder
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBVAAPI\fR: Video Acceleration API (VA\-API)
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBMMAL\fR: Multimedia Abstraction Layer by Broadcom
.RE
.RE
.RE
.PP
\fB\-\-hwaccel_dec_device\fR=DEVICE, \-o \fBhwaccel_dec_device\fR=DEVICE
.RS 4
Select the hardware acceleration device\&. May be required for VAAPI, especially if more than one device is available\&.
.sp
\fBNote:\fR
This only applies to VAAPI hardware acceleration; all other types are ignored\&.
.sp
Defaults to:
\fBempty\fR
(use default device)
.sp
Example:
\fB/dev/dri/renderD128\fR
.RE
.SS "Album Arts"
.PP
\-\-\fBnoalbumarts\fR, \-o \fBnoalbumarts\fR
.RS 4
Do not copy album art into the output file\&.
.sp
This will reduce the file size and may be useful when streaming via HTML5 when album art is not used anyway\&.
.sp
Defaults to:
\fBadd album arts\fR
.RE
.SS "Virtual Script"
.PP
\-\-\fBenablescript\fR, \-o \fBenablescript\fR
.RS 4
Add a virtual index\&.php to every directory\&. It reads scripts/videotag\&.php from the FFmpegfs binary directory\&.
.sp
This can be very handy for testing video playback\&. Of course, feel free to replace videotag\&.php with your own script\&.
.sp
Defaults to:
\fBDo not generate script file\fR
.RE
.PP
\-\-\fBscriptfile\fR, \-o \fBscriptfile\fR
.RS 4
Set the name of the virtual script created in each directory\&.
.sp
Defaults to:
\fBindex\&.php\fR
.RE
.PP
\-\-\fBscriptsource\fR, \-o \fBscriptsource\fR
.RS 4
Use a different source file\&.
.sp
Defaults to:
\fBscripts/videotag\&.php\fR
.RE
.SS "Cache Options"
.PP
\fB\-\-expiry_time\fR=TIME, \fB\-o expiry_time\fR=TIME
.RS 4
Cache entries expire after
\fITIME\fR
and will be deleted to save disc space\&.
.sp
Defaults to:
\fB1 week\fR
.RE
.PP
\fB\-\-max_inactive_suspend\fR=TIME, \fB\-o max_inactive_suspend\fR=TIME
.RS 4
While being accessed, the file is transcoded to the target format in the background\&. When the client quits, transcoding will continue until this time out\&. Transcoding is suspended until it is accessed again, then transcoding will continue\&.
.sp
Defaults to:
\fB15 seconds\fR
.RE
.PP
\fB\-\-max_inactive_abort\fR=TIME, \fB\-o max_inactive_abort\fR=TIME
.RS 4
While being accessed, the file is transcoded in the background to the target format\&. When the client quits, transcoding will continue until this time out, then the transcoder thread quits\&.
.sp
Defaults to:
\fB30 seconds\fR
.RE
.PP
\fB\-\-prebuffer_time\fR=TIME, \fB\-o prebuffer_time\fR=TIME
.RS 4
Files will be decoded until the buffer contains the specified playing time, allowing playback to start smoothly without lags\&. Both options must be met if prebuffer time and prebuffer size are specified\&.
.sp
Set to 0 to disable pre\-buffering\&.
.sp
Defaults to:
\fBno prebuffer time\fR
.RE
.PP
\fB\-\-prebuffer_size\fR=SIZE, \fB\-o prebuffer_size\fR=SIZE
.RS 4
Files will be decoded until the specified number of bytes is present in the buffer, allowing playback to start smoothly without lags\&. Both options must be met if prebuffer size and prebuffer time are specified\&.
.sp
Set to 0 to disable pre\-buffering\&.
.sp
Defaults to:
\fB100 KB\fR
.RE
.PP
\fB\-\-max_cache_size\fR=SIZE, \fB\-o max_cache_size\fR=SIZE
.RS 4
Set the maximum diskspace used by the cache\&. If the cache grows beyond this limit when a file is transcoded, old entries will be deleted to keep the cache within the size limit\&.
.sp
Defaults to:
\fBunlimited\fR
.RE
.PP
\fB\-\-min_diskspace\fR=SIZE, \fB\-o min_diskspace\fR=SIZE
.RS 4
Set the required diskspace on the cachepath mount\&. If the remaining space falls below
\fISIZE\fR
when a file is transcoded, old entries will be deleted to keep the diskspace within the limit\&.
.sp
Defaults to:
\fB0 (no minimum space)\fR
.RE
.PP
\fB\-\-cachepath\fR=DIR, \fB\-o cachepath\fR=DIR
.RS 4
Sets the disc cache directory to
\fIDIR\fR\&. If it does not already exist, it will be created\&. The user running FFmpegfs must have write access to the location\&.
.sp
Defaults to:
\fB${XDG_CACHE_HOME:\-~/\&.cache}/ffmpegfs\fR
(as specified in the XDG Base Directory Specification)\&. Falls back to ${HOME:\-~/\&.cache}/ffmpegfs if not defined\&. If executed with root privileges, "/var/cache/ffmpegfs" will be used\&.
.RE
.PP
\fB\-\-disable_cache\fR, \-o \fBdisable_cache\fR
.RS 4
Disable the cache functionality completely\&.
.sp
Defaults to:
\fBenabled\fR
.RE
.PP
\fB\-\-cache_maintenance\fR=TIME, \fB\-o cache_maintenance\fR=TIME
.RS 4
Starts cache maintenance in
\fITIME\fR
intervals\&. This will enforce the expery_time, max_cache_size and min_diskspace settings\&. Do not set it too low as this can slow down transcoding\&.
.sp
Only one FFmpegfs process will do the maintenance by becoming the master\&. If that process exits, another will take over, so that one will always do the maintenance\&.
.sp
Defaults to:
\fB1 hour\fR
.RE
.PP
\fB\-\-prune_cache\fR
.RS 4
Prune the cache immediately according to the above settings at application start up\&.
.sp
Defaults to:
\fBDo not prune cache\fR
.RE
.PP
\fB\-\-clear_cache\fR, \fB\-o clear_cache\fR
.RS 4
On startup, clear the cache\&. All previously transcoded files will be deleted\&.
.PP
\fBTIME\fR
.RS 4
can be defined as\&...
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Seconds: #
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Minutes: #m
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Hours: #h
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Days: #d
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Weeks: #w
.RE
.RE
.PP
\fBSIZE\fR
.RS 4
can be defined as\&...
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
In bytes: # or #B
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
In KBytes: #K or #KB
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
In MBytes: #M or #MB
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
In GBytes: #G or #GB
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
In TBytes: #T or #TB
.RE
.RE
.RE
.SS "Other"
.PP
\fB\-\-max_threads\fR=COUNT, \fB\-o max_threads\fR=COUNT
.RS 4
Limit concurrent transcoder threads\&. Set to 0 for unlimited threads\&. Recommended values are up to 16 times the number of CPU cores\&. Should be left as the default\&.
.sp
Defaults to:
\fB16 times number of detected cpu cores\fR
.RE
.PP
\fB\-\-decoding_errors\fR, \fB\-o decoding_errors\fR
.RS 4
Decoding errors are normally ignored, leaving bloopers and hiccups in encoded audio or video but still creating a valid file\&. When this option is set, transcoding will stop with an error\&.
.sp
Defaults to:
\fBIgnore errors\fR
.RE
.PP
\fB\-\-min_dvd_chapter_duration\fR=SECONDS, \fB\-o min_dvd_chapter_duration\fR=SECONDS
.RS 4
This ignores DVD chapters shorter than SECONDS\&. To disable, set to 0\&. This avoids transcoding errors for DVD chapters too short to detect its streams\&.
.sp
Defaults to:
\fB1 second\fR
.RE
.PP
\fB\-\-win_smb_fix\fR, \fB\-o win_smb_fix\fR
.RS 4
Windows seems to access the files on Samba drives starting at the last 64K segment when the file is opened\&. Setting \-\-win_smb_fix=1 will ignore these attempts (not decode the file up to this point)\&.
.sp
Defaults to:
\fBon\fR
.RE
.SS "Logging"
.PP
\fB\-\-log_maxlevel\fR=LEVEL, \fB\-o log_maxlevel\fR=LEVEL
.RS 4
Maximum level of messages to log, either ERROR, WARNING, INFO, DEBUG or TRACE\&. Defaults to INFO and is always set to DEBUG in debug mode\&.
.sp
Note that the other log flags must also be set to enable logging\&.
.RE
.PP
\fB\-\-log_stderr\fR, \fB\-o log_stderr\fR
.RS 4
Enable outputting logging messages to stderr\&. Automatically enabled in debug mode\&.
.RE
.PP
\fB\-\-log_syslog\fR, \fB\-o log_syslog\fR
.RS 4
Enable outputting logging messages to syslog\&.
.RE
.PP
\fB\-\-logfile\fR=FILE, \fB\-o logfile\fR=FILE
.RS 4
File to output log messages to\&. By default, no file will be written\&.
.RE
.SS "General/FUSE options"
.PP
\fB\-d\fR, \fB\-o debug\fR
.RS 4
Enable debug output\&. This will result in a large quantity of diagnostic information being printed to stderr as the programme runs\&. It implies
\fB\-f\fR\&.
.RE
.PP
\fB\-f\fR
.RS 4
Run in the foreground instead of detaching from the terminal\&.
.RE
.PP
\fB\-h\fR, \fB\-\-help\fR
.RS 4
Print usage information\&.
.RE
.PP
\fB\-V\fR, \fB\-\-version\fR
.RS 4
Output version information\&.
.RE
.PP
\fB\-c\fR, \fB\-\-capabilities\fR
.RS 4
Output FFmpeg capabilities: a list of the system\(cqs available codecs\&.
.RE
.PP
\fB\-s\fR
.RS 4
Force single\-threaded operation\&.
.RE
.SH "USAGE"
.sp
Mount your file system as follows:
.sp
.if n \{\
.RS 4
.\}
.nf
ffmpegfs [\-\-audiobitrate bitrate] [\-\-videobitrate bitrate] musicdir mountpoint [\-o fuse_options]
.fi
.if n \{\
.RE
.\}
.sp
To use FFmpegfs as a daemon and encode to MPEG\-4, for instance:
.sp
.if n \{\
.RS 4
.\}
.nf
ffmpegfs \-\-audiobitrate=256K \-\-videobitrate=1\&.5M /mnt/music /mnt/ffmpegfs \-o allow_other,ro,desttype=mp4
.fi
.if n \{\
.RE
.\}
.sp
This will run FFmpegfs in the foreground and print the log output to the screen:
.sp
.if n \{\
.RS 4
.\}
.nf
ffmpegfs \-f \-\-log_stderr \-\-audiobitrate=256K \-\-videobitrate=1\&.5M \-\-audiobitrate=256K \-\-videobitrate=1\&.5M /mnt/music /mnt/ffmpegfs \-o allow_other,ro,desttype=mp4
.fi
.if n \{\
.RE
.\}
.sp
With the following entry in "/etc/fstab," the same result can be obtained with more recent versions of FUSE:
.sp
.if n \{\
.RS 4
.\}
.nf
ffmpegfs#/mnt/music /mnt/ffmpegfs fuse allow_other,ro,audiobitrate=256K,videobitrate=2000000,desttype=mp4 0 0
.fi
.if n \{\
.RE
.\}
.sp
Another (more current) way to express this command:
.sp
.if n \{\
.RS 4
.\}
.nf
/mnt/music /mnt/ffmpegfs fuse\&.ffmpegfs allow_other,ro,audiobitrate=256K,videobitrate=2000000,desttype=mp4 0 0
.fi
.if n \{\
.RE
.\}
.sp
At this point, files like /mnt/music/**\&.flac and /mnt/music/**\&.ogg will show up as /mnt/ffmpegfs/**\&.mp4\&.
.sp
Audio bitrates will be reduced to 256 KBit, video to 1\&.5 MBit\&. The source bitrate will not be scaled up if it is lower; it will remain at the lower value\&.
.sp
Keep in mind that only root can, by default, utilise the "allow other" option\&. Either use the "user allow other" key in /etc/fuse\&.conf or run FFmpegfs as root\&.
.sp
Any user must have "allow other" enabled in order to access the mount\&. By default, only the user who initiated FFmpegfs has access to this\&.
.sp
Examples:
.sp
.if n \{\
.RS 4
.\}
.nf
ffmpegfs \-f $HOME/test/in $HOME/test/out \-\-log_stderr \-\-log_maxlevel=DEBUG \-o allow_other,ro,desttype=mp4,cachepath=$HOME/test/cache
.fi
.if n \{\
.RE
.\}
.sp
Transcode files using FFmpegfs from test/in to test/out while logging to stderr at a noisy TRACE level\&. The cache resides in test/cache\&. All directories are under the current user\(cqs home directory\&.
.sp
.if n \{\
.RS 4
.\}
.nf
ffmpegfs \-f $HOME/test/in $HOME/test/out \-\-log_stderr \-\-log_maxlevel=DEBUG \-o allow_other,ro,desttype=mp4,cachepath=$HOME/test/cache,videowidth=640
.fi
.if n \{\
.RE
.\}
.sp
Similar to the previous, but with a 640\-pixel maximum video width\&. The aspect ratio will be maintained when scaling down larger videos\&. Videos that are smaller won\(cqt be scaled up\&.
.sp
.if n \{\
.RS 4
.\}
.nf
ffmpegfs \-f $HOME/test/in $HOME/test/out \-\-log_stderr \-\-log_maxlevel=DEBUG \-o allow_other,ro,desttype=mp4,cachepath=$HOME/test/cache,deinterlace
.fi
.if n \{\
.RE
.\}
.sp
Deinterlacing can be enabled for better image quality\&.
.SH "HOW IT WORKS"
.sp
The decoder and encoder are initialised when a file is opened, and the file\(cqs metadata is also read\&. At this point, a rough estimate of the total file size can be made\&. Because the actual size greatly depends on the material encoded, this technique works fair\-to\-good for MP4 or WebM output files but works well for MP3, AIFF, or WAV output files\&.
.sp
The file is transcoded as it is being read and stored in a private per\-file buffer\&. This buffer keeps expanding as the file is read until the entire file has been transcoded\&. After being decoded, the file is stored in a disc buffer and is readily accessible\&.
.sp
Other processes will share the same transcoded data if they access the same file because transcoding is done in a single additional thread, which saves CPU time\&. Transcoding will continue for a while if all processes close the file before it is finished\&. Transcoding will resume if the file is viewed once more before the timer expires\&. If not, it will halt and delete the current chunk to free up storage space\&.
.sp
A file will be transcoded up to the seek point when you seek within it (if not already done)\&. Since the majority of programmes will read a file from beginning to end, this is typically not a problem\&. Future upgrades might offer actual random seeking (but if this is feasible, it is not yet clear due to restrictions to positioning inside compressed streams)\&. When HLS streaming is chosen, this already functions\&. The requested segment is immediately skipped to by FFmpegfs\&.
.sp
\fBMP3:\fR The source file\(cqs comments are used to generate ID3 version 2\&.4 and 1\&.1 tags\&. They are correspondingly at the beginning and the end of the file\&.
.sp
\fBMP4:\fR The same is true for meta atoms contained in MP4 containers\&.
.sp
\fBWAV\fR: The estimated size of the WAV file will be included in a pro forma WAV header\&. When the file is complete, this header will be changed\&. Though most current gamers apparently disregard this information and continue to play the file, it does not seem required\&.
.sp
Only for MP3 targets: A particular optimization has been done so that programmes that look for id3v1 tags don\(cqt have to wait for the entire file to be transcoded before reading the tag\&. This accelerates these apps \fBdramatically\fR\&.
.SH "ABOUT OUTPUT FORMATS"
.sp
A few remarks regarding the output formats that are supported:
.sp
Since these are plain vanilla constant bitrate (CBR) MP3 files, there isn\(cqt much to say about the MP3 output\&. Any modern player should be able to play them well\&.
.sp
However, MP4 files are unique because standard MP4s aren\(cqt really ideal for live broadcasting\&. The start block of an MP4 has a field with the size of the compressed data section, which is the cause\&. It suffices to say that until the size is known, compression must be finished, a file seek must be performed to the beginning, and the size atom updated\&.
.sp
That size is unknown for a live stream that is ongoing\&. To obtain that value for our transcoded files, one would need to wait for the entire file to be recoded\&. As if that weren\(cqt enough, the file\(cqs final section contains some crucial details, such as meta tags for the artist, album, etc\&. Additionally, the fact that there is just one enormous data block makes it difficult to do random searches among the contents without access to the entire data section\&.
.sp
Many programmes will then read the crucial information from the end of an MP4 before returning to the file\(cqs head and beginning playback\&. This will destroy FFmpegfs\*(Aq entire transcode\-on\-demand concept\&.
.sp
Several extensions have been created to work around the restriction, including "faststart," which moves the aforementioned meta data from the end to the beginning of the MP4 file\&. Additionally, it is possible to omit the size field (0)\&. An further plugin is isml (smooth live streaming)\&.
.sp
Older versions of FFmpeg do not support several new MP4 features that are required for direct\-to\-stream transcoding, like ISMV, faststart, separate moof/empty moov, to mention a few (or if available, not working properly)\&.
.sp
Faststart files are produced by default with an empty size field so that the file can be started to be written out at once rather than having to be encoded as a complete first\&. It would take some time before playback could begin if it were fully encoded\&. The data part is divided into chunks of about 1 second each, all with their own header, so it is possible to fill in the size fields early enough\&.
.sp
One disadvantage is that not all players agree with the format, or they play it with odd side effects\&. VLC only refreshes the time display every several seconds while playing the file\&. There may not always be a complete duration displayed while streaming using HTML5 video tags, but that is fine as long as the content plays\&. Playback can only move backwards from the current playback position\&.
.sp
However, that is the cost of commencing playback quickly\&.
.SH "DEVELOPMENT"
.sp
Git is the revision control system used by FFmpegfs\&. The complete repository is available here:
.sp
git clone https://github\&.com/nschlia/ffmpegfs\&.git
.sp
or the mirror:
.sp
git clone https://salsa\&.debian\&.org/nschlia/ffmpegfs\&.git
.sp
FFmpegfs is composed primarily of C++17 with a small amount of C\&. The following libraries are utilised:
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
FUSE
.RE
.sp
FFmpeg home pages:
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
FFmpeg
.RE
.SH "FILES"
.sp
\fB/usr/local/bin/ffmpegfs\fR, \fB/etc/fstab\fR
.SH "AUTHORS"
.sp
This fork with FFmpeg support has been maintained by Norbert Schlia since 2017 to date\&.
.sp
Based on work by K\&. Henriksson (from 2008 to 2017) and the original author, David Collett (from 2006 to 2008)\&.
.sp
Much thanks to them for the original work and giving me a good head start!
.SH "LICENSE"
.sp
This program can be distributed under the terms of the GNU GPL version 3 or later\&. It can be found online or in the COPYING file\&.
.sp
This file and other documentation files can be distributed under the terms of the GNU Free Documentation License 1\&.3 or later\&. It can be found online or in the COPYING\&.DOC file\&.
.SH "FFMPEG LICENSE"
.sp
FFmpeg is licensed under the GNU Lesser General Public License (LGPL) version 2\&.1 or later\&. However, FFmpeg incorporates several optional parts and optimizations that are covered by the GNU General Public License (GPL) version 2 or later\&. If those parts get used the GPL applies to all of FFmpeg\&.
.sp
See https://www\&.ffmpeg\&.org/legal\&.html for details\&.
.SH "COPYRIGHT"
.sp
This fork with FFmpeg support copyright (C) 2017\-2024 Norbert Schlia\&.
.sp
Based on work copyright (C) 2006\-2008 David Collett, 2008\-2013 K\&. Henriksson\&.
.sp
Much thanks to them for the original work!
.sp
This is free software: you are free to change and redistribute it under the terms of the GNU General Public License (GPL) version 3 or later\&.
.sp
This manual is copyright (C) 2010\-2011 K\&. Henriksson and (C) 2017\-2024 by N\&. Schlia and may be distributed under the GNU Free Documentation License (GFDL) 1\&.3 or later with no invariant sections, or alternatively under the GNU General Public License (GPL) version 3 or later\&.
ffmpegfs-2.15/COPYING 0000644 0001750 0001750 00000104515 14357564430 011233 0000000 0000000 GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
Copyright (C)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
Copyright (C)
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
.
ffmpegfs-2.15/COPYING.CC0 0000644 0001750 0001750 00000015610 14357564430 011574 0000000 0000000 Creative Commons Legal Code
CC0 1.0 Universal
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.
ffmpegfs-2.15/test/ 0000755 0001750 0001750 00000000000 14557515776 011244 5 0000000 0000000 ffmpegfs-2.15/test/test_filenames_ts 0000755 0001750 0001750 00000000141 14361057143 014574 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filenames" ts
ffmpegfs-2.15/test/test_filenames_alac 0000755 0001750 0001750 00000000146 14361057143 015053 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filenames" alac m4a
ffmpegfs-2.15/test/test_audio 0000755 0001750 0001750 00000004425 14442324060 013230 0000000 0000000 #!/bin/bash
ADDOPT=""
. "${BASH_SOURCE%/*}/funcs.sh" "$1"
check_audio() {
if [ "$2" != "${FILEEXT}" ]
then
TGTFILE="$1.$2.${FILEEXT}"
else
TGTFILE="$1.${FILEEXT}"
fi
SRCFILE="$1.$2"
EXPECTED="$3"
printf "> TRANSCODING %s\n" ${DIRNAME}/${TGTFILE##*/}
cp -vpf "${DIRNAME}/${TGTFILE}" "${TMPPATH}" > /dev/null
#cp -vpf "${DIRNAME}/${TGTFILE}" "${TMPPATH}" > /dev/null
CMPRESULT="$(./fpcompare "${SRCDIR}/${SRCFILE}" "${DIRNAME}/${TGTFILE}")"
if [ $(echo "${CMPRESULT} <= ${EXPECTED}" | bc) -eq 1 ]
then
RESULT="Pass"
RETURN=0
else
RESULT="FAIL"
RETURN=1
fi
printf "> %s -> File: %-20s %f (expected %f)\n" ${RESULT} ${TGTFILE} ${CMPRESULT} ${EXPECTED}
if [ ${RETURN} != 0 ];
then
exit ${RETURN}
fi
}
if [ "${DESTTYPE}" == "mp4" ];
then
# mp4
check_audio "raven_e" "flac" 0.04
check_audio "raven_d" "ogg" 0.05
elif [ "${DESTTYPE}" == "mp3" ];
then
# mp3
check_audio "raven_e" "flac" 0.04
check_audio "raven_d" "ogg" 0.08
elif [ "${DESTTYPE}" == "wav" ];
then
# wav
check_audio "raven_e" "flac" 0.0
check_audio "raven_d" "ogg" 0.0
elif [ "${DESTTYPE}" == "ogg" ];
then
# ogg
check_audio "raven_e" "flac" 0.2
check_audio "raven_d" "ogg" 0.0
elif [ "${DESTTYPE}" == "webm" ];
then
# webm
check_audio "raven_e" "flac" 0.03
check_audio "raven_d" "ogg" 0.03
elif [ "${DESTTYPE}" == "opus" ];
then
# opus
check_audio "raven_e" "flac" 0.4
check_audio "raven_d" "ogg" 0.03
elif [ "${DESTTYPE}" == "mov" ];
then
# mov
check_audio "raven_e" "flac" 0.04
check_audio "raven_d" "ogg" 0.05
elif [ "${DESTTYPE}" == "aiff" ];
then
# aiff
check_audio "raven_e" "flac" 0.0
check_audio "raven_d" "ogg" 0.0
elif [ "${DESTTYPE}" == "prores" ];
then
# prores
check_audio "raven_e" "flac" 0.0
check_audio "raven_d" "ogg" 0.0
elif [ "${DESTTYPE}" == "alac" ];
then
# alac
check_audio "raven_e" "flac" 0.0
check_audio "raven_d" "ogg" 0.0
elif [ "${DESTTYPE}" == "ts" ];
then
# ts
check_audio "raven_e" "flac" 0.039136
check_audio "raven_d" "ogg" 0.050
elif [ "${DESTTYPE}" == "flac" ];
then
# flac
check_audio "raven_e" "flac" 0.0
check_audio "raven_d" "ogg" 0.0
else
echo "Internal error, unknown type ${DESTTYPE}. Fix script!"
exit 99
fi
echo "OK"
ffmpegfs-2.15/test/test_tags_mp4 0000755 0001750 0001750 00000000136 14361057146 013650 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" mp4 1
ffmpegfs-2.15/test/test_audio_wav 0000755 0001750 0001750 00000000136 14361057143 014105 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_audio" wav
ffmpegfs-2.15/test/test_filenames_hls 0000755 0001750 0001750 00000000351 14361057143 014737 0000000 0000000 #!/bin/bash
ADDOPT=""
. "${BASH_SOURCE%/*}/funcs.sh" "hls"
XDIRNAME="${DIRNAME}"/snowboard.mp4
echo "Checking file names"
[ "$(ls --ignore='*.ts' -w 1000 -m "${XDIRNAME}")" = "hls.html, index_0_av.m3u8, master.m3u8" ]
echo "OK"
ffmpegfs-2.15/test/test_video_hw_enc_vaapi 0000755 0001750 0001750 00000000146 14361057146 015744 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_video_hw" ENC vaapi
ffmpegfs-2.15/test/test_video_hw 0000755 0001750 0001750 00000000650 14442324060 013727 0000000 0000000 #!/bin/bash
if [ "$1" == "ENC" ]
then
ADDOPT="--hwaccel_enc=$2"
elif [ "$1" == "DEC" ]
then
ADDOPT="--hwaccel_dec=$2"
else
echo "Parameter missing"
echo
echo "Usage: $0 ENC api"
echo "Usage: $0 DEC api"
echo
echo "Example: $0 ENC VAAPI"
exit 1
fi
. "${BASH_SOURCE%/*}/funcs.sh" ts 77 "${1,,}_$2"
cp -vpf "${DIRNAME}/snowboard.mp4.${FILEEXT}" "${TMPPATH}" || exit 77 # Make test suite report "SKIP"
ffmpegfs-2.15/test/test_filesize_video_ts 0000755 0001750 0001750 00000000146 14361057146 015641 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize"_video ts
ffmpegfs-2.15/test/test_tags_alac 0000755 0001750 0001750 00000000135 14361057146 014047 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" alac
ffmpegfs-2.15/test/test_tags_ogg 0000755 0001750 0001750 00000000135 14361057146 013723 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" ogg
ffmpegfs-2.15/test/test_tags_prores 0000755 0001750 0001750 00000000141 14361057146 014456 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" prores 1
ffmpegfs-2.15/test/test_filesize_flac 0000755 0001750 0001750 00000000142 14361057143 014723 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" flac
ffmpegfs-2.15/test/test_tags_mp3 0000755 0001750 0001750 00000000135 14361057146 013646 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" mp3
ffmpegfs-2.15/test/test_filesize_mp3 0000755 0001750 0001750 00000000141 14361057143 014514 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" mp3
ffmpegfs-2.15/test/test_tags_wav 0000755 0001750 0001750 00000000135 14361057146 013744 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" wav
ffmpegfs-2.15/test/test_audio_webm 0000755 0001750 0001750 00000000137 14361057143 014243 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_audio" webm
ffmpegfs-2.15/test/test_filecount_hls 0000755 0001750 0001750 00000000346 14361057143 014770 0000000 0000000 #!/bin/bash
ADDOPT=""
. "${BASH_SOURCE%/*}/funcs.sh" "hls"
XDIRNAME="${DIRNAME}"/snowboard.mp4
SEGMENTS=3
echo "Checking number of HLS segments is ${SEGMENTS}"
[ $(ls "${XDIRNAME}"/*.ts -1 | wc -l) = ${SEGMENTS} ]
echo "OK"
ffmpegfs-2.15/test/test_filenames 0000755 0001750 0001750 00000001660 14442324060 014070 0000000 0000000 #!/bin/bash
ADDOPT=""
. "${BASH_SOURCE%/*}/funcs.sh" "$1"
# Use -w 1000 to ensure all in one line
if [ "${FILEEXT}" == "mp4" ]
then
[ "$(ls -w 1000 -m "${DIRNAME}")" = "copyright, cuesheet, dir.flac, frame_test_pal.${FILEEXT}, raven_d.ogg.${FILEEXT}, raven_e.flac.${FILEEXT}, snowboard.${FILEEXT}" ]
elif [ "${FILEEXT}" == "ogg" ]
then
[ "$(ls -w 1000 -m "${DIRNAME}")" = "copyright, cuesheet, dir.flac, frame_test_pal.mp4.${FILEEXT}, raven_d.${FILEEXT}, raven_e.flac.${FILEEXT}, snowboard.mp4.${FILEEXT}" ]
elif [ "${FILEEXT}" == "flac" ]
then
[ "$(ls -w 1000 -m "${DIRNAME}")" = "copyright, cuesheet, dir.flac, frame_test_pal.mp4.${FILEEXT}, raven_d.ogg.${FILEEXT}, raven_e.${FILEEXT}, snowboard.mp4.${FILEEXT}" ]
else
[ "$(ls -w 1000 -m "${DIRNAME}")" = "copyright, cuesheet, dir.flac, frame_test_pal.mp4.${FILEEXT}, raven_d.ogg.${FILEEXT}, raven_e.flac.${FILEEXT}, snowboard.mp4.${FILEEXT}" ]
fi
echo "Pass"
echo "OK"
ffmpegfs-2.15/test/test_filesize_webm 0000755 0001750 0001750 00000000142 14361057146 014753 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" webm
ffmpegfs-2.15/test/test_filesize_mov 0000755 0001750 0001750 00000000140 14361057143 014615 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" mov
ffmpegfs-2.15/test/test_video_hw_dec_vaapi 0000755 0001750 0001750 00000000146 14361057146 015732 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_video_hw" DEC vaapi
ffmpegfs-2.15/test/Makefile.in 0000644 0001750 0001750 00000150626 14553310161 013214 0000000 0000000 # Makefile.in generated by automake 1.16.5 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2021 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
VPATH = @srcdir@
am__is_gnu_make = { \
if test -z '$(MAKELEVEL)'; then \
false; \
elif test -n '$(MAKE_HOST)'; then \
true; \
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
true; \
else \
false; \
fi; \
}
am__make_running_with_option = \
case $${target_option-} in \
?) ;; \
*) echo "am__make_running_with_option: internal error: invalid" \
"target option '$${target_option-}' specified" >&2; \
exit 1;; \
esac; \
has_opt=no; \
sane_makeflags=$$MAKEFLAGS; \
if $(am__is_gnu_make); then \
sane_makeflags=$$MFLAGS; \
else \
case $$MAKEFLAGS in \
*\\[\ \ ]*) \
bs=\\; \
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
esac; \
fi; \
skip_next=no; \
strip_trailopt () \
{ \
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
}; \
for flg in $$sane_makeflags; do \
test $$skip_next = yes && { skip_next=no; continue; }; \
case $$flg in \
*=*|--*) continue;; \
-*I) strip_trailopt 'I'; skip_next=yes;; \
-*I?*) strip_trailopt 'I';; \
-*O) strip_trailopt 'O'; skip_next=yes;; \
-*O?*) strip_trailopt 'O';; \
-*l) strip_trailopt 'l'; skip_next=yes;; \
-*l?*) strip_trailopt 'l';; \
-[dEDm]) skip_next=yes;; \
-[JT]) skip_next=yes;; \
esac; \
case $$flg in \
*$$target_option*) has_opt=yes; break;; \
esac; \
done; \
test $$has_opt = yes
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
check_PROGRAMS = fpcompare$(EXEEXT) metadata$(EXEEXT)
subdir = test
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/src/config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
am_fpcompare_OBJECTS = fpcompare.$(OBJEXT)
fpcompare_OBJECTS = $(am_fpcompare_OBJECTS)
am__DEPENDENCIES_1 =
fpcompare_DEPENDENCIES = $(am__DEPENDENCIES_1)
am_metadata_OBJECTS = metadata.$(OBJEXT)
metadata_OBJECTS = $(am_metadata_OBJECTS)
metadata_DEPENDENCIES = $(am__DEPENDENCIES_1)
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_@AM_V@)
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
am__v_GEN_0 = @echo " GEN " $@;
am__v_GEN_1 =
AM_V_at = $(am__v_at_@AM_V@)
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
am__v_at_1 =
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
am__maybe_remake_depfiles = depfiles
am__depfiles_remade = ./$(DEPDIR)/fpcompare.Po ./$(DEPDIR)/metadata.Po
am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
AM_V_CC = $(am__v_CC_@AM_V@)
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
am__v_CC_0 = @echo " CC " $@;
am__v_CC_1 =
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
am__v_CCLD_0 = @echo " CCLD " $@;
am__v_CCLD_1 =
SOURCES = $(fpcompare_SOURCES) $(metadata_SOURCES)
DIST_SOURCES = $(fpcompare_SOURCES) $(metadata_SOURCES)
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
# Read a list of newline-separated strings from the standard input,
# and print each of them once, without duplicates. Input order is
# *not* preserved.
am__uniquify_input = $(AWK) '\
BEGIN { nonempty = 0; } \
{ items[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in items) print i; }; } \
'
# Make sure the list of sources is unique. This is necessary because,
# e.g., the same source file might be shared among _SOURCES variables
# for different programs/libraries.
am__define_uniq_tagged_files = \
list='$(am__tagged_files)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | $(am__uniquify_input)`
am__tty_colors_dummy = \
mgn= red= grn= lgn= blu= brg= std=; \
am__color_tests=no
am__tty_colors = { \
$(am__tty_colors_dummy); \
if test "X$(AM_COLOR_TESTS)" = Xno; then \
am__color_tests=no; \
elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
am__color_tests=yes; \
elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
am__color_tests=yes; \
fi; \
if test $$am__color_tests = yes; then \
red='[0;31m'; \
grn='[0;32m'; \
lgn='[1;32m'; \
blu='[1;34m'; \
mgn='[0;35m'; \
brg='[1m'; \
std='[m'; \
fi; \
}
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
*) f=$$p;; \
esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
for p in $$list; do echo "$$p $$p"; done | \
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
if (++n[$$2] == $(am__install_max)) \
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
END { for (dir in files) print dir, files[dir] }'
am__base_list = \
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__uninstall_files_from_dir = { \
test -z "$$files" \
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
$(am__cd) "$$dir" && rm -f $$files; }; \
}
am__recheck_rx = ^[ ]*:recheck:[ ]*
am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
# A command that, given a newline-separated list of test names on the
# standard input, print the name of the tests that are to be re-run
# upon "make recheck".
am__list_recheck_tests = $(AWK) '{ \
recheck = 1; \
while ((rc = (getline line < ($$0 ".trs"))) != 0) \
{ \
if (rc < 0) \
{ \
if ((getline line2 < ($$0 ".log")) < 0) \
recheck = 0; \
break; \
} \
else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
{ \
recheck = 0; \
break; \
} \
else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
{ \
break; \
} \
}; \
if (recheck) \
print $$0; \
close ($$0 ".trs"); \
close ($$0 ".log"); \
}'
# A command that, given a newline-separated list of test names on the
# standard input, create the global log from their .trs and .log files.
am__create_global_log = $(AWK) ' \
function fatal(msg) \
{ \
print "fatal: making $@: " msg | "cat >&2"; \
exit 1; \
} \
function rst_section(header) \
{ \
print header; \
len = length(header); \
for (i = 1; i <= len; i = i + 1) \
printf "="; \
printf "\n\n"; \
} \
{ \
copy_in_global_log = 1; \
global_test_result = "RUN"; \
while ((rc = (getline line < ($$0 ".trs"))) != 0) \
{ \
if (rc < 0) \
fatal("failed to read from " $$0 ".trs"); \
if (line ~ /$(am__global_test_result_rx)/) \
{ \
sub("$(am__global_test_result_rx)", "", line); \
sub("[ ]*$$", "", line); \
global_test_result = line; \
} \
else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
copy_in_global_log = 0; \
}; \
if (copy_in_global_log) \
{ \
rst_section(global_test_result ": " $$0); \
while ((rc = (getline line < ($$0 ".log"))) != 0) \
{ \
if (rc < 0) \
fatal("failed to read from " $$0 ".log"); \
print line; \
}; \
printf "\n"; \
}; \
close ($$0 ".trs"); \
close ($$0 ".log"); \
}'
# Restructured Text title.
am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
# Solaris 10 'make', and several other traditional 'make' implementations,
# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
# by disabling -e (using the XSI extension "set +e") if it's set.
am__sh_e_setup = case $$- in *e*) set +e;; esac
# Default flags passed to test drivers.
am__common_driver_flags = \
--color-tests "$$am__color_tests" \
--enable-hard-errors "$$am__enable_hard_errors" \
--expect-failure "$$am__expect_failure"
# To be inserted before the command running the test. Creates the
# directory for the log if needed. Stores in $dir the directory
# containing $f, in $tst the test, in $log the log. Executes the
# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
# will run the test scripts (or their associated LOG_COMPILER, if
# thy have one).
am__check_pre = \
$(am__sh_e_setup); \
$(am__vpath_adj_setup) $(am__vpath_adj) \
$(am__tty_colors); \
srcdir=$(srcdir); export srcdir; \
case "$@" in \
*/*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
*) am__odir=.;; \
esac; \
test "x$$am__odir" = x"." || test -d "$$am__odir" \
|| $(MKDIR_P) "$$am__odir" || exit $$?; \
if test -f "./$$f"; then dir=./; \
elif test -f "$$f"; then dir=; \
else dir="$(srcdir)/"; fi; \
tst=$$dir$$f; log='$@'; \
if test -n '$(DISABLE_HARD_ERRORS)'; then \
am__enable_hard_errors=no; \
else \
am__enable_hard_errors=yes; \
fi; \
case " $(XFAIL_TESTS) " in \
*[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
am__expect_failure=yes;; \
*) \
am__expect_failure=no;; \
esac; \
$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
# A shell command to get the names of the tests scripts with any registered
# extension removed (i.e., equivalently, the names of the test logs, with
# the '.log' extension removed). The result is saved in the shell variable
# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
# since that might cause problem with VPATH rewrites for suffix-less tests.
# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
am__set_TESTS_bases = \
bases='$(TEST_LOGS)'; \
bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
bases=`echo $$bases`
AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)'
RECHECK_LOGS = $(TEST_LOGS)
AM_RECURSIVE_TARGETS = check recheck
TEST_SUITE_LOG = test-suite.log
TEST_EXTENSIONS = @EXEEXT@ .test
LOG_DRIVER = $(SHELL) $(top_srcdir)/config/test-driver
LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
am__set_b = \
case '$@' in \
*/*) \
case '$*' in \
*/*) b='$*';; \
*) b=`echo '$@' | sed 's/\.log$$//'`; \
esac;; \
*) \
b='$*';; \
esac
am__test_logs1 = $(TESTS:=.log)
am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
TEST_LOGS = $(am__test_logs2:.test.log=.log)
TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/config/test-driver
TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
$(TEST_LOG_FLAGS)
am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/config/depcomp \
$(top_srcdir)/config/test-driver
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
A2X = @A2X@
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
CSCOPE = @CSCOPE@
CTAGS = @CTAGS@
CURL = @CURL@
CXX = @CXX@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DOXYGEN = @DOXYGEN@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
EXTRA_VERSION = @EXTRA_VERSION@
GRAPHVIZ = @GRAPHVIZ@
HAVE_A2X = @HAVE_A2X@
HAVE_W3M = @HAVE_W3M@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PKG_CONFIG = @PKG_CONFIG@
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
VERSION = @VERSION@
W3M = @W3M@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
chardet_CFLAGS = @chardet_CFLAGS@
chardet_LIBS = @chardet_LIBS@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
fuse_CFLAGS = @fuse_CFLAGS@
fuse_LIBS = @fuse_LIBS@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libavcodec_CFLAGS = @libavcodec_CFLAGS@
libavcodec_LIBS = @libavcodec_LIBS@
libavfilter_CFLAGS = @libavfilter_CFLAGS@
libavfilter_LIBS = @libavfilter_LIBS@
libavformat_CFLAGS = @libavformat_CFLAGS@
libavformat_LIBS = @libavformat_LIBS@
libavutil_CFLAGS = @libavutil_CFLAGS@
libavutil_LIBS = @libavutil_LIBS@
libbluray_CFLAGS = @libbluray_CFLAGS@
libbluray_LIBS = @libbluray_LIBS@
libcue_CFLAGS = @libcue_CFLAGS@
libcue_LIBS = @libcue_LIBS@
libdir = @libdir@
libdvdread_CFLAGS = @libdvdread_CFLAGS@
libdvdread_LIBS = @libdvdread_LIBS@
libexecdir = @libexecdir@
libswresample_CFLAGS = @libswresample_CFLAGS@
libswresample_LIBS = @libswresample_LIBS@
libswscale_CFLAGS = @libswscale_CFLAGS@
libswscale_LIBS = @libswscale_LIBS@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
runstatedir = @runstatedir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
sqlite3_CFLAGS = @sqlite3_CFLAGS@
sqlite3_LIBS = @sqlite3_LIBS@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
TESTS = \
test_audio_aiff \
test_audio_alac \
test_audio_flac \
test_audio_mov \
test_audio_mp3 \
test_audio_mp4 \
test_audio_ogg \
test_audio_opus \
test_audio_prores \
test_audio_ts \
test_audio_wav \
test_audio_webm \
test_cuesheet_file \
test_cuesheet_embedded \
test_filecount_hls \
test_filenames_aiff \
test_filenames_alac \
test_filenames_flac \
test_filenames_hls \
test_filenames_mov \
test_filenames_mp3 \
test_filenames_mp4 \
test_filenames_ogg \
test_filenames_opus \
test_filenames_prores \
test_filenames_ts \
test_filenames_wav \
test_filenames_webm \
test_filesize_aiff \
test_filesize_alac \
test_filesize_flac \
test_filesize_hls \
test_filesize_mov \
test_filesize_mp3 \
test_filesize_mp4 \
test_filesize_ogg \
test_filesize_opus \
test_filesize_prores \
test_filesize_ts \
test_filesize_video_mov \
test_filesize_video_mp4 \
test_filesize_video_prores \
test_filesize_video_ts \
test_filesize_video_webm \
test_filesize_wav \
test_filesize_webm \
test_frameset_bmp \
test_frameset_jpg \
test_frameset_png \
test_tags_aiff \
test_tags_alac \
test_tags_flac \
test_tags_mov \
test_tags_mp3 \
test_tags_mp4 \
test_tags_ogg \
test_tags_opus \
test_tags_prores \
test_tags_ts \
test_tags_wav \
test_tags_webm \
test_video_hw_dec_mmal \
test_video_hw_dec_vaapi \
test_video_hw_enc_omx \
test_video_hw_enc_vaapi
EXTRA_DIST = $(TESTS) funcs.sh srcdir test_filenames test_tags \
test_audio test_filesize test_frameset test_filesize_video \
test_video_hw test_cuesheet $(wildcard tags/*)
# NOT IN RELEASE 1.0! Add later: test_picture
CLEANFILES = $(patsubst %,%_builtin.log,$(TESTS))
AM_CPPFLAGS = -Ofast $(libswresample_CFLAGS)
fpcompare_SOURCES = fpcompare.c
fpcompare_LDADD = -lchromaprint -lavcodec -lavformat -lavutil $(libswresample_LIBS)
metadata_SOURCES = metadata.c
metadata_LDADD = -lavcodec -lavformat -lavutil $(libswresample_LIBS)
all: all-am
.SUFFIXES:
.SUFFIXES: .c .log .o .obj .test .test$(EXEEXT) .trs
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign test/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --foreign test/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
clean-checkPROGRAMS:
-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
fpcompare$(EXEEXT): $(fpcompare_OBJECTS) $(fpcompare_DEPENDENCIES) $(EXTRA_fpcompare_DEPENDENCIES)
@rm -f fpcompare$(EXEEXT)
$(AM_V_CCLD)$(LINK) $(fpcompare_OBJECTS) $(fpcompare_LDADD) $(LIBS)
metadata$(EXEEXT): $(metadata_OBJECTS) $(metadata_DEPENDENCIES) $(EXTRA_metadata_DEPENDENCIES)
@rm -f metadata$(EXEEXT)
$(AM_V_CCLD)$(LINK) $(metadata_OBJECTS) $(metadata_LDADD) $(LIBS)
mostlyclean-compile:
-rm -f *.$(OBJEXT)
distclean-compile:
-rm -f *.tab.c
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fpcompare.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/metadata.Po@am__quote@ # am--include-marker
$(am__depfiles_remade):
@$(MKDIR_P) $(@D)
@echo '# dummy' >$@-t && $(am__mv) $@-t $@
am--depfiles: $(am__depfiles_remade)
.c.o:
@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
.c.obj:
@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
ID: $(am__tagged_files)
$(am__define_uniq_tagged_files); mkid -fID $$unique
tags: tags-am
TAGS: tags
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
$(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
if test $$# -gt 0; then \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
"$$@" $$unique; \
else \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$unique; \
fi; \
fi
ctags: ctags-am
CTAGS: ctags
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
$(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
cscopelist: cscopelist-am
cscopelist-am: $(am__tagged_files)
list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
esac; \
for i in $$list; do \
if test -f "$$i"; then \
echo "$(subdir)/$$i"; \
else \
echo "$$sdir/$$i"; \
fi; \
done >> $(top_builddir)/cscope.files
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
# Recover from deleted '.trs' file; this should ensure that
# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
# to avoid problems with "make -n".
.log.trs:
rm -f $< $@
$(MAKE) $(AM_MAKEFLAGS) $<
# Leading 'am--fnord' is there to ensure the list of targets does not
# expand to empty, as could happen e.g. with make check TESTS=''.
am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
am--force-recheck:
@:
$(TEST_SUITE_LOG): $(TEST_LOGS)
@$(am__set_TESTS_bases); \
am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
redo_bases=`for i in $$bases; do \
am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
done`; \
if test -n "$$redo_bases"; then \
redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
if $(am__make_dryrun); then :; else \
rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
fi; \
fi; \
if test -n "$$am__remaking_logs"; then \
echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
"recursion detected" >&2; \
elif test -n "$$redo_logs"; then \
am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
fi; \
if $(am__make_dryrun); then :; else \
st=0; \
errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
for i in $$redo_bases; do \
test -f $$i.trs && test -r $$i.trs \
|| { echo "$$errmsg $$i.trs" >&2; st=1; }; \
test -f $$i.log && test -r $$i.log \
|| { echo "$$errmsg $$i.log" >&2; st=1; }; \
done; \
test $$st -eq 0 || exit 1; \
fi
@$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
ws='[ ]'; \
results=`for b in $$bases; do echo $$b.trs; done`; \
test -n "$$results" || results=/dev/null; \
all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
if test `expr $$fail + $$xpass + $$error` -eq 0; then \
success=true; \
else \
success=false; \
fi; \
br='==================='; br=$$br$$br$$br$$br; \
result_count () \
{ \
if test x"$$1" = x"--maybe-color"; then \
maybe_colorize=yes; \
elif test x"$$1" = x"--no-color"; then \
maybe_colorize=no; \
else \
echo "$@: invalid 'result_count' usage" >&2; exit 4; \
fi; \
shift; \
desc=$$1 count=$$2; \
if test $$maybe_colorize = yes && test $$count -gt 0; then \
color_start=$$3 color_end=$$std; \
else \
color_start= color_end=; \
fi; \
echo "$${color_start}# $$desc $$count$${color_end}"; \
}; \
create_testsuite_report () \
{ \
result_count $$1 "TOTAL:" $$all "$$brg"; \
result_count $$1 "PASS: " $$pass "$$grn"; \
result_count $$1 "SKIP: " $$skip "$$blu"; \
result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
result_count $$1 "FAIL: " $$fail "$$red"; \
result_count $$1 "XPASS:" $$xpass "$$red"; \
result_count $$1 "ERROR:" $$error "$$mgn"; \
}; \
{ \
echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
$(am__rst_title); \
create_testsuite_report --no-color; \
echo; \
echo ".. contents:: :depth: 2"; \
echo; \
for b in $$bases; do echo $$b; done \
| $(am__create_global_log); \
} >$(TEST_SUITE_LOG).tmp || exit 1; \
mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
if $$success; then \
col="$$grn"; \
else \
col="$$red"; \
test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
fi; \
echo "$${col}$$br$${std}"; \
echo "$${col}Testsuite summary"$(AM_TESTSUITE_SUMMARY_HEADER)"$${std}"; \
echo "$${col}$$br$${std}"; \
create_testsuite_report --maybe-color; \
echo "$$col$$br$$std"; \
if $$success; then :; else \
echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
if test -n "$(PACKAGE_BUGREPORT)"; then \
echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
fi; \
echo "$$col$$br$$std"; \
fi; \
$$success || exit 1
check-TESTS: $(check_PROGRAMS)
@list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
@list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
@set +e; $(am__set_TESTS_bases); \
log_list=`for i in $$bases; do echo $$i.log; done`; \
trs_list=`for i in $$bases; do echo $$i.trs; done`; \
log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
exit $$?;
recheck: all $(check_PROGRAMS)
@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
@set +e; $(am__set_TESTS_bases); \
bases=`for i in $$bases; do echo $$i; done \
| $(am__list_recheck_tests)` || exit 1; \
log_list=`for i in $$bases; do echo $$i.log; done`; \
log_list=`echo $$log_list`; \
$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
am__force_recheck=am--force-recheck \
TEST_LOGS="$$log_list"; \
exit $$?
test_audio_aiff.log: test_audio_aiff
@p='test_audio_aiff'; \
b='test_audio_aiff'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_audio_alac.log: test_audio_alac
@p='test_audio_alac'; \
b='test_audio_alac'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_audio_flac.log: test_audio_flac
@p='test_audio_flac'; \
b='test_audio_flac'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_audio_mov.log: test_audio_mov
@p='test_audio_mov'; \
b='test_audio_mov'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_audio_mp3.log: test_audio_mp3
@p='test_audio_mp3'; \
b='test_audio_mp3'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_audio_mp4.log: test_audio_mp4
@p='test_audio_mp4'; \
b='test_audio_mp4'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_audio_ogg.log: test_audio_ogg
@p='test_audio_ogg'; \
b='test_audio_ogg'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_audio_opus.log: test_audio_opus
@p='test_audio_opus'; \
b='test_audio_opus'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_audio_prores.log: test_audio_prores
@p='test_audio_prores'; \
b='test_audio_prores'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_audio_ts.log: test_audio_ts
@p='test_audio_ts'; \
b='test_audio_ts'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_audio_wav.log: test_audio_wav
@p='test_audio_wav'; \
b='test_audio_wav'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_audio_webm.log: test_audio_webm
@p='test_audio_webm'; \
b='test_audio_webm'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_cuesheet_file.log: test_cuesheet_file
@p='test_cuesheet_file'; \
b='test_cuesheet_file'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_cuesheet_embedded.log: test_cuesheet_embedded
@p='test_cuesheet_embedded'; \
b='test_cuesheet_embedded'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filecount_hls.log: test_filecount_hls
@p='test_filecount_hls'; \
b='test_filecount_hls'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filenames_aiff.log: test_filenames_aiff
@p='test_filenames_aiff'; \
b='test_filenames_aiff'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filenames_alac.log: test_filenames_alac
@p='test_filenames_alac'; \
b='test_filenames_alac'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filenames_flac.log: test_filenames_flac
@p='test_filenames_flac'; \
b='test_filenames_flac'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filenames_hls.log: test_filenames_hls
@p='test_filenames_hls'; \
b='test_filenames_hls'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filenames_mov.log: test_filenames_mov
@p='test_filenames_mov'; \
b='test_filenames_mov'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filenames_mp3.log: test_filenames_mp3
@p='test_filenames_mp3'; \
b='test_filenames_mp3'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filenames_mp4.log: test_filenames_mp4
@p='test_filenames_mp4'; \
b='test_filenames_mp4'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filenames_ogg.log: test_filenames_ogg
@p='test_filenames_ogg'; \
b='test_filenames_ogg'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filenames_opus.log: test_filenames_opus
@p='test_filenames_opus'; \
b='test_filenames_opus'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filenames_prores.log: test_filenames_prores
@p='test_filenames_prores'; \
b='test_filenames_prores'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filenames_ts.log: test_filenames_ts
@p='test_filenames_ts'; \
b='test_filenames_ts'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filenames_wav.log: test_filenames_wav
@p='test_filenames_wav'; \
b='test_filenames_wav'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filenames_webm.log: test_filenames_webm
@p='test_filenames_webm'; \
b='test_filenames_webm'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filesize_aiff.log: test_filesize_aiff
@p='test_filesize_aiff'; \
b='test_filesize_aiff'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filesize_alac.log: test_filesize_alac
@p='test_filesize_alac'; \
b='test_filesize_alac'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filesize_flac.log: test_filesize_flac
@p='test_filesize_flac'; \
b='test_filesize_flac'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filesize_hls.log: test_filesize_hls
@p='test_filesize_hls'; \
b='test_filesize_hls'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filesize_mov.log: test_filesize_mov
@p='test_filesize_mov'; \
b='test_filesize_mov'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filesize_mp3.log: test_filesize_mp3
@p='test_filesize_mp3'; \
b='test_filesize_mp3'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filesize_mp4.log: test_filesize_mp4
@p='test_filesize_mp4'; \
b='test_filesize_mp4'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filesize_ogg.log: test_filesize_ogg
@p='test_filesize_ogg'; \
b='test_filesize_ogg'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filesize_opus.log: test_filesize_opus
@p='test_filesize_opus'; \
b='test_filesize_opus'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filesize_prores.log: test_filesize_prores
@p='test_filesize_prores'; \
b='test_filesize_prores'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filesize_ts.log: test_filesize_ts
@p='test_filesize_ts'; \
b='test_filesize_ts'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filesize_video_mov.log: test_filesize_video_mov
@p='test_filesize_video_mov'; \
b='test_filesize_video_mov'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filesize_video_mp4.log: test_filesize_video_mp4
@p='test_filesize_video_mp4'; \
b='test_filesize_video_mp4'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filesize_video_prores.log: test_filesize_video_prores
@p='test_filesize_video_prores'; \
b='test_filesize_video_prores'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filesize_video_ts.log: test_filesize_video_ts
@p='test_filesize_video_ts'; \
b='test_filesize_video_ts'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filesize_video_webm.log: test_filesize_video_webm
@p='test_filesize_video_webm'; \
b='test_filesize_video_webm'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filesize_wav.log: test_filesize_wav
@p='test_filesize_wav'; \
b='test_filesize_wav'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_filesize_webm.log: test_filesize_webm
@p='test_filesize_webm'; \
b='test_filesize_webm'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_frameset_bmp.log: test_frameset_bmp
@p='test_frameset_bmp'; \
b='test_frameset_bmp'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_frameset_jpg.log: test_frameset_jpg
@p='test_frameset_jpg'; \
b='test_frameset_jpg'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_frameset_png.log: test_frameset_png
@p='test_frameset_png'; \
b='test_frameset_png'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_tags_aiff.log: test_tags_aiff
@p='test_tags_aiff'; \
b='test_tags_aiff'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_tags_alac.log: test_tags_alac
@p='test_tags_alac'; \
b='test_tags_alac'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_tags_flac.log: test_tags_flac
@p='test_tags_flac'; \
b='test_tags_flac'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_tags_mov.log: test_tags_mov
@p='test_tags_mov'; \
b='test_tags_mov'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_tags_mp3.log: test_tags_mp3
@p='test_tags_mp3'; \
b='test_tags_mp3'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_tags_mp4.log: test_tags_mp4
@p='test_tags_mp4'; \
b='test_tags_mp4'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_tags_ogg.log: test_tags_ogg
@p='test_tags_ogg'; \
b='test_tags_ogg'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_tags_opus.log: test_tags_opus
@p='test_tags_opus'; \
b='test_tags_opus'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_tags_prores.log: test_tags_prores
@p='test_tags_prores'; \
b='test_tags_prores'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_tags_ts.log: test_tags_ts
@p='test_tags_ts'; \
b='test_tags_ts'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_tags_wav.log: test_tags_wav
@p='test_tags_wav'; \
b='test_tags_wav'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_tags_webm.log: test_tags_webm
@p='test_tags_webm'; \
b='test_tags_webm'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_video_hw_dec_mmal.log: test_video_hw_dec_mmal
@p='test_video_hw_dec_mmal'; \
b='test_video_hw_dec_mmal'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_video_hw_dec_vaapi.log: test_video_hw_dec_vaapi
@p='test_video_hw_dec_vaapi'; \
b='test_video_hw_dec_vaapi'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_video_hw_enc_omx.log: test_video_hw_enc_omx
@p='test_video_hw_enc_omx'; \
b='test_video_hw_enc_omx'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
test_video_hw_enc_vaapi.log: test_video_hw_enc_vaapi
@p='test_video_hw_enc_vaapi'; \
b='test_video_hw_enc_vaapi'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
.test.log:
@p='$<'; \
$(am__set_b); \
$(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
@am__EXEEXT_TRUE@.test$(EXEEXT).log:
@am__EXEEXT_TRUE@ @p='$<'; \
@am__EXEEXT_TRUE@ $(am__set_b); \
@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
distdir: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) distdir-am
distdir-am: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
check-am: all-am
$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
check: check-am
all-am: Makefile
installdirs:
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
if test -z '$(STRIP)'; then \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
install; \
else \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
-test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
-test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
-test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-checkPROGRAMS clean-generic mostlyclean-am
distclean: distclean-am
-rm -f ./$(DEPDIR)/fpcompare.Po
-rm -f ./$(DEPDIR)/metadata.Po
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-tags
dvi: dvi-am
dvi-am:
html: html-am
html-am:
info: info-am
info-am:
install-data-am:
install-dvi: install-dvi-am
install-dvi-am:
install-exec-am:
install-html: install-html-am
install-html-am:
install-info: install-info-am
install-info-am:
install-man:
install-pdf: install-pdf-am
install-pdf-am:
install-ps: install-ps-am
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -f ./$(DEPDIR)/fpcompare.Po
-rm -f ./$(DEPDIR)/metadata.Po
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-compile mostlyclean-generic
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am:
.MAKE: check-am install-am install-strip
.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-TESTS \
check-am clean clean-checkPROGRAMS clean-generic cscopelist-am \
ctags ctags-am distclean distclean-compile distclean-generic \
distclean-tags distdir dvi dvi-am html html-am info info-am \
install install-am install-data install-data-am install-dvi \
install-dvi-am install-exec install-exec-am install-html \
install-html-am install-info install-info-am install-man \
install-pdf install-pdf-am install-ps install-ps-am \
install-strip installcheck installcheck-am installdirs \
maintainer-clean maintainer-clean-generic mostlyclean \
mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
recheck tags tags-am uninstall uninstall-am
.PRECIOUS: Makefile
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
ffmpegfs-2.15/test/test_filenames_opus 0000755 0001750 0001750 00000000142 14361057143 015135 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filenames" opus
ffmpegfs-2.15/test/test_filesize_video_webm 0000755 0001750 0001750 00000000147 14361057146 016146 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize"_video webm
ffmpegfs-2.15/test/test_filesize 0000755 0001750 0001750 00000004417 14472662247 013761 0000000 0000000 #!/bin/bash
ADDOPT=""
. "${BASH_SOURCE%/*}/funcs.sh" "$1"
# Ensure log contains file sizes, predicted and actual
echo "TRANSCODING ${DIRNAME}/raven_e.flac.${FILEEXT}"
cp -vpf "${DIRNAME}/raven_e.flac.${FILEEXT}" "${TMPPATH}" > /dev/null
cp -vpf "${DIRNAME}/raven_e.flac.${FILEEXT}" "${TMPPATH}" > /dev/null
echo "TRANSCODING ${DIRNAME}/raven_d.ogg.${FILEEXT}"
cp -vpf "${DIRNAME}/raven_d.ogg.${FILEEXT}" "${TMPPATH}" > /dev/null
cp -vpf "${DIRNAME}/raven_d.ogg.${FILEEXT}" "${TMPPATH}" > /dev/null
if [ "${DESTTYPE}" == "mp4" ];
then
# mp4
check_filesize "raven_e.flac" 485372 494238
check_filesize "raven_d.ogg" 349440 355298
elif [ "${DESTTYPE}" == "mp3" ];
then
# mp3
check_filesize "raven_e.flac" 466980 490440
check_filesize "raven_d.ogg" 342690 343527
elif [ "${DESTTYPE}" == "wav" ];
then
# wav
check_filesize "raven_e.flac" 5137707 5137772
check_filesize "raven_d.ogg" 4316344 4316536
elif [ "${DESTTYPE}" == "ogg" ];
then
# ogg
check_filesize "raven_e.flac" 356662 489113
check_filesize "raven_d" 264179
elif [ "${DESTTYPE}" == "webm" ];
then
# webm
check_filesize "raven_e.flac" 429341 548761
check_filesize "raven_d.ogg" 262842 393946
elif [ "${DESTTYPE}" == "opus" ];
then
# opus
check_filesize "raven_e.flac" 421673 548761
check_filesize "raven_d.ogg" 255740 393946
elif [ "${DESTTYPE}" == "mov" ];
then
# mov
check_filesize "raven_e.flac" 486559 495447
check_filesize "raven_d.ogg" 342690 356142
elif [ "${DESTTYPE}" == "aiff" ];
then
# aiff
check_filesize "raven_e.flac" 5137707 5140125
check_filesize "raven_d.ogg" 4316344 4316488
elif [ "${DESTTYPE}" == "prores" ];
then
# prores
check_filesize "raven_e.flac" 5137707 5140129
check_filesize "raven_d.ogg" 4316344 4318666
elif [ "${DESTTYPE}" == "alac" ];
then
# alac
check_filesize "raven_e.flac" 3952038 3986427
check_filesize "raven_d.ogg" 3276205 3320221
elif [ "${DESTTYPE}" == "ts" ];
then
# ts
check_filesize "raven_e.flac" 489113 811408
check_filesize "raven_d.ogg" 351126 545388
elif [ "${DESTTYPE}" == "flac" ];
then
# flac
check_filesize "raven_e.flac" 3037626 3596355
check_filesize "raven_d.ogg" 1132018 1132062
else
echo "Internal error, unknown type ${DESTTYPE}. Fix script!"
exit 99
fi
ffmpegfs-2.15/test/test_frameset_png 0000755 0001750 0001750 00000000140 14361057146 014577 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_frameset" png
ffmpegfs-2.15/test/test_filesize_prores 0000755 0001750 0001750 00000000143 14361057143 015331 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" prores
ffmpegfs-2.15/test/test_filesize_ts 0000755 0001750 0001750 00000000140 14361057146 014445 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" ts
ffmpegfs-2.15/test/test_tags_ts 0000755 0001750 0001750 00000000136 14361057146 013576 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" ts 1
ffmpegfs-2.15/test/test_filenames_prores 0000755 0001750 0001750 00000000150 14361057143 015460 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filenames" prores mov
ffmpegfs-2.15/test/funcs.sh 0000755 0001750 0001750 00000005016 14442324060 012614 0000000 0000000 PATH=$PWD/../src:$PATH
export LC_ALL=C
if [ ! -z "$2" ]
then
EXITCODE="$2"
else
EXITCODE=99
fi
cleanup () {
EXIT=$?
echo "Return code: ${EXIT}"
# Errors are no longer fatal
set +e
# Unmount all
hash fusermount 2>&- && fusermount -u "${DIRNAME}" || umount -l "${DIRNAME}"
# Remove temporary directories
rmdir "${DIRNAME}"
rm -Rf "${CACHEPATH}"
rm -Rf "${TMPPATH}"
# Arrividerci
exit ${EXIT}
}
ffmpegfserr () {
echo "***TEST FAILED***"
echo "Return code: ${EXITCODE}"
exit ${EXITCODE}
}
check_filesize() {
MIN="$2"
MAX="$3"
SHORT="$5"
if [ "${FILEEXT}" != "hls" ]
then
FILE="$1.${FILEEXT}"
else
FILE="$1"
fi
if [ -z ${MAX} ]
then
MAX=${MIN}
fi
if [ -z "$4" ]
then
SIZE=$(stat -c %s "${DIRNAME}/${FILE}")
else
SIZE=$(stat -c %s "${4}/${FILE}")
fi
if [ ${SIZE} -ge ${MIN} -a ${SIZE} -le ${MAX} ]
then
RESULT="Pass"
RETURN=0
else
RESULT="FAIL"
RETURN=1
fi
if [ -z "${SHORT}" ]
then
if [ ${MIN} -eq ${MAX} ]
then
printf "> %s -> File: %-20s Size: %8i (expected %8i)\n" ${RESULT} ${FILE} ${SIZE} ${MIN}
else
printf "> %s -> File: %-20s Size: %8i (expected %8i...%8i)\n" ${RESULT} ${FILE} ${SIZE} ${MIN} ${MAX}
fi
else
if [ ${MIN} -eq ${MAX} ]
then
printf "%s -> Size: %8i (expected %8i)\n" ${RESULT} ${SIZE} ${MIN}
else
printf "%s -> Size: %8i (expected %8i...%8i)\n" ${RESULT} ${SIZE} ${MIN} ${MAX}
fi
fi
if [ ${RETURN} != 0 ];
then
exit ${RETURN}
fi
}
set -e
trap cleanup EXIT
trap ffmpegfserr USR1
DESTTYPE=$1
EXTRANAME=$3
# Map filenames
if [ "${DESTTYPE}" == "prores" ];
then
# ProRes uses the MOV container
FILEEXT="mov"
elif [ "${DESTTYPE}" == "alac" ];
then
# ALAC (Apple Lossless Coding) uses the mp4 container
FILEEXT="m4a"
else
FILEEXT=${DESTTYPE}
fi
if [ -z "${EXTRANAME}" ];
then
EXTRANAME=$DESTTYPE
fi
if [ "${EXTRANAME}" == "hls" ];
then
EXTRANAME=
fi
if [ ! -z "${EXTRANAME}" ];
then
EXTRANAME=_$EXTRANAME
fi
SRCDIR="$( cd "${BASH_SOURCE%/*}/srcdir" && pwd )"
DIRNAME="$(mktemp -d)"
CACHEPATH="$(mktemp -d)"
TMPPATH="$(mktemp -d)"
#--disable_cache
( ffmpegfs -f "${SRCDIR}" "${DIRNAME}" --logfile=${0##*/}${EXTRANAME}_builtin.log --log_maxlevel=TRACE --cachepath="${CACHEPATH}" --desttype=${DESTTYPE} ${ADDOPT} > /dev/null || kill -USR1 $$ ) &
while ! mount | grep -q "${DIRNAME}" ; do
sleep 0.1
done
ffmpegfs-2.15/test/test_filesize_ogg 0000755 0001750 0001750 00000000141 14361057143 014571 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" ogg
ffmpegfs-2.15/test/test_filesize_video_mp4 0000755 0001750 0001750 00000000146 14361057146 015713 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize"_video mp4
ffmpegfs-2.15/test/test_audio_prores 0000755 0001750 0001750 00000000140 14361057143 014615 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_audio" prores
ffmpegfs-2.15/test/test_video_hw_dec_mmal 0000755 0001750 0001750 00000000145 14361057146 015557 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_video_hw" DEC mmal
ffmpegfs-2.15/test/test_filesize_video_mov 0000755 0001750 0001750 00000000146 14361057146 016014 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize"_video mov
ffmpegfs-2.15/test/test_filenames_webm 0000755 0001750 0001750 00000000143 14361057143 015102 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filenames" webm
ffmpegfs-2.15/test/test_filenames_flac 0000755 0001750 0001750 00000000143 14361057143 015055 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filenames" flac
ffmpegfs-2.15/test/test_audio_mp4 0000755 0001750 0001750 00000000136 14361057143 014010 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_audio" mp4
ffmpegfs-2.15/test/test_filesize_video 0000755 0001750 0001750 00000001563 14442324060 015127 0000000 0000000 #!/bin/bash
ADDOPT=""
. "${BASH_SOURCE%/*}/funcs.sh" "$1"
# Ensure log contains file sizes, predicted and actual
printf "> TRANSCODING %s\n" snowboard.mp4.${FILEEXT}
cp -vpf "${DIRNAME}/snowboard.mp4.${FILEEXT}" "${TMPPATH}" > /dev/null
#cp -vpf "${DIRNAME}/snowboard.mp4.${FILEEXT}" "${TMPPATH}" > /dev/null
if [ "${DESTTYPE}" == "mp4" ];
then
# mp4
check_filesize "snowboard" 3827395
elif [ "${DESTTYPE}" == "webm" ];
then
# webm
check_filesize "snowboard.mp4" 4376074 48843897
elif [ "${DESTTYPE}" == "mov" ];
then
# mov
check_filesize "snowboard.mp4" 3843098 3912285
elif [ "${DESTTYPE}" == "prores" ];
then
# prores
check_filesize "snowboard.mp4" 158322250 160676826
elif [ "${DESTTYPE}" == "ts" ];
then
# ts
check_filesize "snowboard.mp4" 4192212 4324940
else
echo "Internal error, unknown type ${DESTTYPE}. Fix script!"
exit 99
fi
ffmpegfs-2.15/test/test_cuesheet_embedded 0000755 0001750 0001750 00000000152 14361057143 015543 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_cuesheet" flac embedded
ffmpegfs-2.15/test/test_frameset_bmp 0000755 0001750 0001750 00000000140 14361057146 014571 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_frameset" bmp
ffmpegfs-2.15/test/test_tags_flac 0000755 0001750 0001750 00000000136 14361057146 014055 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" flac
ffmpegfs-2.15/test/test_video_hw_enc_omx 0000755 0001750 0001750 00000000144 14361057146 015445 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_video_hw" ENC omx
ffmpegfs-2.15/test/test_audio_opus 0000755 0001750 0001750 00000000136 14361057143 014276 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_audio" opus
ffmpegfs-2.15/test/test_filesize_aiff 0000755 0001750 0001750 00000000141 14361057143 014722 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" aiff
ffmpegfs-2.15/test/test_cuesheet 0000755 0001750 0001750 00000001350 14361057143 013733 0000000 0000000 #!/bin/bash
ADDOPT=""
if [ "$2" == "file" ];
then
echo "Checking external cuesheet file"
TESTDIR=raven_e_cuesheet.flac.tracks
elif [ "$2" == "embedded" ];
then
echo "Checking embedded cuesheet"
TESTDIR=raven_e.flac.tracks
else
echo "ERROR! Missing parameter"
echo
echo "Usage:"
echo
echo "$(basename -- "$0") DESTTYPE file Check external cue sheet file"
echo "$(basename -- "$0") DESTTYPE embedded Check embedded cue sheet file"
exit 1
fi
. "${BASH_SOURCE%/*}/funcs.sh" "$1" 99 "$2"
XDIRNAME="${DIRNAME}/cuesheet/${TESTDIR}"
TRACKS=10
ls -1 "${XDIRNAME}"
echo "Checking number of tracks is ${TRACKS}"
[ $(ls "${XDIRNAME}"/*.${FILEEXT} -1 | wc -l) = ${TRACKS} ]
echo "Pass"
echo "OK"
ffmpegfs-2.15/test/test_filenames_wav 0000755 0001750 0001750 00000000142 14361057143 014744 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filenames" wav
ffmpegfs-2.15/test/test_filesize_wav 0000755 0001750 0001750 00000000141 14361057146 014615 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" wav
ffmpegfs-2.15/test/test_audio_mp3 0000755 0001750 0001750 00000000136 14361057143 014007 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_audio" mp3
ffmpegfs-2.15/test/Makefile.am 0000644 0001750 0001750 00000003555 14442324060 013201 0000000 0000000 TESTS=\
test_audio_aiff \
test_audio_alac \
test_audio_flac \
test_audio_mov \
test_audio_mp3 \
test_audio_mp4 \
test_audio_ogg \
test_audio_opus \
test_audio_prores \
test_audio_ts \
test_audio_wav \
test_audio_webm \
test_cuesheet_file \
test_cuesheet_embedded \
test_filecount_hls \
test_filenames_aiff \
test_filenames_alac \
test_filenames_flac \
test_filenames_hls \
test_filenames_mov \
test_filenames_mp3 \
test_filenames_mp4 \
test_filenames_ogg \
test_filenames_opus \
test_filenames_prores \
test_filenames_ts \
test_filenames_wav \
test_filenames_webm \
test_filesize_aiff \
test_filesize_alac \
test_filesize_flac \
test_filesize_hls \
test_filesize_mov \
test_filesize_mp3 \
test_filesize_mp4 \
test_filesize_ogg \
test_filesize_opus \
test_filesize_prores \
test_filesize_ts \
test_filesize_video_mov \
test_filesize_video_mp4 \
test_filesize_video_prores \
test_filesize_video_ts \
test_filesize_video_webm \
test_filesize_wav \
test_filesize_webm \
test_frameset_bmp \
test_frameset_jpg \
test_frameset_png \
test_tags_aiff \
test_tags_alac \
test_tags_flac \
test_tags_mov \
test_tags_mp3 \
test_tags_mp4 \
test_tags_ogg \
test_tags_opus \
test_tags_prores \
test_tags_ts \
test_tags_wav \
test_tags_webm \
test_video_hw_dec_mmal \
test_video_hw_dec_vaapi \
test_video_hw_enc_omx \
test_video_hw_enc_vaapi
EXTRA_DIST = $(TESTS) funcs.sh srcdir test_filenames test_tags test_audio test_filesize test_frameset test_filesize_video test_video_hw test_cuesheet
EXTRA_DIST += $(wildcard tags/*)
# NOT IN RELEASE 1.0! Add later: test_picture
CLEANFILES = $(patsubst %,%_builtin.log,$(TESTS))
AM_CPPFLAGS=-Ofast $(libswresample_CFLAGS)
check_PROGRAMS = fpcompare metadata
fpcompare_SOURCES = fpcompare.c
fpcompare_LDADD = -lchromaprint -lavcodec -lavformat -lavutil $(libswresample_LIBS)
metadata_SOURCES = metadata.c
metadata_LDADD = -lavcodec -lavformat -lavutil $(libswresample_LIBS)
ffmpegfs-2.15/test/test_tags_webm 0000755 0001750 0001750 00000000140 14361057146 014075 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" webm 1
ffmpegfs-2.15/test/test_tags_mov 0000755 0001750 0001750 00000000136 14361057146 013751 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" mov 1
ffmpegfs-2.15/test/test_filesize_mp4 0000755 0001750 0001750 00000000141 14361057143 014515 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" mp4
ffmpegfs-2.15/test/fpcompare.c 0000644 0001750 0001750 00000026415 14316107106 013265 0000000 0000000 /*
* Copyright (C) 2017 K. Henriksson
* Copyright (C) 2017-2021 FFmpeg support by Norbert Schlia (nschlia@oblivion-software.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*
* On Debian systems, the complete text of the GNU General Public License
* Version 3 can be found in `/usr/share/common-licenses/GPL-3'.
*/
#include
#include
#include
#include
#include
// For LIBAVFILTER_VERSION_INT
#include
#include
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define MIN(a, b) ((a) < (b) ? (a) : (b))
int decode_audio_file(ChromaprintContext *chromaprint_ctx, const char *file_name, int max_length, int *duration)
{
int ok = 0, remaining, length, codec_ctx_opened = 0, stream_index;
AVFormatContext *format_ctx = NULL;
AVCodecContext *codec_ctx = NULL;
#if (LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(59, 0, 0))
const AVCodec *codec = NULL;
#else
AVCodec *codec = NULL;
#endif
AVStream *stream = NULL;
AVFrame *frame = NULL;
SwrContext *swr_ctx = NULL;
int max_dst_nb_samples = 0;
uint8_t *dst_data = NULL ;
AVPacket packet;
int16_t* samples;
if (!strcmp(file_name, "-")) {
file_name = "pipe:0";
}
if (avformat_open_input(&format_ctx, file_name, NULL, NULL) != 0) {
fprintf(stderr, "ERROR: couldn't open the file\n");
goto done;
}
if (avformat_find_stream_info(format_ctx, NULL) < 0) {
fprintf(stderr, "ERROR: couldn't find stream information in the file\n");
goto done;
}
stream_index = av_find_best_stream(format_ctx, AVMEDIA_TYPE_AUDIO, -1, -1, &codec, 0);
if (stream_index < 0) {
fprintf(stderr, "ERROR: couldn't find any audio stream in the file\n");
goto done;
}
stream = format_ctx->streams[stream_index];
codec_ctx = avcodec_alloc_context3(codec);
if (!codec_ctx) {
fprintf(stderr, "ERROR: couldn't allocate codec context\n");
goto done;
}
if (avcodec_parameters_to_context(codec_ctx, stream->codecpar) < 0) {
fprintf(stderr, "ERROR: couldn't populate codex context\n");
goto done;
}
codec_ctx->request_sample_fmt = AV_SAMPLE_FMT_S16;
if (avcodec_open2(codec_ctx, codec, NULL) < 0) {
fprintf(stderr, "ERROR: couldn't open the codec\n");
goto done;
}
codec_ctx_opened = 1;
#if (LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(57, 24, 0))
int channels = codec_ctx->ch_layout.nb_channels;
#else
int channels = codec_ctx->channels;
#endif
if (channels <= 0) {
fprintf(stderr, "ERROR: no channels found in the audio stream\n");
goto done;
}
if (codec_ctx->sample_fmt != AV_SAMPLE_FMT_S16) {
#if (LIBSWRESAMPLE_VERSION_INT >= AV_VERSION_INT(4, 5, 0))
int ret = swr_alloc_set_opts2(&swr_ctx,
&codec_ctx->ch_layout, AV_SAMPLE_FMT_S16, codec_ctx->sample_rate,
&codec_ctx->ch_layout, codec_ctx->sample_fmt, codec_ctx->sample_rate,
0, NULL);
if (ret < 0)
{
fprintf(stderr, "ERROR: couldn't allocate audio resampler\n");
return ret;
}
#else
swr_ctx = swr_alloc_set_opts(NULL,
(int64_t)codec_ctx->channel_layout, AV_SAMPLE_FMT_S16, codec_ctx->sample_rate,
(int64_t)codec_ctx->channel_layout, codec_ctx->sample_fmt, codec_ctx->sample_rate,
0, NULL);
if (!swr_ctx) {
fprintf(stderr, "ERROR: couldn't allocate audio resampler\n");
goto done;
}
#endif
if (swr_init(swr_ctx) < 0) {
fprintf(stderr, "ERROR: couldn't initialize the audio resampler\n");
goto done;
}
}
*duration = (int)(stream->time_base.num * stream->duration / stream->time_base.den);
remaining = max_length * channels * codec_ctx->sample_rate;
chromaprint_start(chromaprint_ctx, codec_ctx->sample_rate, channels);
frame = av_frame_alloc();
while (1) {
if (av_read_frame(format_ctx, &packet) < 0) {
break;
}
if (packet.stream_index == stream_index) {
if (avcodec_send_packet(codec_ctx, &packet) < 0) {
fprintf(stderr, "WARNING: error sending audio data\n");
continue;
}
while(1) {
int recv_result = avcodec_receive_frame(codec_ctx, frame);
if (recv_result == AVERROR(EAGAIN)) break;
if (recv_result < 0) {
fprintf(stderr, "WARNING: error decoding audio\n");
break;
}
if (swr_ctx) {
if (frame->nb_samples > max_dst_nb_samples) {
max_dst_nb_samples = frame->nb_samples;
av_freep(&dst_data);
if (av_samples_alloc(&dst_data, NULL,
channels, max_dst_nb_samples,
AV_SAMPLE_FMT_S16, 0) < 0) {
fprintf(stderr, "ERROR: couldn't allocate audio converter buffer\n");
goto done;
}
}
if (swr_convert(swr_ctx, &dst_data, frame->nb_samples,
(const uint8_t**)frame->data, frame->nb_samples) < 0) {
fprintf(stderr, "ERROR: couldn't convert the audio\n");
goto done;
}
samples = (int16_t*)dst_data;
} else {
samples = (int16_t*)frame->data[0];
}
length = MIN(remaining, frame->nb_samples * channels);
if (!chromaprint_feed(chromaprint_ctx, samples, length)) {
goto done;
}
if (max_length) {
remaining -= length;
if (remaining <= 0) {
goto finish;
}
}
}
}
av_packet_unref(&packet);
}
finish:
if (!chromaprint_finish(chromaprint_ctx)) {
fprintf(stderr, "ERROR: fingerprint calculation failed\n");
goto done;
}
ok = 1;
done:
if (frame) {
av_frame_unref(frame);
}
if (dst_data) {
av_freep(&dst_data);
}
if (swr_ctx) {
swr_free(&swr_ctx);
}
if (codec_ctx_opened) {
avcodec_close(codec_ctx);
}
if (format_ctx) {
avformat_close_input(&format_ctx);
}
if (codec_ctx) {
avcodec_free_context(&codec_ctx);
}
return ok;
}
int main(int argc, char **argv)
{
int i, j, max_length = 120, num_file_names = 0/*, raw = 0*/, duration;
int raw_fingerprint_size[2];
uint32_t *raw_fingerprints[2] = {0};
char *file_name, **file_names;
ChromaprintContext *chromaprint_ctx;
int algo = CHROMAPRINT_ALGORITHM_DEFAULT, num_failed = 0;
uint32_t thisdiff;
int setbits = 0;
file_names = malloc((size_t)argc * sizeof(char *));
for (i = 1; i < argc; i++) {
char *arg = argv[i];
if (!strcmp(arg, "-length") && i + 1 < argc) {
max_length = atoi(argv[++i]);
}
else if (!strcmp(arg, "-version") || !strcmp(arg, "-v")) {
printf("fpcalc version %s\n", chromaprint_get_version());
free(file_names);
return 0;
}
//else if (!strcmp(arg, "-raw")) {
// raw = 1;
//}
else if (!strcmp(arg, "-algo") && i + 1 < argc) {
const char *v = argv[++i];
if (!strcmp(v, "test1")) { algo = CHROMAPRINT_ALGORITHM_TEST1; }
else if (!strcmp(v, "test2")) { algo = CHROMAPRINT_ALGORITHM_TEST2; }
else if (!strcmp(v, "test3")) { algo = CHROMAPRINT_ALGORITHM_TEST3; }
else if (!strcmp(v, "test4")) { algo = CHROMAPRINT_ALGORITHM_TEST4; }
else {
fprintf(stderr, "WARNING: unknown algorithm, using the default\n");
}
}
else if (!strcmp(arg, "-set") && i + 1 < argc) {
i += 1;
}
else {
file_names[num_file_names++] = argv[i];
}
}
if (num_file_names != 2) {
printf("usage: %s [OPTIONS] FILE1 FILE2\n\n", argv[0]);
free(file_names);
return 2;
}
#ifndef LIBAVFILTER_VERSION_INT
#error "LIBAVFILTER_VERSION_INT not defined! Did you forget to include libavfilter/avfilter.h?"
#endif
#if (LIBAVFILTER_VERSION_INT < AV_VERSION_INT(7, 14, 0))
av_register_all();
#endif
av_log_set_level(AV_LOG_ERROR);
chromaprint_ctx = chromaprint_new(algo);
for (i = 1; i < argc; i++) {
char *arg = argv[i];
if (!strcmp(arg, "-set") && i + 1 < argc) {
char *name = argv[++i];
char *value = strchr(name, '=');
if (value) {
*value++ = '\0';
chromaprint_set_option(chromaprint_ctx, name, atoi(value));
}
}
}
for (i = 0; i < num_file_names; i++) {
file_name = file_names[i];
if (!decode_audio_file(chromaprint_ctx, file_name, max_length, &duration)) {
fprintf(stderr, "ERROR: unable to calculate fingerprint for file %s, skipping\n", file_name);
num_failed++;
continue;
}
if (!chromaprint_get_raw_fingerprint(chromaprint_ctx, &raw_fingerprints[i], &raw_fingerprint_size[i])) {
fprintf(stderr, "ERROR: unable to calculate fingerprint for file %s, skipping\n", file_name);
num_failed++;
continue;
}
}
if (num_failed == 0) {
int min_raw_fingerprint_size = MIN(raw_fingerprint_size[0],
raw_fingerprint_size[1]);
int max_raw_fingerprint_size = MAX(raw_fingerprint_size[0],
raw_fingerprint_size[1]);
for (j = 0; j < min_raw_fingerprint_size; j++) {
thisdiff = raw_fingerprints[0][j]^raw_fingerprints[1][j];
setbits += __builtin_popcount(thisdiff);
}
setbits += (int)((max_raw_fingerprint_size-min_raw_fingerprint_size)*32.0);
printf("%f\n", setbits/(max_raw_fingerprint_size*32.0));
} else {
fprintf(stderr, "ERROR: Couldn't calculate both fingerprints; can't compare.\n");
}
if (raw_fingerprints[0]) chromaprint_dealloc(raw_fingerprints[0]);
if (raw_fingerprints[1]) chromaprint_dealloc(raw_fingerprints[1]);
chromaprint_free(chromaprint_ctx);
free(file_names);
return num_failed ? 1 : 0;
}
ffmpegfs-2.15/test/test_audio_ogg 0000755 0001750 0001750 00000000136 14361057143 014064 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_audio" ogg
ffmpegfs-2.15/test/test_audio_mov 0000755 0001750 0001750 00000000135 14361057143 014110 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_audio" mov
ffmpegfs-2.15/test/test_tags_opus 0000755 0001750 0001750 00000000135 14361057146 014135 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" opus
ffmpegfs-2.15/test/test_frameset 0000755 0001750 0001750 00000002615 14472626456 013755 0000000 0000000 #!/bin/bash
ADDOPT=""
. "${BASH_SOURCE%/*}/funcs.sh" "$1"
check_filesize_frameset() {
if [ "${FILEEXT}" == "png" ];
then
check_filesize "${1}" 38625 139606 "${TMPPATH}" 1
elif [ "${FILEEXT}" == "jpg" ];
then
check_filesize "${1}" 26286 70679 "${TMPPATH}" 1
elif [ "${FILEEXT}" == "bmp" ];
then
check_filesize "${1}" 7372854 7372854 "${TMPPATH}" 1
fi
}
# Should be 250 files for 250 frames in source
FILES=250
echo "Checking number of files is ${FILES}"
[ $(ls "${DIRNAME}"/frame_test_pal.mp4/ -1 | wc -l) = ${FILES} ]
echo "Number of files OK"
echo "Checking access with full name"
for i in 000204 000004 000104 000207 000007 000107
do
FILE="${DIRNAME}"/frame_test_pal.mp4/${i}.${FILEEXT}
printf "> %s -> " ${FILE##*/}
cp -vpf "${FILE}" "${TMPPATH}" > /dev/null
#cp -vpf "${FILE}" "${TMPPATH}" > /dev/null
check_filesize_frameset "${i}"
done
echo "Checking access with regular expression"
for i in 00024[4-79] 00008[4-79] 00018[4-79]
do
echo ">> Expression ${i}.*"
for FILE in "${DIRNAME}"/frame_test_pal.mp4/${i}.*
do
FILENAME="${FILE##*/}"
printf "> %s -> " ${FILE##*/}
cp -vpf "${FILE}" "${TMPPATH}" > /dev/null
#cp -vpf "${FILE}" "${TMPPATH}" > /dev/null
check_filesize_frameset "${FILENAME%.*}"
done 2>/dev/null
done
echo "Access OK"
echo "Pass"
echo "OK"
ffmpegfs-2.15/test/test_tags 0000755 0001750 0001750 00000004261 14442324060 013063 0000000 0000000 #!/bin/bash
ADDOPT=""
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
. "${BASH_SOURCE%/*}/funcs.sh" "$1"
VIDEO=$2
# Fixes to make these checks work with Libav 12
#
# Change...
# ^TXXX=DESCRIPTION -> TXXX=comment
# ^TDRL -> TDRC
# ^desc -> ?cmt (but keep ^description=)
#
get_metadata() {
local -n outvar=$2 # -n makes it a nameref.
echo Checking $1
cp -vpf "$1" "${TMPPATH}" > /dev/null
#cp -vpf "$1" "${TMPPATH}" > /dev/null
outvar=`./metadata "$1" | fgrep = | sort -u | sed -r 's/^encoder=.*//I' | sed -r '/^vendor_id=.*$/Id'`
}
# Detect FFmpeg version
# FFmpeg versions prior to 3.2.x store a title in the file and the encoder version, nothing else...
FFMPEGVERSION=`./metadata -v | sed -n 's/^FFmpeg[^0-9]\([0-9]*\.[0-9]*\).*$/\1/p' | head -n 1`
if [ -z "${FFMPEGVERSION}" ] && [ -z "${LIBAVVERSION}" ];
then
FFMPEGVERSION=`./metadata -v | sed -n 's/^FFmpeg \(.*\)$/\1/p' | head -n 1`
fi
if [ ! -z "${FFMPEGVERSION}" ];
then
echo "FFmpeg version is ${FFMPEGVERSION}"
LIBRARY=ffmpeg
if [[ "${FFMPEGVERSION}" == N* ]];
then
echo "FFmpeg Nightly Build"
VERSION=N
elif (( $(echo "${FFMPEGVERSION} >= 4.3" | bc -l) )); then
echo "FFmpeg > 4.3"
VERSION=4.3
elif (( $(echo "${FFMPEGVERSION} >= 4.2" | bc -l) )); then
echo "FFmpeg > 4.2"
VERSION=4.2
elif (( $(echo "${FFMPEGVERSION} >= 4.0" | bc -l) )); then
echo "FFmpeg > 4.0"
VERSION=4.0
fi
else
echo "Internal error: FFmpeg/Libav version unknown."
exit 99
fi
if [ "${VIDEO}" == "1" ];
then
FILELIST="raven_e.flac raven_d.ogg snowboard.mp4"
else
FILELIST="raven_e.flac raven_d.ogg"
fi
for FILE in ${FILELIST}
do
TAGFILENAME=${FILE%.*}.${DESTTYPE}.tag
TAGFILEPATH=${__dir}/tags/${LIBRARY}${VERSION}/${TAGFILENAME}
TAGFILEPATH=${__dir}/tags/${LIBRARY}${VERSION}/${TAGFILENAME}
get_metadata "${DIRNAME}/${FILE}.${FILEEXT}" TAGS
echo "${TAGS}" > "${TAGFILENAME}"
echo "Compare file: ${TAGFILEPATH}"
echo "Tags found:"
echo "${TAGS}"
cmp -c "${TAGFILEPATH}" "${TAGFILENAME}"
printf "*** PASS ***\n\n"
rm -f "${TAGFILENAME}"
done
echo "OK"
ffmpegfs-2.15/test/tags/ 0000755 0001750 0001750 00000000000 14557515776 012202 5 0000000 0000000 ffmpegfs-2.15/test/tags/ffmpeg4.2/ 0000755 0001750 0001750 00000000000 14364013364 013650 5 0000000 0000000 ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_e.opus.tag 0000644 0001750 0001750 00000000071 14364013364 016667 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_d.prores.tag 0000644 0001750 0001750 00000000200 14364013364 017204 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt iso6
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_e.mp3.tag 0000644 0001750 0001750 00000000073 14364013364 016402 0000000 0000000 DURATION=29125011
artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_d.ts.tag 0000644 0001750 0001750 00000000001 14364013364 016317 0000000 0000000
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_e.webm.tag 0000644 0001750 0001750 00000000050 14364013364 016630 0000000 0000000 ARTIST=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.2/snowboard.webm.tag 0000644 0001750 0001750 00000000477 14364013364 017224 0000000 0000000 ALBUM=Snowboard
ARTIST=Norbert Schlia
COMMENT=Snowboard ride footage taken with action cam 2018-01-13 Saalbach/Austria
COMPATIBLE_BRANDS=isomiso2avc1mp41
DATE=2018
GENRE=Demo
HANDLER_NAME=SoundHandler
HANDLER_NAME=VideoHandler
MAJOR_BRAND=isom
MINOR_VERSION=512
SEASON_NUMBER=0
language=eng
title=Video Transcode Demo
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_d.wav.tag 0000644 0001750 0001750 00000000050 14364013364 016472 0000000 0000000 artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_e.ogg.tag 0000644 0001750 0001750 00000000071 14364013364 016455 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.2/snowboard.prores.tag 0000644 0001750 0001750 00000000447 14364013364 017601 0000000 0000000 album=Snowboard
artist=Norbert Schlia
comment=Snowboard ride footage taken with action cam 2018-01-13 Saalbach/Austria
compatible_brands=qt iso6
date=2018
genre=Demo
handler_name=SoundHandler
handler_name=VideoHandler
language=eng
major_brand=qt
minor_version=512
title=Video Transcode Demo
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_e.flac.tag 0000644 0001750 0001750 00000000071 14364013364 016606 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.2/snowboard.mp4.tag 0000644 0001750 0001750 00000000520 14364013364 016757 0000000 0000000 album=Snowboard
artist=Norbert Schlia
comment=Snowboard ride footage taken with action cam 2018-01-13 Saalbach/Austria
compatible_brands=isomiso2avc1iso6mp41
date=2018
genre=Demo
handler_name=SoundHandler
handler_name=VideoHandler
language=eng
language=und
major_brand=isom
minor_version=512
season_number=0
title=Video Transcode Demo
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_e.mp4.tag 0000644 0001750 0001750 00000000225 14364013364 016402 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=isomiso2iso6mp41
handler_name=SoundHandler
language=und
major_brand=isom
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_e.ts.tag 0000644 0001750 0001750 00000000001 14364013364 016320 0000000 0000000
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven.ts.tag 0000644 0001750 0001750 00000000001 14364013364 016014 0000000 0000000
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_d.aiff.tag 0000644 0001750 0001750 00000000020 14364013364 016577 0000000 0000000 title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_d.flac.tag 0000644 0001750 0001750 00000000071 14364013364 016605 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_e.aiff.tag 0000644 0001750 0001750 00000000020 14364013364 016600 0000000 0000000 title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_e.mov.tag 0000644 0001750 0001750 00000000200 14364013364 016474 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt iso6
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_d.opus.tag 0000644 0001750 0001750 00000000071 14364013364 016666 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_d.mp3.tag 0000644 0001750 0001750 00000000073 14364013364 016401 0000000 0000000 DURATION=24468753
artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_d.webm.tag 0000644 0001750 0001750 00000000051 14364013364 016630 0000000 0000000 ARTIST=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.2/snowboard.ts.tag 0000644 0001750 0001750 00000000015 14364013364 016704 0000000 0000000 language=eng
ffmpegfs-2.15/test/tags/ffmpeg4.2/snowboard.mov.tag 0000644 0001750 0001750 00000000447 14364013364 017070 0000000 0000000 album=Snowboard
artist=Norbert Schlia
comment=Snowboard ride footage taken with action cam 2018-01-13 Saalbach/Austria
compatible_brands=qt iso6
date=2018
genre=Demo
handler_name=SoundHandler
handler_name=VideoHandler
language=eng
major_brand=qt
minor_version=512
title=Video Transcode Demo
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_e.wav.tag 0000644 0001750 0001750 00000000050 14364013364 016473 0000000 0000000 artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_e.prores.tag 0000644 0001750 0001750 00000000200 14364013364 017205 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt iso6
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_d.mp4.tag 0000644 0001750 0001750 00000000225 14364013364 016401 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=isomiso2iso6mp41
handler_name=SoundHandler
language=und
major_brand=isom
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_d.alac.tag 0000644 0001750 0001750 00000000221 14364013364 016575 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=isomiso2iso6
handler_name=SoundHandler
language=und
major_brand=M4A
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_e.alac.tag 0000644 0001750 0001750 00000000221 14364013364 016576 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=isomiso2iso6
handler_name=SoundHandler
language=und
major_brand=M4A
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_d.mov.tag 0000644 0001750 0001750 00000000200 14364013364 016473 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt iso6
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.2/raven_d.ogg.tag 0000644 0001750 0001750 00000000071 14364013364 016454 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.2/obama.ts.tag 0000644 0001750 0001750 00000000001 14364013364 015760 0000000 0000000
ffmpegfs-2.15/test/tags/ffmpegN/ 0000755 0001750 0001750 00000000000 14364013364 013542 5 0000000 0000000 ffmpegfs-2.15/test/tags/ffmpegN/raven_e.opus.tag 0000644 0001750 0001750 00000000071 14364013364 016561 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpegN/raven_d.prores.tag 0000644 0001750 0001750 00000000174 14364013364 017110 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpegN/raven_e.mp3.tag 0000644 0001750 0001750 00000000073 14364013364 016274 0000000 0000000 DURATION=29125011
artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpegN/raven_d.ts.tag 0000644 0001750 0001750 00000000001 14364013364 016211 0000000 0000000
ffmpegfs-2.15/test/tags/ffmpegN/raven_e.webm.tag 0000644 0001750 0001750 00000000050 14364013364 016522 0000000 0000000 ARTIST=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpegN/snowboard.webm.tag 0000644 0001750 0001750 00000000477 14364013364 017116 0000000 0000000 ALBUM=Snowboard
ARTIST=Norbert Schlia
COMMENT=Snowboard ride footage taken with action cam 2018-01-13 Saalbach/Austria
COMPATIBLE_BRANDS=isomiso2avc1mp41
DATE=2018
GENRE=Demo
HANDLER_NAME=SoundHandler
HANDLER_NAME=VideoHandler
MAJOR_BRAND=isom
MINOR_VERSION=512
SEASON_NUMBER=0
language=eng
title=Video Transcode Demo
ffmpegfs-2.15/test/tags/ffmpegN/raven_d.wav.tag 0000644 0001750 0001750 00000000050 14364013364 016364 0000000 0000000 artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpegN/raven_e.ogg.tag 0000644 0001750 0001750 00000000071 14364013364 016347 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpegN/snowboard.prores.tag 0000644 0001750 0001750 00000000443 14364013364 017467 0000000 0000000 album=Snowboard
artist=Norbert Schlia
comment=Snowboard ride footage taken with action cam 2018-01-13 Saalbach/Austria
compatible_brands=qt
date=2018
genre=Demo
handler_name=SoundHandler
handler_name=VideoHandler
language=eng
major_brand=qt
minor_version=512
title=Video Transcode Demo
ffmpegfs-2.15/test/tags/ffmpegN/raven_e.flac.tag 0000644 0001750 0001750 00000000071 14364013364 016500 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpegN/snowboard.mp4.tag 0000644 0001750 0001750 00000000520 14364013364 016651 0000000 0000000 album=Snowboard
artist=Norbert Schlia
comment=Snowboard ride footage taken with action cam 2018-01-13 Saalbach/Austria
compatible_brands=isomiso6iso2avc1mp41
date=2018
genre=Demo
handler_name=SoundHandler
handler_name=VideoHandler
language=eng
language=und
major_brand=isom
minor_version=512
season_number=0
title=Video Transcode Demo
ffmpegfs-2.15/test/tags/ffmpegN/raven_e.mp4.tag 0000644 0001750 0001750 00000000225 14364013364 016274 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=isomiso6iso2mp41
handler_name=SoundHandler
language=und
major_brand=isom
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpegN/raven_e.ts.tag 0000644 0001750 0001750 00000000001 14364013364 016212 0000000 0000000
ffmpegfs-2.15/test/tags/ffmpegN/raven.ts.tag 0000644 0001750 0001750 00000000001 14364013364 015706 0000000 0000000
ffmpegfs-2.15/test/tags/ffmpegN/raven_d.aiff.tag 0000644 0001750 0001750 00000000020 14364013364 016471 0000000 0000000 title=The Raven
ffmpegfs-2.15/test/tags/ffmpegN/raven_d.flac.tag 0000644 0001750 0001750 00000000071 14364013364 016477 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpegN/raven_e.aiff.tag 0000644 0001750 0001750 00000000020 14364013364 016472 0000000 0000000 title=The Raven
ffmpegfs-2.15/test/tags/ffmpegN/raven_e.mov.tag 0000644 0001750 0001750 00000000174 14364013364 016400 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpegN/raven_d.opus.tag 0000644 0001750 0001750 00000000071 14364013364 016560 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpegN/raven_d.mp3.tag 0000644 0001750 0001750 00000000073 14364013364 016273 0000000 0000000 DURATION=24468753
artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpegN/raven_d.webm.tag 0000644 0001750 0001750 00000000051 14364013364 016522 0000000 0000000 ARTIST=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpegN/snowboard.ts.tag 0000644 0001750 0001750 00000000015 14364013364 016576 0000000 0000000 language=eng
ffmpegfs-2.15/test/tags/ffmpegN/snowboard.mov.tag 0000644 0001750 0001750 00000000443 14364013364 016756 0000000 0000000 album=Snowboard
artist=Norbert Schlia
comment=Snowboard ride footage taken with action cam 2018-01-13 Saalbach/Austria
compatible_brands=qt
date=2018
genre=Demo
handler_name=SoundHandler
handler_name=VideoHandler
language=eng
major_brand=qt
minor_version=512
title=Video Transcode Demo
ffmpegfs-2.15/test/tags/ffmpegN/raven_e.wav.tag 0000644 0001750 0001750 00000000050 14364013364 016365 0000000 0000000 artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpegN/raven_e.prores.tag 0000644 0001750 0001750 00000000174 14364013364 017111 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpegN/raven_d.mp4.tag 0000644 0001750 0001750 00000000225 14364013364 016273 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=isomiso6iso2mp41
handler_name=SoundHandler
language=und
major_brand=isom
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpegN/raven_d.alac.tag 0000644 0001750 0001750 00000000225 14364013364 016473 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=M4A iso6isomiso2
handler_name=SoundHandler
language=und
major_brand=M4A
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpegN/raven_e.alac.tag 0000644 0001750 0001750 00000000225 14364013364 016474 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=M4A iso6isomiso2
handler_name=SoundHandler
language=und
major_brand=M4A
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpegN/raven_d.mov.tag 0000644 0001750 0001750 00000000174 14364013364 016377 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpegN/raven_d.ogg.tag 0000644 0001750 0001750 00000000071 14364013364 016346 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpegN/obama.ts.tag 0000644 0001750 0001750 00000000001 14364013364 015652 0000000 0000000
ffmpegfs-2.15/test/tags/ffmpeg4.0/ 0000755 0001750 0001750 00000000000 14364013364 013646 5 0000000 0000000 ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_e.opus.tag 0000644 0001750 0001750 00000000072 14364013364 016666 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_d.prores.tag 0000644 0001750 0001750 00000000215 14364013364 017210 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt iso6
handler_name=SoundHandler
language=eng
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_e.mp3.tag 0000644 0001750 0001750 00000000073 14364013364 016400 0000000 0000000 DURATION=29125011
artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_d.ts.tag 0000644 0001750 0001750 00000000001 14364013364 016315 0000000 0000000
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_e.webm.tag 0000644 0001750 0001750 00000000050 14364013364 016626 0000000 0000000 ARTIST=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.0/snowboard.webm.tag 0000644 0001750 0001750 00000000477 14364013364 017222 0000000 0000000 ALBUM=Snowboard
ARTIST=Norbert Schlia
COMMENT=Snowboard ride footage taken with action cam 2018-01-13 Saalbach/Austria
COMPATIBLE_BRANDS=isomiso2avc1mp41
DATE=2018
GENRE=Demo
HANDLER_NAME=SoundHandler
HANDLER_NAME=VideoHandler
MAJOR_BRAND=isom
MINOR_VERSION=512
SEASON_NUMBER=0
language=eng
title=Video Transcode Demo
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_d.wav.tag 0000644 0001750 0001750 00000000050 14364013364 016470 0000000 0000000 artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_e.ogg.tag 0000644 0001750 0001750 00000000072 14364013364 016454 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.0/snowboard.prores.tag 0000644 0001750 0001750 00000000447 14364013364 017577 0000000 0000000 album=Snowboard
artist=Norbert Schlia
comment=Snowboard ride footage taken with action cam 2018-01-13 Saalbach/Austria
compatible_brands=qt iso6
date=2018
genre=Demo
handler_name=SoundHandler
handler_name=VideoHandler
language=eng
major_brand=qt
minor_version=512
title=Video Transcode Demo
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_e.flac.tag 0000644 0001750 0001750 00000000071 14364013364 016604 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.0/snowboard.mp4.tag 0000644 0001750 0001750 00000000520 14364013364 016755 0000000 0000000 album=Snowboard
artist=Norbert Schlia
comment=Snowboard ride footage taken with action cam 2018-01-13 Saalbach/Austria
compatible_brands=isomiso2avc1iso6mp41
date=2018
genre=Demo
handler_name=SoundHandler
handler_name=VideoHandler
language=eng
language=und
major_brand=isom
minor_version=512
season_number=0
title=Video Transcode Demo
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_e.mp4.tag 0000644 0001750 0001750 00000000225 14364013364 016400 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=isomiso2iso6mp41
handler_name=SoundHandler
language=und
major_brand=isom
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_e.ts.tag 0000644 0001750 0001750 00000000001 14364013364 016316 0000000 0000000
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven.ts.tag 0000644 0001750 0001750 00000000001 14364013364 016012 0000000 0000000
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_d.aiff.tag 0000644 0001750 0001750 00000000020 14364013364 016575 0000000 0000000 title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_d.flac.tag 0000644 0001750 0001750 00000000071 14364013364 016603 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_e.aiff.tag 0000644 0001750 0001750 00000000020 14364013364 016576 0000000 0000000 title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_e.mov.tag 0000644 0001750 0001750 00000000215 14364013364 016500 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt iso6
handler_name=SoundHandler
language=eng
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_d.opus.tag 0000644 0001750 0001750 00000000072 14364013364 016665 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_d.mp3.tag 0000644 0001750 0001750 00000000073 14364013364 016377 0000000 0000000 DURATION=24468753
artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_d.webm.tag 0000644 0001750 0001750 00000000051 14364013364 016626 0000000 0000000 ARTIST=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.0/snowboard.ts.tag 0000644 0001750 0001750 00000000015 14364013364 016702 0000000 0000000 language=eng
ffmpegfs-2.15/test/tags/ffmpeg4.0/snowboard.mov.tag 0000644 0001750 0001750 00000000447 14364013364 017066 0000000 0000000 album=Snowboard
artist=Norbert Schlia
comment=Snowboard ride footage taken with action cam 2018-01-13 Saalbach/Austria
compatible_brands=qt iso6
date=2018
genre=Demo
handler_name=SoundHandler
handler_name=VideoHandler
language=eng
major_brand=qt
minor_version=512
title=Video Transcode Demo
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_e.wav.tag 0000644 0001750 0001750 00000000050 14364013364 016471 0000000 0000000 artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_e.prores.tag 0000644 0001750 0001750 00000000215 14364013364 017211 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt iso6
handler_name=SoundHandler
language=eng
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_d.mp4.tag 0000644 0001750 0001750 00000000225 14364013364 016377 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=isomiso2iso6mp41
handler_name=SoundHandler
language=und
major_brand=isom
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_d.alac.tag 0000644 0001750 0001750 00000000221 14364013364 016573 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=isomiso2iso6
handler_name=SoundHandler
language=und
major_brand=M4A
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_e.alac.tag 0000644 0001750 0001750 00000000221 14364013364 016574 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=isomiso2iso6
handler_name=SoundHandler
language=und
major_brand=M4A
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_d.mov.tag 0000644 0001750 0001750 00000000215 14364013364 016477 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt iso6
handler_name=SoundHandler
language=eng
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.0/raven_d.ogg.tag 0000644 0001750 0001750 00000000072 14364013364 016453 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.0/obama.ts.tag 0000644 0001750 0001750 00000000001 14364013364 015756 0000000 0000000
ffmpegfs-2.15/test/tags/ffmpeg4.3/ 0000755 0001750 0001750 00000000000 14364013364 013651 5 0000000 0000000 ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_e.opus.tag 0000644 0001750 0001750 00000000071 14364013364 016670 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_d.prores.tag 0000644 0001750 0001750 00000000174 14364013364 017217 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_e.mp3.tag 0000644 0001750 0001750 00000000073 14364013364 016403 0000000 0000000 DURATION=29125011
artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_d.ts.tag 0000644 0001750 0001750 00000000001 14364013364 016320 0000000 0000000
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_e.webm.tag 0000644 0001750 0001750 00000000050 14364013364 016631 0000000 0000000 ARTIST=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.3/snowboard.webm.tag 0000644 0001750 0001750 00000000477 14364013364 017225 0000000 0000000 ALBUM=Snowboard
ARTIST=Norbert Schlia
COMMENT=Snowboard ride footage taken with action cam 2018-01-13 Saalbach/Austria
COMPATIBLE_BRANDS=isomiso2avc1mp41
DATE=2018
GENRE=Demo
HANDLER_NAME=SoundHandler
HANDLER_NAME=VideoHandler
MAJOR_BRAND=isom
MINOR_VERSION=512
SEASON_NUMBER=0
language=eng
title=Video Transcode Demo
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_d.wav.tag 0000644 0001750 0001750 00000000050 14364013364 016473 0000000 0000000 artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_e.ogg.tag 0000644 0001750 0001750 00000000071 14364013364 016456 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.3/snowboard.prores.tag 0000644 0001750 0001750 00000000443 14364013364 017576 0000000 0000000 album=Snowboard
artist=Norbert Schlia
comment=Snowboard ride footage taken with action cam 2018-01-13 Saalbach/Austria
compatible_brands=qt
date=2018
genre=Demo
handler_name=SoundHandler
handler_name=VideoHandler
language=eng
major_brand=qt
minor_version=512
title=Video Transcode Demo
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_e.flac.tag 0000644 0001750 0001750 00000000071 14364013364 016607 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.3/snowboard.mp4.tag 0000644 0001750 0001750 00000000520 14364013364 016760 0000000 0000000 album=Snowboard
artist=Norbert Schlia
comment=Snowboard ride footage taken with action cam 2018-01-13 Saalbach/Austria
compatible_brands=isomiso6iso2avc1mp41
date=2018
genre=Demo
handler_name=SoundHandler
handler_name=VideoHandler
language=eng
language=und
major_brand=isom
minor_version=512
season_number=0
title=Video Transcode Demo
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_e.mp4.tag 0000644 0001750 0001750 00000000225 14364013364 016403 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=isomiso6iso2mp41
handler_name=SoundHandler
language=und
major_brand=isom
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_e.ts.tag 0000644 0001750 0001750 00000000001 14364013364 016321 0000000 0000000
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven.ts.tag 0000644 0001750 0001750 00000000001 14364013364 016015 0000000 0000000
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_d.aiff.tag 0000644 0001750 0001750 00000000020 14364013364 016600 0000000 0000000 title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_d.flac.tag 0000644 0001750 0001750 00000000071 14364013364 016606 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_e.aiff.tag 0000644 0001750 0001750 00000000020 14364013364 016601 0000000 0000000 title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_e.mov.tag 0000644 0001750 0001750 00000000174 14364013364 016507 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_d.opus.tag 0000644 0001750 0001750 00000000071 14364013364 016667 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_d.mp3.tag 0000644 0001750 0001750 00000000073 14364013364 016402 0000000 0000000 DURATION=24468753
artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_d.webm.tag 0000644 0001750 0001750 00000000051 14364013364 016631 0000000 0000000 ARTIST=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.3/snowboard.ts.tag 0000644 0001750 0001750 00000000015 14364013364 016705 0000000 0000000 language=eng
ffmpegfs-2.15/test/tags/ffmpeg4.3/snowboard.mov.tag 0000644 0001750 0001750 00000000443 14364013364 017065 0000000 0000000 album=Snowboard
artist=Norbert Schlia
comment=Snowboard ride footage taken with action cam 2018-01-13 Saalbach/Austria
compatible_brands=qt
date=2018
genre=Demo
handler_name=SoundHandler
handler_name=VideoHandler
language=eng
major_brand=qt
minor_version=512
title=Video Transcode Demo
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_e.wav.tag 0000644 0001750 0001750 00000000050 14364013364 016474 0000000 0000000 artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_e.prores.tag 0000644 0001750 0001750 00000000174 14364013364 017220 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_d.mp4.tag 0000644 0001750 0001750 00000000225 14364013364 016402 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=isomiso6iso2mp41
handler_name=SoundHandler
language=und
major_brand=isom
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_d.alac.tag 0000644 0001750 0001750 00000000225 14364013364 016602 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=M4A iso6isomiso2
handler_name=SoundHandler
language=und
major_brand=M4A
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_e.alac.tag 0000644 0001750 0001750 00000000225 14364013364 016603 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=M4A iso6isomiso2
handler_name=SoundHandler
language=und
major_brand=M4A
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_d.mov.tag 0000644 0001750 0001750 00000000174 14364013364 016506 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.3/raven_d.ogg.tag 0000644 0001750 0001750 00000000071 14364013364 016455 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.15/test/tags/ffmpeg4.3/obama.ts.tag 0000644 0001750 0001750 00000000001 14364013364 015761 0000000 0000000
ffmpegfs-2.15/test/test_frameset_jpg 0000755 0001750 0001750 00000000140 14361057146 014573 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_frameset" jpg
ffmpegfs-2.15/test/test_filenames_mp3 0000755 0001750 0001750 00000000142 14361057143 014646 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filenames" mp3
ffmpegfs-2.15/test/test_audio_ts 0000755 0001750 0001750 00000000135 14361057143 013735 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_audio" ts
ffmpegfs-2.15/test/metadata.c 0000644 0001750 0001750 00000005237 14255037103 013071 0000000 0000000 /*
* Copyright (C) 2020 Norbert Schlia (nschlia@oblivion-software.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*
* On Debian systems, the complete text of the GNU General Public License
* Version 3 can be found in `/usr/share/common-licenses/GPL-3'.
*/
#include
#include
#include
#include
int main (int argc, char **argv)
{
if (argc != 2)
{
fprintf(stderr, "usage: %s \n"
"Print all file meta data to screen.\n"
"\n", argv[0]);
fprintf(stderr, "ERROR: Exactly one parameter required\n\n");
return 1;
}
if (!strcmp(argv[1], "-v"))
{
printf("FFmpeg " FFMPEG_VERSION "\n");
return 0;
}
#if (LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(58, 9, 0))
av_register_all();
#endif
const char *filename = argv[1];
AVFormatContext *format_ctx = NULL;
int ret = avformat_open_input(&format_ctx, filename, NULL, NULL);
if (ret)
{
char error[AV_ERROR_MAX_STRING_SIZE];
av_strerror(ret, error, AV_ERROR_MAX_STRING_SIZE);
fprintf(stderr, "avformat_open_input() returns error for file '%s'\n%s\n", filename, error);
return ret;
}
ret = avformat_find_stream_info(format_ctx, NULL);
if (ret < 0)
{
av_log(NULL, AV_LOG_ERROR, "Cannot find stream information\n");
return ret;
}
for (unsigned int streamno = 0; streamno < format_ctx->nb_streams; streamno++)
{
AVDictionaryEntry *tag = NULL;
while ((tag = av_dict_get(format_ctx->streams[streamno]->metadata, "", tag, AV_DICT_IGNORE_SUFFIX)) != NULL)
{
printf("%s=%s\n", tag->key, tag->value);
}
}
{
AVDictionaryEntry *tag = NULL;
while ((tag = av_dict_get(format_ctx->metadata, "", tag, AV_DICT_IGNORE_SUFFIX)) != NULL)
{
printf("%s=%s\n", tag->key, tag->value);
}
}
avformat_close_input(&format_ctx);
return 0;
}
ffmpegfs-2.15/test/test_cuesheet_file 0000755 0001750 0001750 00000000146 14361057143 014734 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_cuesheet" flac file
ffmpegfs-2.15/test/test_filesize_alac 0000755 0001750 0001750 00000000141 14361057143 014715 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" alac
ffmpegfs-2.15/test/test_tags_aiff 0000755 0001750 0001750 00000000135 14361057146 014054 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" aiff
ffmpegfs-2.15/test/test_filesize_opus 0000755 0001750 0001750 00000000141 14361057143 015003 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" opus
ffmpegfs-2.15/test/test_audio_alac 0000755 0001750 0001750 00000000136 14361057143 014210 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_audio" alac
ffmpegfs-2.15/test/srcdir/ 0000755 0001750 0001750 00000000000 14255037103 012504 5 0000000 0000000 ffmpegfs-2.15/test/srcdir/snowboard.mp4 0000644 0001750 0001750 00016463303 13645577336 015107 0000000 0000000 ftypisom isomiso2avc1mp41 free :8mdat EH, #x264 - core 148 r2748 97eaef2 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=1000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 -e W<X~ {핥S+BKB.%
g/f:62J
=G l(b{l8vD\&OmjL#@EIpϵ'
ᄴmS57)eLe888(ָoωJ
)HR
AuY\qf# :^(=@fH~ǡ;jAof ^Dlo\DZ&!&臂$P8ja")HP4-k3!lawR wbEHunjGA1:pr$gXTG]£-JV6O
;D&Ze/;++`2{
$yxTxQsԬ;C]p%@I/qNJRėP'@y(-cQCXaTvI<[tgr4ęUQ4Jm-EKp@eĆpG.ڏO pg%&_h#jIChΓP˟tA;ϗn/6ER|-pGkЦbWXR[%5ބB
_\J>.>
fUi>?{:?' \k7\=l0S6t8F{
Yc]D[1 M
bo+FzTvD₴.Vml0+wZᶓ>fL9w}'>3y.'z #GM aac81w%)h[es#-gRyܡr9t:?Lβ01