Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (70)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

Sur d’autres sites (9101)

  • cmake installation of x265 for ffmpeg on Cygwin - executable location different from other codecs

    6 mai, par bballdave025

    TL ;DR (with expected vs. real)

    


    For a Cygwin build of ffmpeg, I'm installing x265, and it seems to me that the executable ends up in the wrong place. I'll show some basic directory structure, then I'll show the tree outputs for expected and real, both before and after the cmake installation. For directories where I think this is important, I'll show the outputs before and after the cmake installation.

    


    My question has two parts. I used the following cmake and make commands,

    


    # pwd => $HOME/programs/ffmpeg/ffmpeg_sources/x265/build/linux
PATH="$HOME/programs/ffmpeg/bin:$PATH" \
  cmake -G "Unix Makefiles" \
        -DCMAKE_INSTALL_PREFIX="$HOME/programs/ffmpeg/ffmpeg_build" \
        -DENABLE_SHARED=OFF \
        -DCMAKE_EXE_LINKER_FLAGS="-static" 
            ../../source
PATH="$HOME/programs/ffmpeg/bin:$PATH" make -j $(nproc)
make install


    


    The result is below, with my real vs. expected, and there is a more detailed, more explicit, and hopefully more clear file with the info. at pastebin.com/86wHrtxR.

    


    Edit : I've made a copy of the detailed/explicit/clear file on my GitHub as a gist. This should be more secure. (The Pastebin version still exists, in case that is your preference.)

    


    Now, for my two-part question :

    


      

    1. How can I change my cmake command so that my x265.exe file ends up in $HOME/programs/ffmpeg/bin with the proper linking, rather than $HOME/programs/ffmpeg/ffmpeg_build/bin ?

      


    2. 


    3. Would the build/linker/whatever figure things out for the ffmpeg build ?

      


    4. 


    


    I want to know the answer to question number 1 regardless of the answer to question number 2. I haven't used cmake with the -DVAR=var flags before, and I'd like to take this opportunity to learn.

    


    For the result :

    


    Things surrounded by double curly brackets are {{ expected }}.

    


    Things surrounded by double angle brackets are << real >>, i.e. they exist after the installation is done.

    


    If real matches expected, and the file/directory is new, I've surrounded it by double parentheses, i.e. double round brackets. (( match ))

    


    If something is not new (and thus has the same before and after) I haven't marked it.

    


       me@MACHINE ~/programs/ffmpeg&#xA;   $ tree --charset=ascii bin&#xA;   bin&#xA;   |-- lame.exe&#xA;   |-- mp3rtp.exe&#xA;   |-- mp3x.exe&#xA;   `-- x264.exe&#xA;{{ `-- x265.exe                     }} ## Expected, not Exists&#xA;&#xA;   me@MACHINE ~/programs/ffmpeg&#xA;   $ tree --charset=ascii \&#xA;                   ffmpeg_build&#xA;   ffmpeg_build&#xA;&lt;&lt; |-- bin                          >> ## Not expected, Exists&#xA;&lt;&lt; |   `-- x265.exe                 >> ## Not expected, Exists&#xA;   |-- include&#xA;   |   |-- fdk-aac&#xA;   |   |   |-- aacdecoder_lib.h&#xA;   |   |   |-- aacenc_lib.h&#xA;   |   |   `-- ... <more files="files">&#xA;   |   |-- lame&#xA;   |   |   `-- lame.h&#xA;   |   |-- x264.h&#xA;   |   `-- x264_config.h&#xA;(( |   |-- x265.h                   )) ## Expected and Exists&#xA;(( |   `-- x265_config.h            )) ## Expected and Exists&#xA;   |-- lib&#xA;   |   |-- libfdk-aac.a&#xA;   |   |-- libfdk-aac.la&#xA;   |   |-- libmp3lame.a&#xA;   |   |-- libmp3lame.la&#xA;(( |   |-- libx265.a                )) ## Expected and Exists&#xA;   |   `-- pkgconfig&#xA;   |       |-- fdk-aac.pc&#xA;   |       `-- x264.pc&#xA;(( |       `-- x265.pc              )) ## Expected and Exists&#xA;   `-- share&#xA;       |-- doc&#xA;       |   ... <only lame="lame">&#xA;       `-- man&#xA;           ... <only lame="lame">&#xA;</only></only></more>

    &#xA;

    Other, possibly useful information about the build directory structure.

    &#xA;

    me@MACHINE ~/programs/ffmpeg&#xA;$ tree --charset=ascii -L 1 .&#xA;.&#xA;|-- bin&#xA;|-- ffmpeg_build&#xA;`-- ffmpeg_sources&#xA;&#xA;3 directories, 0 files&#xA;

    &#xA;

    For this next, ffmpeg_sources dir, I'm showing the after (which is both expected and real/exists) surrounded by double parentheses, i.e. double round brackets, (( <after> ))</after>.

    &#xA;

       me@MACHINE ~/programs/ffmpeg&#xA;   $ tree --charset=ascii -L 1 ffmpeg_sources&#xA;   ffmpeg_sources&#xA;   |-- fdk-aac.zip&#xA;   |-- lame-svn&#xA;   |-- mstorsjo-fdk-aac-e7d8591&#xA;   |-- x264-snapshot-20191217-2245&#xA;   |-- x264-snapshot-20191217-2245.tar.bz2&#xA;   `-- x264-snapshot-20191218-README.txt&#xA;(( `-- x265                         ))&#xA;&#xA;   3 directories, 3 files&#xA;(( 4 directories, 3 files ))&#xA;

    &#xA;


    &#xA;

    NOW, FOR SOME MORE DETAIL

    &#xA;


    &#xA;

    What I'm Doing

    &#xA;

    I am working on a Cygwin build (vs. a Windows/mingw build) of ffmpeg. I am following an older guide by koohiimaster (archived). That guide says,

    &#xA;

    &#xA;

    [W]e are not cross-compiling for windows ; we are compiling for Cygwin.

    &#xA;

    &#xA;

    This 2014 guide doesn't have all of the codecs I want - I want as complete a build as possible - so I've also been referring to this ffmpeg-for-Ubuntu guide (archived), which I hope is kept up-to-date. It's referred to by koohiimaster.

    &#xA;

    Also, as a way of checking that I'm getting all the codecs I want, I've been looking at this FFmpeg for Windows guide from SuperUser

    &#xA;

    I'll give the basics of my steps below. More details, as well as all the output is at pastebin.com/suL1nU6Z.

    &#xA;

    Edit : I've put the log of terminal input/output for all my steps into a gist at my GitHub as this seems safer than Pastebin.

    &#xA;

    A look at directory structure for the build

    &#xA;

    me@MACHINE ~/programs/ffmpeg&#xA;$ cd $HOME/programs/ffmpeg&#xA;&#xA;me@MACHINE ~/programs/ffmpeg&#xA;$ tree --charset=ascii -d -L 1&#xA;.&#xA;|-- bin&#xA;|-- ffmpeg_build&#xA;`-- ffmpeg_sources&#xA;&#xA;3 directories&#xA;

    &#xA;

    Getting the source. Note that I had to apt-cyg install mercurial, though (with my Cygwin setup GUI/EXE in my Cygwin root directory, i.e. C:\cygwin64\setup-x86_64.exe), I could also have done /setup-x86_64.exe install -q -P mercurial.

    &#xA;

    cd ffmpeg_sources&#xA;hg clone https://bitbucket.org/multicoreware/x265&#xA;

    &#xA;

    Running the cmake and make commands

    &#xA;

    cd x265/build/linux&#xA;PATH="$HOME/programs/ffmpeg/bin:$PATH" \&#xA;  cmake -G "Unix Makefiles" \&#xA;        -DCMAKE_INSTALL_PREFIX="$HOME/programs/ffmpeg/ffmpeg_build" \&#xA;        -DENABLE_SHARED=OFF \&#xA;        -DCMAKE_EXE_LINKER_FLAGS="-static" \&#xA;            ../../source&#xA;PATH="$HOME/programs/ffmpeg/bin:$PATH" make -j $(nproc)&#xA;make install&#xA;

    &#xA;

    It was the last part (actually the very last line) of the make install output that worried me. Here is the whole output - it's not very long.

    &#xA;

    make[1]: Entering directory &#x27;/home/me/programs/ffmpeg/ffmpeg_sources/x265/build/linux&#x27;&#xA;make[2]: Entering directory &#x27;/home/me/programs/ffmpeg/ffmpeg_sources/x265/build/linux&#x27;&#xA;make[2]: Leaving directory &#x27;/home/me/programs/ffmpeg/ffmpeg_sources/x265/build/linux&#x27;&#xA;[ 20%] Built target encoder&#xA;make[2]: Entering directory &#x27;/home/me/programs/ffmpeg/ffmpeg_sources/x265/build/linux&#x27;&#xA;make[2]: Leaving directory &#x27;/home/me/programs/ffmpeg/ffmpeg_sources/x265/build/linux&#x27;&#xA;[ 83%] Built target common&#xA;make[2]: Entering directory &#x27;/home/me/programs/ffmpeg/ffmpeg_sources/x265/build/linux&#x27;&#xA;make[2]: Leaving directory &#x27;/home/me/programs/ffmpeg/ffmpeg_sources/x265/build/linux&#x27;&#xA;[ 84%] Built target x265-static&#xA;make[2]: Entering directory &#x27;/home/me/programs/ffmpeg/ffmpeg_sources/x265/build/linux&#x27;&#xA;make[2]: Leaving directory &#x27;/home/me/programs/ffmpeg/ffmpeg_sources/x265/build/linux&#x27;&#xA;[100%] Built target cli&#xA;make[1]: Leaving directory &#x27;/home/me/programs/ffmpeg/ffmpeg_sources/x265/build/linux&#x27;&#xA;Install the project...&#xA;-- Install configuration: "Release"&#xA;-- Installing: /home/me/programs/ffmpeg/ffmpeg_build/lib/libx265.a&#xA;-- Installing: /home/me/programs/ffmpeg/ffmpeg_build/include/x265.h&#xA;-- Installing: /home/me/programs/ffmpeg/ffmpeg_build/include/x265_config.h&#xA;-- Installing: /home/me/programs/ffmpeg/ffmpeg_build/lib/pkgconfig/x265.pc&#xA;-- Installing: /home/me/programs/ffmpeg/ffmpeg_build/bin/x265.exe&#xA;

    &#xA;

    As discussed in the TL ;DR section, I expected to see x265.exe at

    &#xA;

    home/me/programs/ffmpeg/bin/x265.exe

    &#xA;

    rather than the path given on the last line of output,

    &#xA;

    /home/me/programs/ffmpeg/ffmpeg_build/bin/x265.exe

    &#xA;

    This worries me especially because the first part of the ffmpeg install command that my instructions inform me to run is

    &#xA;

    PATH="$HOME/programs/ffmpeg/bin:$PATH" \&#xA;PKG_CONFIG_PATH="$HOME/programs/ffmpeg/ffmpeg_build/lib/pkgconfig" \&#xA;  ./configure \&#xA;    --prefix="$HOME/programs/ffmpeg/ffmpeg_build" \&#xA;    --extra-cflags="-I$HOME/programs/ffmpeg/ffmpeg_build/include" \&#xA;    --extra-ldflags="-L$HOME/programs/ffmpeg/ffmpeg_build/lib" \&#xA;    --bindir="$HOME/programs/ffmpeg/bin" \&#xA;

    &#xA;

       ... and on it goes ...

    &#xA;

    It would seem to me that the .configure script for ffmpeg won't find the x265 executable, since it's not in the bindir.

    &#xA;

    I'll repeat my two-part question from before :

    &#xA;

      &#xA;
    1. How can I change my cmake command so that my x265.exe file ends up in $HOME/programs/ffmpeg/bin with the proper linking, rather than $HOME/programs/ffmpeg/ffmpeg_build/bin ?
    2. &#xA;

    &#xA;

    What I'm looking for here is something akin to the --bindir flag from make's ./confiure.

    &#xA;

      &#xA;
    1. Would the build/linker/whatever figure things out for the ffmpeg build ?
    2. &#xA;

    &#xA;

    I want to know the answer to question number 1 regardless of the answer to question number 2. I haven't used cmake with the -DVAR=var flags before, and I'd like to take this opportunity to learn.

    &#xA;


    &#xA;

    Where I've Looked & What I've Tried

    &#xA;

    I first started with the man page and the --help for cmake. That was scary. I was hoping that I'd find something useful around the CMAKE_INSTALL_PREFIX stuff, but I wasn't sure what to make of it.

    &#xA;

    I tried greping through cmake --help-full (with 50 lines before and after whatever I was searching for), but got tripped up by the complexity. I've only used basic cmake stuff, before, and I got more than a little lost.

    &#xA;

    Even with the --help, I don't know if I need to look at the help-manual, the help-command, the help-module, the help-policy, the help-variable, or something else.

    &#xA;

    It seemed to me, in reading, that a "binary directory" is the top of the "build", whereas I thought it would be the dir named bin ... I couldn't tell what things were meant to be used by the person creating the package rather than by me, who am trying to make/build the package from the command line.

    &#xA;

    I looked through what seemed to be a cmake wiki's Useful Variables page (archived), as well as at this thread at cmake.org (archived), which, along with this SO source and this and this and this and this SO sources, seemed to suggest using the CMAKE_RUNTIME_OUTPUT_DIRECTORY variable (since the EXECUTABLE_OUTPUT-DIRECTORY variable has been superseded by it). By the way, I couldn't tell which things should be used by the creator of the package vs. the consumer of the package - the consumer being me. I tried with

    &#xA;

    PATH="$HOME/programs/ffmpeg/bin:$PATH" \&#xA;  cmake -G "Unix Makefiles" \&#xA;        -DCMAKE_INSTALL_PREFIX="$HOME/programs/ffmpeg/ffmpeg_build" \&#xA;        -DCMAKE_RUNTIME_OUTPUT_DIRECTORY="$HOME/programs/ffmpeg/bin" \&#xA;        -DENABLE_SHARED=OFF \&#xA;        -DCMAKE_EXE_LINKER_FLAGS="-static" &#xA;            ../../source&#xA;PATH="$HOME/&#xA;

    &#xA;

    and have thought about fifty-or-so other -DVAR variables, but with any I have tried, I still get the same result. I still get the executable in what seems to be the wrong place.

    &#xA;


    &#xA;

    System Details

    &#xA;

    $ date &amp;&amp; date &#x2B;&#x27;%s&#x27;&#xA;Tue, May  5, 2020 11:14:40 AM&#xA;1588698880&#xA;$ uname -a&#xA;CYGWIN_NT-10.0 MACHINE 3.1.4(0.340/5/3) 2020-02-19 08:49 x86_64 Cygwin&#xA;$ cmake --version&#xA;cmake version 3.14.5&#xA;&#xA;CMake suite maintained and supported by Kitware (kitware.com/cmake).&#xA;$ bash --version | head -n 1&#xA;GNU bash, version 4.4.12(3)-release (x86_64-unknown-cygwin)&#xA;$ gcc --version | head -n 1&#xA;gcc (GCC) 9.3.0&#xA;$ g&#x2B;&#x2B; --version | head -n 1&#xA;g&#x2B;&#x2B; (GCC) 9.3.0&#xA;$ make --version | head -n 2&#xA;GNU Make 4.3&#xA;Built for x86_64-pc-cygwin&#xA;

    &#xA;

  • FFMPEG hwaccel convert WEBM to MP4 video failed : could not find codec parameters

    1er juillet 2020, par Yen Nguyen

    I use FFMPEG to convert webm videos into mp4 format using a Nvidia GPU GeoForce GTX 1660 card on Windows 10. It has worked perfectly since the beginning for few months but now it's stopped working with strange error as below :

    &#xA;&#xA;

    [h264 @ 0000013d8b5eee00] missing picture in access unit with size 431&#xA;[extract_extradata @ 0000013d8b6aef40] No start code is found.&#xA;big-buck-bunny-trailer.webm: could not find codec parameters&#xA;

    &#xA;&#xA;

    FFMPEG version and Nvidia driver version are the same as before it just crashed overnight without a clue. I tried Googling around and did update to the latest ffmpeg version as well Nvidia driver version but it still doesn't help.&#xA;If I switch to CPU decoder (without hwaccel arg) using libx264 it just works fine.

    &#xA;&#xA;

    Environment Windows 10 64bit | ffmpeg version git-2020-04-15-51db0a4 (latest) | Nvidia GeForce GTX 1660, &#xA; - Geoforce Game Ready Driver version:445.87 Release Date Apr 15, 2020

    &#xA;&#xA;

     ffmpeg -y -vsync 0 -hwaccel cuvid -c:v h264_cuvid -i big-buck-bunny-trailer.webm -c:v h264_nvenc output.mp4&#xA;&#xA;ffmpeg version git-2020-04-15-51db0a4 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 9.3.1 (GCC) 20200328&#xA;  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --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-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf&#xA;  libavutil      56. 42.102 / 56. 42.102&#xA;  libavcodec     58. 78.102 / 58. 78.102&#xA;  libavformat    58. 42.100 / 58. 42.100&#xA;  libavdevice    58.  9.103 / 58.  9.103&#xA;  libavfilter     7. 77.101 /  7. 77.101&#xA;  libswscale      5.  6.101 /  5.  6.101&#xA;  libswresample   3.  6.100 /  3.  6.100&#xA;  libpostproc    55.  6.100 / 55.  6.100&#xA;[h264 @ 0000013d8b5eee00] missing picture in access unit with size 431&#xA;[extract_extradata @ 0000013d8b6aef40] No start code is found.&#xA;big-buck-bunny-trailer.webm: could not find codec parameters&#xA;WARNING: defaulting hwaccel_output_format to cuda for compatibility with old commandlines. This behaviour is DEPRECATED and will be removed in the future. Please explicitly set "-hwaccel_output_format cuda".&#xA;Guessed Channel Layout for Input Stream #0.1 : mono&#xA;Input #0, matroska,webm, from &#x27;big-buck-bunny-trailer.webm&#x27;:&#xA;  Metadata:&#xA;    encoder         : http://sourceforge.net/projects/yamka&#xA;    creation_time   : 2010-05-20T08:21:12.000000Z&#xA;  Duration: 00:00:32.48, bitrate: N/A&#xA;    Stream #0:0(eng): Video: h264, none, 640x360, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 1k tbn (default)&#xA;    Stream #0:1(eng): Audio: vorbis, 44100 Hz, mono (default)&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (h264 (h264_cuvid) -> h264 (h264_nvenc))&#xA;  Stream #0:1 -> #0:1 (vorbis (native) -> aac (native))&#xA;Press [q] to stop, [?] for help&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 66&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1339&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1415&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1908&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2123&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2504&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2294&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2684&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2468&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2622&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2867&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2737&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 3017&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2556&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 7811&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1880&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1722&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2309&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1215&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2080&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1775&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2247&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1782&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1945&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1529&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1807&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2015&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1568&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2159&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1861&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2397&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1627&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2364&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1821&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2282&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2068&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1699&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2129&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2268&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2197&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1981&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2169&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2888&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1600&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2958&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1518&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2738&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2319&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2421&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2841&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1949&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2422&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2288&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2559&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2332&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2403&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2257&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2573&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2320&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2231&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2408&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2415&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2194&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2697&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2480&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2256&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2245&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2519&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2203&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2332&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2341&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2439&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2201&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2882&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2467&#xA;Too many packets buffered for output stream 0:1.&#xA;[aac @ 0000013d8b6bf5c0] Qavg: 115.929&#xA;[aac @ 0000013d8b6bf5c0] 2 frames left in the queue on closing&#xA;Conversion failed!&#xA;

    &#xA;&#xA;

    Does anyone know how to fix it, i am getting stuck for few days ?&#xA;Much appreciated !

    &#xA;

  • FFMPEG hwaccel convert WEBM to MP4 video issue

    19 avril 2020, par Yen Nguyen

    I use FFMPEG to convert webm videos into mp4 format using a Nvidia GPU GeoForce GTX 1660 card on Windows 10. It has worked perfectly since the beginning for few months but now it's stopped working with strange error as below :

    &#xA;&#xA;

    [h264 @ 0000013d8b5eee00] missing picture in access unit with size 431&#xA;[extract_extradata @ 0000013d8b6aef40] No start code is found.&#xA;big-buck-bunny-trailer.webm: could not find codec parameters&#xA;

    &#xA;&#xA;

    FFMPEG version and Nvidia driver version are the same as before it just crashed overnight without a clue. I tried Googling around and did update to the latest ffmpeg version as well Nvidia driver version but it still doesn't help.&#xA;If I switch to CPU decoder (without hwaccel arg) using libx264 it just works fine.

    &#xA;&#xA;

    Environment Windows 10 64bit | ffmpeg version git-2020-04-15-51db0a4 (latest) | Nvidia GeForce GTX 1660, &#xA; - Geoforce Game Ready Driver version:445.87 Release Date Apr 15, 2020

    &#xA;&#xA;

     ffmpeg -y -vsync 0 -hwaccel cuvid -c:v h264_cuvid -i big-buck-bunny-trailer.webm -c:v h264_nvenc output.mp4&#xA;&#xA;ffmpeg version git-2020-04-15-51db0a4 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 9.3.1 (GCC) 20200328&#xA;  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --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-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf&#xA;  libavutil      56. 42.102 / 56. 42.102&#xA;  libavcodec     58. 78.102 / 58. 78.102&#xA;  libavformat    58. 42.100 / 58. 42.100&#xA;  libavdevice    58.  9.103 / 58.  9.103&#xA;  libavfilter     7. 77.101 /  7. 77.101&#xA;  libswscale      5.  6.101 /  5.  6.101&#xA;  libswresample   3.  6.100 /  3.  6.100&#xA;  libpostproc    55.  6.100 / 55.  6.100&#xA;[h264 @ 0000013d8b5eee00] missing picture in access unit with size 431&#xA;[extract_extradata @ 0000013d8b6aef40] No start code is found.&#xA;big-buck-bunny-trailer.webm: could not find codec parameters&#xA;WARNING: defaulting hwaccel_output_format to cuda for compatibility with old commandlines. This behaviour is DEPRECATED and will be removed in the future. Please explicitly set "-hwaccel_output_format cuda".&#xA;Guessed Channel Layout for Input Stream #0.1 : mono&#xA;Input #0, matroska,webm, from &#x27;big-buck-bunny-trailer.webm&#x27;:&#xA;  Metadata:&#xA;    encoder         : http://sourceforge.net/projects/yamka&#xA;    creation_time   : 2010-05-20T08:21:12.000000Z&#xA;  Duration: 00:00:32.48, bitrate: N/A&#xA;    Stream #0:0(eng): Video: h264, none, 640x360, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 1k tbn (default)&#xA;    Stream #0:1(eng): Audio: vorbis, 44100 Hz, mono (default)&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (h264 (h264_cuvid) -> h264 (h264_nvenc))&#xA;  Stream #0:1 -> #0:1 (vorbis (native) -> aac (native))&#xA;Press [q] to stop, [?] for help&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 66&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1339&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1415&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1908&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2123&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2504&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2294&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2684&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2468&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2622&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2867&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2737&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 3017&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2556&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 7811&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1880&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1722&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2309&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1215&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2080&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1775&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2247&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1782&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1945&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1529&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1807&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2015&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1568&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2159&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1861&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2397&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1627&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2364&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1821&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2282&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2068&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1699&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2129&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2268&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2197&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1981&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2169&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2888&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1600&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2958&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1518&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2738&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2319&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2421&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2841&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1949&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2422&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2288&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2559&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2332&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2403&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2257&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2573&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2320&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2231&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2408&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2415&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2194&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2697&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2480&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2256&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2245&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2519&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2203&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2332&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2341&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2439&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2201&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2882&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2467&#xA;Too many packets buffered for output stream 0:1.&#xA;[aac @ 0000013d8b6bf5c0] Qavg: 115.929&#xA;[aac @ 0000013d8b6bf5c0] 2 frames left in the queue on closing&#xA;Conversion failed!&#xA;

    &#xA;&#xA;

    Does anyone know how to fix it, i am getting stuck for few days ?&#xA;Much appreciated !

    &#xA;