Comments (4)
Hi,
I want to use the container as a permanent container too. Maybe it is possible to add another tag,
with a permanent CMD like "CMD exec /bin/bash -c "trap : TERM INT; sleep infinity & wait"".
The background for me is the convert of a list of files found by the "find" command.
For now, this does not work very easy.
Greetings jan
from ffmpeg.
ffmpeg is a command line application, not a service.
Here is how I run it
#!/bin/sh
docker run -it -v=$(pwd):/tmp/workdir jrottenberg/ffmpeg:latest $@
-> then use it like ffmpeg was installed on your machine normally.
from ffmpeg.
Thank you for the response (had my hopes up) - but that pretty much did the same. Started, then exited!
I understand ffmpeg is a command line application - I have it installed on a dedicated server which is used by one of the sites hosted on that server to transcode uploaded video via Drupal 7 (which works wonderfully, and has been active for several years now.
I'm trying to get everything from that server into docker and I'm down to this last hickup - ffmpeg
I appreciate the help, but looks like I'm just going to have to compile and install ffmpeg directly to the VM - seams this will be the only way to get the results I need, which is unfortunate being I wanted everything portable and instantly deploy-able.
I've even tried a few of the other docker containers out there for ffmpeg with the same results (starts, then exits and the site can't see it. The qt-faststart image I found runs and the site can connect to that, but no ffmpeg containers I've tried doesn't seam to work - as I would expect ffmpeg to work)
Was hoping someone had the magic info here! From what I see with this ffmpeg container is it needs to be executed with when you want to transcode and isn't listening otherwise at least from the documentation examples, that is the feeling I've gotten. Either that or I'm completely missing something (which is possible considering I've been stuck in a terminal for days trying to work this out)
If you have any other suggestions, I'm all ears!
Thanks again..
from ffmpeg.
Hi @sidgrafix,
If you want to have the ffmpeg container running all time and being able to pass it parameters you might want to look at :https://github.com/alexellis/faas
I listen over HTTP and pass parameters to a command line tool.
from ffmpeg.
Related Issues (20)
- Feature Request: Seperate images HOT 2
- [QUESTION] How to get output logs properly without using "ffmpeg [...] 2> output.log"?
- How to have a nodeJs running on top of the jrottenberg image? HOT 1
- libvmaf in alpine 5.1 HOT 1
- FFmpeg Release 6 Support HOT 3
- Upgrade ubuntu images to 22.04 (LTS) HOT 7
- Nvidia examples missing host volume mapping
- Question: Is there / can there be a build for linux with video toolbox included? HOT 2
- "latest" is which variant? HOT 1
- ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec HOT 2
- ERROR: libvmaf >= 2.0.0 not found using pkg-config HOT 1
- Unknown encoder 'h264_qsv' when using -vcodec h264_qsv HOT 3
- ffmpeg with libxml2 HOT 1
- Missing image 6.0-nvidia HOT 1
- Add user to conatiner, so that ffmpeg does not run as root
- Support for Cuda v12
- amr wb support HOT 1
- FFmpeg Release 6.1 "Heaviside" Support HOT 1
- ffmpeg:4.4-nvidia2204,ffmpeg:5.1.2-nvidia2004,ffmpeg:6.1.1-nvidia2204 - install imagemagick error HOT 2
- FFmpeg 7.0 "Dijkstra" Support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffmpeg.