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

Filter ffsws not loaded when using GPAC from Docker container #2886

Closed
3 tasks done
alex-rsk opened this issue Jun 19, 2024 · 5 comments
Closed
3 tasks done

Filter ffsws not loaded when using GPAC from Docker container #2886

alex-rsk opened this issue Jun 19, 2024 · 5 comments

Comments

@alex-rsk
Copy link

  • I looked for a similar issue and couldn't find any.
  • I tried with the latest version of GPAC. Installers available at https://gpac.io/downloads/gpac-nightly-builds/
  • I give enough information for contributors to reproduce my issue

Greetings.
I'm trying to add rescaler to my MPEG-DASH stream.
I have two installations of GPAC: local and in the remote Docker container.
Both installations were made from master branch of GPAC (version 2.5-DEV-rev268 in local computer, version 2.5-DEV-rev278-gd594d3f2c-master in container).

When I run it in my local computer, it works just fine.
When I run it inside docker container in remote server, it failed with error:

Failed to load filter ffsws:osize=320x240: Filter not found 
Arg utcs set but not used
Arg force_flush set but not used
Arg segdur set but not used

I checked

 gpac -h filters | grep ffsws

and there's no such filter in Docker installation. While in local computer it present.

Should I install some library in the container and reinstall GPAC? Or maybe there's some installation flag ?

@aureliendavid
Copy link
Member

Hello.

Are you using the official docker image from dockerhub or did you build it yourself? If so what dockerfile did you use?

Using the dockerhub one I get:

$ docker pull gpac/ubuntu
$ docker run --rm -it gpac/ubuntu gpac -version
...
gpac - GPAC command line filter engine - version 2.5-DEV-rev296-gce46b1014-master
...

$ docker run --rm -it gpac/ubuntu gpac -h filters | grep ffsws
ffsws: FFmpeg video rescaler

In any case filters ff* use the ffmpeg libraries so you need to make sure to have that in your install (check the configure when building for example).

@alex-rsk
Copy link
Author

We have homebrew docker image, thank you for clue, we'll try official one.

@aureliendavid
Copy link
Member

If you want to build a more personalized image you can look at the dockerfile we use for the official one as a starting point: https://github.com/gpac/gpac/tree/master/build/docker

You can also look at the wiki page for more info: https://wiki.gpac.io/Build/build/GPAC-Build-with-Docker/

@alex-rsk
Copy link
Author

Thank you. I will try.

@alex-rsk
Copy link
Author

alex-rsk commented Jul 1, 2024

Used full version of gpac docker, without homebrew addition, everything works now.
Thanks!

@alex-rsk alex-rsk closed this as completed Jul 1, 2024
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