Comments (5)
Hello @Estebangonzalezt
Can you try to run that directly using ffmpeg?
FFmpeg can be run multiple times at once so it shouldn't be a problem.
Do you need to have "-loop 1" there? Before input?
from xabe.ffmpeg.
I run the command directly on Ffmpeg on Linux and it works perfectly so I need -loop 1
before input because I need to create a video with 3 seconds long using a single image if I move the -loop 1
after the input it creates me a zero second video long. or there is a way using the library to create a video with n length but using a single image.
Thanks!!
from xabe.ffmpeg.
Can you show me the code when you configure conversion?
Are you sure that the same input is passed to ffmpeg?
Also that can be related to that issue #435 - I'm already working on that.
from xabe.ffmpeg.
Sure, I run the command -loop 1 -i myImage.jpg -s 1280x720 -c:v libx264 -t 3 -pix_fmt yuv420p -r 10.1 finalVideo.mp4
and pass as parameter to:
var strParam = "-loop 1 -i myImage.jpg -s 1280x720 -c:v libx264 -t 3 -pix_fmt yuv420p -r 10.1 finalVideo.mp4"
await new Conversion()
.AddParameter(strParam)
.UseMultiThread(true)
.Start();
from xabe.ffmpeg.
Can you use that overload of Start?
AddParameter method was designed to pass additional parameters that library does not cover. Probably it gets lost without any streams defined.
from xabe.ffmpeg.
Related Issues (20)
- Can't stop video with CancellationToken when AddDesktopStream HOT 4
- Error while download official ffmpeg version
- Issue with FindAndValidateExecutables
- The specified executable is not a valid application for this OS platform.
- testing with LinqPad, it shows a parameter error
- 'enum VideoSize' Should include vertical screen HOT 1
- Can not embed a watermak and a subtitle at the same time
- Raw data as input HOT 1
- run ffmpeg command with 'taskset' in linux HOT 1
- Struggling with commands
- Could not retrieve m3u8 information with GetMediaInfo.
- ffmpeg and ffprobe Paths get overriden with empty values after the first constructor
- Receiving 'Missing system type and architecture.' exception on Android in VS 2022 Emulator HOT 1
- Audio stream bitrate is 0 for some audio tracks
- Convert three-letter language code to language name
- MediaInfo.CreationTime property does not contain date
- Snapshot to memoryStream
- Cannot create sample file if it contains "HDMV PGS" subtitle stream HOT 1
- From MediaInfo how can i get bool for IsInterlaced?
- FFmpegWrapper.RunProcess() always produces incorrect output file if cancellationToken.Cancel() called
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 xabe.ffmpeg.