What version of ffmpeg is bundled inside electron?












1















The prebuilt electron binaries for Windows include the file ffmpeg.dll. How can I determine what version of the underlying ffmpeg library is actually compiled to produce this dll? I need this information to understand what known vulnerabilities (CVE's, etc) might be in a given version of electron via ffmpeg.



As I understand it, the ffmpeg dll itself is taken from https://github.com/electron/nightlies/releases/ when I download my dependencies (I'm using electron-prebuilt-compile). But I'm not getting a clear picture of what the source for that binary is. I think it might be from https://chromium.googlesource.com/chromium/third_party/ffmpeg/ but then I'm not clear on the relationship of that repo with the original ffmpeg repo (e.g. how often are fixes merged from the ffmpeg repo to the chromium third-party repo, etc.)



I tried searching the content of the dll as per cody's suggestion, but no luck:



$ strings ffmpeg.dll  | grep -i ffmp
FFmpeg video codec #1
Huffyuv FFmpeg variant
Not yet implemented in FFmpeg, patches welcome
C:projectslibchromiumcontentsrcout-x64static_libraryffmpeg.dll.pdb
ffmpeg.dll


$ strings ffmpeg.dll | grep -i version
H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2
MPEG-4 part 2 Microsoft variant version 1
MPEG-4 part 2 Microsoft variant version 2
MPEG-4 part 2 Microsoft variant version 3
H.263+ / H.263-1998 / H.263 version 2
On2 VP6 (Flash version)
On2 VP6 (Flash version, with alpha channel)
old standard qpel (autodetected per FOURCC/version)
direct-qpel-blocksize bug (autodetected per FOURCC/version)
edge padding bug (autodetected per FOURCC/version)
strictly conform to a older more strict version of the spec or reference software
minor_version
premiere_version
quicktime_version
Assume this x264 version if no x264 version found in any SEI









share|improve this question





























    1















    The prebuilt electron binaries for Windows include the file ffmpeg.dll. How can I determine what version of the underlying ffmpeg library is actually compiled to produce this dll? I need this information to understand what known vulnerabilities (CVE's, etc) might be in a given version of electron via ffmpeg.



    As I understand it, the ffmpeg dll itself is taken from https://github.com/electron/nightlies/releases/ when I download my dependencies (I'm using electron-prebuilt-compile). But I'm not getting a clear picture of what the source for that binary is. I think it might be from https://chromium.googlesource.com/chromium/third_party/ffmpeg/ but then I'm not clear on the relationship of that repo with the original ffmpeg repo (e.g. how often are fixes merged from the ffmpeg repo to the chromium third-party repo, etc.)



    I tried searching the content of the dll as per cody's suggestion, but no luck:



    $ strings ffmpeg.dll  | grep -i ffmp
    FFmpeg video codec #1
    Huffyuv FFmpeg variant
    Not yet implemented in FFmpeg, patches welcome
    C:projectslibchromiumcontentsrcout-x64static_libraryffmpeg.dll.pdb
    ffmpeg.dll


    $ strings ffmpeg.dll | grep -i version
    H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2
    MPEG-4 part 2 Microsoft variant version 1
    MPEG-4 part 2 Microsoft variant version 2
    MPEG-4 part 2 Microsoft variant version 3
    H.263+ / H.263-1998 / H.263 version 2
    On2 VP6 (Flash version)
    On2 VP6 (Flash version, with alpha channel)
    old standard qpel (autodetected per FOURCC/version)
    direct-qpel-blocksize bug (autodetected per FOURCC/version)
    edge padding bug (autodetected per FOURCC/version)
    strictly conform to a older more strict version of the spec or reference software
    minor_version
    premiere_version
    quicktime_version
    Assume this x264 version if no x264 version found in any SEI









    share|improve this question



























      1












      1








      1








      The prebuilt electron binaries for Windows include the file ffmpeg.dll. How can I determine what version of the underlying ffmpeg library is actually compiled to produce this dll? I need this information to understand what known vulnerabilities (CVE's, etc) might be in a given version of electron via ffmpeg.



      As I understand it, the ffmpeg dll itself is taken from https://github.com/electron/nightlies/releases/ when I download my dependencies (I'm using electron-prebuilt-compile). But I'm not getting a clear picture of what the source for that binary is. I think it might be from https://chromium.googlesource.com/chromium/third_party/ffmpeg/ but then I'm not clear on the relationship of that repo with the original ffmpeg repo (e.g. how often are fixes merged from the ffmpeg repo to the chromium third-party repo, etc.)



      I tried searching the content of the dll as per cody's suggestion, but no luck:



      $ strings ffmpeg.dll  | grep -i ffmp
      FFmpeg video codec #1
      Huffyuv FFmpeg variant
      Not yet implemented in FFmpeg, patches welcome
      C:projectslibchromiumcontentsrcout-x64static_libraryffmpeg.dll.pdb
      ffmpeg.dll


      $ strings ffmpeg.dll | grep -i version
      H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2
      MPEG-4 part 2 Microsoft variant version 1
      MPEG-4 part 2 Microsoft variant version 2
      MPEG-4 part 2 Microsoft variant version 3
      H.263+ / H.263-1998 / H.263 version 2
      On2 VP6 (Flash version)
      On2 VP6 (Flash version, with alpha channel)
      old standard qpel (autodetected per FOURCC/version)
      direct-qpel-blocksize bug (autodetected per FOURCC/version)
      edge padding bug (autodetected per FOURCC/version)
      strictly conform to a older more strict version of the spec or reference software
      minor_version
      premiere_version
      quicktime_version
      Assume this x264 version if no x264 version found in any SEI









      share|improve this question
















      The prebuilt electron binaries for Windows include the file ffmpeg.dll. How can I determine what version of the underlying ffmpeg library is actually compiled to produce this dll? I need this information to understand what known vulnerabilities (CVE's, etc) might be in a given version of electron via ffmpeg.



      As I understand it, the ffmpeg dll itself is taken from https://github.com/electron/nightlies/releases/ when I download my dependencies (I'm using electron-prebuilt-compile). But I'm not getting a clear picture of what the source for that binary is. I think it might be from https://chromium.googlesource.com/chromium/third_party/ffmpeg/ but then I'm not clear on the relationship of that repo with the original ffmpeg repo (e.g. how often are fixes merged from the ffmpeg repo to the chromium third-party repo, etc.)



      I tried searching the content of the dll as per cody's suggestion, but no luck:



      $ strings ffmpeg.dll  | grep -i ffmp
      FFmpeg video codec #1
      Huffyuv FFmpeg variant
      Not yet implemented in FFmpeg, patches welcome
      C:projectslibchromiumcontentsrcout-x64static_libraryffmpeg.dll.pdb
      ffmpeg.dll


      $ strings ffmpeg.dll | grep -i version
      H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2
      MPEG-4 part 2 Microsoft variant version 1
      MPEG-4 part 2 Microsoft variant version 2
      MPEG-4 part 2 Microsoft variant version 3
      H.263+ / H.263-1998 / H.263 version 2
      On2 VP6 (Flash version)
      On2 VP6 (Flash version, with alpha channel)
      old standard qpel (autodetected per FOURCC/version)
      direct-qpel-blocksize bug (autodetected per FOURCC/version)
      edge padding bug (autodetected per FOURCC/version)
      strictly conform to a older more strict version of the spec or reference software
      minor_version
      premiere_version
      quicktime_version
      Assume this x264 version if no x264 version found in any SEI






      ffmpeg electron






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 29 '18 at 15:40







      greghmerrill

















      asked Dec 28 '18 at 19:52









      greghmerrillgreghmerrill

      498412




      498412
























          1 Answer
          1






          active

          oldest

          votes


















          1














          Search for it using strings, which is part of GNU binutils or available on Windows as a Sysinternals utility.



          It appears that it simply follows the pattern FFmpeg version x.x, as shown below, where I search the avcodec.dll that is part of the 4.1 shared release build for Windows:



          $ strings avcodec-58.dll | grep 'FFmpeg version'
          FFmpeg version 4.1





          share|improve this answer
























          • Thanks for the pointer on strings, that is a good insight. Unfortunately, the only dll I have is ffmpeg.dll (there is no avcodec dll), and the ffmpeg.dll does not contain this string unfortunately.

            – greghmerrill
            Dec 29 '18 at 15:36













          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53963672%2fwhat-version-of-ffmpeg-is-bundled-inside-electron%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          Search for it using strings, which is part of GNU binutils or available on Windows as a Sysinternals utility.



          It appears that it simply follows the pattern FFmpeg version x.x, as shown below, where I search the avcodec.dll that is part of the 4.1 shared release build for Windows:



          $ strings avcodec-58.dll | grep 'FFmpeg version'
          FFmpeg version 4.1





          share|improve this answer
























          • Thanks for the pointer on strings, that is a good insight. Unfortunately, the only dll I have is ffmpeg.dll (there is no avcodec dll), and the ffmpeg.dll does not contain this string unfortunately.

            – greghmerrill
            Dec 29 '18 at 15:36


















          1














          Search for it using strings, which is part of GNU binutils or available on Windows as a Sysinternals utility.



          It appears that it simply follows the pattern FFmpeg version x.x, as shown below, where I search the avcodec.dll that is part of the 4.1 shared release build for Windows:



          $ strings avcodec-58.dll | grep 'FFmpeg version'
          FFmpeg version 4.1





          share|improve this answer
























          • Thanks for the pointer on strings, that is a good insight. Unfortunately, the only dll I have is ffmpeg.dll (there is no avcodec dll), and the ffmpeg.dll does not contain this string unfortunately.

            – greghmerrill
            Dec 29 '18 at 15:36
















          1












          1








          1







          Search for it using strings, which is part of GNU binutils or available on Windows as a Sysinternals utility.



          It appears that it simply follows the pattern FFmpeg version x.x, as shown below, where I search the avcodec.dll that is part of the 4.1 shared release build for Windows:



          $ strings avcodec-58.dll | grep 'FFmpeg version'
          FFmpeg version 4.1





          share|improve this answer













          Search for it using strings, which is part of GNU binutils or available on Windows as a Sysinternals utility.



          It appears that it simply follows the pattern FFmpeg version x.x, as shown below, where I search the avcodec.dll that is part of the 4.1 shared release build for Windows:



          $ strings avcodec-58.dll | grep 'FFmpeg version'
          FFmpeg version 4.1






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 28 '18 at 20:12









          codycody

          3,04121024




          3,04121024













          • Thanks for the pointer on strings, that is a good insight. Unfortunately, the only dll I have is ffmpeg.dll (there is no avcodec dll), and the ffmpeg.dll does not contain this string unfortunately.

            – greghmerrill
            Dec 29 '18 at 15:36





















          • Thanks for the pointer on strings, that is a good insight. Unfortunately, the only dll I have is ffmpeg.dll (there is no avcodec dll), and the ffmpeg.dll does not contain this string unfortunately.

            – greghmerrill
            Dec 29 '18 at 15:36



















          Thanks for the pointer on strings, that is a good insight. Unfortunately, the only dll I have is ffmpeg.dll (there is no avcodec dll), and the ffmpeg.dll does not contain this string unfortunately.

          – greghmerrill
          Dec 29 '18 at 15:36







          Thanks for the pointer on strings, that is a good insight. Unfortunately, the only dll I have is ffmpeg.dll (there is no avcodec dll), and the ffmpeg.dll does not contain this string unfortunately.

          – greghmerrill
          Dec 29 '18 at 15:36




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53963672%2fwhat-version-of-ffmpeg-is-bundled-inside-electron%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Angular Downloading a file using contenturl with Basic Authentication

          Olmecas

          Can't read property showImagePicker of undefined in react native iOS