jogramming / dca

Go implementation for the DCA audio format
BSD 3-Clause "New" or "Revised" License
75 stars 60 forks source link

Option reconnect not found #14

Closed lon9 closed 4 years ago

lon9 commented 4 years ago

I've updated ffmpeg to 4.2.2 with Homebrew and the error is occurred.

ffmpeg: stable 4.2.2 (bottled), HEAD
Play, record, convert, and stream audio and video
https://ffmpeg.org/
/usr/local/Cellar/ffmpeg/4.2.2_3 (287 files, 57MB) *
  Poured from bottle on 2020-05-01 at 22:30:05
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/ffmpeg.rb
==> Dependencies
Build: nasm ✔, pkg-config ✔, texi2html ✔
Required: aom ✔, fontconfig ✔, freetype ✔, frei0r ✔, gnutls ✔, lame ✔, libass ✔, libbluray ✔, libsoxr ✔, libvidstab ✔, libvorbis ✔, libvpx ✔, opencore-amr ✔, openjpeg ✔, opus ✔, rtmpdump ✔, rubberband ✔, sdl2 ✔, snappy ✔, speex ✔, srt ✔, tesseract ✔, theora ✔, webp ✔, x264 ✔, x265 ✔, xvid ✔, xz ✔
==> Options
--HEAD
    Install HEAD version
==> Analytics
install: 96,128 (30 days), 274,858 (90 days), 1,031,225 (365 days)
install-on-request: 74,313 (30 days), 206,361 (90 days), 751,167 (365 days)
build-error: 0 (30 days)
2020/05/03 17:37:35 ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
  built with Apple clang version 11.0.0 (clang-1100.0.33.17)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.2_3 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags=-fno-stack-check --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
  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
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Option reconnect not found.
lon9 commented 4 years ago

After that. I tried go test without reconnect options and it worked. But I'm not sure why the test is failed with reconnect.

goddtriffin commented 4 years ago

I'm having the same issue. I cannot for the life of me convert an MP3 or a WAV to a DCA file with this tool. Were you able to get it to work? @lon9

lon9 commented 4 years ago

@MagnusFrater The problem is caused by reconnect options added by #13 so we have to remove the options or change the order of options like my pull request #15

goddtriffin commented 4 years ago

@jonas747 This is a simple fix, tested it myself and it works.