You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Filters/ffavf.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
<!-- automatically generated - do not edit, patch gpac/applications/gpac/gpac.c -->
2
2
3
-
# FFMPEG AVFilter
3
+
# FFmpeg AVFilter
4
4
5
5
Register name used to load filter: __ffavf__
6
6
This filter is not checked during graph resolution and needs explicit loading.
7
7
Filters of this class can connect to each-other.
8
8
9
9
This filter provides libavfilter raw audio and video tools.
10
-
See FFMPEG documentation (https://ffmpeg.org/documentation.html) for more details
10
+
See FFmpeg documentation (https://ffmpeg.org/documentation.html) for more details
11
11
To list all supported avfilters for your GPAC build, use `gpac -h ffavf:*`.
12
12
13
13
# Declaring a filter
@@ -18,7 +18,7 @@ Example
18
18
ffavf:f=showspectrum
19
19
```
20
20
21
-
Unlike other FFMPEG bindings in GPAC, this filter does not parse other libavfilter options, you must specify them directly in the filter chain, and the [f](#f) option will have to be escaped.
21
+
Unlike other FFmpeg bindings in GPAC, this filter does not parse other libavfilter options, you must specify them directly in the filter chain, and the [f](#f) option will have to be escaped.
22
22
Example
23
23
```
24
24
ffavf::f=showspectrum=size=320x320 or ffavf::f=showspectrum=size=320x320::pfmt=rgb
Copy file name to clipboardExpand all lines: docs/Filters/gpac_general.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ _FILTER_: a single filter declaration (e.g., `-i file`, `-o dump`, `inspect`, ..
7
7
_[LINK]_: a link instruction (e.g., `@`, `@2`, `@2#StreamType=Visual`, ...), see [gpac -h doc](filters_general#explicit-links-between-filters-link).
8
8
_[options]_: one or more option strings, each starting with a `-` character.
9
9
- an option using a single `-` indicates an option of gpac (see [gpac -hx](gpac_general#h)) or of libgpac (see [gpac -hx core](core_options))
10
-
- an option using `--` indicates a global filter or meta-filter (e.g. FFMPEG) option, e.g. `--block_size=1000` or `--profile=Baseline` (see [gpac -h doc](core_config#global-filter-options))
10
+
- an option using `--` indicates a global filter or meta-filter (e.g. FFmpeg) option, e.g. `--block_size=1000` or `--profile=Baseline` (see [gpac -h doc](core_config#global-filter-options))
11
11
12
12
Filter declaration order may impact the link resolver which will try linking in declaration order. Most of the time for simple graphs, this has no impact. However, for complex graphs with no link declarations, this can lead to different results.
13
13
Options do not require any specific order, and may be present anywhere, including between link statements or filter declarations.
Copy file name to clipboardExpand all lines: docs/Howtos/dash/DASH-intro.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ For more information on content playback:
17
17
18
18
19
19
## Content Generation
20
-
If you generate your content with an third-party application such as ffmpeg, make sure all your video qualities use closed GOP and have the same positions for their IDR frames.
20
+
If you generate your content with an third-party application such as ```ffmpeg```, make sure all your video qualities use closed GOP and have the same positions for their IDR frames.
21
21
When using GPAC, this is usually ensure by using the `fintra` option.
22
22
23
23
GPAC can be used to generate both static and live DASH/HLS content. For live cases, GPAC can expose the created files:
This will explicitly load the FFMPEG encoder to do the job.
33
+
This will explicitly load the FFmpeg encoder to do the job.
34
34
35
-
Note that for `ffenc`, since the filter provides all encoders supported by your FFMPEG build, you may have several choices within FFMPEG itself. To specify the true desired codec rather than the format, use the codec name directly:
35
+
Note that for `ffenc`, since the filter provides all encoders supported by your FFmpeg build, you may have several choices within FFmpeg itself. To specify the true desired codec rather than the format, use the codec name directly:
The above command will encode the video track in `source.mp4` into AVC|H264 and pass two options to ffmpeg encoder:
69
+
The above command will encode the video track in `source.mp4` into AVC|H264 and pass two options to FFmpeg encoder:
70
70
71
71
-`x264-params`, with value `no-mbtree:sync-lookahead=0`
72
72
-`profile`, with value `baseline`
@@ -82,11 +82,11 @@ To get a list of all options supported by a given encoder of the ffenc filter, f
82
82
The above command will encode the video track in `source.mp4` into AVC|H264, converting the source data to YUV 422 8bit planar.
83
83
84
84
__Discussion__
85
-
FFMPEG usually comes with several variations of the same coding type, with different pixel format supported. For example, AVC|H264 encoding can use both `libx264` and `libx264_rgb` encoders. If the source data is decoded into RGB by the decoder, the `ffenc` filter will match the `libx264_rgb` encoder as supporting RGB input and AVC format. The resulting file may be in a profile not supported by most devices !
85
+
FFmpeg usually comes with several variations of the same coding type, with different pixel format supported. For example, AVC|H264 encoding can use both `libx264` and `libx264_rgb` encoders. If the source data is decoded into RGB by the decoder, the `ffenc` filter will match the `libx264_rgb` encoder as supporting RGB input and AVC format. The resulting file may be in a profile not supported by most devices !
86
86
87
87
Setting the pixel format using [pfmt](ffenc) will make sure you encode in YUV format; alternatively, you can also enforce the encoder used by setting `ffc=libx264`.
88
88
89
-
_Note: The `pfmt` option is a generic option of all present and future encoders in GPAC, while `ffc` option is specific to FFMPEG encoder._
89
+
_Note: The `pfmt` option is a generic option of all present and future encoders in GPAC, while `ffc` option is specific to FFmpeg encoder._
90
90
91
91
92
92
## Changing Resolution
@@ -110,7 +110,7 @@ The above command will encode the `source.pcm` 48000 Hz stereo signed 16 bit PCM
110
110
111
111
```gpac -i source.mp4 enc:c=aac -o test.mp4```
112
112
113
-
The above command will encode the `source.mp4` audio tracks into AAC, even if the track is already in AAC format, and use FFMPEG`aac` encoder for the job. Note that the `ffc` option will only be used by the ffenc filter. If another filter provides AAC encoding and is used to encode the stream, the `ffc` option will likely be reported as not used by the filter session.
113
+
The above command will encode the `source.mp4` audio tracks into AAC, even if the track is already in AAC format, and use FFmpeg`aac` encoder for the job. Note that the `ffc` option will only be used by the ffenc filter. If another filter provides AAC encoding and is used to encode the stream, the `ffc` option will likely be reported as not used by the filter session.
Copy file name to clipboardExpand all lines: docs/Howtos/raw-formats.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ Prior to GPAC 2.0, the following command had to be used:
50
50
The link directive `@` is used to prevent the decoded YUV/RGB data PID to link against the `test.yuv` destination, by enforcing the destination to only accept PIDs coming from `ffsws`, as described in the [general documentation](filters_general#filter-linking-link). GPAC 2.0 and above simplified command line processing to avoid link directives in most cases.
51
51
52
52
53
-
The simplest way to resize a video in GPAC at the current time is to use the ffmpeg-based [rescaler](ffsws).
53
+
The simplest way to resize a video in GPAC at the current time is to use the FFmpeg-based [rescaler](ffsws).
54
54
55
55
The [writegen](writegen) filter used in the extraction process can be used to specify an extraction range using its [start](writegen#start) and [dur](writegen#dur) options:
0 commit comments