Re: [FFmpeg-user] overlaying animated PNG, doesn't loop

2021-01-25 Thread Jim DeLaHunt

On 2021-01-25 06:41, Paul B Mahol wrote:


You are very ignorant of mentioned demuxer options in documentation.


+1. You've got to be kidding.
Paul, you are coming off as unbelievably unpleasant. I too am trying to 
help you. Please, please, moderate your tone.


And, please recognise that a lot of FFmpeg's documentation isn't very 
good at explaining FFmpeg to users who haven't read the code.


    —Jim DeLaHunt

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] overlaying animated PNG, doesn't loop

2021-01-25 Thread Carl Zwanzig

On 1/25/2021 6:49 AM, Paul B Mahol wrote:

You should be immediately banned from this list.


Oh no, not this again. Banned for what?

Paul, please re-read the Code of Conduct (I did, yesterday, when I posted it 
to the list).


z!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] overlaying animated PNG, doesn't loop

2021-01-25 Thread Paul B Mahol
On Mon, Jan 25, 2021 at 3:45 PM Phil Rhodes via ffmpeg-user <
ffmpeg-user@ffmpeg.org> wrote:

>  On Monday, 25 January 2021, 14:41:36 GMT, Paul B Mahol 
> wrote:
>
> > You are very ignorant of mentioned demuxer options in documentation.
> You've got to be kidding.
> Paul, you are coming off as unbelievably unpleasant. Again, I'm trying to
> help you. Please, please, moderate your tone.
>

You should be immediately banned from this list.


> P
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] overlaying animated PNG, doesn't loop

2021-01-25 Thread Phil Rhodes via ffmpeg-user
 On Monday, 25 January 2021, 14:41:36 GMT, Paul B Mahol  
wrote:
 
> You are very ignorant of mentioned demuxer options in documentation.
You've got to be kidding.
Paul, you are coming off as unbelievably unpleasant. Again, I'm trying to help 
you. Please, please, moderate your tone.
P
  
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] overlaying animated PNG, doesn't loop

2021-01-25 Thread Paul B Mahol
On Mon, Jan 25, 2021 at 3:12 PM Dave Thorn  wrote:

> On Mon, Jan 25, 2021 at 11:29:39AM +0100, Paul B Mahol wrote:
> > On Mon, Jan 25, 2021 at 10:21 AM Dave Thorn via ffmpeg-user <
> ffmpeg-user@ffmpeg.org> wrote:
> []
> > > Anyone know anything about this, please, or will I have to avoid
> > > APNGs?
> > >
> > >
> > Next time read documentation before you write something:
> >
> > http://ffmpeg.org/ffmpeg-formats.html#apng
>
> I hate to be the thickie, but does that explain why it doesn't loop?
> The acTL is before the fcTL so that means it is "transmitted as
> extradata"?  What does that mean to me-the-user?
>

You are very ignorant of mentioned demuxer options in documentation.


>
> Cheers,
>
> --
> dave thorn
>
> DBT; GBP.
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] overlaying animated PNG, doesn't loop

2021-01-25 Thread Dave Thorn via ffmpeg-user
On Mon, Jan 25, 2021 at 11:29:39AM +0100, Paul B Mahol wrote:
> On Mon, Jan 25, 2021 at 10:21 AM Dave Thorn via ffmpeg-user 
>  wrote:
[]
> > Anyone know anything about this, please, or will I have to avoid
> > APNGs?
> >
> >
> Next time read documentation before you write something:
> 
> http://ffmpeg.org/ffmpeg-formats.html#apng

I hate to be the thickie, but does that explain why it doesn't loop?
The acTL is before the fcTL so that means it is "transmitted as
extradata"?  What does that mean to me-the-user?

Cheers,

-- 
dave thorn

DBT; GBP.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] overlaying animated PNG, doesn't loop

2021-01-25 Thread Paul B Mahol
On Mon, Jan 25, 2021 at 10:21 AM Dave Thorn via ffmpeg-user <
ffmpeg-user@ffmpeg.org> wrote:

>
> On Mon, Jan 11, 2021 at 08:08:03AM +, Dave Thorn via ffmpeg-user wrote:
> > Yeah, sorry.  Stuck on Windows at the moment and I was anticipating
> > difficulty updating, but it was fine.
> >
> > Same behaviour in this version:
>
> [snip]
>
> Anyone know anything about this, please, or will I have to avoid
> APNGs?
>
>
Next time read documentation before you write something:

http://ffmpeg.org/ffmpeg-formats.html#apng


> Thanks,
>
>
> --
> dave thorn
>
> Bad to the bone.
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] overlaying animated PNG, doesn't loop

2021-01-25 Thread Dave Thorn via ffmpeg-user

On Mon, Jan 11, 2021 at 08:08:03AM +, Dave Thorn via ffmpeg-user wrote:
> Yeah, sorry.  Stuck on Windows at the moment and I was anticipating
> difficulty updating, but it was fine.
> 
> Same behaviour in this version:

[snip]

Anyone know anything about this, please, or will I have to avoid
APNGs?

Thanks,


-- 
dave thorn

Bad to the bone.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] overlaying animated PNG, doesn't loop

2021-01-11 Thread Dave Thorn via ffmpeg-user
Yeah, sorry.  Stuck on Windows at the moment and I was anticipating
difficulty updating, but it was fine.

Same behaviour in this version:

$ ./ffmpeg-N-100581-ga454a0c14f-win64-gpl/bin/ffmpeg -i ../input.mp4 -i 
../elephant.apng -filter_complex "[0:v][1:v] 
overlay=25:25:enable='between(t,0,4)'" -pix_fmt yuv420p -c:a copy output.mp4
ffmpeg version N-100581-ga454a0c14f Copyright (c) 2000-2021 the FFmpeg 
developers
  built with gcc 9.3-win32 (GCC) 20200320
  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static 
--pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 
--target-os=mingw32 --enable-gpl --enable-version3 --disable-debug 
--disable-w32threads --enable-pthreads --enable-iconv --enabl
e-zlib --enable-libxml2 --enable-libfreetype --enable-libfribidi --enable-gmp 
--enable-lzma --enable-fontconfig --enable-opencl --enable-libvmaf 
--disable-vulkan --enable-libvorbis --enable-amf --enable-libaom 
--enable-avisynth --enable-libdav1d --enable-libdavs2 --enabl
e-ffnvcodec --enable-cuda-llvm --disable-libglslang --enable-libass 
--enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora 
--enable-libvpx --enable-libwebp --enable-libmfx --enable-libopencore-amrnb 
--enable-libopencore-amrwb --enable-libopenjpeg --en
able-librav1e --enable-librubberband --enable-schannel --enable-sdl2 
--enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame 
--enable-libuavs3d --enable-libvidstab --enable-libx264 --enable-libx265 
--enable-libxavs2 --enable-libxvid --enable-libzimg --ext
ra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread 
--extra-libs=-lgomp
  libavutil  56. 63.100 / 56. 63.100
  libavcodec 58.115.102 / 58.115.102
  libavformat58. 65.101 / 58. 65.101
  libavdevice58. 11.103 / 58. 11.103
  libavfilter 7. 95.100 /  7. 95.100
  libswscale  5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc55.  8.100 / 55.  8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../input.mp4':
  Metadata:
major_brand : isom
minor_version   : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.18.102
  Duration: 00:00:04.04, start: 0.00, bitrate: 28 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 
1920x1080 [SAR 1:1 DAR 16:9], 24 kb/s, 24 fps, 24 tbr, 12288 tbn, 48 tbc 
(default)
Metadata:
  handler_name: VideoHandler
  vendor_id   : [0][0][0][0]
Input #1, apng, from '../elephant.apng':
  Duration: N/A, bitrate: N/A
Stream #1:0: Video: apng, rgba(pc), 480x400, 24 fps, 24 tbr, 100k tbn, 100k 
tbc
Stream mapping:
  Stream #0:0 (h264) -> overlay:main
  Stream #1:0 (apng) -> overlay:overlay
  overlay -> Stream #0:0 (libx264)
Press [q] to stop, [?] for help
[libx264 @ 01a3db0dd240] using SAR=1/1
[libx264 @ 01a3db0dd240] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 
AVX FMA3 BMI2 AVX2
[libx264 @ 01a3db0dd240] profile High, level 4.0, 4:2:0, 8-bit
[libx264 @ 01a3db0dd240] 264 - core 161 - H.264/MPEG-4 AVC codec - Copyleft 
2003-2020 - 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=24 scenecut=40 intra_refresh=0 
rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 
ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'output.mp4':
  Metadata:
major_brand : isom
minor_version   : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.65.101
Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(progressive), 
1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 24 fps, 12288 tbn (default)
Metadata:
  encoder : Lavc58.115.102 libx264
Side data:
  cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
frame=   97 fps=0.0 q=-1.0 Lsize=  59kB time=00:00:03.91 bitrate= 
124.4kbits/s speed= 4.9x
video:57kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing 
overhead: 3.468895%
[libx264 @ 01a3db0dd240] frame I:1 Avg QP:18.32  size:  8066
[libx264 @ 01a3db0dd240] frame P:24Avg QP:15.47  size:   951
[libx264 @ 01a3db0dd240] frame B:72Avg QP:17.65  size:   379
[libx264 @ 01a3db0dd240] consecutive B-frames:  1.0%  0.0%  0.0% 99.0%
[libx264 @ 01a3db0dd240] mb I  I16..4: 15.8% 82.0%  2.1%
[libx264 @ 01a3db0dd240] mb P  I16..4:  0.2%  0.1%  0.1%  P16..4:  1.1%  
0.3%  0.1%  0.0%  0.0%skip:98.2%
[libx264 @ 01a3db0dd240] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  1.1%  
0.2%  0.0%  direct: 0.0%  skip:98.7%  L0:48.6% L1:49.3% BI: 2.2%
[libx264 @ 01a3db0dd240] 8x8 transform 

Re: [FFmpeg-user] overlaying animated PNG, doesn't loop

2021-01-08 Thread Carl Zwanzig

On 1/8/2021 6:47 AM, Dave Thorn via ffmpeg-user wrote:

Coming back to ffmpeg after a while away, so my version is probably a
bit out of date by now[1]


_Always_ try an up-to-date version, even if you don't think that's the problem.

z!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] overlaying animated PNG, doesn't loop

2021-01-08 Thread Dave Thorn via ffmpeg-user
Coming back to ffmpeg after a while away, so my version is probably a
bit out of date by now[1]

I have an animated PNG that loops forever (it does in firefox and
chrome, and looking inside with a hex editor I think it specifies
infinite looping).

ffmpeg -i input.mp4 -i elephant.apng -filter_complex "[0:v][1:v] 
overlay=25:25:enable='between(t,0,4)'" -pix_fmt yuv420p -c:a copy output.mp4

Produces a video where the apng loops once, then stops.


[1]


$ ffmpeg -i input.mp4 -i elephant.apng -filter_complex "[0:v][1:v] 
overlay=25:25:enable='between(t,0,4)'" -pix_fmt yuv420p -c:a copy output.mp4
ffmpeg version N-92054-ga7429d853d Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 8.2.1 (GCC) 20180813
  configuration: --enable-gpl --enable-version3 --enable-sdl2 
--enable-fontconfig --enable-gnutls --enable-iconv --enable-libass 
--enable-libbluray --enable-libfreetype --enable-libmp3lame 
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg 
--enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr 
--enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack 
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 
--enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab 
--enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex 
--enable-libxvid --enable-libaom --enable-libmfx --enable-amf 
--enable-ffnvcodec --enable-cuvid--enable-d3d11va --enable-nvenc --enable-nvdec 
--enable-dxva2 --enable-avisynth
  libavutil  56. 19.101 / 56. 19.101
  libavcodec 58. 31.100 / 58. 31.100
  libavformat58. 18.102 / 58. 18.102
  libavdevice58.  4.104 / 58.  4.104
  libavfilter 7. 32.100 /  7. 32.100
  libswscale  5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc55.  2.100 / 55.  2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
  Metadata:
major_brand : isom
minor_version   : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.18.102
  Duration: 00:00:04.04, start: 0.00, bitrate: 28 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 
1920x1080 [SAR 1:1 DAR 16:9], 24 kb/s, 24 fps, 24 tbr, 12288 tbn, 48 tbc 
(default)
Metadata:
  handler_name: VideoHandler
Input #1, apng, from 'elephant.apng':
  Duration: N/A, bitrate: N/A
Stream #1:0: Video: apng, rgba(pc), 480x400, 24 fps, 24 tbr, 100k tbn, 100k 
tbc
Stream mapping:
  Stream #0:0 (h264) -> overlay:main
  Stream #1:0 (apng) -> overlay:overlay
  overlay -> Stream #0:0 (libx264)
Press [q] to stop, [?] for help
[libx264 @ 01fd35c99d80] using SAR=1/1
[libx264 @ 01fd35c99d80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 
AVX FMA3 BMI2 AVX2
[libx264 @ 01fd35c99d80] profile High, level 4.0, 4:2:0, 8-bit
[libx264 @ 01fd35c99d80] 264 - core 157 r2932 303c484 - H.264/MPEG-4 AVC 
codec - Copyleft 2003-2018 - 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=24 scenecut=40 intra_refresh=0 
rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 
ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'output.mp4':
  Metadata:
major_brand : isom
minor_version   : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.18.102
Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1920x1080 
[SAR 1:1 DAR 16:9], q=-1--1, 24 fps, 12288tbn, 24 tbc (default)
Metadata:
  encoder : Lavc58.31.100 libx264
Side data:
  cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame=   97 fps=0.0 q=-1.0 Lsize=  59kB time=00:00:03.91 bitrate= 
123.9kbits/s speed=4.84x
video:57kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing 
overhead: 3.439929%
[libx264 @ 01fd35c99d80] frame I:1 Avg QP:17.15  size:  8109
[libx264 @ 01fd35c99d80] frame P:24Avg QP:16.50  size:   952
[libx264 @ 01fd35c99d80] frame B:72Avg QP:17.75  size:   375
[libx264 @ 01fd35c99d80] consecutive B-frames:  1.0%  0.0%  0.0% 99.0%
[libx264 @ 01fd35c99d80] mb I  I16..4: 23.6% 74.4%  2.1%
[libx264 @ 01fd35c99d80] mb P  I16..4:  0.2%  0.1%  0.1%  P16..4:  1.0%  
0.3%  0.1%  0.0%  0.0%skip:98.2%
[libx264 @ 01fd35c99d80] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  1.0%  
0.2%  0.0%  direct: 0.0%  skip:98.8%  L0:47.2% L1:50.7% BI: 2.1%
[libx264 @ 01fd35c99d80] 8x8 transform intra:70.6% inter:18.3%
[libx264 @ 01fd35c99d80] coded y,uvDC,uvAC intra: 2.8% 7.3% 4.8% inter: 
0.1% 0.1% 0.1%
[libx264 @