ffmpegfs-2.9/ 0000755 0001750 0001750 00000000000 14203241472 010161 5 0000000 0000000 ffmpegfs-2.9/HISTORY.md 0000644 0001750 0001750 00000026405 14203240521 011565 0000000 0000000 History
=======
### 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 syncronise 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](README.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.9/ffmpegfs.1 0000644 0001750 0001750 00000076076 14203237565 012010 0000000 0000000 '\" t
.\" Title: ffmpegfs
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets vsnapshot
.\" Date: Februar 2022
.\" Manual: User Commands
.\" Source: ffmpegfs 2.9
.\" Language: English
.\"
.TH "FFMPEGFS" "1" "Februar 2022" "ffmpegfs 2\&.9" "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/video files upon access\&.
.SS "Encoding options"
.PP
\fB\-\-desttype\fR=TYPE, \fB\-odesttype\fR=TYPE
.RS 4
Select 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 no 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
Default:
\fBmp4\fR
.RE
.PP
\fB\-\-extensions\fR=LIST, \fB\-oextensions\fR=LIST
.RS 4
Set list of extra file extensions recognised as input files\&.
\fILIST\fR
can contain one or more entries, separated by kommas\&.
.sp
Example: \-\-extensions=xxx,abc,yxz,aaa
.sp
Take care to select extensions that actually can be converted\&. Specifying something like \-\-extensions=txt would make FFmpegfs attempt to transcode text files, resulting in error messages, making these files inaccessible\&.
.sp
Default: Use default set as defined by FFmpeg\&.
.RE
.PP
\fB\-\-audiocodec\fR=TYPE, \fB\-oaudiocodec\fR=TYPE
.RS 4
Select 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
Default: The default setting for the destination format, see bold codec name in table
.RE
.PP
\fB\-\-videocodec\fR=TYPE, \fB\-ovideocodec\fR=TYPE
.RS 4
Select 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
Default: The default setting for the destination format, see bold codec name in table
.RE
.PP
\fB\-\-autocopy\fR=OPTION, \fB\-oautocopy\fR=OPTION
.RS 4
Select 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 will be a regular MOV/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
Default:
\fBOFF\fR
.RE
.PP
\fB\-\-recodesame\fR=OPTION, \fB\-orecodesame\fR=OPTION
.RS 4
Select recode to same format option,
\fIOPTION\fR
can be:
.TS
allbox tab(:);
lt lt
lt lt.
T{
\fBNO\fR
T}:T{
Never recode to same format\&.
T}
T{
\fBYES\fR
T}:T{
Always recode to same format\&.
T}
.TE
.sp 1
Default:
\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 MP4 output format only, ignored for all other formats\&.
.sp
Default:
\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 MP4 output format only, ignored for all other formats\&.
.sp
Default:
\fBHQ\fR
.RE
.SS "Audio Options"
.PP
\fB\-\-audiobitrate\fR=BITRATE, \fB\-o audiobitrate\fR=BITRATE
.RS 4
Audio encoding bitrate\&.
.sp
Default:
\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\&.
.sp
\fBBITRATE\fR
can be defined as\&... * n bit/s: # or #bps * n kbit/s: #K or #Kbps * n Mbit/s: #M or #Mbps
.RE
.PP
\fB\-\-audiosamplerate\fR=SAMPLERATE, \fB\-o audiosamplerate\fR=SAMPLERATE
.RS 4
Limits the output sample rate to
\fISAMPLERATE\fR\&. If the source file sample rate is more it will be downsampled automatically\&.
.sp
Typical values are 8000, 11025, 22050, 44100, 48000, 96000, 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 ut only 22\&.05 or 44\&.1 KHz supported, 22\&.05 KHz will be set)\&.
.sp
Set to 0 to keep source rate\&.
.sp
Default:
\fB44\&.1 kHz\fR
.sp
\fBSAMPLERATE\fR
can be defined as\&... * In Hz: # or #Hz * In kHz: #K or #KHz
.RE
.PP
\fB\-\-audiochannels\fR=CHANNELS, \fB\-o audiochannels\fR=CHANNELS
.RS 4
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
Default:
\fB2 channels (stereo)\fR
.RE
.PP
\fB\-\-audiosamplefmt\fR=SAMPLEFMT, \fB\-o audiosamplefmt\fR=SAMPLEFMT
.RS 4
Set 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 for will be reported as 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
Default: 0 (Use same as source or the predefined format of the destination if source format is not possible)\&.
.RE
.SS "Video Options"
.PP
\fB\-\-videobitrate\fR=BITRATE, \fB\-o videobitrate\fR=BITRATE
.RS 4
Video encoding bit rate\&. Setting this too high or low may cause transcoding to fail\&.
.sp
Default:
\fB2 Mbit\fR
.sp
\fBmp4:\fR
May be specified as 500 to 25000 kbit\&.
.sp
\fBBITRATE\fR
can be defined as\&... * n bit/s: # or #bps * n kbit/s: #K or #Kbps * n Mbit/s: #M or #Mbps
.RE
.PP
\fB\-\-videoheight\fR=HEIGHT, \-o \fBvideoheight\fR=HEIGHT
.RS 4
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
Default:
\fBkeep source video height\fR
.RE
.PP
\fB\-\-videowidth\fR=WIDTH, \-o \fBvideowidth\fR=WIDTH
.RS 4
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
Default:
\fBkeep source video width\fR
.RE
.PP
\fB\-\-deinterlace\fR, \-o \fBdeinterlace\fR
.RS 4
Deinterlace video if necessary while transcoding\&.
.sp
May need higher bit rate, but will increase picture quality when streaming via HTML5\&.
.sp
Default:
\fBno deinterlace\fR
.RE
.SS "HLS Options"
.PP
\fB\-\-segment_duration\fR, \-o \fBsegment_duration\fR
.RS 4
Set duration of one video segment of HLS stream\&. This argument is a floating point value, e\&.g can be set to 2\&.5 for 2500 milliseconds\&.
.sp
Should normally be left at default\&.
.sp
\fBNote:\fR
Applies to HLS output format only, ignored for all other formats\&.
.sp
Default:
\fB10 seconds\fR
.RE
.PP
\fB\-\-min_seek_time_diff\fR, \-o \fBmin_seek_time_diff\fR
.RS 4
If requested HLS segment is less than min_seek_time seconds away, discard seek request\&. The segment will be available very soon anyway, and that seek makes a re\-transcode necessary\&. Set to 0 to disable\&.
.sp
Should normally be left at default\&.
.sp
\fBNote:\fR
Applies to HLS output format only, ignored for all other formats\&.
.sp
Default:
\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
Default:
\fBNONE\fR
(no acceleration)
.RE
.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
.PP
\fB\-\-hwaccel_dec_blocked\fR=CODEC[:PROFILE[:PROFILE]], \fB\-o hwaccel_dec_blocked\fR=CODEC:[:PROFILE[:PROFILE]]
.RS 4
Block codec and optionally profile from hardware decoding\&. Option can be repeated to block several codecs
.sp
Default: no codecs blocked
.RE
.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
.PP
\fBPROFILE\fR
.RS 4
can optionally be added to block a certain profile 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 the one device is available\&.
.sp
\fBNote:\fR
Applies to VAAPI hardware acceleration only, ignored for all other types\&.
.sp
Default:
\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
Default:
\fBNONE\fR
(no acceleration)
.RE
.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
.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 the one device is available\&.
.sp
\fBNote:\fR
Applies to VAAPI hardware acceleration only, ignored for all other types\&.
.sp
Default:
\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 arts into output file\&.
.sp
This will reduce the file size, may be useful when streaming via HTML5 when album arts are not used anyway\&.
.sp
Default:
\fBadd album arts\fR
.RE
.SS "Virtual Script"
.PP
\-\-\fBenablescript\fR, \-o \fBenablescript\fR
.RS 4
Add virtual index\&.php to every directory\&. It reads scripts/videotag\&.php from the FFmpegfs binary directory\&.
.sp
This can be very handy to test video playback\&. Of course, feel free to replace videotag\&.php with your own script\&.
.sp
Default:
\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
Default:
\fBindex\&.php\fR
.RE
.PP
\-\-\fBscriptsource\fR, \-o \fBscriptsource\fR
.RS 4
Take a different source file\&.
.sp
Default:
\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 disk space\&.
.sp
Default:
\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
Default:
\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
Default:
\fB30 seconds\fR
.RE
.PP
\fB\-\-prebuffer_size\fR=SIZE, \fB\-o prebuffer_size\fR=SIZE
.RS 4
Files will be decoded until the buffer contains this much bytes allowing playback to start smoothly without lags\&.
.sp
Set to 0 to disable pre\-buffering\&.
.sp
Default:
\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 would grow beyond this limit when a file is transcoded, old entries will be deleted to keep the cache within the size limit\&.
.sp
Default:
\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 would fall below
\fISIZE\fR
when a file is transcoded, old entries will be deleted to keep the diskspace within the limit\&.
.sp
Default:
\fB0 (no minimum space)\fR
.RE
.PP
\fB\-\-cachepath\fR=DIR, \fB\-o cachepath\fR=DIR
.RS 4
Sets the disk cache directory to
\fIDIR\fR\&. Will be created if not existing\&. The user running FFmpegfs must have write access to the location\&.
.sp
.RE
.PP
\fB\-\-disable_cache\fR, \-o \fBdisable_cache\fR
.RS 4
Disable the cache functionality completely\&.
.sp
Default:
\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 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 always one will do the maintenance\&.
.sp
Default:
\fB1 hour\fR
.RE
.PP
\fB\-\-prune_cache\fR
.RS 4
Prune cache immediately according to the above settings at application start up\&.
.RE
.PP
\fB\-\-clear_cache\fR, \fB\-o clear_cache\fR
.RS 4
Clear cache on start up\&. All previously transcoded files will be deleted\&.
.sp
\fBTIME\fR
can be defined as\&... * Seconds: # * Minutes: #m * Hours: #h * Days: #d * Weeks: #w
.sp
\fBSIZE\fR
can be defined as\&... * In bytes: # or #B * In KBytes: #K or #KB * In MBytes: #M or #MB * In GBytes: #G or #GB * In TBytes: #T or #TB
.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 number of CPU cores\&. Should be left at default\&.
.sp
Default:
\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 yet creating a valid file\&. When this option is set, transcoding will stop with an error\&.
.sp
Default:
\fBIgnore errors\fR
.RE
.PP
\fB\-\-min_dvd_chapter_duration\fR=SECONDS, \fB\-o min_dvd_chapter_duration\fR=SECONDS
.RS 4
Ignores DVD chapters shorter than SECONDS\&. Set to 0 to disable\&. This avoids transcoding errors for DVD chapters too short to detect its streams\&.
.sp
Default:
\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 simply when the file is opened\&. Setting \-\-win_smb_fix=1 will ignore these attempts (not decode the file up to this point)\&.
.sp
Default:
\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 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 program runs\&. It implies
\fB\-f\fR\&.
.RE
.PP
\fB\-f\fR
.RS 4
Run in 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: list on the system available codecs\&.
.RE
.PP
\fB\-s\fR
.RS 4
Force single\-threaded operation\&.
.RE
.SH "USAGE"
.sp
Mount your filesystem like this:
.sp
.if n \{\
.RS 4
.\}
.nf
ffmpegfs [\-\-audiobitrate bitrate] [\-\-videobitrate bitrate] musicdir mountpoint [\-o fuse_options]
.fi
.if n \{\
.RE
.\}
.sp
For example,
.sp
.if n \{\
.RS 4
.\}
.nf
ffmpegfs \-\-audiobitrate 256K \-videobitrate 2000000 /mnt/music /mnt/ffmpegfs \-o allow_other,ro
.fi
.if n \{\
.RE
.\}
.sp
In recent versions of FUSE and FFmpegfs, the same can be achieved with the following entry in /etc/fstab:
.sp
.if n \{\
.RS 4
.\}
.nf
ffmpegfs#/mnt/music /mnt/ffmpegfs fuse allow_other,ro,audiobitrate=256K,videobitrate=2000000 0 0
.fi
.if n \{\
.RE
.\}
.sp
Another (more modern) form of this command:
.sp
.if n \{\
.RS 4
.\}
.nf
/mnt/music /mnt/ffmpegfs fuse\&.ffmpegfs allow_other,ro,audiobitrate=256K,videobitrate=2000000 0 0
.fi
.if n \{\
.RE
.\}
.sp
At this point files like /mnt/music/{empty}*\&.flac and /mnt/music/{empty}*\&.ogg will show up as /mnt/ffmpegfs/{empty}*\&.mp4\&.
.sp
Note that the "allow_other" option by default can only be used by root\&. You must either run FFmpegfs as root or better add a "user_allow_other" key to /etc/fuse\&.conf\&.
.sp
"allow_other" is required to permit any user access to the mount, by default this is only possible for the user who launched FFmpegfs\&.
.SH "HOW IT WORKS"
.sp
When a file is opened, the decoder and encoder are initialised and the file metadata is read\&. At this time the final filesize can be determined approximately\&. This works well for MP3, AIFF or WAV output files, but only fair to good for MP4 or WebM because the actual size heavily depends on the content encoded\&.
.sp
As the file is read, it is transcoded into an internal per\-file buffer\&. This buffer continues to grow while the file is being read until the whole file is transcoded in memory\&. Once decoded the file is kept in a disk buffer and can be accessed very fast\&.
.sp
Transcoding is done in an extra thread, so if other processes should access the same file they will share the same transcoded data, saving CPU time\&. If all processes close the file before its end, transcoding will continue for some time\&. If the file is accessed again before timeout, transcoding will continue, if not it stops and the chunk created so far discarded to save disk space\&.
.sp
Seeking within a file will cause the file to be transcoded up to the seek point (if not already done)\&. This is not usually a problem since most programs will read a file from start to finish\&. Future enhancements may provide true random seeking (but if this is feasible is yet unclear due to restrictions to positioning inside compressed streams)\&.
.sp
MP3: ID3 version 2\&.4 and 1\&.1 tags are created from the comments in the source file\&. They are located at the start and end of the file respectively\&.
.sp
MP4: Same applies to meta atoms in MP4 containers\&.
.sp
MP3 target only: A special optimisation is made so that applications which scan for id3v1 tags do not have to wait for the whole file to be transcoded before reading the tag\&. This dramatically speeds up such applications\&.
.sp
WAV: A pro format WAV header will be created with estimates of the WAV file size\&. This header will be replaced when the file is finished\&. It does not seem necessary, though, as most modern players obviously ignore this information and play the file anyway\&.
.SH "ABOUT OUTPUT FORMATS"
.sp
A few words to the supported output formats\&. There is not much to say about the MP3 output as these are regular constant bitrate (CBR) MP3 files with no strings attached\&. They should play well in any modern player\&.
.sp
MP4 files are special, though, as regular MP4s are not quite suited for live streaming\&. Reason being that the start block of an MP4 contains a field with the size of the compressed data section\&. Suffice to say that this field cannot be filled in until the size is known, which means compression must be completed first, a file seek done to the beginning, and the size atom updated\&.
.sp
For a continuous live stream, that size will never be known\&. For our transcoded files one would have to wait for the whole file to be recoded to get that value\&. If that was not enough some important pieces of information are located at the end of the file, including meta tags with artist, album, etc\&. Also, there is only one big data block, a fact that hampers random seek inside the contents without having the complete data section\&.
.sp
Subsequently many applications will go to the end of an MP4 to read important information before going back to the head of the file and start playing\&. This will break the whole transcode\-on\-demand idea of FFmpegfs\&.
.sp
To get around the restriction several extensions have been developed, one of which is called "faststart" that relocates the aforementioned meta data from the end to the beginning of the MP4\&. Additionally, the size field can be left empty (0)\&. isml (smooth live streaming) is another extension\&.
.sp
For direct to stream transcoding several new features in MP4 need to be active (ISMV, faststart, separate_moof/empty_moov to name them) which are not implemented in older versions of FFmpeg (or if available, not working properly)\&.
.sp
By default faststart files will be created with an empty size field so that the file can be started to be written out at once instead of encoding it as a whole before this is possible\&. Encoding it completely would mean it would take some time before playback can start\&.
.sp
The data part is divided into chunks of about 1 second length, each with its own header, thus it is possible to fill in the size fields early enough\&.
.sp
As a draw back not all players support the format, or play it with strange side effects\&. VLC plays the file, but updates the time display every few seconds only\&. When streamed over HTML5 video tags, sometimes there will be no total time shown, but that is OK, as long as the file plays\&. Playback cannot be positioned past the current playback position, only backwards\&.
.sp
But that\(cqs the price of starting playback fast\&.
.SH "DEVELOPMENT"
.sp
FFmpegfs uses Git for revision control\&. You can obtain the full repository with:
.sp
.if n \{\
.RS 4
.\}
.nf
git clone https://github\&.com/nschlia/ffmpegfs\&.git
.fi
.if n \{\
.RE
.\}
.sp
FFmpegfs is written in a little bit of C and mostly C++11\&. It uses the following libraries:
.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 "FUTURE PLANS"
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Create a windows version
.RE
.SH "FILES"
.sp
\fB/usr/local/bin/ffmpegfs\fR, \fB/etc/fstab\fR
.SH "AUTHORS"
.sp
This fork with FFmpeg support is maintained by Norbert Schlia since 2017\&.
.sp
Based on work by K\&. Henriksson (from 2008 to 2017) and the original author David Collett (from 2006 to 2008)\&.
.sp
Many thanks to them for the original work!
.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\-2022 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\-2022 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.9/COPYING 0000644 0001750 0001750 00000104515 14165523501 011145 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.9/test/ 0000755 0001750 0001750 00000000000 14203241472 011140 5 0000000 0000000 ffmpegfs-2.9/test/test_filenames_ts 0000755 0001750 0001750 00000000141 14170371244 014516 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filenames" ts
ffmpegfs-2.9/test/test_filenames_alac 0000755 0001750 0001750 00000000146 14170371244 014775 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filenames" alac m4a
ffmpegfs-2.9/test/test_audio 0000755 0001750 0001750 00000004142 14167053376 013164 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"
cp -v "${DIRNAME}/${TGTFILE}" /dev/null > /dev/null
RESULT="$(./fpcompare "${SRCDIR}/${SRCFILE}" "${DIRNAME}/${TGTFILE}")"
SIZE=$(stat -c %s "${DIRNAME}/${TGTFILE}")
echo "File : ${TGTFILE}"
echo "Result: ${RESULT} (expected ${EXPECTED})"
if [ $(echo "${RESULT} <= ${EXPECTED}" | bc) -eq 1 ]
then
echo "Pass"
else
echo "FAIL!"
exit 1
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.9/test/test_tags_mp4 0000755 0001750 0001750 00000000136 14170371244 013567 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" mp4 1
ffmpegfs-2.9/test/test_audio_wav 0000755 0001750 0001750 00000000136 14170371244 014027 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_audio" wav
ffmpegfs-2.9/test/test_filenames_hls 0000755 0001750 0001750 00000000351 14167045710 014663 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.9/test/test_video_hw_enc_vaapi 0000755 0001750 0001750 00000000146 14170371244 015663 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_video_hw" ENC vaapi
ffmpegfs-2.9/test/test_video_hw 0000755 0001750 0001750 00000000643 14165523501 013657 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 -v "${DIRNAME}/snowboard.mp4.${FILEEXT}" /dev/null || exit 77 # Make test suite report "SKIP"
ffmpegfs-2.9/test/test_filesize_video_ts 0000755 0001750 0001750 00000000146 14170371244 015560 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize"_video ts
ffmpegfs-2.9/test/test_tags_alac 0000755 0001750 0001750 00000000135 14170371244 013766 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" alac
ffmpegfs-2.9/test/test_tags_ogg 0000755 0001750 0001750 00000000136 14170371244 013643 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" ogg
ffmpegfs-2.9/test/test_tags_prores 0000755 0001750 0001750 00000000141 14170371244 014375 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" prores 1
ffmpegfs-2.9/test/test_filesize_flac 0000755 0001750 0001750 00000000142 14170371244 014645 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" flac
ffmpegfs-2.9/test/test_tags_mp3 0000755 0001750 0001750 00000000135 14170371244 013565 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" mp3
ffmpegfs-2.9/test/test_filesize_mp3 0000755 0001750 0001750 00000000141 14170371244 014436 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" mp3
ffmpegfs-2.9/test/test_tags_wav 0000755 0001750 0001750 00000000135 14170371244 013663 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" wav
ffmpegfs-2.9/test/test_audio_webm 0000755 0001750 0001750 00000000137 14170371244 014165 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_audio" webm
ffmpegfs-2.9/test/test_filecount_hls 0000755 0001750 0001750 00000000346 14167047203 014713 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.9/test/test_filenames 0000755 0001750 0001750 00000001634 14165523501 014017 0000000 0000000 #!/bin/bash
ADDOPT=""
. "${BASH_SOURCE%/*}/funcs.sh" "$1"
ls -l "${DIRNAME}"
# Use -w 1000 to ensure all in one line
if [ "${FILEEXT}" == "mp4" ]
then
[ "$(ls -w 1000 -m "${DIRNAME}")" = "copyright, 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, 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, dir.flac, frame_test_pal.mp4.${FILEEXT}, raven_d.ogg.${FILEEXT}, raven_e.${FILEEXT}, snowboard.mp4.${FILEEXT}" ]
else
[ "$(ls -w 1000 -m "${DIRNAME}")" = "copyright, 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.9/test/test_filesize_webm 0000755 0001750 0001750 00000000142 14170371244 014672 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" webm
ffmpegfs-2.9/test/test_filesize_mov 0000755 0001750 0001750 00000000140 14170371244 014537 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" mov
ffmpegfs-2.9/test/test_video_hw_dec_vaapi 0000755 0001750 0001750 00000000146 14170371244 015651 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_video_hw" DEC vaapi
ffmpegfs-2.9/test/Makefile.in 0000644 0001750 0001750 00000150745 14203237562 013146 0000000 0000000 # Makefile.in generated by automake 1.16.3 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2020 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)
@USE_LIBSWRESAMPLE_TRUE@am__append_1 = -DUSE_LIBSWRESAMPLE \
@USE_LIBSWRESAMPLE_TRUE@ $(libswresample_CFLAGS)
@USE_LIBSWRESAMPLE_TRUE@am__append_2 = $(libswresample_LIBS)
@USE_LIBSWRESAMPLE_TRUE@am__append_3 = $(libswresample_LIBS)
@USE_LIBAVRESAMPLE_TRUE@am__append_4 = -DUSE_LIBAVRESAMPLE \
@USE_LIBAVRESAMPLE_TRUE@ $(libavresample_CFLAGS)
@USE_LIBAVRESAMPLE_TRUE@am__append_5 = $(libavresample_LIBS)
@USE_LIBAVRESAMPLE_TRUE@am__append_6 = $(libavresample_LIBS)
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 =
@USE_LIBSWRESAMPLE_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1)
@USE_LIBAVRESAMPLE_TRUE@am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1)
fpcompare_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3)
am_metadata_OBJECTS = metadata.$(OBJEXT)
metadata_OBJECTS = $(am_metadata_OBJECTS)
metadata_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3)
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)`
ETAGS = etags
CTAGS = ctags
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@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
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@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
EXTRA_VERSION = @EXTRA_VERSION@
GRAPHVIZ = @GRAPHVIZ@
GREP = @GREP@
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@
libavresample_CFLAGS = @libavresample_CFLAGS@
libavresample_LIBS = @libavresample_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_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 $(wildcard tags/*)
# NOT IN RELEASE 1.0! Add later: test_picture
CLEANFILES = $(patsubst %,%.builtin.log,$(TESTS))
AM_CPPFLAGS = -Ofast $(am__append_1) $(am__append_4)
fpcompare_SOURCES = fpcompare.c
fpcompare_LDADD = -lchromaprint -lavcodec -lavformat -lavutil \
$(am__append_2) $(am__append_5)
metadata_SOURCES = metadata.c
metadata_LDADD = -lavcodec -lavformat -lavutil $(am__append_3) \
$(am__append_6)
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_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.9/test/test_filenames_opus 0000755 0001750 0001750 00000000142 14170371244 015057 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filenames" opus
ffmpegfs-2.9/test/test_filesize_video_webm 0000755 0001750 0001750 00000000147 14170371244 016065 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize"_video webm
ffmpegfs-2.9/test/test_filesize 0000755 0001750 0001750 00000004313 14177537674 013706 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 -v "${DIRNAME}/raven_e.flac.${FILEEXT}" /dev/null
cp -v "${DIRNAME}/raven_e.flac.${FILEEXT}" /dev/null
echo "Transcoding ${DIRNAME}/raven_d.ogg.${FILEEXT}"
cp -v "${DIRNAME}/raven_d.ogg.${FILEEXT}" /dev/null
cp -v "${DIRNAME}/raven_d.ogg.${FILEEXT}" /dev/null
if [ "${DESTTYPE}" == "mp4" ];
then
# mp4
check_filesize "raven_e.flac" 485435 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" 356664 489113
check_filesize "raven_d" 264179
elif [ "${DESTTYPE}" == "webm" ];
then
# webm
check_filesize "raven_e.flac" 429351 548761
check_filesize "raven_d.ogg" 262858 393946
elif [ "${DESTTYPE}" == "opus" ];
then
# opus
check_filesize "raven_e.flac" 421675 548761
check_filesize "raven_d.ogg" 255740 393946
elif [ "${DESTTYPE}" == "mov" ];
then
# mov
check_filesize "raven_e.flac" 486622 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" 1132052 1132062
else
echo "Internal error, unknown type ${DESTTYPE}. Fix script!"
exit 99
fi
ffmpegfs-2.9/test/test_frameset_png 0000755 0001750 0001750 00000000140 14170371244 014516 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_frameset" png
ffmpegfs-2.9/test/test_filesize_prores 0000755 0001750 0001750 00000000143 14170371244 015253 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" prores
ffmpegfs-2.9/test/test_filesize_ts 0000755 0001750 0001750 00000000140 14170371244 014364 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" ts
ffmpegfs-2.9/test/test_tags_ts 0000755 0001750 0001750 00000000136 14170371244 013515 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" ts 1
ffmpegfs-2.9/test/test_filenames_prores 0000755 0001750 0001750 00000000150 14170371244 015402 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filenames" prores mov
ffmpegfs-2.9/test/funcs.sh 0000755 0001750 0001750 00000004010 14170357731 012541 0000000 0000000 PATH=$PWD/../src:$PATH
export LC_ALL=C
if [ ! -s "$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}"
# Arrividerci
exit ${EXIT}
}
ffmpegfserr () {
echo "***TEST FAILED***"
echo "Return code: ${EXITCODE}"
exit ${EXITCODE}
}
check_filesize() {
MIN="$2"
MAX="$3"
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
echo "File: ${FILE}"
if [ ${MIN} -eq ${MAX} ]
then
echo "Size: ${SIZE} (expected ${MIN})"
else
echo "Size: ${SIZE} (expected ${MIN}...${MAX})"
fi
if [ ${SIZE} -ge ${MIN} -a ${SIZE} -le ${MAX} ]
then
echo "Pass"
else
echo "FAIL!"
exit 1
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)"
#--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.9/test/test_filesize_ogg 0000755 0001750 0001750 00000000142 14170371244 014514 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" ogg
ffmpegfs-2.9/test/test_filesize_video_mp4 0000755 0001750 0001750 00000000146 14170371244 015632 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize"_video mp4
ffmpegfs-2.9/test/test_audio_prores 0000755 0001750 0001750 00000000140 14170371244 014537 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_audio" prores
ffmpegfs-2.9/test/test_video_hw_dec_mmal 0000755 0001750 0001750 00000000145 14170371244 015476 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_video_hw" DEC mmal
ffmpegfs-2.9/test/test_filesize_video_mov 0000755 0001750 0001750 00000000146 14170371244 015733 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize"_video mov
ffmpegfs-2.9/test/test_filenames_webm 0000755 0001750 0001750 00000000143 14170371244 015024 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filenames" webm
ffmpegfs-2.9/test/test_filenames_flac 0000755 0001750 0001750 00000000143 14170371244 014777 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filenames" flac
ffmpegfs-2.9/test/test_audio_mp4 0000755 0001750 0001750 00000000136 14170371244 013732 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_audio" mp4
ffmpegfs-2.9/test/test_filesize_video 0000755 0001750 0001750 00000002401 14165523501 015045 0000000 0000000 #!/bin/bash
ADDOPT=""
. "${BASH_SOURCE%/*}/funcs.sh" "$1"
check_filesize() {
FILE="$1.${FILEEXT}"
MIN="$2"
MAX="$3"
if [ -z ${MAX} ]
then
MAX=${MIN}
fi
SIZE=$(stat -c %s "${DIRNAME}/${FILE}")
echo "File: ${FILE}"
if [ ${MIN} -eq ${MAX} ]
then
echo "Size: ${SIZE} (expected ${MIN})"
else
echo "Size: ${SIZE} (expected ${MIN}...${MAX})"
fi
if [ ${SIZE} -ge ${MIN} -a ${SIZE} -le ${MAX} ]
then
echo "Pass"
else
echo "FAIL!"
exit 1
fi
}
# Ensure log contains file sizes, predicted and actual
cp "${DIRNAME}/snowboard.mp4.${FILEEXT}" /dev/null
cp "${DIRNAME}/snowboard.mp4.${FILEEXT}" /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.9/test/test_frameset_bmp 0000755 0001750 0001750 00000000140 14170371244 014510 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_frameset" bmp
ffmpegfs-2.9/test/test_tags_flac 0000755 0001750 0001750 00000000136 14170371244 013774 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" flac
ffmpegfs-2.9/test/test_video_hw_enc_omx 0000755 0001750 0001750 00000000144 14170371244 015364 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_video_hw" ENC omx
ffmpegfs-2.9/test/test_audio_opus 0000755 0001750 0001750 00000000136 14170371244 014220 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_audio" opus
ffmpegfs-2.9/test/test_filesize_aiff 0000755 0001750 0001750 00000000141 14170371244 014644 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" aiff
ffmpegfs-2.9/test/test_filenames_wav 0000755 0001750 0001750 00000000142 14170371244 014666 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filenames" wav
ffmpegfs-2.9/test/test_filesize_wav 0000755 0001750 0001750 00000000141 14170371244 014534 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" wav
ffmpegfs-2.9/test/test_audio_mp3 0000755 0001750 0001750 00000000136 14170371244 013731 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_audio" mp3
ffmpegfs-2.9/test/Makefile.am 0000644 0001750 0001750 00000004133 14170357731 013126 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_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
EXTRA_DIST += $(wildcard tags/*)
# NOT IN RELEASE 1.0! Add later: test_picture
CLEANFILES = $(patsubst %,%.builtin.log,$(TESTS))
AM_CPPFLAGS=-Ofast
check_PROGRAMS = fpcompare metadata
fpcompare_SOURCES = fpcompare.c
fpcompare_LDADD = -lchromaprint -lavcodec -lavformat -lavutil
metadata_SOURCES = metadata.c
metadata_LDADD = -lavcodec -lavformat -lavutil
if USE_LIBSWRESAMPLE
AM_CPPFLAGS += -DUSE_LIBSWRESAMPLE
AM_CPPFLAGS += $(libswresample_CFLAGS)
fpcompare_LDADD += $(libswresample_LIBS)
metadata_LDADD += $(libswresample_LIBS)
endif
if USE_LIBAVRESAMPLE
AM_CPPFLAGS += -DUSE_LIBAVRESAMPLE
AM_CPPFLAGS += $(libavresample_CFLAGS)
fpcompare_LDADD += $(libavresample_LIBS)
metadata_LDADD += $(libavresample_LIBS)
endif
ffmpegfs-2.9/test/test_tags_webm 0000755 0001750 0001750 00000000140 14170371244 014014 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" webm 1
ffmpegfs-2.9/test/test_tags_mov 0000755 0001750 0001750 00000000136 14170371244 013670 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" mov 1
ffmpegfs-2.9/test/test_filesize_mp4 0000755 0001750 0001750 00000000141 14170371244 014437 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" mp4
ffmpegfs-2.9/test/fpcompare.c 0000644 0001750 0001750 00000037212 14166532335 013216 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
#ifdef USE_LIBSWRESAMPLE
#include
#elif USE_LIBAVRESAMPLE
#warning "Falling back to libavresample which is deprecated."
#include
#else
#error "Must have either libavresample or libswresample!"
#endif
// For LIBAVFILTER_VERSION_INT
#include
#include
#define LAVC_NEW_PACKET_INTERFACE (LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(57, 37, 0))
#define LAVF_DEP_AVSTREAM_CODEC (LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(57, 33, 0))
#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;
const AVCodec *codec = NULL;
AVStream *stream = NULL;
AVFrame *frame = NULL;
#ifdef USE_LIBSWRESAMPLE
SwrContext *swr_ctx = NULL;
#else // USE_LIBSAVRESAMPLE
AVAudioResampleContext *avresample_ctx = NULL;
#endif
#if LAVF_DEP_AVSTREAM_CODEC
int max_dst_nb_samples = 0;
uint8_t *dst_data = NULL ;
AVPacket packet;
int16_t* samples;
#else
int got_frame, consumed;
int max_dst_nb_samples = 0, dst_linsize = 0;
uint8_t *dst_data[1] = { NULL };
uint8_t **data;
AVPacket packet;
#endif
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];
#if LAVF_DEP_AVSTREAM_CODEC
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;
}
#else
codec_ctx = stream->codec;
#endif
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 (codec_ctx->channels <= 0) {
fprintf(stderr, "ERROR: no channels found in the audio stream\n");
goto done;
}
if (codec_ctx->sample_fmt != AV_SAMPLE_FMT_S16) {
#ifdef USE_LIBSWRESAMPLE
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;
}
if (swr_init(swr_ctx) < 0) {
fprintf(stderr, "ERROR: couldn't initialize the audio resampler\n");
goto done;
}
#else // USE_LIBSAVRESAMPLE
avresample_ctx = avresample_alloc_context();
if (!avresample_ctx) {
fprintf(stderr, "ERROR: couldn't allocate audio resampler\n");
goto done;
}
av_opt_set_int(avresample_ctx, "in_channel_layout", (int)codec_ctx->channel_layout, 0);
av_opt_set_int(avresample_ctx, "out_channel_layout", (int)codec_ctx->channel_layout, 0);
av_opt_set_int(avresample_ctx, "in_sample_rate", codec_ctx->sample_rate, 0);
av_opt_set_int(avresample_ctx, "out_sample_rate", codec_ctx->sample_rate, 0);
av_opt_set_int(avresample_ctx, "in_sample_fmt", codec_ctx->sample_fmt, 0);
av_opt_set_int(avresample_ctx, "out_sample_fmt", AV_SAMPLE_FMT_S16, 0);
if (avresample_open(avresample_ctx) < 0) {
fprintf(stderr, "ERROR: couldn't initialize the audio resampler\n");
goto done;
}
#endif
}
*duration = (int)(stream->time_base.num * stream->duration / stream->time_base.den);
remaining = max_length * codec_ctx->channels * codec_ctx->sample_rate;
chromaprint_start(chromaprint_ctx, codec_ctx->sample_rate, codec_ctx->channels);
//#if LAVF_DEP_AVSTREAM_CODEC
frame = av_frame_alloc();
//#else
// frame = avcodec_alloc_frame();
//#endif
while (1) {
if (av_read_frame(format_ctx, &packet) < 0) {
break;
}
if (packet.stream_index == stream_index) {
#if LAVC_NEW_PACKET_INTERFACE
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;
}
#ifdef USE_LIBSWRESAMPLE
if (swr_ctx) {
#else // USE_LIBSAVRESAMPLE
if (avresample_ctx) {
#endif
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,
codec_ctx->channels, max_dst_nb_samples,
AV_SAMPLE_FMT_S16, 0) < 0) {
fprintf(stderr, "ERROR: couldn't allocate audio converter buffer\n");
goto done;
}
}
#ifdef USE_LIBSWRESAMPLE
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;
}
#else // USE_LIBSAVRESAMPLE
if (avresample_convert(avresample_ctx, &dst_data, 0, frame->nb_samples, (uint8_t**)frame->data, 0, frame->nb_samples) < 0) {
fprintf(stderr, "ERROR: couldn't convert the audio\n");
goto done;
}
#endif
samples = (int16_t*)dst_data;
} else {
samples = (int16_t*)frame->data[0];
}
length = MIN(remaining, frame->nb_samples * codec_ctx->channels);
if (!chromaprint_feed(chromaprint_ctx, samples, length)) {
goto done;
}
if (max_length) {
remaining -= length;
if (remaining <= 0) {
goto finish;
}
}
}
#else
//avcodec_get_frame_defaults(frame);
got_frame = 0;
consumed = avcodec_decode_audio4(codec_ctx, frame, &got_frame, &packet);
if (consumed < 0) {
fprintf(stderr, "WARNING: error decoding audio\n");
continue;
}
if (got_frame) {
data = frame->data;
#ifdef USE_LIBSWRESAMPLE
if (swr_ctx) {
if (frame->nb_samples > max_dst_nb_samples) {
av_freep(&dst_data[0]);
if (av_samples_alloc(dst_data, &dst_linsize, codec_ctx->channels, frame->nb_samples, AV_SAMPLE_FMT_S16, 1) < 0) {
fprintf(stderr, "ERROR: couldn't allocate audio converter buffer\n");
goto done;
}
max_dst_nb_samples = frame->nb_samples;
}
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;
}
data = dst_data;
}
#else // USE_LIBSAVRESAMPLE
if (avresample_ctx) {
if (frame->nb_samples > max_dst_nb_samples) {
av_freep(&dst_data[0]);
if (av_samples_alloc(dst_data, &dst_linsize, codec_ctx->channels, frame->nb_samples, AV_SAMPLE_FMT_S16, 1) < 0) {
fprintf(stderr, "ERROR: couldn't allocate audio converter buffer\n");
goto done;
}
max_dst_nb_samples = frame->nb_samples;
}
if (avresample_convert(avresample_ctx, dst_data, 0, frame->nb_samples, (const uint8_t **)frame->data, 0, frame->nb_samples) < 0) {
fprintf(stderr, "ERROR: couldn't convert the audio\n");
goto done;
}
data = dst_data;
}
#endif
length = MIN(remaining, frame->nb_samples * codec_ctx->channels);
if (!chromaprint_feed(chromaprint_ctx, data[0], length)) {
goto done;
}
if (max_length) {
remaining -= length;
if (remaining <= 0) {
goto finish;
}
}
}
#endif
}
#if LAVF_DEP_AVSTREAM_CODEC
av_packet_unref(&packet);
#else
av_free_packet(&packet);
#endif
}
finish:
if (!chromaprint_finish(chromaprint_ctx)) {
fprintf(stderr, "ERROR: fingerprint calculation failed\n");
goto done;
}
ok = 1;
done:
if (frame) {
//#if LAVF_DEP_AVSTREAM_CODEC
av_frame_unref(frame);
//#else
// avcodec_free_frame(&frame);
//#endif
}
if (dst_data) {
av_freep(&dst_data);
}
#ifdef USE_LIBSWRESAMPLE
if (swr_ctx) {
swr_free(&swr_ctx);
}
#else // USE_LIBSAVRESAMPLE
if (avresample_ctx) {
avresample_close(avresample_ctx);
avresample_free(&avresample_ctx);
}
#endif
if (codec_ctx_opened) {
avcodec_close(codec_ctx);
}
if (format_ctx) {
avformat_close_input(&format_ctx);
}
#if LAVF_DEP_AVSTREAM_CODEC
if (codec_ctx) {
avcodec_free_context(&codec_ctx);
}
#endif
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());
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]);
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.9/test/test_audio_ogg 0000755 0001750 0001750 00000000136 14170371244 014006 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_audio" ogg
ffmpegfs-2.9/test/test_audio_mov 0000755 0001750 0001750 00000000135 14170371244 014032 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_audio" mov
ffmpegfs-2.9/test/test_tags_opus 0000755 0001750 0001750 00000000135 14170371244 014054 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" opus
ffmpegfs-2.9/test/test_frameset 0000755 0001750 0001750 00000001262 14171233720 013655 0000000 0000000 #!/bin/bash
ADDOPT=""
. "${BASH_SOURCE%/*}/funcs.sh" "$1"
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
echo ">> Checking $i.${FILEEXT}"
cp -v "${DIRNAME}"/frame_test_pal.mp4/$i.${FILEEXT} /dev/null
done
echo "Access OK"
echo "Checking access with regular expression"
for i in 00020[4-7] 00000[4-7] 00010[4-7]
do
echo ">> Checking $i.*"
for FILE in "${DIRNAME}"/frame_test_pal.mp4/00020[4-7].*
do
cp -v $FILE /dev/null
done 2>/dev/null
done
echo "Access OK"
echo "Pass"
echo "OK"
ffmpegfs-2.9/test/test_tags 0000755 0001750 0001750 00000005152 14170373760 013017 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 "$1" /dev/null
outvar=`./metadata "$1" | fgrep = | sort -u | sed -r 's/^encoder=.*//I' | sed -r '/^vendor_id=.*$/Id'`
}
# Detect FFmpeg or Libav 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`
LIBAVVERSION=`./metadata -v | sed -n 's/^Libav[^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`
LIBAVVERSION=`./metadata -v | sed -n 's/^Libav \(.*\)$/\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
elif (( $(echo "${FFMPEGVERSION} > 3.2" | bc -l) )); then
echo "FFmpeg > 3.2.x"
VERSION=3.2+
else
echo "FFmpeg <= 3.2.x"
VERSION=3.2-
fi
elif [ ! -z "${LIBAVVERSION}" ];
then
echo "Libav version is ${LIBAVVERSION}"
# Using Libav, no known version differences
LIBRARY=libav
VERSION=
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.9/test/tags/ 0000755 0001750 0001750 00000000000 14203241472 012076 5 0000000 0000000 ffmpegfs-2.9/test/tags/ffmpeg4.2/ 0000755 0001750 0001750 00000000000 14165523501 013571 5 0000000 0000000 ffmpegfs-2.9/test/tags/ffmpeg4.2/raven_e.opus.tag 0000644 0001750 0001750 00000000071 14165523501 016610 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.2/raven_d.prores.tag 0000644 0001750 0001750 00000000200 14165523501 017125 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt iso6
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.2/raven_e.mp3.tag 0000644 0001750 0001750 00000000073 14165523501 016323 0000000 0000000 DURATION=29125011
artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.2/raven_d.ts.tag 0000644 0001750 0001750 00000000001 14165523501 016240 0000000 0000000
ffmpegfs-2.9/test/tags/ffmpeg4.2/raven_e.webm.tag 0000644 0001750 0001750 00000000050 14165523501 016551 0000000 0000000 ARTIST=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.2/snowboard.webm.tag 0000644 0001750 0001750 00000000477 14165523501 017145 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.9/test/tags/ffmpeg4.2/raven_d.wav.tag 0000644 0001750 0001750 00000000050 14165523501 016413 0000000 0000000 artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.2/raven_e.ogg.tag 0000644 0001750 0001750 00000000071 14165523501 016376 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.2/snowboard.prores.tag 0000644 0001750 0001750 00000000447 14165523501 017522 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.9/test/tags/ffmpeg4.2/raven_e.flac.tag 0000644 0001750 0001750 00000000071 14165523501 016527 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.2/snowboard.mp4.tag 0000644 0001750 0001750 00000000520 14165523501 016700 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.9/test/tags/ffmpeg4.2/raven_e.mp4.tag 0000644 0001750 0001750 00000000225 14165523501 016323 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.9/test/tags/ffmpeg4.2/raven_e.ts.tag 0000644 0001750 0001750 00000000001 14165523501 016241 0000000 0000000
ffmpegfs-2.9/test/tags/ffmpeg4.2/raven.ts.tag 0000644 0001750 0001750 00000000001 14165523501 015735 0000000 0000000
ffmpegfs-2.9/test/tags/ffmpeg4.2/raven_d.aiff.tag 0000644 0001750 0001750 00000000020 14165523501 016520 0000000 0000000 title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.2/raven_d.flac.tag 0000644 0001750 0001750 00000000071 14165523501 016526 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.2/raven_e.aiff.tag 0000644 0001750 0001750 00000000020 14165523501 016521 0000000 0000000 title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.2/raven_e.mov.tag 0000644 0001750 0001750 00000000200 14165523501 016415 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt iso6
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.2/raven_d.opus.tag 0000644 0001750 0001750 00000000071 14165523501 016607 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.2/raven_d.mp3.tag 0000644 0001750 0001750 00000000073 14165523501 016322 0000000 0000000 DURATION=24468753
artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.2/raven_d.webm.tag 0000644 0001750 0001750 00000000051 14165523501 016551 0000000 0000000 ARTIST=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.2/snowboard.ts.tag 0000644 0001750 0001750 00000000015 14165523501 016625 0000000 0000000 language=eng
ffmpegfs-2.9/test/tags/ffmpeg4.2/snowboard.mov.tag 0000644 0001750 0001750 00000000447 14165523501 017011 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.9/test/tags/ffmpeg4.2/raven_e.wav.tag 0000644 0001750 0001750 00000000050 14165523501 016414 0000000 0000000 artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.2/raven_e.prores.tag 0000644 0001750 0001750 00000000200 14165523501 017126 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt iso6
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.2/raven_d.mp4.tag 0000644 0001750 0001750 00000000225 14165523501 016322 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.9/test/tags/ffmpeg4.2/raven_d.alac.tag 0000644 0001750 0001750 00000000221 14165523501 016516 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.9/test/tags/ffmpeg4.2/raven_e.alac.tag 0000644 0001750 0001750 00000000221 14165523501 016517 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.9/test/tags/ffmpeg4.2/raven_d.mov.tag 0000644 0001750 0001750 00000000200 14165523501 016414 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt iso6
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.2/raven_d.ogg.tag 0000644 0001750 0001750 00000000071 14165523501 016375 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.2/obama.ts.tag 0000644 0001750 0001750 00000000001 14165523501 015701 0000000 0000000
ffmpegfs-2.9/test/tags/libav/ 0000755 0001750 0001750 00000000000 14165523501 013176 5 0000000 0000000 ffmpegfs-2.9/test/tags/libav/raven_e.opus.tag 0000644 0001750 0001750 00000000072 14165523501 016216 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.9/test/tags/libav/raven_d.prores.tag 0000644 0001750 0001750 00000000215 14165523501 016540 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.9/test/tags/libav/raven_e.mp3.tag 0000644 0001750 0001750 00000000073 14165523501 015730 0000000 0000000 DURATION=29125011
artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/libav/raven_d.ts.tag 0000644 0001750 0001750 00000000001 14165523501 015645 0000000 0000000
ffmpegfs-2.9/test/tags/libav/raven_e.webm.tag 0000644 0001750 0001750 00000000050 14165523501 016156 0000000 0000000 ARTIST=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/libav/snowboard.webm.tag 0000644 0001750 0001750 00000000477 14165523501 016552 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.9/test/tags/libav/raven_d.wav.tag 0000644 0001750 0001750 00000000050 14165523501 016020 0000000 0000000 artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/libav/raven_e.ogg.tag 0000644 0001750 0001750 00000000072 14165523501 016004 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.9/test/tags/libav/snowboard.prores.tag 0000644 0001750 0001750 00000000447 14165523501 017127 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.9/test/tags/libav/snowboard.mp4.tag 0000644 0001750 0001750 00000000514 14165523501 016310 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
language=eng
language=und
major_brand=isom
minor_version=512
season_number=0
title=Video Transcode Demo
ffmpegfs-2.9/test/tags/libav/raven_e.mp4.tag 0000644 0001750 0001750 00000000225 14165523501 015730 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.9/test/tags/libav/raven_e.ts.tag 0000644 0001750 0001750 00000000001 14165523501 015646 0000000 0000000
ffmpegfs-2.9/test/tags/libav/raven.ts.tag 0000644 0001750 0001750 00000000001 14165523501 015342 0000000 0000000
ffmpegfs-2.9/test/tags/libav/raven_d.aiff.tag 0000644 0001750 0001750 00000000020 14165523501 016125 0000000 0000000 title=The Raven
ffmpegfs-2.9/test/tags/libav/raven_e.aiff.tag 0000644 0001750 0001750 00000000020 14165523501 016126 0000000 0000000 title=The Raven
ffmpegfs-2.9/test/tags/libav/raven_e.mov.tag 0000644 0001750 0001750 00000000215 14165523501 016030 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.9/test/tags/libav/raven_d.opus.tag 0000644 0001750 0001750 00000000072 14165523501 016215 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.9/test/tags/libav/raven_d.mp3.tag 0000644 0001750 0001750 00000000073 14165523501 015727 0000000 0000000 DURATION=24468753
artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/libav/raven_d.webm.tag 0000644 0001750 0001750 00000000051 14165523501 016156 0000000 0000000 ARTIST=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/libav/snowboard.ts.tag 0000644 0001750 0001750 00000000015 14165523501 016232 0000000 0000000 language=eng
ffmpegfs-2.9/test/tags/libav/snowboard.mov.tag 0000644 0001750 0001750 00000000447 14165523501 016416 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.9/test/tags/libav/raven_e.wav.tag 0000644 0001750 0001750 00000000050 14165523501 016021 0000000 0000000 artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/libav/raven_e.prores.tag 0000644 0001750 0001750 00000000215 14165523501 016541 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.9/test/tags/libav/raven_d.mp4.tag 0000644 0001750 0001750 00000000225 14165523501 015727 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.9/test/tags/libav/raven_d.alac.tag 0000644 0001750 0001750 00000000221 14165523501 016123 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.9/test/tags/libav/raven_e.alac.tag 0000644 0001750 0001750 00000000221 14165523501 016124 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.9/test/tags/libav/raven_d.mov.tag 0000644 0001750 0001750 00000000215 14165523501 016027 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.9/test/tags/libav/raven_d.ogg.tag 0000644 0001750 0001750 00000000050 14165523501 015777 0000000 0000000 ARTIST=Edgar Allan Poe
TITLE=The Raven
ffmpegfs-2.9/test/tags/libav/obama.ts.tag 0000644 0001750 0001750 00000000001 14165523501 015306 0000000 0000000
ffmpegfs-2.9/test/tags/ffmpegN/ 0000755 0001750 0001750 00000000000 14165523501 013463 5 0000000 0000000 ffmpegfs-2.9/test/tags/ffmpegN/raven_e.opus.tag 0000644 0001750 0001750 00000000071 14165523501 016502 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpegN/raven_d.prores.tag 0000644 0001750 0001750 00000000174 14165523501 017031 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.9/test/tags/ffmpegN/raven_e.mp3.tag 0000644 0001750 0001750 00000000073 14165523501 016215 0000000 0000000 DURATION=29125011
artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpegN/raven_d.ts.tag 0000644 0001750 0001750 00000000001 14165523501 016132 0000000 0000000
ffmpegfs-2.9/test/tags/ffmpegN/raven_e.webm.tag 0000644 0001750 0001750 00000000050 14165523501 016443 0000000 0000000 ARTIST=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpegN/snowboard.webm.tag 0000644 0001750 0001750 00000000477 14165523501 017037 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.9/test/tags/ffmpegN/raven_d.wav.tag 0000644 0001750 0001750 00000000050 14165523501 016305 0000000 0000000 artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpegN/raven_e.ogg.tag 0000644 0001750 0001750 00000000071 14165523501 016270 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpegN/snowboard.prores.tag 0000644 0001750 0001750 00000000443 14165523501 017410 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.9/test/tags/ffmpegN/raven_e.flac.tag 0000644 0001750 0001750 00000000071 14165523501 016421 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpegN/snowboard.mp4.tag 0000644 0001750 0001750 00000000520 14165523501 016572 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.9/test/tags/ffmpegN/raven_e.mp4.tag 0000644 0001750 0001750 00000000225 14165523501 016215 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.9/test/tags/ffmpegN/raven_e.ts.tag 0000644 0001750 0001750 00000000001 14165523501 016133 0000000 0000000
ffmpegfs-2.9/test/tags/ffmpegN/raven.ts.tag 0000644 0001750 0001750 00000000001 14165523501 015627 0000000 0000000
ffmpegfs-2.9/test/tags/ffmpegN/raven_d.aiff.tag 0000644 0001750 0001750 00000000020 14165523501 016412 0000000 0000000 title=The Raven
ffmpegfs-2.9/test/tags/ffmpegN/raven_d.flac.tag 0000644 0001750 0001750 00000000071 14165523501 016420 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpegN/raven_e.aiff.tag 0000644 0001750 0001750 00000000020 14165523501 016413 0000000 0000000 title=The Raven
ffmpegfs-2.9/test/tags/ffmpegN/raven_e.mov.tag 0000644 0001750 0001750 00000000174 14165523501 016321 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.9/test/tags/ffmpegN/raven_d.opus.tag 0000644 0001750 0001750 00000000071 14165523501 016501 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpegN/raven_d.mp3.tag 0000644 0001750 0001750 00000000073 14165523501 016214 0000000 0000000 DURATION=24468753
artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpegN/raven_d.webm.tag 0000644 0001750 0001750 00000000051 14165523501 016443 0000000 0000000 ARTIST=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpegN/snowboard.ts.tag 0000644 0001750 0001750 00000000015 14165523501 016517 0000000 0000000 language=eng
ffmpegfs-2.9/test/tags/ffmpegN/snowboard.mov.tag 0000644 0001750 0001750 00000000443 14165523501 016677 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.9/test/tags/ffmpegN/raven_e.wav.tag 0000644 0001750 0001750 00000000050 14165523501 016306 0000000 0000000 artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpegN/raven_e.prores.tag 0000644 0001750 0001750 00000000174 14165523501 017032 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.9/test/tags/ffmpegN/raven_d.mp4.tag 0000644 0001750 0001750 00000000225 14165523501 016214 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.9/test/tags/ffmpegN/raven_d.alac.tag 0000644 0001750 0001750 00000000225 14165523501 016414 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.9/test/tags/ffmpegN/raven_e.alac.tag 0000644 0001750 0001750 00000000225 14165523501 016415 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.9/test/tags/ffmpegN/raven_d.mov.tag 0000644 0001750 0001750 00000000174 14165523501 016320 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.9/test/tags/ffmpegN/raven_d.ogg.tag 0000644 0001750 0001750 00000000071 14165523501 016267 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpegN/obama.ts.tag 0000644 0001750 0001750 00000000001 14165523501 015573 0000000 0000000
ffmpegfs-2.9/test/tags/ffmpeg3.2+/ 0000755 0001750 0001750 00000000000 14165523501 013643 5 0000000 0000000 ffmpegfs-2.9/test/tags/ffmpeg3.2+/raven_e.opus.tag 0000644 0001750 0001750 00000000072 14165523501 016663 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2+/raven_d.prores.tag 0000644 0001750 0001750 00000000215 14165523501 017205 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.9/test/tags/ffmpeg3.2+/raven_e.mp3.tag 0000644 0001750 0001750 00000000073 14165523501 016375 0000000 0000000 DURATION=29125011
artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2+/raven_d.ts.tag 0000644 0001750 0001750 00000000001 14165523501 016312 0000000 0000000
ffmpegfs-2.9/test/tags/ffmpeg3.2+/raven_e.webm.tag 0000644 0001750 0001750 00000000050 14165523501 016623 0000000 0000000 ARTIST=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2+/snowboard.webm.tag 0000644 0001750 0001750 00000000051 14165523501 017203 0000000 0000000
language=eng
title=Video Transcode Demo
ffmpegfs-2.9/test/tags/ffmpeg3.2+/raven_d.wav.tag 0000644 0001750 0001750 00000000050 14165523501 016465 0000000 0000000 artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2+/raven_e.ogg.tag 0000644 0001750 0001750 00000000072 14165523501 016451 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2+/snowboard.prores.tag 0000644 0001750 0001750 00000000414 14165523501 017566 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=DataHandler
language=eng
major_brand=qt
minor_version=512
title=Video Transcode Demo
ffmpegfs-2.9/test/tags/ffmpeg3.2+/raven_e.flac.tag 0000644 0001750 0001750 00000000071 14165523501 016601 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2+/snowboard.mp4.tag 0000644 0001750 0001750 00000000514 14165523501 016755 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
language=eng
language=und
major_brand=isom
minor_version=512
season_number=0
title=Video Transcode Demo
ffmpegfs-2.9/test/tags/ffmpeg3.2+/raven_e.mp4.tag 0000644 0001750 0001750 00000000225 14165523501 016375 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.9/test/tags/ffmpeg3.2+/raven_e.ts.tag 0000644 0001750 0001750 00000000001 14165523501 016313 0000000 0000000
ffmpegfs-2.9/test/tags/ffmpeg3.2+/raven.ts.tag 0000644 0001750 0001750 00000000001 14165523501 016007 0000000 0000000
ffmpegfs-2.9/test/tags/ffmpeg3.2+/raven_d.aiff.tag 0000644 0001750 0001750 00000000020 14165523501 016572 0000000 0000000 title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2+/raven_d.flac.tag 0000644 0001750 0001750 00000000071 14165523501 016600 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2+/raven_e.aiff.tag 0000644 0001750 0001750 00000000020 14165523501 016573 0000000 0000000 title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2+/raven_e.mov.tag 0000644 0001750 0001750 00000000215 14165523501 016475 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.9/test/tags/ffmpeg3.2+/raven_d.opus.tag 0000644 0001750 0001750 00000000072 14165523501 016662 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2+/raven_d.mp3.tag 0000644 0001750 0001750 00000000073 14165523501 016374 0000000 0000000 DURATION=24468753
artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2+/raven_d.webm.tag 0000644 0001750 0001750 00000000051 14165523501 016623 0000000 0000000 ARTIST=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2+/snowboard.ts.tag 0000644 0001750 0001750 00000000015 14165523501 016677 0000000 0000000 language=eng
ffmpegfs-2.9/test/tags/ffmpeg3.2+/snowboard.mov.tag 0000644 0001750 0001750 00000000414 14165523501 017055 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=DataHandler
language=eng
major_brand=qt
minor_version=512
title=Video Transcode Demo
ffmpegfs-2.9/test/tags/ffmpeg3.2+/raven_e.wav.tag 0000644 0001750 0001750 00000000050 14165523501 016466 0000000 0000000 artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2+/raven_e.prores.tag 0000644 0001750 0001750 00000000215 14165523501 017206 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.9/test/tags/ffmpeg3.2+/raven_d.mp4.tag 0000644 0001750 0001750 00000000225 14165523501 016374 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.9/test/tags/ffmpeg3.2+/raven_d.alac.tag 0000644 0001750 0001750 00000000221 14165523501 016570 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.9/test/tags/ffmpeg3.2+/raven_e.alac.tag 0000644 0001750 0001750 00000000221 14165523501 016571 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.9/test/tags/ffmpeg3.2+/raven_d.mov.tag 0000644 0001750 0001750 00000000215 14165523501 016474 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.9/test/tags/ffmpeg3.2+/raven_d.ogg.tag 0000644 0001750 0001750 00000000050 14165523501 016444 0000000 0000000 ARTIST=Edgar Allan Poe
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2+/obama.ts.tag 0000644 0001750 0001750 00000000001 14165523501 015753 0000000 0000000
ffmpegfs-2.9/test/tags/ffmpeg3.2-/ 0000755 0001750 0001750 00000000000 14165523501 013645 5 0000000 0000000 ffmpegfs-2.9/test/tags/ffmpeg3.2-/raven_e.opus.tag 0000644 0001750 0001750 00000000072 14165523501 016665 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2-/raven_d.prores.tag 0000644 0001750 0001750 00000000214 14165523501 017206 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt iso6
handler_name=DataHandler
language=eng
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2-/raven_e.mp3.tag 0000644 0001750 0001750 00000000073 14165523501 016377 0000000 0000000 DURATION=29125011
artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2-/raven_d.ts.tag 0000644 0001750 0001750 00000000001 14165523501 016314 0000000 0000000
ffmpegfs-2.9/test/tags/ffmpeg3.2-/raven_e.webm.tag 0000644 0001750 0001750 00000000021 14165523501 016623 0000000 0000000
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2-/snowboard.webm.tag 0000644 0001750 0001750 00000000051 14165523501 017205 0000000 0000000
language=eng
title=Video Transcode Demo
ffmpegfs-2.9/test/tags/ffmpeg3.2-/raven_d.wav.tag 0000644 0001750 0001750 00000000050 14165523501 016467 0000000 0000000 artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2-/raven_e.ogg.tag 0000644 0001750 0001750 00000000072 14165523501 016453 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2-/snowboard.prores.tag 0000644 0001750 0001750 00000000414 14165523501 017570 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=DataHandler
language=eng
major_brand=qt
minor_version=512
title=Video Transcode Demo
ffmpegfs-2.9/test/tags/ffmpeg3.2-/raven_e.flac.tag 0000644 0001750 0001750 00000000071 14165523501 016603 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2-/snowboard.mp4.tag 0000644 0001750 0001750 00000000514 14165523501 016757 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
language=eng
language=und
major_brand=isom
minor_version=512
season_number=0
title=Video Transcode Demo
ffmpegfs-2.9/test/tags/ffmpeg3.2-/raven_e.mp4.tag 0000644 0001750 0001750 00000000225 14165523501 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.9/test/tags/ffmpeg3.2-/raven_e.ts.tag 0000644 0001750 0001750 00000000001 14165523501 016315 0000000 0000000
ffmpegfs-2.9/test/tags/ffmpeg3.2-/raven.ts.tag 0000644 0001750 0001750 00000000001 14165523501 016011 0000000 0000000
ffmpegfs-2.9/test/tags/ffmpeg3.2-/raven_d.aiff.tag 0000644 0001750 0001750 00000000020 14165523501 016574 0000000 0000000 title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2-/raven_d.flac.tag 0000644 0001750 0001750 00000000071 14165523501 016602 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2-/raven_e.aiff.tag 0000644 0001750 0001750 00000000020 14165523501 016575 0000000 0000000 title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2-/raven_e.mov.tag 0000644 0001750 0001750 00000000214 14165523501 016476 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt iso6
handler_name=DataHandler
language=eng
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2-/raven_d.opus.tag 0000644 0001750 0001750 00000000072 14165523501 016664 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2-/raven_d.mp3.tag 0000644 0001750 0001750 00000000073 14165523501 016376 0000000 0000000 DURATION=24468753
artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2-/raven_d.webm.tag 0000644 0001750 0001750 00000000021 14165523501 016622 0000000 0000000
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2-/snowboard.ts.tag 0000644 0001750 0001750 00000000015 14165523501 016701 0000000 0000000 language=eng
ffmpegfs-2.9/test/tags/ffmpeg3.2-/snowboard.mov.tag 0000644 0001750 0001750 00000000414 14165523501 017057 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=DataHandler
language=eng
major_brand=qt
minor_version=512
title=Video Transcode Demo
ffmpegfs-2.9/test/tags/ffmpeg3.2-/raven_e.wav.tag 0000644 0001750 0001750 00000000050 14165523501 016470 0000000 0000000 artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2-/raven_e.prores.tag 0000644 0001750 0001750 00000000214 14165523501 017207 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt iso6
handler_name=DataHandler
language=eng
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2-/raven_d.mp4.tag 0000644 0001750 0001750 00000000225 14165523501 016376 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.9/test/tags/ffmpeg3.2-/raven_d.alac.tag 0000644 0001750 0001750 00000000221 14165523501 016572 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.9/test/tags/ffmpeg3.2-/raven_e.alac.tag 0000644 0001750 0001750 00000000221 14165523501 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.9/test/tags/ffmpeg3.2-/raven_d.mov.tag 0000644 0001750 0001750 00000000214 14165523501 016475 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt iso6
handler_name=DataHandler
language=eng
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2-/raven_d.ogg.tag 0000644 0001750 0001750 00000000050 14165523501 016446 0000000 0000000 ARTIST=Edgar Allan Poe
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg3.2-/obama.ts.tag 0000644 0001750 0001750 00000000001 14165523501 015755 0000000 0000000
ffmpegfs-2.9/test/tags/ffmpeg4.0/ 0000755 0001750 0001750 00000000000 14165523501 013567 5 0000000 0000000 ffmpegfs-2.9/test/tags/ffmpeg4.0/raven_e.opus.tag 0000644 0001750 0001750 00000000072 14165523501 016607 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.0/raven_d.prores.tag 0000644 0001750 0001750 00000000215 14165523501 017131 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.9/test/tags/ffmpeg4.0/raven_e.mp3.tag 0000644 0001750 0001750 00000000073 14165523501 016321 0000000 0000000 DURATION=29125011
artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.0/raven_d.ts.tag 0000644 0001750 0001750 00000000001 14165523501 016236 0000000 0000000
ffmpegfs-2.9/test/tags/ffmpeg4.0/raven_e.webm.tag 0000644 0001750 0001750 00000000050 14165523501 016547 0000000 0000000 ARTIST=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.0/snowboard.webm.tag 0000644 0001750 0001750 00000000477 14165523501 017143 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.9/test/tags/ffmpeg4.0/raven_d.wav.tag 0000644 0001750 0001750 00000000050 14165523501 016411 0000000 0000000 artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.0/raven_e.ogg.tag 0000644 0001750 0001750 00000000072 14165523501 016375 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.0/snowboard.prores.tag 0000644 0001750 0001750 00000000447 14165523501 017520 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.9/test/tags/ffmpeg4.0/raven_e.flac.tag 0000644 0001750 0001750 00000000071 14165523501 016525 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.0/snowboard.mp4.tag 0000644 0001750 0001750 00000000520 14165523501 016676 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.9/test/tags/ffmpeg4.0/raven_e.mp4.tag 0000644 0001750 0001750 00000000225 14165523501 016321 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.9/test/tags/ffmpeg4.0/raven_e.ts.tag 0000644 0001750 0001750 00000000001 14165523501 016237 0000000 0000000
ffmpegfs-2.9/test/tags/ffmpeg4.0/raven.ts.tag 0000644 0001750 0001750 00000000001 14165523501 015733 0000000 0000000
ffmpegfs-2.9/test/tags/ffmpeg4.0/raven_d.aiff.tag 0000644 0001750 0001750 00000000020 14165523501 016516 0000000 0000000 title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.0/raven_d.flac.tag 0000644 0001750 0001750 00000000071 14165523501 016524 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.0/raven_e.aiff.tag 0000644 0001750 0001750 00000000020 14165523501 016517 0000000 0000000 title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.0/raven_e.mov.tag 0000644 0001750 0001750 00000000215 14165523501 016421 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.9/test/tags/ffmpeg4.0/raven_d.opus.tag 0000644 0001750 0001750 00000000072 14165523501 016606 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.0/raven_d.mp3.tag 0000644 0001750 0001750 00000000073 14165523501 016320 0000000 0000000 DURATION=24468753
artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.0/raven_d.webm.tag 0000644 0001750 0001750 00000000051 14165523501 016547 0000000 0000000 ARTIST=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.0/snowboard.ts.tag 0000644 0001750 0001750 00000000015 14165523501 016623 0000000 0000000 language=eng
ffmpegfs-2.9/test/tags/ffmpeg4.0/snowboard.mov.tag 0000644 0001750 0001750 00000000447 14165523501 017007 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.9/test/tags/ffmpeg4.0/raven_e.wav.tag 0000644 0001750 0001750 00000000050 14165523501 016412 0000000 0000000 artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.0/raven_e.prores.tag 0000644 0001750 0001750 00000000215 14165523501 017132 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.9/test/tags/ffmpeg4.0/raven_d.mp4.tag 0000644 0001750 0001750 00000000225 14165523501 016320 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.9/test/tags/ffmpeg4.0/raven_d.alac.tag 0000644 0001750 0001750 00000000221 14165523501 016514 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.9/test/tags/ffmpeg4.0/raven_e.alac.tag 0000644 0001750 0001750 00000000221 14165523501 016515 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.9/test/tags/ffmpeg4.0/raven_d.mov.tag 0000644 0001750 0001750 00000000215 14165523501 016420 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.9/test/tags/ffmpeg4.0/raven_d.ogg.tag 0000644 0001750 0001750 00000000072 14165523501 016374 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.0/obama.ts.tag 0000644 0001750 0001750 00000000001 14165523501 015677 0000000 0000000
ffmpegfs-2.9/test/tags/ffmpeg4.3/ 0000755 0001750 0001750 00000000000 14165523501 013572 5 0000000 0000000 ffmpegfs-2.9/test/tags/ffmpeg4.3/raven_e.opus.tag 0000644 0001750 0001750 00000000071 14165523501 016611 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.3/raven_d.prores.tag 0000644 0001750 0001750 00000000174 14165523501 017140 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.3/raven_e.mp3.tag 0000644 0001750 0001750 00000000073 14165523501 016324 0000000 0000000 DURATION=29125011
artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.3/raven_d.ts.tag 0000644 0001750 0001750 00000000001 14165523501 016241 0000000 0000000
ffmpegfs-2.9/test/tags/ffmpeg4.3/raven_e.webm.tag 0000644 0001750 0001750 00000000050 14165523501 016552 0000000 0000000 ARTIST=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.3/snowboard.webm.tag 0000644 0001750 0001750 00000000477 14165523501 017146 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.9/test/tags/ffmpeg4.3/raven_d.wav.tag 0000644 0001750 0001750 00000000050 14165523501 016414 0000000 0000000 artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.3/raven_e.ogg.tag 0000644 0001750 0001750 00000000071 14165523501 016377 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.3/snowboard.prores.tag 0000644 0001750 0001750 00000000443 14165523501 017517 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.9/test/tags/ffmpeg4.3/raven_e.flac.tag 0000644 0001750 0001750 00000000071 14165523501 016530 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=29125011
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.3/snowboard.mp4.tag 0000644 0001750 0001750 00000000520 14165523501 016701 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.9/test/tags/ffmpeg4.3/raven_e.mp4.tag 0000644 0001750 0001750 00000000225 14165523501 016324 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.9/test/tags/ffmpeg4.3/raven_e.ts.tag 0000644 0001750 0001750 00000000001 14165523501 016242 0000000 0000000
ffmpegfs-2.9/test/tags/ffmpeg4.3/raven.ts.tag 0000644 0001750 0001750 00000000001 14165523501 015736 0000000 0000000
ffmpegfs-2.9/test/tags/ffmpeg4.3/raven_d.aiff.tag 0000644 0001750 0001750 00000000020 14165523501 016521 0000000 0000000 title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.3/raven_d.flac.tag 0000644 0001750 0001750 00000000071 14165523501 016527 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.3/raven_e.aiff.tag 0000644 0001750 0001750 00000000020 14165523501 016522 0000000 0000000 title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.3/raven_e.mov.tag 0000644 0001750 0001750 00000000174 14165523501 016430 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.3/raven_d.opus.tag 0000644 0001750 0001750 00000000071 14165523501 016610 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.3/raven_d.mp3.tag 0000644 0001750 0001750 00000000073 14165523501 016323 0000000 0000000 DURATION=24468753
artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.3/raven_d.webm.tag 0000644 0001750 0001750 00000000051 14165523501 016552 0000000 0000000 ARTIST=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.3/snowboard.ts.tag 0000644 0001750 0001750 00000000015 14165523501 016626 0000000 0000000 language=eng
ffmpegfs-2.9/test/tags/ffmpeg4.3/snowboard.mov.tag 0000644 0001750 0001750 00000000443 14165523501 017006 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.9/test/tags/ffmpeg4.3/raven_e.wav.tag 0000644 0001750 0001750 00000000050 14165523501 016415 0000000 0000000 artist=Edgar Allan Poe
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.3/raven_e.prores.tag 0000644 0001750 0001750 00000000174 14165523501 017141 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.3/raven_d.mp4.tag 0000644 0001750 0001750 00000000225 14165523501 016323 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.9/test/tags/ffmpeg4.3/raven_d.alac.tag 0000644 0001750 0001750 00000000225 14165523501 016523 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.9/test/tags/ffmpeg4.3/raven_e.alac.tag 0000644 0001750 0001750 00000000225 14165523501 016524 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.9/test/tags/ffmpeg4.3/raven_d.mov.tag 0000644 0001750 0001750 00000000174 14165523501 016427 0000000 0000000 artist=Edgar Allan Poe
compatible_brands=qt
handler_name=SoundHandler
major_brand=qt
minor_version=512
title=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.3/raven_d.ogg.tag 0000644 0001750 0001750 00000000071 14165523501 016376 0000000 0000000 ARTIST=Edgar Allan Poe
DURATION=24468753
TITLE=The Raven
ffmpegfs-2.9/test/tags/ffmpeg4.3/obama.ts.tag 0000644 0001750 0001750 00000000001 14165523501 015702 0000000 0000000
ffmpegfs-2.9/test/test_frameset_jpg 0000755 0001750 0001750 00000000140 14170371244 014512 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_frameset" jpg
ffmpegfs-2.9/test/test_filenames_mp3 0000755 0001750 0001750 00000000142 14170371244 014570 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filenames" mp3
ffmpegfs-2.9/test/test_audio_ts 0000755 0001750 0001750 00000000135 14170371244 013657 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_audio" ts
ffmpegfs-2.9/test/metadata.c 0000644 0001750 0001750 00000005212 14165523501 013007 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 *fmt_ctx = NULL;
int ret = avformat_open_input(&fmt_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(fmt_ctx, NULL);
if (ret < 0)
{
av_log(NULL, AV_LOG_ERROR, "Cannot find stream information\n");
return ret;
}
for (unsigned int streamno = 0; streamno < fmt_ctx->nb_streams; streamno++)
{
AVDictionaryEntry *tag = NULL;
while ((tag = av_dict_get(fmt_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(fmt_ctx->metadata, "", tag, AV_DICT_IGNORE_SUFFIX)) != NULL)
{
printf("%s=%s\n", tag->key, tag->value);
}
}
avformat_close_input(&fmt_ctx);
return 0;
}
ffmpegfs-2.9/test/test_filesize_alac 0000755 0001750 0001750 00000000141 14170371244 014637 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" alac
ffmpegfs-2.9/test/test_tags_aiff 0000755 0001750 0001750 00000000135 14170371244 013773 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_tags" aiff
ffmpegfs-2.9/test/test_filesize_opus 0000755 0001750 0001750 00000000141 14170371244 014725 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_filesize" opus
ffmpegfs-2.9/test/test_audio_alac 0000755 0001750 0001750 00000000136 14170371244 014132 0000000 0000000 #!/bin/bash
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${__dir}/test_audio" alac
ffmpegfs-2.9/test/srcdir/ 0000755 0001750 0001750 00000000000 14165523501 012431 5 0000000 0000000 ffmpegfs-2.9/test/srcdir/snowboard.mp4 0000644 0001750 0001750 00016463303 14165523501 015011 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