Comments (4)
Look at the example : https://github.com/jrottenberg/ffmpeg#example
Basically end your command with a dash :
docker run jrottenberg/ffmpeg -i https://s3-eu-west-1.amazonaws.com/.../original.mp4 \
-c:a copy -f mjpeg -preset ultrafast -an \
-c:v mjpeg -vf \"select='not(mod(n\\,29))',yadif,scale=480:-1,crop=iw:270,tile=1x50\" \
-q:v 20 -vframes 1 - > out.mp4
from ffmpeg.
@jrottenberg It seems to work with pipe:1
?
from ffmpeg.
Oh I see, yet let me figure this one out.
from ffmpeg.
Ah actually nevermind, a pipe is a pipe :
docker run jrottenberg/ffmpeg:3.3-alpine -stats -i http://www.sample-videos.com/video/mp4/480/big_buck_bunny_480p_2mb.mp4 -c:a copy -f mjpeg -preset ultrafast -an -c:v mjpeg -vf "select='not(mod(n\\,29))',yadif,scale=480:-1,crop=iw:270,tile=1x50" -q:v 20 -vframes 1 - > out.mp4
Note the unescaped option for the vf.
from ffmpeg.
Related Issues (20)
- [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
- amr-wb support ?
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.