Hi,
I was doing some tests with libaom and lossness encoding and with synthetic files and some real world files, I kept finding that the framemd5s for the first frame was different than the source, but every other libaom encoded frame produced matching framemd5s for source and output. I then tried with smaller frame counts, and with synthetic files, I found that all frames would produce matching framemd5s when there was between 1 and 7 frames in the input. Once you went to 8 frames and above, the first frame would produce a framemd5 mismatch. here's a bunch of commands using ffmpeg git-master and what I assume to be libaom git master, or whatever the Ubuntu ffmpeg compilation wiki is using: 0) framemd5 output of the 8fr source - note the first frame value 1) Make a 8frame v210 via testsrc 2) Turn into av1 with -crf 0 3) get framemd5 of av1 output - note that first framemd5 value is different 4-6 - same as 1 to 3 but with a 7 frame testsrc file Any idea what's happening? Will I get the libx264-style answer: 'this is googles issue, not ffmpeg'0b1ae3e77528dcdacfab21761076d2b0b1ae3e77528dcdacfab21761076d2b /ffmpeg -i 8fr.mkv -f framemd5 - ffmpeg version N-98060-g1c32d7d Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: --prefix=/home/kieranjol/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/kieranjol/ffmpeg_build/include --extra-ldflags=-L/home/kieranjol/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/kieranjol/bin --enable-libaom libavutil 56. 50.100 / 56. 50.100 libavcodec 58. 90.100 / 58. 90.100 libavformat 58. 44.100 / 58. 44.100 libavdevice 58. 9.103 / 58. 9.103 libavfilter 7. 84.100 / 7. 84.100 libswscale 5. 6.101 / 5. 6.101 libswresample 3. 6.100 / 3. 6.100 Input #0, matroska,webm, from '8fr.mkv': Metadata: ENCODER : Lavf58.44.100 Duration: 00:00:00.32, start: 0.000000, bitrate: 43031 kb/s Stream #0:0: Video: v210 (v210 / 0x30313276), yuv422p10le, 320x240, SAR 1:1 DAR 4:3, 25 fps, 25 tbr, 1k tbn, 1k tbc (default) Metadata: ENCODER : Lavc58.90.100 v210 DURATION : 00:00:00.320000000 Stream mapping: Stream #0:0 -> #0:0 (v210 (native) -> rawvideo (native)) Press [q] to stop, [?] for help #format: frame checksums #version: 2 #hash: MD5 #software: Lavf58.44.100 #tb 0: 1/25 #media_type 0: video #codec_id 0: rawvideo #dimensions 0: 320x240 #sar 0: 1/1 #stream#, dts, pts, duration, size, hash Output #0, framemd5, to 'pipe:': Metadata: encoder : Lavf58.44.100 Stream #0:0: Video: rawvideo (Y3[10][10] / 0xA0A3359), yuv422p10le, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 38400 kb/s, 25 fps, 25 tbn, 25 tbc (default) Metadata: DURATION : 00:00:00.320000000 encoder : Lavc58.90.100 rawvideo 0, 0, 0, 1, 307200, 50b1ae3e77528dcdacfab21761076d2b 0, 1, 1, 1, 307200, 8213a857506c099160fffb2f606f3590 0, 2, 2, 1, 307200, a5e0786c6d9d152c45e2d3a0122c8987 0, 3, 3, 1, 307200, fd93af578482e418d1378f6d9cd94f14 0, 4, 4, 1, 307200, abfca35c7aae65d1dcddee1ce370479f 0, 5, 5, 1, 307200, da151dbf22f7e818344d5efd0cbb6f09 0, 6, 6, 1, 307200, b87bdb747fbd80060f71585e7d2c6ac9 0, 7, 7, 1, 307200, af69163b6455654da3a37cf52cfc4525 frame= 8 fps=0.0 q=-0.0 Lsize= 1kB time=00:00:00.32 bitrate= 21.4kbits/s speed=33.1x video:2400kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown ./ffmpeg -f lavfi -i testsrc -c:v v210 -vframes 8 8fr.mkv ffmpeg version N-98060-g1c32d7d Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: --prefix=/home/kieranjol/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/kieranjol/ffmpeg_build/include --extra-ldflags=-L/home/kieranjol/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/kieranjol/bin --enable-libaom libavutil 56. 50.100 / 56. 50.100 libavcodec 58. 90.100 / 58. 90.100 libavformat 58. 44.100 / 58. 44.100 libavdevice 58. 9.103 / 58. 9.103 libavfilter 7. 84.100 / 7. 84.100 libswscale 5. 6.101 / 5. 6.101 libswresample 3. 6.100 / 3. 6.100 Input #0, lavfi, from 'testsrc': Duration: N/A, start: 0.000000, bitrate: N/A Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> v210 (native)) Press [q] to stop, [?] for help Output #0, matroska, to '8fr.mkv': Metadata: encoder : Lavf58.44.100 Stream #0:0: Video: v210 (v210 / 0x30313276), yuv422p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 40960 kb/s, 25 fps, 1k tbn, 25 tbc Metadata: encoder : Lavc58.90.100 v210 frame= 8 fps=0.0 q=-0.0 Lsize= 1681kB time=00:00:00.28 bitrate=49003.7kbits/s speed=39.4x video:1680kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.054408% kieranjol@POWERVIRUS:~/ffmpeg_sources/ffmpeg$ ./ffmpeg -i 8fr.mkv -c:v av1 -crf 0 8fr_av1.mkv ffmpeg version N-98060-g1c32d7d Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: --prefix=/home/kieranjol/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/kieranjol/ffmpeg_build/include --extra-ldflags=-L/home/kieranjol/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/kieranjol/bin --enable-libaom libavutil 56. 50.100 / 56. 50.100 libavcodec 58. 90.100 / 58. 90.100 libavformat 58. 44.100 / 58. 44.100 libavdevice 58. 9.103 / 58. 9.103 libavfilter 7. 84.100 / 7. 84.100 libswscale 5. 6.101 / 5. 6.101 libswresample 3. 6.100 / 3. 6.100 Input #0, matroska,webm, from '8fr.mkv': Metadata: ENCODER : Lavf58.44.100 Duration: 00:00:00.32, start: 0.000000, bitrate: 43031 kb/s Stream #0:0: Video: v210 (v210 / 0x30313276), yuv422p10le, 320x240, SAR 1:1 DAR 4:3, 25 fps, 25 tbr, 1k tbn, 1k tbc (default) Metadata: ENCODER : Lavc58.90.100 v210 DURATION : 00:00:00.320000000 Stream mapping: Stream #0:0 -> #0:0 (v210 (native) -> av1 (libaom-av1)) Press [q] to stop, [?] for help [libaom-av1 @ 0x5620559e0600] v2.0.0 Output #0, matroska, to '8fr_av1.mkv': Metadata: encoder : Lavf58.44.100 Stream #0:0: Video: av1 (libaom-av1) (AV01 / 0x31305641), yuv422p10le, 320x240 [SAR 1:1 DAR 4:3], q=-1--1, 25 fps, 1k tbn, 25 tbc (default) Metadata: DURATION : 00:00:00.320000000 encoder : Lavc58.90.100 libaom-av1 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A frame= 8 fps=3.7 q=0.0 Lsize= 29kB time=00:00:00.28 bitrate= 837.3kbits/s speed=0.129x video:28kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.188944% kieranjol@POWERVIRUS:~/ffmpeg_sources/ffmpeg$ ./ffmpeg -i 8fr_av1.mkv -f framemd5 - ffmpeg version N-98060-g1c32d7d Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: --prefix=/home/kieranjol/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/kieranjol/ffmpeg_build/include --extra-ldflags=-L/home/kieranjol/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/kieranjol/bin --enable-libaom libavutil 56. 50.100 / 56. 50.100 libavcodec 58. 90.100 / 58. 90.100 libavformat 58. 44.100 / 58. 44.100 libavdevice 58. 9.103 / 58. 9.103 libavfilter 7. 84.100 / 7. 84.100 libswscale 5. 6.101 / 5. 6.101 libswresample 3. 6.100 / 3. 6.100 [libaom-av1 @ 0x558d1646b740] v2.0.0 Input #0, matroska,webm, from '8fr_av1.mkv': Metadata: ENCODER : Lavf58.44.100 Duration: 00:00:00.32, start: 0.000000, bitrate: 735 kb/s Stream #0:0: Video: av1 (Professional), yuv422p10le(tv), 320x240, SAR 1:1 DAR 4:3, 25 fps, 25 tbr, 1k tbn, 1k tbc (default) Metadata: ENCODER : Lavc58.90.100 libaom-av1 DURATION : 00:00:00.320000000 [libaom-av1 @ 0x558d16479800] v2.0.0 Stream mapping: Stream #0:0 -> #0:0 (av1 (libaom-av1) -> rawvideo (native)) Press [q] to stop, [?] for help #format: frame checksums #version: 2 #hash: MD5 #software: Lavf58.44.100 #tb 0: 1/25 #media_type 0: video #codec_id 0: rawvideo #dimensions 0: 320x240 #sar 0: 1/1 #stream#, dts, pts, duration, size, hash Output #0, framemd5, to 'pipe:': Metadata: encoder : Lavf58.44.100 Stream #0:0: Video: rawvideo (Y3[10][10] / 0xA0A3359), yuv422p10le, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 38400 kb/s, 25 fps, 25 tbn, 25 tbc (default) Metadata: DURATION : 00:00:00.320000000 encoder : Lavc58.90.100 rawvideo 0, 0, 0, 1, 307200, e790aa300c6bdd6bad6770c6c6346585 0, 1, 1, 1, 307200, 8213a857506c099160fffb2f606f3590 0, 2, 2, 1, 307200, a5e0786c6d9d152c45e2d3a0122c8987 0, 3, 3, 1, 307200, fd93af578482e418d1378f6d9cd94f14 0, 4, 4, 1, 307200, abfca35c7aae65d1dcddee1ce370479f 0, 5, 5, 1, 307200, da151dbf22f7e818344d5efd0cbb6f09 0, 6, 6, 1, 307200, b87bdb747fbd80060f71585e7d2c6ac9 0, 7, 7, 1, 307200, af69163b6455654da3a37cf52cfc4525 frame= 8 fps=0.0 q=-0.0 Lsize= 1kB time=00:00:00.32 bitrate= 21.4kbits/s speed=15.7x video:2400kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown kieranjol@POWERVIRUS:~/ffmpeg_sources/ffmpeg$ ./ffmpeg -f lavfi -i testsrc -c:v v210 -vframes 7 7fr.mkv ffmpeg version N-98060-g1c32d7d Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: --prefix=/home/kieranjol/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/kieranjol/ffmpeg_build/include --extra-ldflags=-L/home/kieranjol/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/kieranjol/bin --enable-libaom libavutil 56. 50.100 / 56. 50.100 libavcodec 58. 90.100 / 58. 90.100 libavformat 58. 44.100 / 58. 44.100 libavdevice 58. 9.103 / 58. 9.103 libavfilter 7. 84.100 / 7. 84.100 libswscale 5. 6.101 / 5. 6.101 libswresample 3. 6.100 / 3. 6.100 Input #0, lavfi, from 'testsrc': Duration: N/A, start: 0.000000, bitrate: N/A Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> v210 (native)) Press [q] to stop, [?] for help Output #0, matroska, to '7fr.mkv': Metadata: encoder : Lavf58.44.100 Stream #0:0: Video: v210 (v210 / 0x30313276), yuv422p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 40960 kb/s, 25 fps, 1k tbn, 25 tbc Metadata: encoder : Lavc58.90.100 v210 frame= 7 fps=0.0 q=-0.0 Lsize= 1471kB time=00:00:00.24 bitrate=49997.4kbits/s speed=37.6x video:1470kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.059258% kieranjol@POWERVIRUS:~/ffmpeg_sources/ffmpeg$ ./ffmpeg -i 7fr.mkv -c:v av1 -crf 0 7fr_av1.mkv ffmpeg version N-98060-g1c32d7d Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: --prefix=/home/kieranjol/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/kieranjol/ffmpeg_build/include --extra-ldflags=-L/home/kieranjol/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/kieranjol/bin --enable-libaom libavutil 56. 50.100 / 56. 50.100 libavcodec 58. 90.100 / 58. 90.100 libavformat 58. 44.100 / 58. 44.100 libavdevice 58. 9.103 / 58. 9.103 libavfilter 7. 84.100 / 7. 84.100 libswscale 5. 6.101 / 5. 6.101 libswresample 3. 6.100 / 3. 6.100 Input #0, matroska,webm, from '7fr.mkv': Metadata: ENCODER : Lavf58.44.100 Duration: 00:00:00.28, start: 0.000000, bitrate: 43033 kb/s Stream #0:0: Video: v210 (v210 / 0x30313276), yuv422p10le, 320x240, SAR 1:1 DAR 4:3, 25 fps, 25 tbr, 1k tbn, 1k tbc (default) Metadata: ENCODER : Lavc58.90.100 v210 DURATION : 00:00:00.280000000 Stream mapping: Stream #0:0 -> #0:0 (v210 (native) -> av1 (libaom-av1)) Press [q] to stop, [?] for help [libaom-av1 @ 0x5613e4bb0600] v2.0.0 Output #0, matroska, to '7fr_av1.mkv': Metadata: encoder : Lavf58.44.100 Stream #0:0: Video: av1 (libaom-av1) (AV01 / 0x31305641), yuv422p10le, 320x240 [SAR 1:1 DAR 4:3], q=-1--1, 25 fps, 1k tbn, 25 tbc (default) Metadata: DURATION : 00:00:00.280000000 encoder : Lavc58.90.100 libaom-av1 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A frame= 7 fps=4.2 q=0.0 Lsize= 23kB time=00:00:00.24 bitrate= 793.4kbits/s speed=0.143x video:23kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.685054% kieranjol@POWERVIRUS:~/ffmpeg_sources/ffmpeg$ ./ffmpeg -i 7fr_av1.mkv -f framemd5 - ffmpeg version N-98060-g1c32d7d Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: --prefix=/home/kieranjol/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/kieranjol/ffmpeg_build/include --extra-ldflags=-L/home/kieranjol/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/kieranjol/bin --enable-libaom libavutil 56. 50.100 / 56. 50.100 libavcodec 58. 90.100 / 58. 90.100 libavformat 58. 44.100 / 58. 44.100 libavdevice 58. 9.103 / 58. 9.103 libavfilter 7. 84.100 / 7. 84.100 libswscale 5. 6.101 / 5. 6.101 libswresample 3. 6.100 / 3. 6.100 [libaom-av1 @ 0x5632da787740] v2.0.0 Input #0, matroska,webm, from '7fr_av1.mkv': Metadata: ENCODER : Lavf58.44.100 Duration: 00:00:00.28, start: 0.000000, bitrate: 682 kb/s Stream #0:0: Video: av1 (Professional), yuv422p10le(tv), 320x240, SAR 1:1 DAR 4:3, 25 fps, 25 tbr, 1k tbn, 1k tbc (default) Metadata: ENCODER : Lavc58.90.100 libaom-av1 DURATION : 00:00:00.280000000 [libaom-av1 @ 0x5632da78cf00] v2.0.0 Stream mapping: Stream #0:0 -> #0:0 (av1 (libaom-av1) -> rawvideo (native)) Press [q] to stop, [?] for help #format: frame checksums #version: 2 #hash: MD5 #software: Lavf58.44.100 #tb 0: 1/25 #media_type 0: video #codec_id 0: rawvideo #dimensions 0: 320x240 #sar 0: 1/1 #stream#, dts, pts, duration, size, hash Output #0, framemd5, to 'pipe:': Metadata: encoder : Lavf58.44.100 Stream #0:0: Video: rawvideo (Y3[10][10] / 0xA0A3359), yuv422p10le, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 38400 kb/s, 25 fps, 25 tbn, 25 tbc (default) Metadata: DURATION : 00:00:00.280000000 encoder : Lavc58.90.100 rawvideo 0, 0, 0, 1, 307200, 50b1ae3e77528dcdacfab21761076d2b 0, 1, 1, 1, 307200, 8213a857506c099160fffb2f606f3590 0, 2, 2, 1, 307200, a5e0786c6d9d152c45e2d3a0122c8987 0, 3, 3, 1, 307200, fd93af578482e418d1378f6d9cd94f14 0, 4, 4, 1, 307200, abfca35c7aae65d1dcddee1ce370479f 0, 5, 5, 1, 307200, da151dbf22f7e818344d5efd0cbb6f09 0, 6, 6, 1, 307200, b87bdb747fbd80060f71585e7d2c6ac9 frame= 7 fps=0.0 q=-0.0 Lsize= 1kB time=00:00:00.28 bitrate= 22.1kbits/s speed=15.3x video:2100kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown0b1ae3e77528dcdacfab21761076d2b Best, Kieran O'Leary Irish Film Institute _______________________________________________ ffmpeg-user mailing list [hidden email] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [hidden email] with subject "unsubscribe". |
Kieran O Leary wrote
> Any idea what's happening? Will I get the libx264-style answer: 'this is > googles issue, I can replicate the ffmpeg issue (and with other sources), but I don't know what the problem is It's not a "google" issue, because AOM aomenc.exe works, and produces lossless output correctly -- Sent from: http://www.ffmpeg-archive.org/ _______________________________________________ ffmpeg-user mailing list [hidden email] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [hidden email] with subject "unsubscribe". |
Hi
On Sun 7 Jun 2020, 17:56 pdr0, <[hidden email]> wrote: > Kieran O Leary wrote > > Any idea what's happening? Will I get the libx264-style answer: 'this is > > googles issue, > > I can replicate the ffmpeg issue (and with other sources), but I don't know > what the problem is > > It's not a "google" issue, because AOM aomenc.exe works, and produces > lossless output correctly > This is great to know! I wonder if the number 8 is significant here? K _______________________________________________ ffmpeg-user mailing list [hidden email] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [hidden email] with subject "unsubscribe". |
Am So., 7. Juni 2020 um 19:16 Uhr schrieb Kieran O Leary
<[hidden email]>: > On Sun 7 Jun 2020, 17:56 pdr0, <[hidden email]> wrote: > > > Kieran O Leary wrote > > > Any idea what's happening? Will I get the libx264-style answer: 'this is > > > googles issue, > > > > I can replicate the ffmpeg issue (and with other sources), but I don't know > > what the problem is > > > > It's not a "google" issue, because AOM aomenc.exe works, and produces > > lossless output correctly > > > > This is great to know! I wonder if the number 8 is significant here? Could it be the number of cores in your system / is the issue reproducible with -threads 1 ? Carl Eugen _______________________________________________ ffmpeg-user mailing list [hidden email] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [hidden email] with subject "unsubscribe". |
Hi Carl,
On Sun, Jun 7, 2020 at 9:18 PM Carl Eugen Hoyos <[hidden email]> wrote: > Am So., 7. Juni 2020 um 19:16 Uhr schrieb Kieran O Leary > <[hidden email]>: > > > On Sun 7 Jun 2020, 17:56 pdr0, <[hidden email]> wrote: > > > > > Kieran O Leary wrote > > > > Any idea what's happening? Will I get the libx264-style answer: > 'this is > > > > googles issue, > > > > > > I can replicate the ffmpeg issue (and with other sources), but I don't > know > > > what the problem is > > > > > > It's not a "google" issue, because AOM aomenc.exe works, and produces > > > lossless output correctly > > > > > > > This is great to know! I wonder if the number 8 is significant here? > > Could it be the number of cores in your system / is the issue reproducible > with -threads 1 ? > I'm on a 4 core i5, and -threads 1 didn't have any difference - first frame has different framemd5s to the source: $ ./ffmpeg -threads 1 -i ~/source.mkv -c:v av1 -crf 0 av1.mkv ffmpeg version N-98060-g1c32d7d Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: --prefix=/home/kieranjol/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/kieranjol/ffmpeg_build/include --extra-ldflags=-L/home/kieranjol/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/kieranjol/bin --enable-libaom libavutil 56. 50.100 / 56. 50.100 libavcodec 58. 90.100 / 58. 90.100 libavformat 58. 44.100 / 58. 44.100 libavdevice 58. 9.103 / 58. 9.103 libavfilter 7. 84.100 / 7. 84.100 libswscale 5. 6.101 / 5. 6.101 libswresample 3. 6.100 / 3. 6.100 Input #0, matroska,webm, from '/home/kieranjol/source.mkv': Metadata: ENCODER : Lavf58.29.100 Duration: 00:00:01.00, start: 0.000000, bitrate: 43022 kb/s Stream #0:0: Video: v210 (v210 / 0x30313276), yuv422p10le, 320x240, SAR 1:1 DAR 4:3, 25 fps, 25 tbr, 1k tbn, 1k tbc (default) Metadata: ENCODER : Lavc58.54.100 v210 DURATION : 00:00:01.000000000 File 'av1.mkv' already exists. Overwrite? [y/N] y Stream mapping: Stream #0:0 -> #0:0 (v210 (native) -> av1 (libaom-av1)) Press [q] to stop, [?] for help [libaom-av1 @ 0x563f62937900] v2.0.0 Output #0, matroska, to 'av1.mkv': Metadata: encoder : Lavf58.44.100 Stream #0:0: Video: av1 (libaom-av1) (AV01 / 0x31305641), yuv422p10le, 320x240 [SAR 1:1 DAR 4:3], q=-1--1, 25 fps, 1k tbn, 25 tbc (default) Metadata: DURATION : 00:00:01.000000000 encoder : Lavc58.90.100 libaom-av1 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A frame= 20 fps= 11 q=0.0 size= 1kB time=00:00:00.04 bitrate= 106.7kbits/sframe= 21 fps=6.9 q=0.0 size= 1kB time=00:00:00.08 bitrate= 54.0kbits/sframe= 25 fps=4.8 q=0.0 Lsize= 68kB time=00:00:00.96 bitrate= 579.1kbits/s speed=0.185x video:67kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.026751% kieranjol@POWERVIRUS:~/ffmpeg_sources/ffmpeg$ ./ffmpeg -threads 1 -i av1.mkv -f framemd5 - ffmpeg version N-98060-g1c32d7d Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: --prefix=/home/kieranjol/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/kieranjol/ffmpeg_build/include --extra-ldflags=-L/home/kieranjol/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/kieranjol/bin --enable-libaom libavutil 56. 50.100 / 56. 50.100 libavcodec 58. 90.100 / 58. 90.100 libavformat 58. 44.100 / 58. 44.100 libavdevice 58. 9.103 / 58. 9.103 libavfilter 7. 84.100 / 7. 84.100 libswscale 5. 6.101 / 5. 6.101 libswresample 3. 6.100 / 3. 6.100 [libaom-av1 @ 0x55f041f33880] v2.0.0 Input #0, matroska,webm, from 'av1.mkv': Metadata: ENCODER : Lavf58.44.100 Duration: 00:00:01.00, start: 0.000000, bitrate: 556 kb/s Stream #0:0: Video: av1 (Professional), yuv422p10le(tv), 320x240, SAR 1:1 DAR 4:3, 25 fps, 25 tbr, 1k tbn, 1k tbc (default) Metadata: ENCODER : Lavc58.90.100 libaom-av1 DURATION : 00:00:01.000000000 [libaom-av1 @ 0x55f041f41800] v2.0.0 Stream mapping: Stream #0:0 -> #0:0 (av1 (libaom-av1) -> rawvideo (native)) Press [q] to stop, [?] for help #format: frame checksums #version: 2 #hash: MD5 #software: Lavf58.44.100 #tb 0: 1/25 #media_type 0: video #codec_id 0: rawvideo #dimensions 0: 320x240 #sar 0: 1/1 #stream#, dts, pts, duration, size, hash Output #0, framemd5, to 'pipe:': Metadata: encoder : Lavf58.44.100 Stream #0:0: Video: rawvideo (Y3[10][10] / 0xA0A3359), yuv422p10le, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 38400 kb/s, 25 fps, 25 tbn, 25 tbc (default) Metadata: DURATION : 00:00:01.000000000 encoder : Lavc58.90.100 rawvideo 0, 0, 0, 1, 307200, 82afca7a233d492b3be65f53e97883e0 0, 1, 1, 1, 307200, 8213a857506c099160fffb2f606f3590 0, 2, 2, 1, 307200, a5e0786c6d9d152c45e2d3a0122c8987 0, 3, 3, 1, 307200, fd93af578482e418d1378f6d9cd94f14 0, 4, 4, 1, 307200, abfca35c7aae65d1dcddee1ce370479f 0, 5, 5, 1, 307200, da151dbf22f7e818344d5efd0cbb6f09 0, 6, 6, 1, 307200, b87bdb747fbd80060f71585e7d2c6ac9 0, 7, 7, 1, 307200, af69163b6455654da3a37cf52cfc4525 0, 8, 8, 1, 307200, 225de193e5b5ec040a9235925930c46f 0, 9, 9, 1, 307200, ffb4c4e89b75ee7827174e987f2946c1 0, 10, 10, 1, 307200, c67474cd82705297972f5c5dd65b2fae 0, 11, 11, 1, 307200, 5c91788ba1a33d7bc72bb99ed4735d6b 0, 12, 12, 1, 307200, f70242a7669a341eba1c8533c2effb5d 0, 13, 13, 1, 307200, f4f3986c0da88c79029a0b56fae44c13 0, 14, 14, 1, 307200, 148a1d9315ba26279468d751071d77c5 0, 15, 15, 1, 307200, dc769b7646ccdbe9be65907fa07d8361 0, 16, 16, 1, 307200, 3220d8e0ee315f1fa9d42342c017633e 0, 17, 17, 1, 307200, 0e3098acfc766782281803ebbf43f652 0, 18, 18, 1, 307200, 684187bea28e1c421a065ab43b3123a2 0, 19, 19, 1, 307200, 62fd594635032e3a2e647080c7a7fd79 0, 20, 20, 1, 307200, cef51191abcf6f4c2c65075b64ce1f6a 0, 21, 21, 1, 307200, 2caacdb443308ef0f7ec50ce68eb0ac9 0, 22, 22, 1, 307200, 66848e5471a7de208cb55b3c67d89f30 0, 23, 23, 1, 307200, 591d95e8aec0a04bdc7fec9b7c156a39 0, 24, 24, 1, 307200, 99121e7918d0e7bd46727b42e73ce3f2 frame= 25 fps=0.0 q=-0.0 Lsize= 2kB time=00:00:01.00 bitrate= 17.7kbits/s speed=20.2x video:7500kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Best, Kieran _______________________________________________ ffmpeg-user mailing list [hidden email] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [hidden email] with subject "unsubscribe". |
In reply to this post by Carl Eugen Hoyos-2
Carl Eugen Hoyos-2 wrote
> Could it be the number of cores in your system / is the issue reproducible > with -threads 1 ? Issue is still present with -threads 1 Does not appear to be related to pixel format (eg. affects yuv420p source test as well) -- Sent from: http://www.ffmpeg-archive.org/ _______________________________________________ ffmpeg-user mailing list [hidden email] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [hidden email] with subject "unsubscribe". |
Intra only compression , using -g 1 makes it lossless . Maybe a clue there
Not sure why there is a discrepancy between aomenc, and ffmpeg libaom-av1 -- Sent from: http://www.ffmpeg-archive.org/ _______________________________________________ ffmpeg-user mailing list [hidden email] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [hidden email] with subject "unsubscribe". |
On Sun, Jun 7, 2020 at 10:06 PM pdr0 <[hidden email]> wrote:
> Intra only compression , using -g 1 makes it lossless . Maybe a clue there > Aye - I can confirm that -g 1 produces matching framemd5s. K _______________________________________________ ffmpeg-user mailing list [hidden email] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [hidden email] with subject "unsubscribe". |
On Sun, Jun 7, 2020 at 10:08 PM Kieran O Leary <[hidden email]>
wrote: > > > On Sun, Jun 7, 2020 at 10:06 PM pdr0 <[hidden email]> wrote: > >> Intra only compression , using -g 1 makes it lossless . Maybe a clue there >> > > Aye - I can confirm that -g 1 produces matching framemd5s. > Just checking in on this issue - any ideas? Should I raise a bug ticket as the next step or is this thread enough? K > _______________________________________________ ffmpeg-user mailing list [hidden email] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [hidden email] with subject "unsubscribe". |
In reply to this post by Kieran O Leary
Am Sa., 6. Juni 2020 um 21:05 Uhr schrieb Kieran O Leary
<[hidden email]>: > I was doing some tests with libaom and lossness encoding and with synthetic > files and some real world files, I kept finding that the framemd5s for the > first frame was different than the source, but every other libaom encoded > frame produced matching framemd5s for source and output. > I then tried with smaller frame counts, and with synthetic files, I found > that all frames would produce matching framemd5s when there was between 1 > and 7 frames in the input. Once you went to 8 frames and above, the first > frame would produce a framemd5 mismatch. Should be fixed, work-around was to set qmax to 0. Carl Eugen _______________________________________________ ffmpeg-user mailing list [hidden email] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [hidden email] with subject "unsubscribe". |
Free forum by Nabble | Edit this page |