Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
2bbb4720
Commit
2bbb4720
authored
Dec 25, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FAQ: add an entry for common error when using -profile
parent
8b94df0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
faq.texi
doc/faq.texi
+20
-0
No files found.
doc/faq.texi
View file @
2bbb4720
...
...
@@ -266,6 +266,26 @@ avconv -f u16le -acodec pcm_s16le -ac 2 -ar 44100 -i all.a \
rm temp[12].[av] all.[av]
@end example
@section -profile option fails when encoding H.264 video with AAC audio
@command
{
avconv
}
prints an error like
@example
Undefined constant or missing '(' in 'baseline'
Unable to parse option value "baseline"
Error setting option profile to value baseline.
@end example
Short answer: write @option
{
-profile:v
}
instead of @option
{
-profile
}
.
Long answer: this happens because the @option
{
-profile
}
option can apply to both
video and audio. Specifically the AAC encoder also defines some profiles, none
of which are named @var
{
baseline
}
.
The solution is to apply the @option
{
-profile
}
option to the video stream only
by using @url
{
http://libav.org/avconv.html#Stream-specifiers-1, Stream specifiers
}
.
Appending @code
{
:v
}
to it will do exactly that.
@chapter Development
@section Are there examples illustrating how to use the Libav libraries, particularly libavcodec and libavformat?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment