| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Use a mix of av_opt_set() and av_opt_set_array() to demonstrate
different ways the options can be set.
|
| |
|
| |
|
|
|
|
| |
See previous commits for details.
|
|
|
|
|
|
| |
incorrectly
See previous commits for details.
|
|
|
|
|
|
| |
incorrectly
See previous commit for details.
|
|
|
|
|
|
|
| |
Found through code review related to CID1604493 Overflowed constant
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
|
|
|
| |
Fixes: CID1604548 Unused value
Sponsored-by: Sovereign Tech Fund
Reviewed-by: "Xiang, Haihao" <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
|
|
| |
Fixes: CID1463550 Logically dead code
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
|
|
|
| |
Fixees: CID1517023 Uninitialized pointer read
Sponsored-by: Sovereign Tech Fund
Reviewed-by: "Xiang, Haihao" <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
|
|
|
| |
Fixes: CID1517022 Logically dead code
Sponsored-by: Sovereign Tech Fund
Reviewed-by: "Xiang, Haihao" <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
|
|
|
| |
Fixes: CID1428858(1/2) Logically dead code
Sponsored-by: Sovereign Tech Fund
Reviewed-by: "[email protected]" <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
|
|
|
| |
Fixes: CID1428858(2/2) Logically dead code
Sponsored-by: Sovereign Tech Fund
Reviewed-by: "Xiang, Haihao" <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
There are lots of files that don't need it: The number of object
files that actually need it went down from 2011 to 884 here.
Keep it for external users in order to not cause breakages.
Also improve the other headers a bit while just at it.
Signed-off-by: Andreas Rheinhardt <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Depending on the filters used, the filtergraph may produce trailing data
after feeding it the last input frame. Update the example to include the
necessary loop for draining the filtergraph.
Reviewed-by: Stefano Sabatini <[email protected]>
Signed-off-by: Tobias Rapp <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Depending on the filters used, the filtergraph may produce trailing data
after feeding it the last input frame. Update the example to include the
necessary loop for draining the filtergraph.
Reviewed-by: Stefano Sabatini <[email protected]>
Signed-off-by: Tobias Rapp <[email protected]>
|
|
|
|
|
| |
Reviewed-by: Stefano Sabatini <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>
|
|
|
|
| |
Signed-off-by: clarkh <[email protected]>
|
|
|
|
|
|
| |
build with visual studio
Signed-off-by: clarkh <[email protected]>
|
|
|
|
| |
'encoder' can be audio or video encoder.
|
|
|
|
|
|
|
|
|
|
|
|
| |
av_image_copy() accepts const uint8_t* const * as source;
lots of user have uint8_t* const * and therefore either
cast (the majority) or copy the array of pointers.
This commit changes this by adding a static inline wrapper
for av_image_copy() that casts between the two types
so that we do not need to add casts everywhere else.
Signed-off-by: Andreas Rheinhardt <[email protected]>
|
|
|
|
| |
Signed-off-by: Zhao Zhili <[email protected]>
|
|
|
|
|
|
|
|
|
| |
The commits eac4324bfbe452f0292b48b2f1dc37b5052ec0be and
cd8211527efbb9cad19db1c0d033da0749836e43 renamed the examples, but the
targets were not updated. Hence, the builds are missing -lm.
Signed-off-by: Sebastian Ramacher <[email protected]>
Signed-off-by: James Almer <[email protected]>
|
|
|
|
| |
The timebases do not have to match.
|
|
|
|
|
|
|
|
| |
The contents of this field are not defined for decoding. Use
pkt_timebase, which is the timebase of demuxed packets.
Drop a tautological av_packet_rescale_ts() call, as the stream and
decoder timebases are the same.
|
|
|
|
| |
It is recommended for callers to set it, though not required.
|
|
|
|
|
|
|
|
| |
allocate the input samples buffer and pointers
Fixes -Wuse-after-free warnings and simplifies code.
Signed-off-by: James Almer <[email protected]>
|
|
|
|
| |
Signed-off-by: Wenbin Chen <[email protected]>
|
|
|
|
| |
The new name is consistent with the updated API.
|
|
|
|
|
|
|
|
| |
Their usefulness is questionable, very few decoders set them, and their type
should have been int64_t. A replacement field can be added later if a valid use
case is found.
Signed-off-by: Marton Balint <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Frame counters can overflow relatively easily (INT_MAX number of frames is
slightly more than 1 year for 60 fps content), so make sure we use 64 bit
values for them.
Also deprecate the old 32 bit frame_number attribute.
Signed-off-by: Marton Balint <[email protected]>
|
|
|
|
| |
Fix regression since b25d6290c67e193.
|
| |
|
|
|
|
| |
Use consistent format for the @file field and file description.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Follow general scheme VERB_OBJECT.
|
|
|
|
| |
Adopt general scheme VERB_OBJECT.
|
|
|
|
| |
Signed-off-by: Andreas Rheinhardt <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add qsv_transcode example which shows how to use qsv to do hardware
accelerated transcoding, also show how to dynamically set encoding
parameters.
examples:
Normal usage:
qsv_transcode input.mp4 h264_qsv output.mp4 "g 60"
Dynamic setting usage:
qsv_transcode input.mp4 hevc_qsv output.mp4 "g 60 asyne_depth 1"
100 "g 120"
This command initializes codec with gop_size 60 and change it to
120 after 100 frames
Signed-off-by: Wenbin Chen <[email protected]>
Signed-off-by: Haihao Xiang <[email protected]>
|
|
|
|
|
|
| |
Remove unnecessary ret and make the code more compact
Signed-off-by: Jun Zhao <[email protected]>
|