cannonbeach / ott-packager

OTT/ABR streaming encoder (H264/HEVC) and packager for DASH and HLS
GNU General Public License v2.0
228 stars 42 forks source link

Docker with webapp dont receive --hls params to fillet #21

Closed marciocamello closed 5 years ago

marciocamello commented 5 years ago

ILLET: ERROR: Please select TS output (--hls) and/or fMP4 output mode (--dash) OR YouTube DASH publishing mode

cannonbeach commented 5 years ago

Since you are using the webapp, could you please send me the config file you are using? It'll be located in /var/tmp/configs. It will have a .json extension. Thanks.

marciocamello commented 5 years ago

This error in transcoder

gcc -g -c -O2 -m64 -Wall -Wfatal-errors -funroll-loops -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -DENABLE_TRANSCODE -I./include -I./cbfdkaac/libAACenc/include -I./cbfdkaac/libSYS/include -I./x265_3.0/build/linux -I./cblibcurl/include/curl ./source/transaudio.c In file included from ./source/transaudio.c:47:0: ./source/../cbffmpeg/libavresample/avresample.h:102:10: fatal error: libavresample/version.h: No such file or directory

include "libavresample/version.h"

And /var/tmp/config has empty

cannonbeach commented 5 years ago

Since you are using the webapp, could you please send me the config file you are using? It’ll be located in /var/tmp/configs? It will have a .json extension. Thanks!

On Thu, May 30, 2019 at 6:05 PM MarcioCamello notifications@github.com wrote:

ILLET: ERROR: Please select TS output (--hls) and/or fMP4 output mode (--dash) OR YouTube DASH publishing mode

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cannonbeach/ott-packager/issues/21?email_source=notifications&email_token=ABJ3YIJTBZ5XTFRJNKBN37DPYBMUPA5CNFSM4HRNRG5KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GW2YCMQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ABJ3YILOJBTY2KE5CVRU3A3PYBMUPANCNFSM4HRNRG5A .

marciocamello commented 5 years ago

Yeah, i am run webapp, and in /var/tmp/configs are not exist any file *.json.

marciocamello commented 5 years ago

Look

https://prnt.sc/nvtnhu

cannonbeach commented 5 years ago

I forgot to include some additional packages in the setuptranscode.sh script that I already had installed. I also had a version ffmpeg installed with headers in my system directory, so I had to add a directory to the Makefile to point to the correct location.

Please do a code update and rerun:

  1. ./setuptranscode.sh
  2. Edit the Makefile to set ENABLE_TRANSCODE
  3. make clean
  4. make

Then please follow the instructions for the webapp to get the Docker container built with the updated executable. Please let me know if you run into anymore issues.

cannonbeach commented 5 years ago

And don't forget to rebuild the Docker image if you plan to run the webapp....

  1. cp fillet ./docker
  2. cd ./docker
  3. sudo docker build -t dockerfillet .
marciocamello commented 5 years ago

Works now, testing and i will report to better image to docker, and latest ffmpeg version maybe