chenxiaoqino / getusermedia-to-rtmp

186 stars 61 forks source link

FFmpeg error #1

Closed thisroot closed 5 years ago

thisroot commented 7 years ago

Hi, nice idea! i got tested this project and get this errors. Can ffmpeg requires specific options

SERVER:Hello from mediarecorder-to-rtmp server!
SERVER:Please set rtmp destination before start streaming.
SERVER:rtmp destination set to:rtmp://rtmp.artinvest52.ru/live/qwe
FFMPEG:ffmpeg version N-86723-g3b3501f Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.1.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
  libavutil      55. 67.100 / 55. 67.100
  libavcodec     57.100.103 / 57.100.103
  libavformat    57. 75.100 / 57. 75.100
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 94.100 /  6. 94.100
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100

FFMPEG:[libvpx @ 00000000022b5020] v1.6.1

FFMPEG:[libvpx @ 00000000022b5020] Invalid sync code 100901.
[libvpx @ 00000000022b5020] Invalid sync code 300901.

FFMPEG:    Last me
FFMPEG:ssage repeated 58 times
[libvpx @ 00000000022b5020] Invalid sync code 100901.
[libvpx @ 00000000022b5020] Invalid sync code 300901.
    Last message repeated 16 times
[matroska,webm @ 00000000022b3300] Could not find codec parameters for stream 1 (Video: vp8, none(progressive), 640x480): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options

FFMPEG:Input #0, matroska,webm, from 'pipe:':
  Metadata:
    encoder         : Chrome
  Duration: N/A, start: 0.059000, bitrate: N/A
    Stream #0:0(eng): Audio: opus, 48000 Hz, mono, fltp (default)
    Stream #0:1(eng): Video: vp8, none(progressive), 640x480, SAR 1:1 DAR 4:3, 1k tbr, 1k tbn, 1k tbc (default)

FFMPEG:[libvpx @ 00000000022fc8e0] v1.6.1
Stream mapping:
  Stream #0:1 -> #0:0 (vp8 (libvpx) -> h264 (libx264))

FFMPEG:[NULL @ 00000000022b5020] Invalid sync code 300901.

FFMPEG:    Last message re
FFMPEG:peated 41 times
[NULL @ 00000000022b5020] Invalid sync code 100901.
[NULL @ 00000000022b5020] Invalid sync code 300901.

FFMPEG:    Last message repeated 
FFMPEG:58 times
[NULL @ 00000000022b5020] Invalid sync code 100901.
[NULL @ 00000000022b5020] Invalid sync code 300901.

FFMPEG:    Last message repeated 58 times

FFMPEG:[NULL @ 00000000022b5020] Invalid sync code 100901.
[NULL @ 00000000022b5020] Invalid sync code 300901.

FFMPEG:    Last message repeated 58 times
[NULL @ 00000000022b5020] Invalid sync code 100901.
[NULL @ 00000000022b5020] 
FFMPEG:Invalid sync code 300901.
chenxiaoqino commented 7 years ago

Yes, please specify the destination rtmp address before starting the stream.

On Jul 18, 2017 10:20 PM, "Egor Mikheev" notifications@github.com wrote:

Hi, nice idea! i got tested this project and get this errors. Can ffmpeg requires specific options

SERVER:Hello from mediarecorder-to-rtmp server! SERVER:Please set rtmp destination before start streaming. SERVER:rtmp destination set to:rtmp://rtmp.artinvest52.ru/live/qwe FFMPEG:ffmpeg version N-86723-g3b3501f Copyright (c) 2000-2017 the FFmpeg developers built with gcc 7.1.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib libavutil 55. 67.100 / 55. 67.100 libavcodec 57.100.103 / 57.100.103 libavformat 57. 75.100 / 57. 75.100 libavdevice 57. 7.100 / 57. 7.100 libavfilter 6. 94.100 / 6. 94.100 libswscale 4. 7.101 / 4. 7.101 libswresample 2. 8.100 / 2. 8.100 libpostproc 54. 6.100 / 54. 6.100

FFMPEG:[libvpx @ 00000000022b5020] v1.6.1

FFMPEG:[libvpx @ 00000000022b5020] Invalid sync code 100901. [libvpx @ 00000000022b5020] Invalid sync code 300901.

FFMPEG: Last me FFMPEG:ssage repeated 58 times [libvpx @ 00000000022b5020] Invalid sync code 100901. [libvpx @ 00000000022b5020] Invalid sync code 300901. Last message repeated 16 times [matroska,webm @ 00000000022b3300] Could not find codec parameters for stream 1 (Video: vp8, none(progressive), 640x480): unspecified pixel format Consider increasing the value for the 'analyzeduration' and 'probesize' options

FFMPEG:Input #0, matroska,webm, from 'pipe:': Metadata: encoder : Chrome Duration: N/A, start: 0.059000, bitrate: N/A Stream #0:0(eng): Audio: opus, 48000 Hz, mono, fltp (default) Stream #0:1(eng): Video: vp8, none(progressive), 640x480, SAR 1:1 DAR 4:3, 1k tbr, 1k tbn, 1k tbc (default)

FFMPEG:[libvpx @ 00000000022fc8e0] v1.6.1 Stream mapping: Stream #0:1 -> #0:0 (vp8 (libvpx) -> h264 (libx264))

FFMPEG:[NULL @ 00000000022b5020] Invalid sync code 300901.

FFMPEG: Last message re FFMPEG:peated 41 times [NULL @ 00000000022b5020] Invalid sync code 100901. [NULL @ 00000000022b5020] Invalid sync code 300901.

FFMPEG: Last message repeated FFMPEG:58 times [NULL @ 00000000022b5020] Invalid sync code 100901. [NULL @ 00000000022b5020] Invalid sync code 300901.

FFMPEG: Last message repeated 58 times

FFMPEG:[NULL @ 00000000022b5020] Invalid sync code 100901. [NULL @ 00000000022b5020] Invalid sync code 300901.

FFMPEG: Last message repeated 58 times [NULL @ 00000000022b5020] Invalid sync code 100901. [NULL @ 00000000022b5020] FFMPEG:Invalid sync code 300901.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/chenxiaoqino/getusermedia-to-rtmp/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ABvpXmOi9rF-xsia2aGBFogwvXNLdbIsks5sPL88gaJpZM4Oba28 .

thisroot commented 7 years ago

SERVER:rtmp destination set to:rtmp://rtmp.artinvest52.ru/live/qwe This is my specify fo Nginx-rtmp-module

chenxiaoqino commented 7 years ago

Seems like FFMPEG is not reading input stream properly, which implies there's problem for browser reading data from camera. Can you double check if GetUserMedia functions are working? https://simpl.info/gum

chenxiaoqino commented 7 years ago

As a side note, GetUserMedia requires HTTPS in most modern browsers, unless you're running on localhost.

fatihemir commented 6 years ago

SERVER:Hello from mediarecorder-to-rtmp server! SERVER:Please set rtmp destination before start streaming. SERVER:rtmp destination set to:rtmp://.../live/stream FFMPEG:ffmpeg version N-87353-g183fd30 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 7.2.0 (GCC)

FFMPEG: configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib libavutil 55. 76.100 / 55. 76.100 libavcodec 57.106.101 / 57.106.101 libavformat 57. 82.101 / 57. 82.101 libavdevice 57. 8.101 / 57. 8.101 libavfilter 6.105.100 / 6.105.100 libswscale 4. 7.103 / 4. 7.103 libswresample 2. 8.100 / 2. 8.100 libpostproc 54. 6.100 / 54. 6.100

FFMPEG:[libvpx @ 054284c0] v1.6.1

FFMPEG:[libvpx @ 054284c0] Invalid sync code 426701. [libvpx @ 054284c0] Invalid sync code e06101.

FFMPEG: Last message repeated 98 ti FFMPEG:mes [libvpx @ 054284c0] Invalid sync code 426701. [libvpx @ 054284c0] Invalid sync code d06101.

FFMPEG: Last message repeated 54 times [matroska,webm @ 03c7ac80] Could not find codec parameters for stream 1 (Video: vp8, none(progressive), 480x360): unspecified pixel format Consider increasing the value for the 'analyzeduration' and 'probesize' options

FFMPEG:Input #0, matroska,webm, from 'pipe:': Metadata: encoder : Chrome Duration: N/A, start: 0.059000, bitrate: N/A Stream #0:0(eng): Audio: opus, 48000 Hz, mono, fltp (default) Stream #0:1(eng): Video: vp8, none(progressive), 480x360, SAR 1:1 DAR 4:3, 1k tbr, 1k tbn, 1k tbc (default)

FFMPEG:[libvpx @ 054bcba0] v1.6.1 Stream mapping: Stream #0:1 -> #0:0 FFMPEG: (vp8 (libvpx) -> h264 (libx264)) [NULL @ 054284c0] Invalid sync code d06101.

FFMPEG: Last message repea FFMPEG:ted 43 times [NULL @ 054284c0] Invalid sync code 426701. [NULL @ 054284c0] Invalid sync code d86101.

FFMPEG: Last messa FFMPEG:ge repeated 98 times [NULL @ 054284c0] Invalid sync code 426701. [NULL @ 054284c0] Invalid sync code c86101.

FFMPEG: Last mess FFMPEG:age repeated 98 times [NULL @ 054284c0] Invalid sync code 426701. [NULL @ 054284c0] Invalid sync code ca6101.

FFMPEG: Last message repeated FFMPEG: 98 times [NULL @ 054284c0] Invalid sync code 426701. [NULL @ 054284c0] Invalid sync code cc6101.

FFMPEG: Last message FFMPEG: repeated 98 times [NULL @ 054284c0] Invalid sync code 426701. [NULL @ 054284c0] Invalid sync code ce6101.

FFMPEG: Last message repeated FFMPEG:98 times [NULL @ 054284c0] Invalid sync code 426701. [NULL @ 054284c0] Invalid sync code c46101.

FFMPEG: Last messag FFMPEG:e repeated 98 times [NULL @ 054284c0] Invalid sync code 426701. [NULL @ 054284c0] Invalid sync code c46101.

FFMPEG: Last mes FFMPEG:sage repeated 98 times [NULL @ 054284c0] Invalid sync code 426701. [NULL @ 054284c0] Invalid sync code c56101.

FFMPEG: Last message re FFMPEG:peated 98 times [NULL @ 054284c0] Invalid sync code 426701. [NULL @ 054284c0] Invalid sync code c56101.

Error

chenxiaoqino commented 6 years ago

Hi,

Can you try debugging by pushing from FFMPEG directly to RTMP server? Seems like the push from Chrome to Server is working, so the error is either in Encoding or in Pushing.

For details on pushing, visit: https://trac.ffmpeg.org/wiki/StreamingGuide

Another possibility will be the CPU resource is exhausted; maybe you can try running the script on localhost and observer its CPU consumption. adjusting the input to a lower resolution (via GetUserMedia contraints) may help.

-- Yours sincerely, Xiaoqi Chen cxqn.info

On Tue, Oct 3, 2017 at 10:17 AM, fatihemir notifications@github.com wrote:

SERVER:Hello from mediarecorder-to-rtmp server! SERVER:Please set rtmp destination before start streaming. SERVER:rtmp destination set to:rtmp://.../live/stream FFMPEG:ffmpeg version N-87353-g183fd30 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 7.2.0 (GCC)

FFMPEG: configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib libavutil 55. 76.100 / 55. 76.100 libavcodec 57.106.101 / 57.106.101 libavformat 57. 82.101 / 57. 82.101 libavdevice 57. 8.101 / 57. 8.101 libavfilter 6.105.100 / 6.105.100 libswscale 4. 7.103 / 4. 7.103 libswresample 2. 8.100 / 2. 8.100 libpostproc 54. 6.100 / 54. 6.100

FFMPEG:[libvpx @ 054284c0] v1.6.1

FFMPEG:[libvpx @ 054284c0] Invalid sync code 426701. [libvpx @ 054284c0] Invalid sync code e06101.

FFMPEG: Last message repeated 98 ti FFMPEG:mes [libvpx @ 054284c0] Invalid sync code 426701. [libvpx @ 054284c0] Invalid sync code d06101.

FFMPEG: Last message repeated 54 times [matroska,webm @ 03c7ac80] Could not find codec parameters for stream 1 (Video: vp8, none(progressive), 480x360): unspecified pixel format Consider increasing the value for the 'analyzeduration' and 'probesize' options

FFMPEG:Input #0, matroska,webm, from 'pipe:': Metadata: encoder : Chrome Duration: N/A, start: 0.059000, bitrate: N/A Stream #0:0(eng): Audio: opus, 48000 Hz, mono, fltp (default) Stream #0:1(eng): Video: vp8, none(progressive), 480x360, SAR 1:1 DAR 4:3, 1k tbr, 1k tbn, 1k tbc (default)

FFMPEG:[libvpx @ 054bcba0] v1.6.1 Stream mapping: Stream #0:1 -> #0:0 FFMPEG: (vp8 (libvpx) -> h264 (libx264)) [NULL @ 054284c0] Invalid sync code d06101.

FFMPEG: Last message repea FFMPEG:ted 43 times [NULL @ 054284c0] Invalid sync code 426701. [NULL @ 054284c0] Invalid sync code d86101.

FFMPEG: Last messa FFMPEG:ge repeated 98 times [NULL @ 054284c0] Invalid sync code 426701. [NULL @ 054284c0] Invalid sync code c86101.

FFMPEG: Last mess FFMPEG:age repeated 98 times [NULL @ 054284c0] Invalid sync code 426701. [NULL @ 054284c0] Invalid sync code ca6101.

FFMPEG: Last message repeated FFMPEG: 98 times [NULL @ 054284c0] Invalid sync code 426701. [NULL @ 054284c0] Invalid sync code cc6101.

FFMPEG: Last message FFMPEG: repeated 98 times [NULL @ 054284c0] Invalid sync code 426701. [NULL @ 054284c0] Invalid sync code ce6101.

FFMPEG: Last message repeated FFMPEG:98 times [NULL @ 054284c0] Invalid sync code 426701. [NULL @ 054284c0] Invalid sync code c46101.

FFMPEG: Last messag FFMPEG:e repeated 98 times [NULL @ 054284c0] Invalid sync code 426701. [NULL @ 054284c0] Invalid sync code c46101.

FFMPEG: Last mes FFMPEG:sage repeated 98 times [NULL @ 054284c0] Invalid sync code 426701. [NULL @ 054284c0] Invalid sync code c56101.

FFMPEG: Last message re FFMPEG:peated 98 times [NULL @ 054284c0] Invalid sync code 426701. [NULL @ 054284c0] Invalid sync code c56101.

Error

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/chenxiaoqino/getusermedia-to-rtmp/issues/1#issuecomment-333856301, or mute the thread https://github.com/notifications/unsubscribe-auth/ABvpXk0etthehJklM1Y3p_PlhYOfNnY5ks5sokIVgaJpZM4Oba28 .

fatihemir commented 6 years ago

server ssl plugin add

var express = require('express'); var app = express(); var fs = require('fs'); var spawn = require('child_process').spawn;

spawn('ffmpeg',['-h']).on('error',function(m){ console.error("ffmpeg.exe dosyası bulunamamıştır."); process.exit(-1); });

var options = { key: fs.readFileSync('key.pem'), cert: fs.readFileSync('cert.pem') }; app.use(express.static('demos')); // webroot index dosyaları demos dizine eklenecek

var app = require('https').createServer(options,app) var io = require('socket.io')(app);

app.listen(8888, function(){ console.log('Server Açıldı : https//localhost:8888'); });

key.pem, cert.pem ssl Download link http://s6.dosya.tc/server11/wsgdke/key.pem.rar.html

chenxiaoqino commented 6 years ago

Hello!

  1. If you want to integrate the code upstream, please open a pull request instead.

  2. Please do not download a certificate from arbitrary location (or post it online for others do download); this is extremely dangerous. Instead, you may simply want a self-signed certificate or purchase a signed SSL certificate.

wangjunji commented 6 years ago

I have the same problem , any update to this issue? BTW, my app is running on localhost, so it seems not to be the ssl issue.

recv server message rtmp destination set to:rtmp://127.0.0.1:1935/live/test LandingPage.vue?3d44:55 FFMPEG: ffmpeg version 3.4 Copyright (c) 2000-2017 the FFmpeg developers built with Apple LLVM version 7.3.0 (clang-703.0.31) configuration: --prefix=/usr/local/Cellar/ffmpeg/3.4 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libmp3lame --enable-libvpx --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma

LandingPage.vue?3d44:55 FFMPEG: libavutil 55. 78.100 / 55. 78.100 libavcodec 57.107.100 / 57.107.100 libavformat 57. 83.100 / 57. 83.100 libavdevice 57. 10.100 / 57. 10.100 libavfilter 6.107.100 / 6.107.100 libavresample 3. 7. 0 / 3. 7. 0 libswscale 4. 8.100 / 4. 8.100 libswresample 2. 9.100 / 2. 9.100 libpostproc 54. 7.100 / 54. 7.100

LandingPage.vue?3d44:86 Blob {size: 99520, type: "video/webm"} LandingPage.vue?3d44:55 FFMPEG: [libvpx @ 0x7fb8e4814400] v1.6.1 [libvpx @ 0x7fb8e4814400] --prefix=/usr/local/Cellar/libvpx/1.6.1 --disable-dependency-tracking --enable-pic --disable-unit-tests --disable-examples

LandingPage.vue?3d44:55 FFMPEG: [libvpx @ 0x7fb8e4814400] Invalid sync code 422701.

LandingPage.vue?3d44:55 FFMPEG: [libvpx @ 0x7fb8e4814400] Invalid sync code e02101.

LandingPage.vue?3d44:86 Blob {size: 154650, type: "video/webm"} LandingPage.vue?3d44:86 Blob {size: 161732, type: "video/webm"} LandingPage.vue?3d44:55 FFMPEG: Last message repeated 126 times [libvpx @ 0x7fb8e4814400] Invalid sync code e12101.

LandingPage.vue?3d44:55 FFMPEG: Last message repeated 28 times [matroska,webm @ 0x7fb8e6000000] max_analyze_duration 5000000 reached at 5040000 microseconds st:0

LandingPage.vue?3d44:55 FFMPEG: [matroska,webm @ 0x7fb8e6000000] Could not find codec parameters for stream 1 (Video: vp8, 1 reference frame, none(progressive), 640x480): unspecified pixel format Consider increasing the value for the 'analyzeduration' and 'probesize' options

LandingPage.vue?3d44:55 FFMPEG: Input #0, matroska,webm, from 'pipe:': Metadata: encoder : Chrome Duration: N/A, start: 0.660000, bitrate: LandingPage.vue?3d44:55 FFMPEG: N/A Stream #0:0(eng): Audio: opus, 48000 Hz, mono, fltp (default) Stream #0:1(eng): Video: vp8, 1 reference frame, none(progressive), 640x480, SAR 1:1 DAR 4:3, 1k tbr, 1k tbn, 1k tbc (default)

LandingPage.vue?3d44:55 FFMPEG: [libvpx @ 0x7fb8e6011000] v1.6.1 [libvpx @ 0x7fb8e6011000] --prefix=/usr/local/Cellar/libvpx/1.6.1 --disable-dependency-tracking --enable-pic --disable-unit-tests --disable-examples

LandingPage.vue?3d44:55 FFMPEG: Stream mapping: Stream #0:1 -> #0:0 (vp8 (libvpx) -> h264 (libx264)) [NULL @ 0x7fb8e4814400] Invalid sync code e12101.

LandingPage.vue?3d44:86 Blob {size: 161963, type: "video/webm"} LandingPage.vue?3d44:86 Blob {size: 160929, type: "video/webm"} LandingPage.vue?3d44:55 FFMPEG: Last message repeated 98 times [NULL @ 0x7fb8e4814400] Invalid sync code e22101.

LandingPage.vue?3d44:86 Blob {size: 162218, type: "video/webm"} LandingPage.vue?3d44:86 Blob {size: 162490, type: "video/webm"} LandingPage.vue?3d44:55 FFMPEG: Last message repeated 127 times [NULL @ 0x7fb8e4814400] Invalid sync code e32101.

LandingPage.vue?3d44:86 Blob {size: 162408, type: "video/webm"} LandingPage.vue?3d44:86 Blob {size: 162686, type: "video/webm"} LandingPage.vue?3d44:55 FFMPEG: Last message repeated 127 times [NULL @ 0x7fb8e4814400] Invalid sync code e42101.

LandingPage.vue?3d44:86 Blob {size: 162624, type: "video/webm"} LandingPage.vue?3d44:86 Blob {size: 167646, type: "video/webm"} LandingPage.vue?3d44:55 FFMPEG: Last message repeated 127 times [NULL @ 0x7fb8e4814400] Invalid sync code e52101.

LandingPage.vue?3d44:86 Blob {size: 163930, type: "video/webm"} LandingPage.vue?3d44:86 Blob {size: 163456, type: "video/webm"} LandingPage.vue?3d44:86 Blob {size: 169673, type: "video/webm"} LandingPage.vue?3d44:55 FFMPEG: Last message repeated 127 times [NULL @ 0x7fb8e4814400] Invalid sync code e62101.

LandingPage.vue?3d44:86 Blob {size: 140695, type: "video/webm"} LandingPage.vue?3d44:86 Blob {size: 154621, type: "video/webm"}

chenxiaoqino commented 6 years ago

Okay, I'll look into the error log and try to reproduce the same error. BTW, it'll help if everyone can attach how they installed FFMPEG.

zack24q commented 6 years ago

remove this params

-vcodec
libvpx
matthew-mahony commented 6 years ago

@zack24q recommendation worked for me. A few additional notes:

chenxiaoqino commented 6 years ago

@matthew-mahony Thanks! Can you open a pull request to apply your fix and remove "-vcodec"?