Uploaded image for project: 'Openmeetings'
  1. Openmeetings
  2. OPENMEETINGS-2327

Error while opening encoder for output stream #0:0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.0-M4
    • Fix Version/s: 5.0.0
    • Component/s: Audio/Video
    • Labels:
      None

      Description

      When recording, I periodically get an error:

      process: generate MP4
      command: ffmpeg -y -itsoffset 00:00:01.436 -i /opt/openmeetings/webapps/openmeetings/data/streams/1/rec_27_6233f6ad-ed16-4f2b-9209-38bce2c4914b.webm -i /opt/openmeetings/webapps/openmeetings/data/streams/1/rec_27_6233f6ad-ed16-4f2b-9209-38bce2c4914b_FINAL_WAVE.wav -c:v h264 -crf 24 -vsync 0 -pix_fmt yuv420p -preset superfast -profile:v baseline -level 3.0 -movflags faststart -c:a aac -ar 22050 -b:a 32k /opt/openmeetings/webapps/openmeetings/data/streams/hibernate/53dff839-a8ee-4e2a-90e5-f66559ea4f71.mp4 
      exception: null
      error: ffmpeg version n4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
       built with gcc 9.3.0 (Arch Linux 9.3.0-1)
       configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3
       libavutil 56. 31.100 / 56. 31.100
       libavcodec 58. 54.100 / 58. 54.100
       libavformat 58. 29.100 / 58. 29.100
       libavdevice 58. 8.100 / 58. 8.100
       libavfilter 7. 57.100 / 7. 57.100
       libswscale 5. 5.100 / 5. 5.100
       libswresample 3. 5.100 / 3. 5.100
       libpostproc 55. 5.100 / 55. 5.100
      Input #0, matroska,webm, from '/opt/openmeetings/webapps/openmeetings/data/streams/1/rec_27_6233f6ad-ed16-4f2b-9209-38bce2c4914b.webm':
       Metadata:
       encoder : GStreamer matroskamux version 1.16.2
       creation_time : 2020-04-30T17:03:07.000000Z
       Duration: 00:00:13.93, start: 0.000000, bitrate: 901 kb/s
       Stream #0:0(eng): Video: vp8, yuv420p(progressive), 1920x1011, SAR 1:1 DAR 640:337, 9 fps, 9.25 tbr, 1k tbn, 1k tbc (default)
       Metadata:
       title : Video
      Guessed Channel Layout for Input Stream #1.0 : stereo
      Input #1, wav, from '/opt/openmeetings/webapps/openmeetings/data/streams/1/rec_27_6233f6ad-ed16-4f2b-9209-38bce2c4914b_FINAL_WAVE.wav':
       Duration: 00:00:15.00, bitrate: 1024 kb/s
       Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 32000 Hz, stereo, s16, 1024 kb/s
      Stream mapping:
       Stream #0:0 -> #0:0 (vp8 (native) -> h264 (libx264))
       Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (native))
      Press [q] to stop, [?] for help
      [libx264 @ 0x556e7c061b00] height not divisible by 2 (1920x1011)
      Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
      Conversion failed!
      
      exitValue: 1
      optional: false
      out:
      
      process: generate preview PNG :: 53dff839-a8ee-4e2a-90e5-f66559ea4f71
      command: ffmpeg -y -i /opt/openmeetings/webapps/openmeetings/data/streams/hibernate/53dff839-a8ee-4e2a-90e5-f66559ea4f71.mp4 -vf thumbnail,scale=640:-1 -frames:v 1 /opt/openmeetings/webapps/openmeetings/data/streams/hibernate/53dff839-a8ee-4e2a-90e5-f66559ea4f71.png 
      exception: null
      error: ffmpeg version n4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
       built with gcc 9.3.0 (Arch Linux 9.3.0-1)
       configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3
       libavutil 56. 31.100 / 56. 31.100
       libavcodec 58. 54.100 / 58. 54.100
       libavformat 58. 29.100 / 58. 29.100
       libavdevice 58. 8.100 / 58. 8.100
       libavfilter 7. 57.100 / 7. 57.100
       libswscale 5. 5.100 / 5. 5.100
       libswresample 3. 5.100 / 3. 5.100
       libpostproc 55. 5.100 / 55. 5.100
      [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5566dc41c680] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible!
      [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5566dc41c680] moov atom not found
      /opt/openmeetings/webapps/openmeetings/data/streams/hibernate/53dff839-a8ee-4e2a-90e5-f66559ea4f71.mp4: Invalid data found when processing input
      
      exitValue: 1
      optional: false
      out:
      

        Attachments

          Activity

            People

            • Assignee:
              solomax Maxim Solodovnik
              Reporter:
              khvalera khvalera
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: