ffmpeg sometimes not working for splitted videos-moov atom not found












0















I am using below command to reverse video-



{"-i", files[i].getAbsolutePath(), "-vf", "reverse", "-af", "areverse", dest.getAbsolutePath()};


I occasionally gets below error-




ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developersn
built with gcc 4.8 (GCC)n configuration: --target-os=linux
--cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-
--arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot
--enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib
-Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=n libavutil 55. 17.103 / 55. 17.103n libavcodec 57. 24.102 / 57. 24.102n libavformat 57. 25.100 /
57. 25.100n libavdevice 57. 0.101 / 57. 0.101n libavfilter 6. 31.100 / 6. 31.100n libswscale 4. 0.100 / 4. 0.100n libswresample 2. 0.101 / 2. 0.101n libpostproc 54. 0.100 /
54. 0.100n[mov,mp4,m4a,3gp,3g2,mj2 @ 0xec427000] moov atom not foundn/storage/emulated/0/Movies/.VideoSplit/split_video010.mp4:
Invalid data found when processing input




By what i have researched-




moov atom is a container for the information that describes a movie’s
data...Generally speaking, only metadata is stored in a movie atom.
Sample data for the movie, such as audio or video samples, are
referenced in the movie atom, but are not contained in it.




The videos which I am reversing are splitted videos from a main video which I have splitted using below command-



{ "-i", inputFilePath, "-c:v", "libx264", "-crf", "22", "-map", "0", "-segment_time", "6", "-g", "9", "-sc_threshold", "0", "-force_key_frames", "expr:gte(t,n_forced*6)", "-f", "segment", outputFilePath};


How can i resolve this error?










share|improve this question





























    0















    I am using below command to reverse video-



    {"-i", files[i].getAbsolutePath(), "-vf", "reverse", "-af", "areverse", dest.getAbsolutePath()};


    I occasionally gets below error-




    ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developersn
    built with gcc 4.8 (GCC)n configuration: --target-os=linux
    --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-
    --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot
    --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include
    -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib
    -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=n libavutil 55. 17.103 / 55. 17.103n libavcodec 57. 24.102 / 57. 24.102n libavformat 57. 25.100 /
    57. 25.100n libavdevice 57. 0.101 / 57. 0.101n libavfilter 6. 31.100 / 6. 31.100n libswscale 4. 0.100 / 4. 0.100n libswresample 2. 0.101 / 2. 0.101n libpostproc 54. 0.100 /
    54. 0.100n[mov,mp4,m4a,3gp,3g2,mj2 @ 0xec427000] moov atom not foundn/storage/emulated/0/Movies/.VideoSplit/split_video010.mp4:
    Invalid data found when processing input




    By what i have researched-




    moov atom is a container for the information that describes a movie’s
    data...Generally speaking, only metadata is stored in a movie atom.
    Sample data for the movie, such as audio or video samples, are
    referenced in the movie atom, but are not contained in it.




    The videos which I am reversing are splitted videos from a main video which I have splitted using below command-



    { "-i", inputFilePath, "-c:v", "libx264", "-crf", "22", "-map", "0", "-segment_time", "6", "-g", "9", "-sc_threshold", "0", "-force_key_frames", "expr:gte(t,n_forced*6)", "-f", "segment", outputFilePath};


    How can i resolve this error?










    share|improve this question



























      0












      0








      0








      I am using below command to reverse video-



      {"-i", files[i].getAbsolutePath(), "-vf", "reverse", "-af", "areverse", dest.getAbsolutePath()};


      I occasionally gets below error-




      ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developersn
      built with gcc 4.8 (GCC)n configuration: --target-os=linux
      --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-
      --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot
      --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include
      -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib
      -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=n libavutil 55. 17.103 / 55. 17.103n libavcodec 57. 24.102 / 57. 24.102n libavformat 57. 25.100 /
      57. 25.100n libavdevice 57. 0.101 / 57. 0.101n libavfilter 6. 31.100 / 6. 31.100n libswscale 4. 0.100 / 4. 0.100n libswresample 2. 0.101 / 2. 0.101n libpostproc 54. 0.100 /
      54. 0.100n[mov,mp4,m4a,3gp,3g2,mj2 @ 0xec427000] moov atom not foundn/storage/emulated/0/Movies/.VideoSplit/split_video010.mp4:
      Invalid data found when processing input




      By what i have researched-




      moov atom is a container for the information that describes a movie’s
      data...Generally speaking, only metadata is stored in a movie atom.
      Sample data for the movie, such as audio or video samples, are
      referenced in the movie atom, but are not contained in it.




      The videos which I am reversing are splitted videos from a main video which I have splitted using below command-



      { "-i", inputFilePath, "-c:v", "libx264", "-crf", "22", "-map", "0", "-segment_time", "6", "-g", "9", "-sc_threshold", "0", "-force_key_frames", "expr:gte(t,n_forced*6)", "-f", "segment", outputFilePath};


      How can i resolve this error?










      share|improve this question
















      I am using below command to reverse video-



      {"-i", files[i].getAbsolutePath(), "-vf", "reverse", "-af", "areverse", dest.getAbsolutePath()};


      I occasionally gets below error-




      ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developersn
      built with gcc 4.8 (GCC)n configuration: --target-os=linux
      --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-
      --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot
      --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include
      -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib
      -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=n libavutil 55. 17.103 / 55. 17.103n libavcodec 57. 24.102 / 57. 24.102n libavformat 57. 25.100 /
      57. 25.100n libavdevice 57. 0.101 / 57. 0.101n libavfilter 6. 31.100 / 6. 31.100n libswscale 4. 0.100 / 4. 0.100n libswresample 2. 0.101 / 2. 0.101n libpostproc 54. 0.100 /
      54. 0.100n[mov,mp4,m4a,3gp,3g2,mj2 @ 0xec427000] moov atom not foundn/storage/emulated/0/Movies/.VideoSplit/split_video010.mp4:
      Invalid data found when processing input




      By what i have researched-




      moov atom is a container for the information that describes a movie’s
      data...Generally speaking, only metadata is stored in a movie atom.
      Sample data for the movie, such as audio or video samples, are
      referenced in the movie atom, but are not contained in it.




      The videos which I am reversing are splitted videos from a main video which I have splitted using below command-



      { "-i", inputFilePath, "-c:v", "libx264", "-crf", "22", "-map", "0", "-segment_time", "6", "-g", "9", "-sc_threshold", "0", "-force_key_frames", "expr:gte(t,n_forced*6)", "-f", "segment", outputFilePath};


      How can i resolve this error?







      android video ffmpeg android-ffmpeg video-editing






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 19 '18 at 12:38







      varmashrivastava

















      asked Nov 19 '18 at 12:31









      varmashrivastavavarmashrivastava

      1098




      1098
























          0






          active

          oldest

          votes











          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%2f53374718%2fffmpeg-sometimes-not-working-for-splitted-videos-moov-atom-not-found%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f53374718%2fffmpeg-sometimes-not-working-for-splitted-videos-moov-atom-not-found%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

          How to change which sound is reproduced for terminal bell?

          Can I use Tabulator js library in my java Spring + Thymeleaf project?

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents