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

Videoshow doesnt throw any errors or exception in heroku #107

Open
ivaylonikolov7 opened this issue Nov 10, 2021 · 2 comments
Open

Videoshow doesnt throw any errors or exception in heroku #107

ivaylonikolov7 opened this issue Nov 10, 2021 · 2 comments

Comments

@ivaylonikolov7
Copy link

Hello, First thank you for you amazing work. I like it a lot. But now that I've transfered it to heroku it doesnt run. I use this buildpack - . I couldnt run your buildpack that you recommend. But anyway I installed this buidlpack and I thought everything works fine but it doesnt throw any errors, it doesnt enter the "onstart" event nor "on end" event. This is my code:

videoshow(images, videoOptions)
	.save('video.mp4').on('start', ()=>{
		console.log('start');
	}).on('error', (err, stdout, stderr)=>{
		console.error('Error:', err)
		console.error('ffmpeg stderr:', stderr)
		console.error('ffmpeg stdout:', stdout)
	}).on('end', ()=>{
		console.log('end');
	})

And this is the ffmpeg flags:

--enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg

libavutil      57.  7.100 / 57.  7.100
libavcodec     59. 12.100 / 59. 12.100
libavformat    59.  8.100 / 59.  8.100
libavdevice    59.  0.101 / 59.  0.101
libavfilter     8. 16.101 /  8. 16.101
libswscale      6.  1.100 /  6.  1.100
libswresample   4.  0.100 /  4.  0.100
libpostproc    56.  0.100 / 56.  0.100

I dont see any console.log('start') or console.error('Error:', err). What is the problem with heroku?

@alpeshpatel8955
Copy link

Any update on this?

@ivaylonikolov7
Copy link
Author

My images had the wrong extension. When I fixed my images everything was working.

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

2 participants