Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to encode vp8 with sound #36

Open
jamarparris opened this issue Jan 23, 2017 · 0 comments
Open

Unable to encode vp8 with sound #36

jamarparris opened this issue Jan 23, 2017 · 0 comments

Comments

@jamarparris
Copy link

jamarparris commented Jan 23, 2017

I'm unable to encode vp8 using the disable_audio=false attribute in my _config.sh. It just errors out. H264 works just fine. If I remove the disable_audio line, it works but then I have no sound.

The error that I get is:

Only VP8 or VP9 video and Vorbis or Opus audio and WebVTT subtitles are supported for WebM. av_interleaved_write_frame(): Invalid argument and Error writing trailer of <file>: Invalid argument

This is my ffmpeg config. I do also have --enable-libvorbis and --enable-libvpx as you can see below.

  built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/3.2.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-opencl --disable-lzma --enable-nonfree --enable-vda
  libavutil      55. 34.100 / 55. 34.100
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.100 / 57. 56.100
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100

Trying it via the command line: expose disable_audio=false doesn't error out but the video has no sound.

@jamarparris jamarparris changed the title Unable to encode vp8 Unable to encode vp8 with sound Jan 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant