Recherche avancée

Médias (0)

Mot : - Tags -/images

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (99)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (5415)

  • Video frame difference with FFMPEG

    27 décembre 2015, par StepTNT

    I need to compute the frame differences between a source video and a compressed one.
    For now I’m using OpenCV with Java, by extracting each frame and doing a simple difference, but it’s quite slow (working a 0.5 fps, meaning that a 500 frames video will take more than 15 mins) so I was thinking to move to FFMPEG.

    FFMPEG feels a lot faster (everything’s done under 1 minute) but it has one big issue that makes the results useless : when compressing the source file, done with FFMPEG too, an extra gray frame is added at the beginning and this fakes the results because different frames are compared.

    This is what I’m doing now (knowing that the extra frame messes it all) :

    ffmpeg -y -i src.avi -i compressed.avi -filter_complex "blend=all_mode=difference,hue=s=0" -c:v libx264 -crf 18 -c:a copy difference.avi

    To fix the frame issue I was trying to remove the first frame by re-encoding the compressed video with this command

    ffmpeg -y -ss 0.02 -i compressed.mpg -an -f mpeg2video compressed-cut.mpg"

    (Note that -ss is 0.02 because it’s a 50 fps video, so I did 1/FPS as suggested here)

    But I get this response

    Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)

    So, finally, the question is : since extracting all the frames and then compute differences with OpenCV is really slow, how can I use FFMPEG to produce a video containing the difference between two sources while keeping in mind that one of them has an extra frame at the beginning ?

    EDIT : I wanted to avoid posting endless console outputs but since you asked for it, here we go.

    1) Encoding

    Input

    ffmpeg -i "720p50_mobcal_ter.avi" -an -f mpeg2video -y "720p50_mobcal_ter.mpg"

    Output

    ffmpeg version N-76684-g1fe82ab Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 5.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
     libavutil      55.  6.100 / 55.  6.100
     libavcodec     57. 15.100 / 57. 15.100
     libavformat    57. 14.100 / 57. 14.100
     libavdevice    57.  0.100 / 57.  0.100
     libavfilter     6. 15.100 /  6. 15.100
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, avi, from '720p50_mobcal_ter.avi':
     Metadata:
       encoder         : Lavf57.14.100
     Duration: 00:00:10.08, start: 0.000000, bitrate: 552974 kb/s
       Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720, 554059 kb/s, SAR 1:1 DAR 16:9, 50 fps, 50 tbr, 50 tbn, 50 tbc
    Output #0, mpeg2video, to '720p50_mobcal_ter.mpg':
     Metadata:
       encoder         : Lavf57.14.100
       Stream #0:0: Video: mpeg2video, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 50 fps, 50 tbn, 50 tbc
       Metadata:
         encoder         : Lavc57.15.100 mpeg2video
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg2video (native))
    Press [q] to stop, [?] for help
    frame=   41 fps=0.0 q=31.0 size=     984kB time=00:00:00.78 bitrate=10330.5kbits/frame=   80 fps= 78 q=31.0 size=    1323kB time=00:00:01.56 bitrate=6948.1kbits/frame=  124 fps= 80 q=31.0 size=    1725kB time=00:00:02.44 bitrate=5790.0kbits/frame=  168 fps= 81 q=31.0 size=    2084kB time=00:00:03.32 bitrate=5142.8kbits/frame=  212 fps= 81 q=31.0 size=    2482kB time=00:00:04.20 bitrate=4841.4kbits/frame=  255 fps= 82 q=31.0 size=    2840kB time=00:00:05.06 bitrate=4597.2kbits/frame=  296 fps= 82 q=31.0 size=    3133kB time=00:00:05.88 bitrate=4364.5kbits/frame=  338 fps= 82 q=24.8 size=    3453kB time=00:00:06.72 bitrate=4209.2kbits/frame=  382 fps= 82 q=31.0 size=    3723kB time=00:00:07.60 bitrate=4013.4kbits/frame=  426 fps= 83 q=31.0 size=    4005kB time=00:00:08.48 bitrate=3869.1kbits/frame=  470 fps= 83 q=24.8 size=    4276kB time=00:00:09.36 bitrate=3742.5kbits/frame=  504 fps= 83 q=31.0 Lsize=    4469kB time=00:00:10.06 bitrate=3639.3kbits/s
    video:4469kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%

    This adds the extra grey frame at the beginning, it just duplicates the first one

    2) Removing first frame

    Input

    ffmpeg -y -i "720p50_mobcal_ter.mpg" -an -f mpeg2video -vf select=gte(n\,1) "CUT-720p50_mobcal_ter.mpg"

    Output

    ffmpeg version N-76684-g1fe82ab Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 5.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
     libavutil      55.  6.100 / 55.  6.100
     libavcodec     57. 15.100 / 57. 15.100
     libavformat    57. 14.100 / 57. 14.100
     libavdevice    57.  0.100 / 57.  0.100
     libavfilter     6. 15.100 /  6. 15.100
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, mpegvideo, from '720p50_mobcal_ter.mpg':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: mpeg2video (Main), yuv420p(tv), 1280x720 [SAR 1:1 DAR 16:9], max. 104857 kb/s, 50 fps, 50 tbr, 1200k tbn, 100 tbc
    Output #0, mpeg2video, to 'CUT-720p50_mobcal_ter.mpg':
     Metadata:
       encoder         : Lavf57.14.100
       Stream #0:0: Video: mpeg2video, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 50 fps, 50 tbn, 50 tbc
       Metadata:
         encoder         : Lavc57.15.100 mpeg2video
    Stream mapping:
     Stream #0:0 -> #0:0 (mpeg2video (native) -> mpeg2video (native))
    Press [q] to stop, [?] for help
    frame=  255 fps=0.0 q=31.0 size=    2781kB time=00:00:05.10 bitrate=4467.3kbits/frame=  503 fps=0.0 q=31.0 Lsize=    4415kB time=00:00:10.08 bitrate=3588.5kbits/s
    video:4415kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%

    3) Frame difference

    Input

    ffmpeg -y -i "720p50_mobcal_ter.avi" -i "CUT-720p50_mobcal_ter.mpg" -filter_complex "blend=all_mode=difference,hue=s=0" -c:v libx264 -crf 18 -c:a copy "DIFF-720p50_mobcal_ter.mpg"

    Output

    ffmpeg version N-76684-g1fe82ab Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 5.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
     libavutil      55.  6.100 / 55.  6.100
     libavcodec     57. 15.100 / 57. 15.100
     libavformat    57. 14.100 / 57. 14.100
     libavdevice    57.  0.100 / 57.  0.100
     libavfilter     6. 15.100 /  6. 15.100
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, avi, from '720p50_mobcal_ter.avi':
     Metadata:
       encoder         : Lavf57.14.100
     Duration: 00:00:10.08, start: 0.000000, bitrate: 552974 kb/s
       Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720, 554059 kb/s, SAR 1:1 DAR 16:9, 50 fps, 50 tbr, 50 tbn, 50 tbc
    Input #1, mpegvideo, from 'CUT-720p50_mobcal_ter.mpg':
     Duration: N/A, bitrate: N/A
       Stream #1:0: Video: mpeg2video (Main), yuv420p(tv), 1280x720 [SAR 1:1 DAR 16:9], max. 104857 kb/s, 50 fps, 50 tbr, 1200k tbn, 100 tbc
    [libx264 @ 000002784dbeb980] using SAR=1/1
    [libx264 @ 000002784dbeb980] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 000002784dbeb980] profile High, level 3.2
    [mpeg @ 000002784dbeaf20] VBV buffer size not set, using default size of 130KB
    If you want the mpeg file to be compliant to some specification
    Like DVD, VCD or others, make sure you set the correct buffer size
    Output #0, mpeg, to 'D:\DOWNLOADS\TMP\Video TDI\AVI\DIFF-720p50_mobcal_ter.mpg':
     Metadata:
       encoder         : Lavf57.14.100
       Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 50 fps, 90k tbn, 50 tbc (default)
       Metadata:
         encoder         : Lavc57.15.100 libx264
    Stream mapping:
     Stream #0:0 (rawvideo) -> blend:top
     Stream #1:0 (mpeg2video) -> blend:bottom
     hue -> Stream #0:0 (libx264)
    Press [q] to stop, [?] for help
    frame=  504 fps= 39 q=-1.0 Lsize=   32182kB time=00:00:10.04 bitrate=26258.5kbits/s
    video:32061kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.377054%
    [libx264 @ 000002784dbeb980] frame I:30    Avg QP:19.69  size:149974
    [libx264 @ 000002784dbeb980] frame P:299   Avg QP:23.28  size: 69423
    [libx264 @ 000002784dbeb980] frame B:175   Avg QP:24.48  size: 43280
    [libx264 @ 000002784dbeb980] consecutive B-frames: 30.6% 69.4%  0.0%  0.0%
    [libx264 @ 000002784dbeb980] mb I  I16..4: 18.3% 51.4% 30.4%
    [libx264 @ 000002784dbeb980] mb P  I16..4:  0.6%  5.6%  2.4%  P16..4: 35.9% 22.9% 15.6%  0.0%  0.0%    skip:17.0%
    [libx264 @ 000002784dbeb980] mb B  I16..4:  0.2%  0.5%  0.3%  B16..8: 49.5% 12.4%  5.6%  direct:15.5%  skip:16.1%  L0:47.8% L1:42.1% BI:10.1%
    [libx264 @ 000002784dbeb980] 8x8 transform intra:57.5% inter:38.5%
    [libx264 @ 000002784dbeb980] coded y,uvDC,uvAC intra: 90.7% 0.0% 0.0% inter: 50.3% 0.0% 0.0%
    [libx264 @ 000002784dbeb980] i16 v,h,dc,p: 32% 23% 35% 10%
    [libx264 @ 000002784dbeb980] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 11% 41%  7%  5%  6%  5%  6%  8%
    [libx264 @ 000002784dbeb980] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 14% 23%  8%  7%  7%  7%  7%  8%
    [libx264 @ 000002784dbeb980] i8c dc,h,v,p: 100%  0%  0%  0%
    [libx264 @ 000002784dbeb980] Weighted P-Frames: Y:33.8% UV:0.0%
    [libx264 @ 000002784dbeb980] ref P L0: 58.1% 16.3% 14.2%  9.4%  2.0%
    [libx264 @ 000002784dbeb980] ref B L0: 79.3% 20.7%
    [libx264 @ 000002784dbeb980] kb/s:26056.02

    The second command made everything work while the second one in the first part didn’t (the one with the -ss option), so I could be quite happy about it but I’m not that sure if FFMPEG duplicates the first frame for every video or if it’s just related to the one I’m using now, so it could be better to start off with a compressed video that has the same frame count of the original one.

    So let’s get to one final question : why does FFMPEG add a duplicated first frame at the beginning of the compressed video and how can I avoid that ?

  • Announcing Matomo 4 : More security, privacy and better performance

    17 novembre 2020, par Matomo Core Team — Community, Development, Privacy, Security

    The moment we’ve all been waiting for is here … Matomo Analytics 4 has launched !! We’re incredibly grateful for all community members and contributors who’ve helped with improvements, and our awesome team for all the fixes. 

    We can’t wait for you to gain greater security, privacy protection, and be able to boost your website performance. Now who’s ready ?

    Minimise your business’ web data security risk

    We’ve made Matomo even more secure to meet our users’ ever increasing security needs. Matomo 4 has certainly delivered on these expectations with a wide range of security enhancements and fixes across the platform :

    • Support for app specific API tokens. [#6559]
    • API tokens and session ids are now stored hashed in the database which means if someone can access your database they wouldn’t be able to get the actual token.
    • A more secure host validation. [#16169]
    • By default, you no longer can embed widgets through tokens with higher privileges. [#16264]
    • Plenty of other minor security fixes.

    More protection of your customer’s personal data

    Matomo 4 ensures you’re compliant with data privacy laws and provides you with more ways to keep your customer’s personal data private, such as :

    • The ability to automatically anonymise the referrer to avoid tracking personal data by accident. [#15426]
    • The option to enforce the disabling of cookies. [#16258]
    • Possibility in JavaScript tracker to turn cookies on and off at any time. [#13056]
    • The option to not store any IP address at all. [#16377]
    • Easily disable visits log and visitor profile feature if needed for privacy compliance [#16259]
    • New segment to separate visitors who gave consent vs visitors who didn’t give consent. [#16192]

    Matomo now offers PHP 8 support to users. Want to know more ? Get a detailed list of over 300 fixes and improvements in the Matomo 4 changelog.

    Increased conversion rates with a focus on page performance

    Our new Page Performance feature in Matomo 4 can help you increase conversion rates by showing you exactly how fast or slow your website is going, and WHY. An Akamai Online Retail Study in 2017 found that a 100-millisecond delay in website load time could underperform website conversion rates by up to 7%. 

    By using this new feature you can quickly identify slow pages and fix page speed issues as soon as they arise, meaning you never miss out on those valuable new sales opportunities.

    Improve your Google search rankings in 2021

    According to moz.com, Google’s bringing in a new ranking factor into their algorithm named Core Web Vitals, which will place greater emphasis on load speed (favouring websites that load faster). This means the slower your page loads, the worse it will rank in Google. With Matomo’s new feature, you’ll be able to optimise your pages to rank better according to the Core Web Vitals ranking factor. 

    Read more on how you can use this new feature : https://matomo.org/faq/how-to/how-do-i-see-page-performance-reports/

    Need help upgrading Matomo ?

    Read the Updating Matomo user guide or contact the Matomo experts

    Please note : It may take a while for you to receive a notice to update to Matomo 4.

  • Script error logging and filtering leads to truncated inputs [duplicate]

    11 septembre 2023, par Alex Ixeras

    I have a short script to log the output of an ffmpeg error output. I want to suppress logging a particular error message, but log any other.

    


    while IFS= read -r file; do
    if [[ "$file" == *.mov ]]; then
        error=$(ffmpeg -v error -i "$file" -f null - 2>&1)
        if [[ "$error" != *"Application provided invalid, non monotonically increasing dts"* ]]; then
            echo "File: $file" >> error.log
            echo "$error" >> error.log
            echo "\n" >> error.log
        fi
    fi
done < /dir/to/list_of_files.txt


    


    On running this I get some output working well, some other however, seems to be truncated or seemingly providing truncated input. Below is some sample output.

    


    There are two truncated inputs (mes/bar/media/040F4F7F-7555-42C0-A8BE-F00C2240B1E9.mov and olumes/bar/media/05DD1E0E-3AA6-4803-9FE3-95101CF69AC7.mov) and one .heic file, which is sitting in the same folder, seemingly causing an issue (r/media/06D46531-B088-46D6-AEEA-7192845D09E0.heic). None of the files and their paths listed in /dir/to/list_of_files.txt is listed incomplete, meaning list_of_files.txt shows

    


      

    • /Volmes/bar/media/040F4F7F-7555-42C0-A8BE-F00C2240B1E9.mov
    • 


    • /Volumes/bar/media/05DD1E0E-3AA6-4803-9FE3-95101CF69AC7.mov
    • 


    • /Volumes/bar/media/06D46531-B088-46D6-AEEA-7192845D09E0.heic
    • 


    


    Here is the sample output :

    


    File: /Volumes/bar/media/006BE123-DA3F-46AA-A7DB-4FB747ECE3A8.mov&#xA;[h264 @ 0x126f1acf0] cabac decode of qscale diff failed at 44 1&#xA;[h264 @ 0x126f1acf0] error while decoding MB 44 1, bytestream 74947&#xA;&#xA;&#xA;File: /Volumes/bar/media/026B2681-840E-4B5E-945B-3CD485C74DA4.mov&#xA;[h264 @ 0x150e46e10] cabac decode of qscale diff failed at 51 24&#xA;[h264 @ 0x150e46e10] error while decoding MB 51 24, bytestream 29149&#xA;[h264 @ 0x150e50220] cabac decode of qscale diff failed at 56 33&#xA;[h264 @ 0x150e50220] error while decoding MB 56 33, bytestream 26749&#xA;[h264 @ 0x150e3da00] cabac decode of qscale diff failed at 71 42&#xA;[h264 @ 0x150e3da00] error while decoding MB 71 42, bytestream 22012&#xA;[h264 @ 0x150e62a40] cabac decode of qscale diff failed at 64 52&#xA;[h264 @ 0x150e62a40] error while decoding MB 64 52, bytestream 15091&#xA;&#xA;&#xA;File: mes/bar/media/040F4F7F-7555-42C0-A8BE-F00C2240B1E9.mov&#xA;mes/bar/media/040F4F7F-7555-42C0-A8BE-F00C2240B1E9.mov: No such file or directory&#xA;&#xA;&#xA;File: olumes/bar/media/05DD1E0E-3AA6-4803-9FE3-95101CF69AC7.mov&#xA;olumes/bar/media/05DD1E0E-3AA6-4803-9FE3-95101CF69AC7.mov: No such file or directory&#xA;&#xA;&#xA;File: /Volumes/bar/media/06C7E26A-C494-498A-8B57-BBC6E6CB7848.mov&#xA;[NULL @ 0x1246059c0] Invalid NAL unit size (1206193094 > 73032).&#xA;[NULL @ 0x1246059c0] missing picture in access unit with size 73036&#xA;[h264 @ 0x124646d10] Invalid NAL unit size (1206193094 > 73032).&#xA;[h264 @ 0x124646d10] Error splitting the input into NAL units.&#xA;[h264 @ 0x12463d900] left block unavailable for requested intra4x4 mode -1&#xA;[h264 @ 0x12463d900] error while decoding MB 0 12, bytestream 49336&#xA;Error while decoding stream #0:0: Invalid data found when processing input&#xA;[h264 @ 0x124659530] left block unavailable for requested intra4x4 mode -1&#xA;[h264 @ 0x124659530] error while decoding MB 0 4, bytestream 67241&#xA;[NULL @ 0x1246059c0] Invalid NAL unit size (385154995 > 70401).&#xA;[NULL @ 0x1246059c0] missing picture in access unit with size 70405&#xA;[h264 @ 0x124662940] cabac decode of qscale diff failed at 78 12&#xA;[h264 @ 0x124662940] error while decoding MB 78 12, bytestream 56219&#xA;[h264 @ 0x12466bd50] cabac decode of qscale diff failed at 86 9&#xA;[h264 @ 0x12466bd50] error while decoding MB 86 9, bytestream 61798&#xA;[h264 @ 0x124662940] Invalid NAL unit size (385154995 > 70401).&#xA;[h264 @ 0x124662940] Error splitting the input into NAL units.&#xA;[h264 @ 0x124621cd0] cabac decode of qscale diff failed at 107 5&#xA;[h264 @ 0x124621cd0] error while decoding MB 107 5, bytestream 60244&#xA;[h264 @ 0x1246188c0] top block unavailable for requested intra mode&#xA;[h264 @ 0x1246188c0] error while decoding MB 30 0, bytestream 70310&#xA;[h264 @ 0x124621cd0] cabac decode of qscale diff failed at 96 9&#xA;[h264 @ 0x124621cd0] error while decoding MB 96 9, bytestream 61611&#xA;Error while decoding stream #0:0: Invalid data found when processing input&#xA;[h264 @ 0x12463d900] cabac decode of qscale diff failed at 35 6&#xA;[h264 @ 0x12463d900] error while decoding MB 35 6, bytestream 54803&#xA;[h264 @ 0x124646d10] cabac decode of qscale diff failed at 57 10&#xA;[h264 @ 0x124646d10] error while decoding MB 57 10, bytestream 58139&#xA;[h264 @ 0x12466bd50] cabac decode of qscale diff failed at 78 4&#xA;[h264 @ 0x12466bd50] error while decoding MB 78 4, bytestream 66779&#xA;[h264 @ 0x1246188c0] left block unavailable for requested intra4x4 mode -1&#xA;[h264 @ 0x1246188c0] error while decoding MB 0 2, bytestream 199872&#xA;[h264 @ 0x124650120] cabac decode of qscale diff failed at 111 1&#xA;[h264 @ 0x124650120] error while decoding MB 111 1, bytestream 59299&#xA;[h264 @ 0x124646d10] left block unavailable for requested intra4x4 mode -1&#xA;[h264 @ 0x124646d10] error while decoding MB 0 15, bytestream 60124&#xA;[h264 @ 0x124659530] cabac decode of qscale diff failed at 114 5&#xA;[h264 @ 0x124659530] error while decoding MB 114 5, bytestream 56033&#xA;[h264 @ 0x124621cd0] cabac decode of qscale diff failed at 40 11&#xA;[h264 @ 0x124621cd0] error while decoding MB 40 11, bytestream 60838&#xA;[h264 @ 0x12463d900] left block unavailable for requested intra mode&#xA;[h264 @ 0x12463d900] error while decoding MB 0 8, bytestream 53862&#xA;[h264 @ 0x124646d10] cabac decode of qscale diff failed at 37 10&#xA;[h264 @ 0x124646d10] error while decoding MB 37 10, bytestream 51872&#xA;[h264 @ 0x124650120] cabac decode of qscale diff failed at 116 13&#xA;[h264 @ 0x124650120] error while decoding MB 116 13, bytestream 48950&#xA;[h264 @ 0x124659530] top block unavailable for requested intra mode -1&#xA;[h264 @ 0x124659530] error while decoding MB 61 0, bytestream 59379&#xA;[h264 @ 0x124662940] cabac decode of qscale diff failed at 101 5&#xA;[h264 @ 0x124662940] error while decoding MB 101 5, bytestream 52129&#xA;[h264 @ 0x12466bd50] left block unavailable for requested intra4x4 mode -1&#xA;[h264 @ 0x12466bd50] error while decoding MB 0 12, bytestream 60271&#xA;[h264 @ 0x1246188c0] top block unavailable for requested intra mode&#xA;[h264 @ 0x1246188c0] error while decoding MB 95 0, bytestream 75286&#xA;[h264 @ 0x1246344f0] cabac decode of qscale diff failed at 43 11&#xA;[h264 @ 0x1246344f0] error while decoding MB 43 11, bytestream 52247&#xA;[NULL @ 0x1246059c0] Invalid NAL unit size (274069289 > 199826).&#xA;[NULL @ 0x1246059c0] missing picture in access unit with size 199830&#xA;[h264 @ 0x124662940] Invalid NAL unit size (274069289 > 199826).&#xA;[h264 @ 0x124662940] Error splitting the input into NAL units.&#xA;[h264 @ 0x124621cd0] left block unavailable for requested intra4x4 mode -1&#xA;[h264 @ 0x124621cd0] error while decoding MB 0 2, bytestream 69812&#xA;[h264 @ 0x124650120] left block unavailable for requested intra4x4 mode -1&#xA;[h264 @ 0x124650120] error while decoding MB 0 63, bytestream 5884&#xA;&#xA;Enter command: <target>|all <time>|-1 <command>[ <argument>]&#xA;&#xA;Parse error, at least 3 arguments were expected, only 1 given in string &#x27;r/media/06D46531-B088-46D6-AEEA-7192845D09E0.heic&#x27;&#xA;Error while decoding stream #0:0: Invalid data found when processing input&#xA;[NULL @ 0x1246059c0] Invalid NAL unit size (-1948339868 > 63994).&#xA;[NULL @ 0x1246059c0] missing picture in access unit with size 63998&#xA;[h264 @ 0x12466bd50] Invalid NAL unit size (-1948339868 > 63994).&#xA;[h264 @ 0x12466bd50] Error splitting the input into NAL units.&#xA;[NULL @ 0x1246059c0] Invalid NAL unit size (-632247255 > 62292).&#xA;[NULL @ 0x1246059c0] missing picture in access unit with size 62296&#xA;[h264 @ 0x12460bc20] Invalid NAL unit size (-632247255 > 62292).&#xA;[h264 @ 0x12460bc20] Error splitting the input into NAL units.&#xA;[h264 @ 0x1246344f0] cabac decode of qscale diff failed at 46 2&#xA;[h264 @ 0x1246344f0] error while decoding MB 46 2, bytestream 63786&#xA;[h264 @ 0x12463d900] left block unavailable for requested intra mode&#xA;[h264 @ 0x12463d900] error while decoding MB 0 1, bytestream 62099&#xA;[h264 @ 0x124646d10] left block unavailable for requested intra4x4 mode -1&#xA;[h264 @ 0x124646d10] error while decoding MB 0 4, bytestream 56879&#xA;[h264 @ 0x1246188c0] cabac decode of qscale diff failed at 38 4&#xA;[h264 @ 0x1246188c0] error while decoding MB 38 4, bytestream 57286&#xA;[h264 @ 0x124621cd0] top block unavailable for requested intra mode&#xA;[h264 @ 0x124621cd0] error while decoding MB 24 0, bytestream 75479&#xA;Error while decoding stream #0:0: Invalid data found when processing input&#xA;    Last message repeated 1 times&#xA;[aac @ 0x1246081f0] Pulse data corrupt or invalid.&#xA;Error while decoding stream #0:1: Invalid data found when processing input&#xA;[aac @ 0x1246081f0] Reserved bit set.&#xA;[aac @ 0x1246081f0] Number of bands (48) exceeds limit (39).&#xA;Error while decoding stream #0:1: Invalid data found when processing input&#xA;[aac @ 0x1246081f0] Reserved bit set.&#xA;[aac @ 0x1246081f0] Number of bands (7) exceeds limit (4).&#xA;Error while decoding stream #0:1: Invalid data found when processing input&#xA;[aac @ 0x1246081f0] Reserved bit set.&#xA;[aac @ 0x1246081f0] Prediction is not allowed in AAC-LC.&#xA;Error while decoding stream #0:1: Invalid data found when processing input&#xA;[aac @ 0x1246081f0] Reserved bit set.&#xA;[aac @ 0x1246081f0] Number of bands (43) exceeds limit (40).&#xA;Error while decoding stream #0:1: Invalid data found when processing input&#xA;[aac @ 0x1246081f0] Reserved bit set.&#xA;[aac @ 0x1246081f0] ms_present = 3 is reserved.&#xA;Error while decoding stream #0:1: Invalid data found when processing input&#xA;[h264 @ 0x124646d10] top block unavailable for requested intra mode -1&#xA;[h264 @ 0x124646d10] error while decoding MB 83 0, bytestream 200857&#xA;[h264 @ 0x1246188c0] top block unavailable for requested intra mode -1&#xA;[h264 @ 0x1246188c0] error while decoding MB 74 0, bytestream 72661&#xA;[h264 @ 0x124621cd0] cabac decode of qscale diff failed at 63 8&#xA;[h264 @ 0x124621cd0] error while decoding MB 63 8, bytestream 62599&#xA;[h264 @ 0x1246344f0] left block unavailable for requested intra mode&#xA;[h264 @ 0x1246344f0] error while decoding MB 0 8, bytestream 64506&#xA;[h264 @ 0x12463d900] top block unavailable for requested intra mode&#xA;[h264 @ 0x12463d900] error while decoding MB 85 0, bytestream 73041&#xA;[h264 @ 0x124659530] top block unavailable for requested intra mode -1&#xA;[h264 @ 0x124659530] error while decoding MB 36 0, bytestream 64753&#xA;[h264 @ 0x124650120] left block unavailable for requested intra mode&#xA;[h264 @ 0x124650120] error while decoding MB 0 12, bytestream 63916&#xA;[h264 @ 0x12460bc20] cabac decode of qscale diff failed at 85 8&#xA;[h264 @ 0x12460bc20] error while decoding MB 85 8, bytestream 55869&#xA;[h264 @ 0x124621cd0] left block unavailable for requested intra mode&#xA;[h264 @ 0x124621cd0] error while decoding MB 0 9, bytestream 55282&#xA;[h264 @ 0x12463d900] left block unavailable for requested intra mode&#xA;[h264 @ 0x12463d900] error while decoding MB 0 12, bytestream 50989&#xA;[h264 @ 0x124650120] top block unavailable for requested intra mode&#xA;[h264 @ 0x124650120] error while decoding MB 38 0, bytestream 63979&#xA;[h264 @ 0x124659530] cabac decode of qscale diff failed at 77 1&#xA;[h264 @ 0x124659530] error while decoding MB 77 1, bytestream 60749&#xA;[h264 @ 0x124662940] left block unavailable for requested intra4x4 mode -1&#xA;[h264 @ 0x124662940] error while decoding MB 0 4, bytestream 58098&#xA;[h264 @ 0x12466bd50] top block unavailable for requested intra mode&#xA;[h264 @ 0x12466bd50] error while decoding MB 12 0, bytestream 63853&#xA;[h264 @ 0x12460bc20] left block unavailable for requested intra mode&#xA;[h264 @ 0x12460bc20] error while decoding MB 0 3, bytestream 55763&#xA;[h264 @ 0x1246188c0] cabac decode of qscale diff failed at 64 8&#xA;[h264 @ 0x1246188c0] error while decoding MB 64 8, bytestream 51798&#xA;[h264 @ 0x124646d10] left block unavailable for requested intra mode&#xA;[h264 @ 0x124646d10] error while decoding MB 0 20, bytestream 43042&#xA;[h264 @ 0x12460bc20] left block unavailable for requested intra mode&#xA;[h264 @ 0x12460bc20] error while decoding MB 0 33, bytestream 35359&#xA;</argument></command></time></target>

    &#xA;

    When I try running the commands individually line by line from the input file, they all work as expected, e.g.

    &#xA;

      &#xA;
    • ffmpeg -v error -i "/Volumes/bar/media/006BE123-DA3F-46AA-A7DB-4FB747ECE3A8.mov" -f null -
    • &#xA;

    • ffmpeg -v error -i "/Volumes/bar/media/026B2681-840E-4B5E-945B-3CD485C74DA4.mov" -f null -
    • &#xA;

    • ffmpeg -v error -i "/Volumes/bar/media/040C2C65-7643-4432-9C73-3B4A74861908.mov" -f null -
    • &#xA;

    • ffmpeg -v error -i "/Volumes/bar/media/040F4F7F-7555-42C0-A8BE-F00C2240B1E9.mov" -f null -
    • &#xA;

    • ffmpeg -v error -i "/Volumes/bar/media/042561B3-A732-457D-8ED4-A81A9EB3A5A7.mov" -f null -
    • &#xA;

    • ffmpeg -v error -i "/Volumes/bar/media/05DD1E0E-3AA6-4803-9FE3-95101CF69AC7.mov" -f null -
    • &#xA;

    &#xA;

    I've also tried initialising the error variable after every output, but without any success.

    &#xA;

    I'm running this under macOS 13.5 using ffmpeg version 6.0.

    &#xA;

    Why is the log output truncated or why does this script use truncated input ? Or, where does the script fail leading to these errors ?

    &#xA;