Click here to Skip to main content
15,886,422 members
Everything / Ffmpeg

Ffmpeg

ffmpeg

Great Reads

by Clayton Rumley
There are those who think I am crazy, and this just might be the proof.
by Bjørn
Using the FFmepg.exe to create video snapshots
by Junian Triajianto
Using the power of Livestreamer and FFmpeg, twitch stream can be recorded every time a user goes online.
by Bohdan Stupak
A simple snippet of how you can convert video in .NET Core

Latest Articles

by V. Subhash
Compile FFmpeg v7.0 CLI from source and check out some of its new features
by V. Subhash
A simple fix for excessively bright video and low-volume audio
by Tough Developer
The V380 Pro wireless CCTV camera is available from many sellers on AliExpress for as low as 15USD. It has 10
by V. Subhash
How to get compile the latest FFmpeg source code and try out some new features

All Articles

Sort by Score

Ffmpeg 

27 Apr 2016 by Clayton Rumley
There are those who think I am crazy, and this just might be the proof.
6 Apr 2015 by Bjørn
Using the FFmepg.exe to create video snapshots
20 Jan 2017 by Junian Triajianto
Using the power of Livestreamer and FFmpeg, twitch stream can be recorded every time a user goes online.
23 Feb 2021 by Bohdan Stupak
A simple snippet of how you can convert video in .NET Core
5 Nov 2023 by V. Subhash
A simple fix for excessively bright video and low-volume audio
10 Dec 2013 by farhad Najib
HiTry it:$ ffmpeg -s 352x288 -i foreman_cif_frame_0.yuv f.pngffmpeg version N-46810-g7750c48 Copyright (c) 2000-2012 the FFmpeg developers built on Apr 21 2013 11:12:24 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5) configuration: --enable-gpl --enable-libx264 --enable-libmp3lame ...
14 Jul 2014 by nv3
The problem seems to be that you don't have a clear idea what it means to "merge" two audio streams. What you probably mean is to mix both audio signals in a way that an audio mixer would do. For that to be possible, the samples of both streams must be taken at the same points in time, i.e. the...
18 Dec 2015 by Jochen Arndt
Your FTP server should know which files are actually being uploaded.A good implemented server would also lock the file even for reading while the upload is in progress. Then your service might detect the new file but will be not be able to open it.If there is no read lock, there should...
27 Nov 2016 by Member 12761317
I'm using IP webcam android app(It converts mobile camera into IP web camera). I'm running below code in Visual Studio 2015 with OpenCV 3.1. VideoCapture cap; Mat img; cap.open("http://192.168.0.101:8080/video?x.mjpeg"); while(waitKey(33)!=27) { try{ ...
20 Aug 2018 by Jochen Arndt
Start by reading HWAccelIntro – FFmpeg[^]. For usage with the API check if an appropriate decoder is available and select that for decoding (requires that the library has been built with support for that decoder): // C/C++ example to use the DXVA2 decoder AVCodec* decoder =...
21 Jun 2021 by V. Subhash
Cut, copy, convert, mix, rotate, flip, resize, crop, combine, compose, blur, sharpen, smoothen, side-by-side split, PIP inset, fade in/out using FFmpeg Filters
23 Mar 2012 by CPallini
It looks[^] you may actually (cross) compile ffmpeg.
8 Feb 2013 by OriginalGriff
Google is your friend: Be nice and visit him often. He can answer questions a lot more quickly than posting them here...A very quick search using part of your question as the search term gave nearly 6 million hits: sample kinect game program using C#[^]In future, please try to do at...
21 Apr 2013 by merano
1. Please format your Source with code tag like thisFILE* fp=fopen("aha.yuv","w");if(!fp) return NULL;fwrite(outPic->data[0],nbytes,1,fp); fwrite(outBuffer,nbytes,1,fp);fclose(fp);2. You should use fopen() in binary mode3. Can´t see writing you Fileheader or Bitmap-Header,...
11 Nov 2013 by chinahyin
nRet = av_image_alloc(pSrcBuff,nLines,nSrcWidth,nSrcHeight,AV_PIX_FMT_YUV420P,16) ; nDstBuffLen = av_image_alloc(pDstBuff,nDstLines,nSrcWidth,nSrcHeight,AV_PIX_FMT_RGB24,1) ; if (nDstBuffLen
12 Mar 2014 by godspeed123
Hi I have been looking through the ffmpeg documentation and samples provided with the library and I can not figure out how to acquire a live stream from a webcam, I know it is possible, but can not figure out how to do this.Does anyone have a tutorial or some sample code to access a...
12 Mar 2014 by User 59241
Having read your other question on a related matter I will answer here. You need to convert a cv image (cv::Mat) to an AVFrame.This should get you well and truly...
17 Jun 2014 by Sergey Alexandrovich Kryukov
I have one specific advice for you: build the utility ffmpeg.exe and give it the command-line arguments likeffmpeg -i someInputFile.wav outputFile.aacRun it under the debugger and see what happens. This is a great library and utility, but it's very big and have some legacy "noise" in it, due...
30 Jul 2015 by CHill60
If you can't understand the code presented we are unlikely to be able to help you much in a Quick Answers Forum! However - your first link - you can put the code wherever you like. A button click event would be appropriate, amongst other options.The missing reference on your 2nd link is...
10 Sep 2016 by Richard MacCutchan
See VideoFileReader Class[^] for instructions on installation and usage.
20 Jul 2018 by Gerry Schmitz
How to webcast using Microsoft Expression Encoder[^]
16 Aug 2018 by Member 13948830
This is what I did to finally get it to work var processStartInfo = new ProcessStartInfo(@"C:\FFmpeg\bin\ffmpeg.exe"); processStartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden; ...
20 Sep 2018 by paunescuionica
I cannot visualize a H264/MP4 stream generated by ffmpeg in Chrome, IE, Edge. It works only in Firefox. My testing environment is Windows 10, all updates done, all browsers up to date. What I have tried: I have a source MJPEG stream, which I need to transcode to H264/MP4 and show it in...
26 Mar 2020 by Maciej Los
Please, take a look at answered question: Converting Images into Video using C#[^] You can also be interested in this project: GitHub - mmaitre314/PictureMovie: Create MP4 videos from JPG/PNG/GIF/BMP images[^] Other links:...
23 Aug 2020 by Hank Williams
Have you tried using the Aforge VideoSourcePlayer control instead of the picturebox control? I think the VideoSourcePlayer control is more suited to your needs.
8 Mar 2023 by V. Subhash
How to get compile the latest FFmpeg source code and try out some new features
U 12 Apr 2024 by V. Subhash
Compile FFmpeg v7.0 CLI from source and check out some of its new features
24 Mar 2012 by vonpik
What exactly you want to do with decoded file? a) If you want to play it, use irrKlang. I used it, is easy to understand. There are C++ and C# bindings. It also support many of files (*.mp3, *.ogg, *.wav, *.flac, *.ogg even *.mod (amiga modules). irrKlang have to licenses, free and...
24 Mar 2012 by Sergey Chepurin
How about BASS audio library [^]"BASS is an audio library for use in software on several platforms. Its purpose is to provide developers with powerful and efficient sample, stream (MP3, MP2, MP1, OGG, WAV, AIFF, custom generated, and more via OS codecs and add-ons), MOD music (XM, IT, S3M,...
29 Mar 2012 by waterduck
Hello thereI'm looking for a solution for streaming my webcam over rtsp and transcodingI tried VLC for this but it doesnt support the TCP transport, only UDPThen I tried FFmpeg. It transcodes well but fails to stream webcamSo now I'm looking for RTSP server which supports TCP transport...
8 May 2012 by AR1988
HiDoes anyone know how to use the ffmpeg tool to add a watermark to a video,if anyone does please I need the syntax and the resources required if addition dlls are to be introduced.Thanks in advance.
8 May 2012 by Manfred Rudolf Bihy
Here is a video that hows you how to do it: Add a Watermark to a Video with ffmpeg[^]. This video shows how to do it under unix. If you're on windows just vhook the watermark.dll instead of watermark.so.Please always try something first!Regards,Manfred
2 Jun 2012 by magic.on
VLC steams with RTSP, check some sites on google "stream webcam vlc"
22 Aug 2012 by NeonMika
Hi there!I download and convert a audio file from the web with ffmpeg and convert them to mp3 with "-acodec libmp3lame -ab 128k" using a selfwritten wrapper in C#. This file can be perfectly played in Winamp for example.But now I want to play this file in my C# application with MFC and the...
20 Oct 2012 by Eldor Primov
Hi communityIs it possible to re stream RTSP to HTTP streaming? here http://superuser.com/questions/58722/how-do-i-configure-ffserverffmpeg-to-fetch-a-live-stream-in-one-format-and-outp it says to use ffmpeg and mplayer to receive and save rtsp then stream to http, but not so clear. can...
5 Dec 2012 by Eldor Primov
Hello community,I am struggling with switching between multiple live streams. For example, I have five live streaming servers streaming(HTTP or RTSP) and I want to put some broker between those (five) streaming sources and destination so that output to the destination would be one video...
12 Mar 2013 by rocmehra
Hi,I have used the ffmpeg to get the video duration. I want that whenever i browse a file and save then itself save the duration of file in PHP.
14 Mar 2013 by OSHO580
Hello friends,I want to develop wrapper class in VC++ 2010 of ffmpeg.c. is it possible or not . If it possible please guide me how can i start to do this work. I have already started but i got lot of linker error. I have also mentioned extern "C" for header file . I have also included all lib...
20 Apr 2013 by liaoyuandeyehuo
I use this way to convert bitmap to yuv Save bitmap to video (libavcodec ffmpeg) and then save the buffer like this: FILE* fp=fopen("aha.yuv","w"); if(!fp) return NULL; fwrite(outPic->data[0],nbytes,1,fp); fwrite(outBuffer,nbytes,1,fp); fclose(fp); but it has only several lines.All most all of...
30 May 2013 by link_that
In my project I am saving videos, converting formats to .swf using ffmpeg. Converting and saving the videos is working fine, but I have a problem with creating the thumbnails. It saves a "picture.jpg" but there is no image. looking at the thumbnail its only got the normal photoviewer sign which...
28 May 2013 by Sergey Alexandrovich Kryukov
This is simple, but what you really need to is read FFmpeg command-line help paying more attention. It is not as simple as it may look at first glance:http://www.ffmpeg.org/ffmpeg.html[^].—SA
25 Jul 2013 by hbbiao
looking for advice on how to learn directshow and ffmpeg.i have compiled some projects available on the internet ,but i still can't quite understand ,especially how to syncronize audio and video ,is timestamp contained in the file container like avi, mpeg,or included somewhere else ,because i...
15 Oct 2013 by CodingHell
I'm working on a project in which I'll have to encode my audio data.I can capture the audio and create a .wav file but I want to compress it and make it an mp3 or .aac file.I'm using ffmpeg for encoding.If someone has done this.. Please help me.If necessary I'll post my code and...
4 Mar 2014 by radnix
Well, I did finally get it working and will post my particular solution here with the hope it may help others. Oh, almost forgot. If you have a suggestion for change to this code, please do:static void write_frame(AVFormatContext *s, AVPacket *pkt, AVCodecContext *avctx,...
12 Mar 2014 by Sergey Alexandrovich Kryukov
There are different aspects of this problems. Pretty much everything is described here:https://trac.ffmpeg.org/wiki/StreamingGuide[^],https://trac.ffmpeg.org/wiki/How%20to%20capture%20a%20webcam%20input[^],https://trac.ffmpeg.org/wiki/Streaming%20media%20with%20ffserver[^],see also:...
12 Mar 2014 by godspeed123
HiI accessed my webcam using OpenCV, and I am getting Mat of the RAW image, I want to pass this into ffmpeg to encode the stream, how do I go about doing this?Thanks in advance.
14 Mar 2014 by godspeed123
HiI have a RGB24 image which I am saved on file, I am using sws_scale to convert it to YUV420 and then I wanted to verify if the conversion was done correctly so I tried converting it back to RGB24 to view the results. And all I see is vertical white and black bars. What am I doint...
15 Mar 2014 by SoMad
Try using PIX_FMT_YUVJ422P instead of PIX_FMT_YUV422P.I found that in this[^] forum question. That question and answer is from Oct. 2012, so things could have changed.If that does not solve your problem, I noticed the following comment in pixfmt.h:AV_PIX_FMT_YUVJ422P, ///
14 Mar 2014 by godspeed123
Hi ThereI am trying to get MJPG encoding working, I have AV_CODEC_ID_MPEG1VIDEO working, but when I switched to AV_CODEC_ID_MJPEG I get an error -22The code fails on the last part with "could not open codec".Any help would be greatly appreciated!This is the code:AVCodecID...
16 Mar 2014 by godspeed123
Hi ThereI have a h264 encoded stream in ffmpeg, but i want to transfer it out via RTSP, RTP/UDP, I know FFMPEG has the capability but I dont know where to start. I there a C++ tutorial showing this, or some sample code to start with?Thanks in advance!
11 Apr 2014 by godspeed123
HiI was able to encode a raw image to h264, and now I want to be able to transmit it to RTSP using live555. I want to create a sdp so I can put it into live555, so after a bunch of searching I found there is a function av_sdp_create, but I dont know how to use it... The first argument is...
20 Apr 2014 by godspeed123
Hi ThereI have used ffmpeg to compress raw data to h264. Few questions, when the image is compressed is the PPS/SPS going to be at the front of each compressed frame? I see that there is a 0001 in front of the data, is there some way of passing the frame to a h264 dump application to...
20 Apr 2014 by godspeed123
HiI have a compressed image stored in a char * and I want to put it back to an AVPacket so that I can put it into a ffmpeg decoder. Can someone show how to do this? Any sample or tutorial would be greatly appreciated.Thanks in advance
24 Apr 2014 by Rage
What kind of "compressed image" ? Have a look at this[^] thread.
21 May 2014 by Pavan Kumar
While recording video by ffmpeg VideoFileWriter class, i am getting error like 'A video file was not opened yet'here is my code : private void butStart_Click(object sender, EventArgs e) { try { FinalVideo = new...
30 May 2014 by Ha Viet
At least, you have wrong typo atsws_scale(sws_ctx, frame2->data, ..)You need to change it tosws_scale(final_sws_ctx, frame2->data, ..)
7 Jun 2014 by godspeed123
HiI have access to a webcam through FFMPEG but now I want to grab the audio using FFMPEG and C++. Is there an example or tutorial on how to do this, and make sure it syncs up with the video?Thanks in advance
12 Jun 2014 by Vi(ky
Hi I want create streaming server to stream mjpeg file. I get the help of this project[^]Now, I want to create images from a video file ( mjpeg). By using ffmpeg I am able to get images from video file like mp4, flv, wmv & successfully stream the file. The command that I using for...
17 Jun 2014 by godspeed123
Hi ThereI am looking for some code that will allow me to to convert PM audio to AAC. I have written an attempt at it but I keep getting error -22 when trying to do the econding. Code is written below. Any help would be greatly appreciated!while( res = av_read_frame( pFormatCtx,...
17 Jun 2014 by KarstenK
you have better chances by searching ffmpeg contacts direct.Looks like here is some sample code available.
6 Jul 2014 by Member 10266297
i am using ffmpeg to convert .MOV video to .flv and i get the below error knowing that i am sure that there is a permission because i extract image from video to the same directory in the same screen :ffmpeg.StartInfo.Arguments = "ffmpeg -i " + file + " -ar 22050 -ab 32 -f flv -s 320×240...
9 Jul 2014 by godspeed123
Hi ThereI am using ffmpeg and I am able to receive PCM audio packets from 3 different mics to one program, I want to be able to merge the audio and then save it to file, but I dont know how to merge these audio inputs, I am receiving packets from each mic one at a time and I dont have a...
10 Jul 2014 by Albert Holguin
Assuming your input is synched in time and you're using the same PCM sampling on all channels... just make a "mixer"...http://stackoverflow.com/questions/5126169/programmatically-merging-two-pieces-of-audio/5126209#5126209[^]That's one example, but I'm sure you can find a handful of examples...
10 Jul 2014 by godspeed123
Hi ThereI am trying to understand the pts value in an audio encoded packet in ffmpeg.I checked my timebase to be 1/44100and some pts values : 70754080000, 70759090000, back to back packet pts values.I dont know how to convert that to real time. I would imagine it having...
11 Jul 2014 by KarstenK
read the avformat.h there stands:/* AVPacket.pts, AVPacket.dts and AVPacket.duration timing information will be * set if known. They may also be unset (i.e. AV_NOPTS_VALUE for * pts/dts, 0 for duration) if the stream does not provide them. The timing * information will be in...
14 Jul 2014 by godspeed123
Hi ThereI want to merge 2 audio streams together in C/C++ and I think I have to user amerge to do so. I have the 2 audio streams decoded in 16 bit PCM format and I want to merge them properly into one audio file. I looked around for amerge filter example but couldnt find any. Does anyone...
16 Jul 2014 by Vlad Budeac
var player = new WindowsMediaPlayer();var clip = player.newMedia(file.FullName);lblLenght_.Text = (TimeSpan.FromSeconds(clip.duration)).ToString(); ShellFile shellFile = ShellFile.FromFilePath(file.FullName);lblFPS_.Text = (shellFile.Properties.System.Video.FrameRate.Value /...
16 Jul 2014 by Sergey Alexandrovich Kryukov
Do on simple step, look not at FFMPeg application, but at FFProbe. You can always download its source code and see what it does. Then, you can either start FFProbe as a separate process with appropriate command-line parameters, redirect its output stream StandardOutput (and StandardError) and...
23 Jul 2014 by SoSoLue
I got some question, in my code,this project will get video stream from camera,and encoder with ffmpeg lib and x264,then both save in a .mp4 file, upload to rtmp server.now, when I stop get stream and encode,VS2012 show the memory leak, but it cant locate the memory leak code.can...
6 Aug 2014 by Aashish_stellar
Hello Guys, I am working on ffmpeg using its libraries on mac OSx. I am trying to transcode a video. For this I am using this : const char* inFileName = "C:\\abc.avi"; av_register_all(); AVFormatContext* inContainer = NULL; if(avformat_open_input(&inContainer, inFileName, NULL,...
19 Aug 2014 by godspeed123
HiI am trying to setup live555 to stream rtsp with an ondemandserver from a microphone, but I am not sure how to do so. I have attempted to do this by overriding OnDemandServerMediaSubsession and FramedSource, but I am running into issues where I hear a bit of sound for half a second and...
24 Aug 2014 by Sergey Alexandrovich Kryukov
This approach can work, but you are not doing all appropriate steps. First of all, you need to formulate the question accurately. FFMpeg has nothing to deal with "uploading" (however, it can be very helpful for downloading files delivered through some streaming protocol, a tool which is hard to...
11 Sep 2014 by sunil mali
Dear All,I am trying to Compress Video using FFMPEG Library.I am Having issue in putting watermark in Video.I have boldmark command i tried for watermark. Kindly help me.Code I used so far string source = @"C:\Adstringo\AdstringoIn\source\Wildlife.mp4"; ...
26 Jul 2015 by parisonj
Hi,Does anyone have any good tips or practical experience on controlling the playback rate of video/audio streams?Using SetRate() doesn't seem to give me reliable (smooth) results, certainly above values of 2.0, and often locks up completely.Ideally, I need to typical rates of x1, x2,...
30 Jul 2015 by Atom Scott
First, I'm fairly new to see sharp so I'm looking for a thorough and easy to understand answer.How do I make a C# win form program that breaks a video down to frames, then puts those frames back together to make a video?I also want to be able to select which frames to extract by setting an...
23 Nov 2015 by paunescuionica
I'm using an API which gives live images from different sources (mainly from IP cameras). So I have few jpg images coming in each second.My requirement is to produce a H.264 encoded MP4 live stream, that will be displayed in a browser (in HTML5 element).So, transform this live...
23 Nov 2015 by Sergey Alexandrovich Kryukov
Please see my comment to the question. I cannot tell you for sure what to choose, not sure myself, but I can give your some words in favor or FFMpeg. I did not use Media Foundation, but I often heard the opinions that FFMpeg offers a much broader set of features compared to Media...
18 Dec 2015 by Member 11324668
Hi i have a simple question, i have window service that run in specific interval.Now i have one issue when user upload a big file and during same time window service run and convert that file to mp4 using ffmpeg but original video is not uploaded completely. therefor converted video does not...
26 Jan 2016 by paunescuionica
I'm currently developing an application which will enable visualizing images from different sources (mostly IP cameras) in browser (in a HTML5 video element). The UI will allow for matrix view so, normally 16 or more cameras will be displayed at the same time.From cameras I get MJPEG streams...
9 Apr 2016 by Prakash1206
there are a lot of questions asked regarding opencv + H.264 but none of them gave detailed explanation.i am using openh264(openh264-1.4.0-win32msvc.dll) along with opencv 3.1(custom build with cmake having ffmpeg enabled) in visual studio, i wanted to save video coming from webcam in mp4...
16 May 2016 by Eranga Dayarathne
I have Created audio and video capture method and Save thee two file in to my location.after these two file merge in to one avi format file.in the final output file audio run first and video take delay. how to fix it. I used ffmpeg.exe for merge.are there many system for capture audio and...
9 Jun 2016 by Member 11549235
Hi, I'm working on a FFMPEg Project and trying to write a file with a stream. But when I call avformat_write_header it always throws an errr. Here's the code:AVCodecContext *codecctx; AVFormatContext *fmtctx; fmt=av_guess_format(NULL,filename,NULL); if(!fmt) printf("Das Format kann...
8 Jun 2016 by Jochen Arndt
Like Richard I do not know ffmpeg well. But the documentation for avformat_write_header[^] states for the first parameter:Quote:Media file handle, must be allocated with avformat_alloc_context(). Its oformat field must be set to the desired output format; Its pb field must be set to an...
9 Jun 2016 by Member 11549235
The Problem is i forgot to call avio_open. Now I'm trying to add a png Image to the stream, but don't know how to convert it to an useable Frame. Can you give me some hints?
29 Aug 2016 by hansonzou
the particulars is i save a rtsp stream to ts file by ffmpeg per 10 second , it may last for a long time(more than 26.5hour), when it done, it will save a m3u8 file, after that, i use ffplay to play then m3u8 file, if i want to seek to 26.7hour , the play must be stoped. -----PTS (sec) =...
29 Aug 2016 by KarstenK
The only way I see is to split the files in parts with playtime less but roughly the 26.5 h and than compute the offset and seek the correct subfile.
17 Sep 2016 by Stefan Ionescu Freelancing
I am trying to programmatically watermark a video in Android using WritingMinds' Ffmpeg library from Github :https://github.com/WritingMinds/ffmpeg-android-javaI did all they said in their documentation and imported the library in Android Studio.Still, it gives me an IOExeption with...
27 Nov 2016 by Arthur V. Ratz
Normally, in this code, at the beginning, you declare two variables: VideoCapture cap; Mat img; You normally open the camera by invoking cap.open("http://192.168.0.101:8080/video?x.mjpeg"); method and then perform a loop to retrieve each frame from the camera device storing them into a frame...
30 Nov 2016 by Charly LEE
the input mp3 is single channel with 32000 sample rate, 16bit signed.I am using ffmpeg 2.6 to decode mp3 on ios9.3.2 pad. It get white noise only. but it works on windows.I record the decoded PCM to file and use tool to play it. when I changed the bit set to 32. I can hear the original sound...
30 Nov 2016 by KarstenK
the solution looks really simple. AVPacket avpkt; av_init_packet(&avpkt); // set values AFTER init avpkt.data = encode_packet->data; avpkt.size = encode_packet->data_length;I am a bit confused that your old code works on Windows. But I know that the Objective-C runtime...
17 Mar 2017 by Ahmad_Mustafa
There is a Long process to use FFmpeg in C#. I have some Questions about it when i use it in c# project and make some software using it and give to some one all the things we install to setup Other person needs these things as well ? Is there any Other easy way to setup FFmpeg in c# Project....
11 Jul 2017 by Member 13117475
Hi, I am working on capture images by calling RTSP service. For calling RTSP service I have created one sample application (as a client) and in that I have created socket object and call RTSP service listen method. I am also able to receive byte[] using UDP listener, but I am not able to use...
11 Jul 2017 by KarstenK
Why are you sending TCP and receiving UDP packets??? Use TCP alsp on the receiver side. You should use the Image.Save() with a parameter to enforce jpeg. image.Save(path, ImageFormat.Jpeg); Else check for other problems, like the transmitted data and its size.
11 Jul 2017 by Ahmad_Mustafa
use this proc.StartInfo.Arguments = string.Format("-i {0} -i {1} -acodec copy -vcodec copy -map 0:0 -map 0:1 {2}", Wavefile, video1, strResult);
4 Oct 2017 by KarstenK
You best start at the ffmpeg documentation site. I also like to mention the ffmpeg examples. Maybe that stackoverflow answer helps you in your problem. It is a complex library so you will have to learn a lot.
26 Oct 2017 by Graeme_Grant
You want to "capture" the output? This should answer your question: Capturing console output from a .NET application (C#) - Stack Overflow[^]
9 Nov 2017 by arunavachowdhury
This is a simple code to create ffmpeg log output in a file instead of console. But this code doesn't create an output log file wherein the same arrangements when used in command prompt it works. Can anybody help in this? what more needs to be done to get the output in the log file? Regards...
8 Nov 2017 by Richard MacCutchan
A quick check with your debugger would show you that your parameters are wrong as you have unescaped backslashes in your strings. So the code: string fullPath = "d:"; string fileName= "wildlife.wmv"; string pathfile = "D:"; process.StartInfo.Arguments = "-i \"" +...
9 Nov 2017 by arunavachowdhury
Tried with the above code but its not working. When we run ffmpeg with the same code we need to remove the final "\" after ffmpeglog.log to generate the log. When I am using " -i \"d:\\wildlife.wmv 2> \"D:\\ffmpeglog.log\"" The log is not generating but cannot remove the "\" from the string...
17 Feb 2018 by Member 13682761
hi dear, I want to create a video during 15 seconds using one picture in C#. I try a lot of way but I couldn't , if anyone has solution pleas help me. this is my code : What I have tried: using (Process p = new Process()) { p.StartInfo.UseShellExecute = false; ...