Changes between Initial Version and Version 1 of Ticket #11164


Ignore:
Timestamp:
Aug 30, 2024, 7:21:24 PM (2 years ago)
Author:
dave rice
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11164 – Description

    initial v1  
    99This ffmpeg@5 output looks okay:
    1010{{{
    11 % ffmpeg -y -i test.mp4 -c:v mpeg2video -non_linear_quant 1 -qmin 1 -pix_fmt yuv422p -vtag xd5b -q:v 1 -qmax 8 good.mov
     11% ffmpeg -y -i input_that_creates_visual_error_with_ffmpeg6_but_not_5.mp4 -c:v mpeg2video -non_linear_quant 1 -qmin 1 -pix_fmt yuv422p -vtag xd5b -q:v 1 -qmax 8 good.mov
    1212ffmpeg version 5.1.2 Copyright (c) 2000-2022 the FFmpeg developers
    1313  built with Apple clang version 13.0.0 (clang-1300.0.29.30)
     
    2121  libswresample   4.  7.100 /  4.  7.100
    2222  libpostproc    56.  6.100 / 56.  6.100
    23 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
     23Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input_that_creates_visual_error_with_ffmpeg6_but_not_5.mp4':
    2424  Metadata:
    2525    major_brand     : isom
    2626    minor_version   : 512
    2727    compatible_brands: isomiso2avc1mp41
    28     encoder         : Lavf60.16.100
    29   Duration: 00:00:05.07, start: 0.000000, bitrate: 6680 kb/s
    30   Stream #0:0[0x1](eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080, 4908 kb/s, 23.98 fps, 23.98 tbr, 24k tbn (default)
     28    encoder         : Lavf59.27.100
     29  Duration: 00:00:02.04, start: 0.000000, bitrate: 5301 kb/s
     30  Stream #0:0[0x1](eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080, 2982 kb/s, 23.98 fps, 23.98 tbr, 24k tbn (default)
    3131    Metadata:
    3232      handler_name    : ?Mainconcept Video Media Handler
    3333      vendor_id       : [0][0][0][0]
    3434      encoder         : AVC Coding
    35   Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
    36     Metadata:
    37       handler_name    : #Mainconcept MP4 Sound Media Handler
    38       vendor_id       : [0][0][0][0]
    3935Stream mapping:
    4036  Stream #0:0 -> #0:0 (h264 (native) -> mpeg2video (native))
    41   Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    4237Press [q] to stop, [?] for help
    4338Output #0, mov, to 'good.mov':
     
    5449    Side data:
    5550      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
    56   Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    57     Metadata:
    58       handler_name    : #Mainconcept MP4 Sound Media Handler
    59       vendor_id       : [0][0][0][0]
    60       encoder         : Lavc59.37.100 aac
    61 frame=  121 fps=0.0 q=1.0 Lsize=   17383kB time=00:00:05.01 bitrate=28405.3kbits/s speed=11.9x   
    62 video:17298kB audio:81kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.022841%
    63 [aac @ 0x7fc93af05d40] Qavg: 565.772
    64 
     51frame=   49 fps=0.0 q=1.0 Lsize=    5382kB time=00:00:01.96 bitrate=22491.4kbits/s speed=11.2x   
     52video:5381kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.019745%
    6553}}}
    6654
    6755This ffmpeg@6 output has visual artifacts.
    6856{{{
    69 % ffmpeg -y -i test.mp4 -c:v mpeg2video -non_linear_quant 1 -qmin 1 -pix_fmt yuv422p -vtag xd5b -q:v 1 -qmax 8 bad.mov
     57% ffmpeg -y -i input_that_creates_visual_error_with_ffmpeg6_but_not_5.mp4 -c:v mpeg2video -non_linear_quant 1 -qmin 1 -pix_fmt yuv422p -vtag xd5b -q:v 1 -qmax 8 good.mov
    7058ffmpeg version 6.1.2 Copyright (c) 2000-2024 the FFmpeg developers
    7159  built with Apple clang version 14.0.0 (clang-1400.0.29.202)
     
    7967  libswresample   4. 12.100 /  4. 12.100
    8068  libpostproc    57.  3.100 / 57.  3.100
    81 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
     69Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input_that_creates_visual_error_with_ffmpeg6_but_not_5.mp4':
    8270  Metadata:
    8371    major_brand     : isom
    8472    minor_version   : 512
    8573    compatible_brands: isomiso2avc1mp41
    86     encoder         : Lavf60.16.100
    87   Duration: 00:00:05.07, start: 0.000000, bitrate: 6680 kb/s
    88   Stream #0:0[0x1](eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080, 4908 kb/s, 23.98 fps, 23.98 tbr, 24k tbn (default)
     74    encoder         : Lavf59.27.100
     75  Duration: 00:00:02.04, start: 0.000000, bitrate: 5301 kb/s
     76  Stream #0:0[0x1](eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080, 2982 kb/s, 23.98 fps, 23.98 tbr, 24k tbn (default)
    8977    Metadata:
    9078      handler_name    : ?Mainconcept Video Media Handler
    9179      vendor_id       : [0][0][0][0]
    9280      encoder         : AVC Coding
    93   Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
    94     Metadata:
    95       handler_name    : #Mainconcept MP4 Sound Media Handler
    96       vendor_id       : [0][0][0][0]
    9781Stream mapping:
    9882  Stream #0:0 -> #0:0 (h264 (native) -> mpeg2video (native))
    99   Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    10083Press [q] to stop, [?] for help
    101 Output #0, mov, to 'bad.mov':
     84Output #0, mov, to 'good.mov':
    10285  Metadata:
    10386    major_brand     : isom
     
    11295    Side data:
    11396      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
    114   Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    115     Metadata:
    116       handler_name    : #Mainconcept MP4 Sound Media Handler
    117       vendor_id       : [0][0][0][0]
    118       encoder         : Lavc60.31.102 aac
    119 [out#0/mov @ 0x14a705d10] video:17378kB audio:82kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.022736%
    120 frame=  121 fps=0.0 q=1.0 Lsize=   17464kB time=00:00:04.99 bitrate=28658.8kbits/s speed=13.1x   
    121 [aac @ 0x14a65b480] Qavg: 566.517
    122 
     97[out#0/mov @ 0x13fe04e70] video:5414kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.019627%
     98frame=   49 fps=0.0 q=1.0 Lsize=    5415kB time=00:00:01.96 bitrate=22627.3kbits/s speed=14.8x
    12399}}}
    124100