Since avctx->profile/level would be set in export_stream_params()
in set_sps(), identical codes here seem to be redundant.
Signed-off-by: Linjie Fu
---
libavcodec/hevc_parser.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavcodec/hevc_parser.c b/libavcodec/hevc_parser.c
in
Version bump would be added when upstreamed.
Signed-off-by: Linjie Fu
---
libavcodec/avcodec.h | 1 +
libavcodec/hevc_ps.c | 2 ++
libavcodec/profiles.c | 1 +
3 files changed, 4 insertions(+)
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index c91b2fd..32e4770 100644
--- a
.
[Request for comment].
Linjie Fu (7):
lavc/avcodec: Add FF_PROFILE_HEVC_SCC for screen content coding
lavc/hevc_ps: Add sps parse support for HEVC SCC extension syntax
lavc/hevc_ps: Add pps parse support for hevc scc extension
lavc/hevc_ps: Add slice parse support for HEVC SCC extension
lavc
Signed-off-by: Linjie Fu
---
libavcodec/hevcdec.c | 6 ++
libavcodec/hevcdec.h | 4
2 files changed, 10 insertions(+)
diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c
index e363e68..8194f18 100644
--- a/libavcodec/hevcdec.c
+++ b/libavcodec/hevcdec.c
@@ -800,6 +800,12 @@ static
According to 7.3.2.2.3 in T-REC-H.265-201911.
Signed-off-by: Linjie Fu
---
libavcodec/hevc.h| 3 +++
libavcodec/hevc_ps.c | 32 +---
libavcodec/hevc_ps.h | 15 +++
3 files changed, 47 insertions(+), 3 deletions(-)
diff --git a/libavcodec/hevc.h b
Screen Content Coding allows P slice in an IDR frame, and would add
frames themselves to the short term rps in RefList0 (8-10 in spec),
hence some previous restricts are not suitable any more.
[Request for comments].
Signed-off-by: Linjie Fu
---
libavcodec/hevc_refs.c | 21
uint8_t is big enough and keep consistent with the definition in
cbs_h265.h.
Signed-off-by: Linjie Fu
---
libavcodec/hevcdec.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/hevcdec.h b/libavcodec/hevcdec.h
index 1164af2..464eb7c 100644
--- a/libavcodec/hevcdec.h
Signed-off-by: Linjie Fu
---
libavcodec/hevc_ps.c | 53 ++--
libavcodec/hevc_ps.h | 17 +
2 files changed, 68 insertions(+), 2 deletions(-)
diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c
index 7610d3b..887b960 100644
According to 7.3.6.1, use_integer_mv_flag should be parsed if
motion_vector_resolution_control_idc equals to 2.
Otherwise wrong parameters in the subsequent parsing procedures
would be got.
Signed-off-by: Linjie Fu
---
libavcodec/hevcdec.c | 8
libavcodec/hevcdec.h | 1 +
2 files
On Fri, Jul 10, 2020 at 12:54 AM James Almer wrote:
>
> On 7/9/2020 1:51 PM, James Almer wrote:
> > On 7/9/2020 1:17 PM, Linjie Fu wrote:
> >> According to 7.3.2.2.3 in T-REC-H.265-201911.
> >>
> >> Signed-off-by: Linjie Fu
> >> ---
> >>
On Thu, Jun 18, 2020 at 1:36 PM Linjie Fu wrote:
>
> On Tue, May 12, 2020 at 9:49 PM Linjie Fu wrote:
> >
> > VA_ENC_SLICE_STRUCTURE_EQUAL_MULTI_ROWS is added to in the latest
> > libva (1.8.0) which matches the hardware behaviour:
> >
> > /** \brief Driver s
This enables VAAPI encoding support for 422 10-bit(Y210).
Signed-off-by: Linjie Fu
---
libavcodec/vaapi_encode.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c
index 1de43cc..6766641 100644
--- a/libavcodec/vaapi_encode.c
+++ b
On Fri, May 15, 2020 at 3:21 PM Fu, Linjie wrote:
>
> > From: ffmpeg-devel On Behalf Of
> > Mark Thompson
> > Sent: Sunday, March 8, 2020 00:15
> > To: ffmpeg-devel@ffmpeg.org
> > Subject: Re: [FFmpeg-devel] [PATCH 4/4] vaapi_encode_h265: Enable 4:2:2
> > support
> >
> > On 05/03/2020 02:49, Fu,
On Mon, Jul 20, 2020 at 10:32 PM Linjie Fu wrote:
>
> On Fri, May 15, 2020 at 3:21 PM Fu, Linjie wrote:
> >
> > > From: ffmpeg-devel On Behalf Of
> > > Mark Thompson
> > > Sent: Sunday, March 8, 2020 00:15
> > > To: ffmpeg-devel@ffmpeg.
On Fri, Aug 7, 2020 at 4:19 PM leozhang wrote:
>
> Allow dynamic resolution change, this is useful for real time video
> communication application.
>
> Use below commands to test it,
> ffmpeg -i reinit-large_420_8-to-small_420_8.h264 -noautoscale -c:v hevc_nvenc
> out.265 -loglevel verbose -y
>
On Sat, Aug 8, 2020 at 7:21 PM Timo Rothenpieler wrote:
>
> On 08.08.2020 02:48, Linjie Fu wrote:
> > On Fri, Aug 7, 2020 at 4:19 PM leozhang wrote:
> >>
> >> Allow dynamic resolution change, this is useful for real time video
> >> communication applicatio
After adding a copy pass through path inside MSDK, x2rgb10 is now
available as an output of VPP.
Command line for CSC:
ffmpeg -hwaccel qsv -v verbose -c:v hevc_qsv -i
p010.h265 -vf scale_qsv=format=x2rgb10,hwdownload,format=x2rgb10
-vframes 1 out.yuv
Signed-off-by: Linjie Fu
---
[1
On Mon, Aug 10, 2020 at 4:31 AM Mark Thompson wrote:
>
> On 09/08/2020 06:11, Linjie Fu wrote:
> > After adding a copy pass through path inside MSDK, x2rgb10 is now
> > available as an output of VPP.
> >
> > Command line for CSC:
> > ffmpeg -hwaccel qsv -v ve
On Thu, Aug 13, 2020 at 10:15 AM Alex Pokotilo wrote:
>
>
> ___
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-requ...@ffmpeg.org with
On Fri, Aug 14, 2020 at 5:51 AM Mark Thompson wrote:
>
> This precalculates all of the information we will need to define slice
> and tile positions at init time rather than rebuilding some of it with
> every slice. The control of tiles is generalised to match slices, so that
> arbitrary tile and
ld in time.
[1] https://github.com/intel/media-driver/issues/992
Signed-off-by: Linjie Fu
---
Request for comments:
The purpose is to allow decoder to skip frames until an IRAP has arrived,
however
not sure whether we already had this in ffmpeg, hence submit a patch and
request for comments.
Skip
r uses streamcopy
to get the same bitstreams. Spatial data missing in containers seems to
cause troubles for the players like VLC while detecting the projection type
for 360 video.
Set the default value of "strict" to "unofficial" for mp4.
Signed-off-by: Linjie Fu
---
I would pr
Hi,
On Fri, Aug 28, 2020 at 8:46 AM Andreas Rheinhardt
wrote:
>
> Linjie Fu:
> > Mp4 unofficial extension allows Stereo3D and Spherical Mapping data
> > in header if users explicitly set "-strict unofficial" or values less
> > than "-1".
> >
&
On Fri, Aug 28, 2020 at 11:18 AM Linjie Fu wrote:
>
> Hi,
>
> On Fri, Aug 28, 2020 at 8:46 AM Andreas Rheinhardt
> wrote:
> >
> > Linjie Fu:
> > > Mp4 unofficial extension allows Stereo3D and Spherical Mapping data
> > > in header if users expli
> > Subject: Re: [FFmpeg-devel] [PATCH] lavc/vaapi_encode_h265: fix
> > > max_transform_hierarchy_depth_inter/intra
> > >
> > > On 13/04/2020 05:32, Linjie Fu wrote:
> > > > Set the max_transform_hierarchy_depth_inter/intra to 2 by default
> > > > b
Fix the live stream encoding problem using qsv when the first frame
is not an IDR frame.
Add the extradata information when the IDR frame is missing in the
first GOP.
Fixes the bug reported in ticket #6418.
Signed-off-by: Linjie Fu
---
libavcodec/h264_mp4toannexb_bsf.c | 13 -
1
Fix the live stream encoding problem using qsv when the first frame
is not an IDR frame.
Add the extradata information when the IDR frame is missing in the
first GOP.
Fix the bug reported in ticket #6418.
[PATCH V2] Fix the coding style.
Signed-off-by: Linjie Fu
---
libavcodec
Andreas:
On Sun, Dec 5, 2021 at 7:34 PM Andreas Rheinhardt <
andreas.rheinha...@outlook.com> wrote:
> Linjie Fu:
> > From: Linjie Fu
> >
> > Container may support multiple sample descriptions in a single
> > bitstream, like multiple stsd in mov, which introdu
On Mon, Dec 6, 2021 at 7:37 PM Andreas Rheinhardt <
andreas.rheinha...@outlook.com> wrote:
> av_image_copy() expects an array of four pointers and linesizes
> according to its declaration; it currently only pointers that are
> actually in use (depending upon the pixel format), but this might
> cha
From: Linjie Fu
Since we prefer to use bicubic flags for scale filter to keep pace with
swscale.
Signed-off-by: Linjie Fu
---
tests/ref/fate/filter-scale2ref_keep_aspect | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/tests/ref/fate/filter-scale2ref_keep_aspect
From: Linjie Fu
Currently the default swscale flags for simple filter graph is bicubic,
however for complex filter graph it uses bilinear as decleared in scale
filter.
$ffmpeg -v verbose -i input.mp4 -vf format=yuv420p,scale=800x600 -an -f null -
[Parsed_scale_1 @ 0x7f86d2c160c0] w:1920 h:1080
From: Linjie Fu
Signed-off-by: Linjie Fu
---
libswscale/utils.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/libswscale/utils.c b/libswscale/utils.c
index 176fc6fd63..dea3b76eb3 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -1250,12 +1250,7 @@ av_cold
From: Linjie Fu
Pass sws_flags to scale filter through scale_sws_opts and correct the
dumped flags information.
CMD:
$ffmpeg -v verbose -i input.mp4 -sws_flags lanczos+bitexact+accurate_rnd \
-vf format=yuv420p,scale=800x600 -an -vframes 10 -f md5 -
Before:
[auto_scaler_0
Hi Andreas,
On Tue, Aug 3, 2021 at 12:50 AM Andreas Rheinhardt <
andreas.rheinha...@outlook.com> wrote:
> Linjie Fu:
> > From: Linjie Fu
> >
> > Since we prefer to use bicubic flags for scale filter to keep pace with
> > swscale.
> >
> > Signed-o
On Tue, Aug 3, 2021 at 12:48 AM Michael Niedermayer
wrote:
> On Sun, Aug 01, 2021 at 04:08:17PM +0200, Nicolas George wrote:
> > Linjie Fu (12021-08-01):
> > > Checked swscale, it uses bicubic by default.
> > > Scale filter sets the flags to bilinear if sws_sca
On Wed, Mar 24, 2021 at 2:15 PM Wang, Fei W wrote:
> On Mon, 2021-03-22 at 20:12 +0800, Linjie Fu wrote:
> > On Wed, Feb 24, 2021 at 9:44 AM Fei Wang
> > wrote:
> > >
> > > The option allow user to set diffenent scaling mode from
> > > auto/low-po
From: Linjie Fu
Currently the default swscale flags for simple filter graph is bicubic,
however for complex filter graph it uses bilinear as decleared in scale
filter.
$ffmpeg -v verbose -i input.mp4 -vf format=yuv420p,scale=800x600 -an -f null -
[Parsed_scale_1 @ 0x7f86d2c160c0] w:1920 h:1080
From: Linjie Fu
Scaler relys on "-sws_flags" option to pass the flags to swscale
and scale filter. Currently passing "sws_flags=xxx" as a filter
option to scaler leads to an incorrect option parsing.
Check and change the string to "flags=xxx" and dumpe
On Tue, Aug 3, 2021 at 1:02 AM Nicolas George wrote:
> Linjie Fu (12021-08-03):
> > From: Linjie Fu
> >
> > Signed-off-by: Linjie Fu
> > ---
> > libswscale/utils.c | 7 +--
> > 1 file changed, 1 insertion(+), 6 deletions(-)
>
> Nack. The origi
On Tue, Aug 3, 2021 at 1:07 AM Nicolas George wrote:
> Linjie Fu (12021-08-03):
> > From: Linjie Fu
> >
> > Pass sws_flags to scale filter through scale_sws_opts and correct the
> > dumped flags information.
> >
> > CMD:
> > $ffmpeg -v ver
Hi Andreas,On Wed, Aug 4, 2021 at 8:30 AM Andreas Rheinhardt <
andreas.rheinha...@outlook.com> wrote:
> Linjie Fu:
> > On Wed, Mar 24, 2021 at 2:15 PM Wang, Fei W
> wrote:
> >
> >> On Mon, 2021-03-22 at 20:12 +0800, Linjie Fu wrote:
> >>> On Wed,
On Wed, Aug 4, 2021 at 7:03 PM Nicolas George wrote:
> Linjie Fu (12021-08-04):
> > From: Linjie Fu
> >
> > Currently the default swscale flags for simple filter graph is bicubic,
> > however for complex filter graph it uses bilinear as decleared in scale
> > f
From: Linjie Fu
Signed-off-by: Linjie Fu
---
fftools/cmdutils.c | 8
fftools/ffplay.c | 2 --
fftools/ffprobe.c | 1 -
3 files changed, 11 deletions(-)
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
index 0b1ef03a25..912e881174 100644
--- a/fftools/cmdutils.c
+++ b/fftools
rently) for scale filter.
- Remove flags="bilinear" from vf_scale
- Update the FATE refs
Signed-off-by: Linjie Fu
---
libavfilter/vf_scale.c | 4 ++--
tests/ref/fate/filter-scale2ref_keep_aspect | 10 +-
2 files changed, 7 insertions(+), 7 deletions(
From: Linjie Fu
Scaler relys on "-sws_flags" option to pass the flags to swscale
and scale filter. Currently passing "sws_flags=xxx" as a filter
option to scaler leads to an incorrect option parsing.
Check and change the string to "flags=xxx" and dumpe
On Thu, Aug 5, 2021 at 2:22 AM Nicolas George wrote:
> Linjie Fu (12021-08-05):
> > > > -if (scale->flags_str) {
> > > > +if (*scale->flags_str) {
> > > It could still be NULL, IIRC.
> > sws_flags doesn't have a candidate for &qu
On Thu, Aug 5, 2021 at 10:32 PM Nicolas George wrote:
> Linjie Fu (12021-08-05):
> > ffmpeg | branch: master | Linjie Fu | Thu
> Aug 5 00:37:29 2021 +0800| [5b0e6b0d82dfcc5c6b999e2678b52b0cff38ae0a] |
> committer: Linjie Fu
> >
> > fftools: Don't set default
On Thu, Aug 5, 2021 at 10:54 PM Nicolas George wrote:
> Linjie Fu (12021-08-05):
> > This initials from your review comments to remove setting defaults in
> > ffmpeg (etc) and use the default flags in swscale,
> > and I didn't see objections at least till now. Did I mis
On Thu, Aug 5, 2021 at 11:22 PM Nicolas George wrote:
> Linjie Fu (12021-08-05):
> > Where is supposed to be the right placement?
>
> In the commit that makes the results change.
>
> Just do this: checkout the first commit, build, run FATE. Does it pass?
>
Double conf
From: Linjie Fu
This reverts commit b3a0548a981db52911dd34d9de254c4fee0a8f79.
This breaks the usage of swscale options, scale_sws_opts should be passed
to auto-inserted scale-filters.
The auto-inserted scaler accepts sws_flags in filtergraph complex which
overrides the 'flags'
From: Linjie Fu
Printed verbose log doesn't match the sws_flags specified in the cmdline
for simple filter graph.
ffmpeg .. -sws_flags bicubic ..
[auto_scaler_0] w:iw h:ih flags:'' interl:0
[auto_scaler_0] w:310 h:449 fmt:yuva420p sar:0/1 -> w:310 h:449 fmt:yuv420p
From: Linjie Fu
To pass the swscale options for the inserted scalers.
ffmpeg -i input.mp4 -filter_complex \
"scale_sws_opts=alphablend=checkerboard;format=nv12" \
-t 0.5 output.mp4
Update docs.
Signed-off-by: Linjie Fu
---
doc/filters.texi | 7 ---
l
On Sat, Aug 7, 2021 at 2:33 AM Michael Niedermayer
wrote:
> On Thu, Aug 05, 2021 at 02:30:32PM +0000, Linjie Fu wrote:
> > ffmpeg | branch: master | Linjie Fu | Sun
> Aug 1 18:58:19 2021 +0800| [b3a0548a981db52911dd34d9de254c4fee0a8f79] |
> committer: Linjie Fu
> >
>
Andreas:
On Sat, Aug 7, 2021 at 9:52 PM Andreas Rheinhardt <
andreas.rheinha...@outlook.com> wrote:
> Linjie Fu:
> > From: Linjie Fu
> >
> > To pass the swscale options for the inserted scalers.
> >
> > ffmpeg -i input.mp4 -filter_complex \
> > &
On Sat, Aug 7, 2021 at 9:12 PM Andreas Rheinhardt <
andreas.rheinha...@outlook.com> wrote:
> Linjie Fu:
> > From: Linjie Fu
> >
> > Printed verbose log doesn't match the sws_flags specified in the cmdline
> > for simple filter graph.
> >
> > f
From: Linjie Fu
Printed verbose log doesn't match the sws_flags specified in the cmdline
for simple filter graph.
ffmpeg .. -sws_flags bicubic ..
[auto_scaler_0] w:iw h:ih flags:'' interl:0
[auto_scaler_0] w:310 h:449 fmt:yuva420p sar:0/1 -> w:310 h:449 fmt:yuv420p
From: Linjie Fu
To pass the swscale options for the inserted scalers.
ffmpeg -i input.mp4 -filter_complex \
"scale_sws_opts=alphablend=checkerboard;format=nv12" \
-t 0.5 output.mp4
Update docs.
Signed-off-by: Linjie Fu
---
doc/filters.texi | 7 ---
l
On Sat, Aug 28, 2021 at 4:45 AM Michael Niedermayer
wrote:
> On Sat, Aug 07, 2021 at 09:33:27PM +0200, Michael Niedermayer wrote:
> > On Sat, Aug 07, 2021 at 06:15:05PM +0800, Linjie Fu wrote:
> > > From: Linjie Fu
> > >
> > > This reverts commit b3a0
d data for stream #0:0
Conversion failed!
After:
Try to Round up for odd resolution (1241x1234 -> 1242x1240)
Stream #0:0(und): Video: wrapped_avframe, yuv420p(tv, progressive), 1242x1240
Signed-off-by: Linjie Fu
---
libavfilter/vf_pad.c | 11 ---
1 file changed, 8 insertions(+), 3 d
arena];[arena][0:v]overlay" \
-vframes 10 -an -f md5 -
Before:
Incorrect output and changed MD5 at each run.
After this patch:
Consistent output and MD5.
Signed-off-by: Linjie Fu
---
[RFC]This is a partial fix. A fully-fixed method may be don
401 - 460 of 460 matches
Mail list logo