Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
HTTP Listener continuous data on same request (Keep alive)
22 janvier 2019, par Kevin Jensen PetersenI'm currently trying to create a HTTP Server/Listener in C# which takes a Request and Keeps it open "Keep Alive" for further data being sent on a regular basis (FFMPEG streaming data), however I cannot seem to find an equivalent to what Node.js/JavaScript does in this example.
I got the basics of HTTP Requests down and being able to "Keep it alive".
Does anyone know of a way in C#?
var streamServer = http.createServer(function(request, response) { response.connection.setTimeout(0); request.on('data', function(data){ socketServer.broadcast(data); }); }).listen(STREAM_PORT);
-
FFmpeg settings for Apple TV 4K
22 janvier 2019, par IgorWhat settings I should use with FFmpeg to create H.264 4K video compatible with Apple TV 4K?
iTunes doesn't import 4K videos which I created with default settings of FFmpeg, libx264, -crf 18, 3840 x 2160, 30p
No problem with 1920 x 1080, 30p videos.
-
How to suppress output filename in FFMPEG video
22 janvier 2019, par FlashSolutionsI am using the following command line parameters to create a 5 second video from a single png file. The video contains the output filename near the bottom of the video. I would like to suppress the filename from the video but everything I have tried so far has not worked.
It is probably something very simple, but it eludes me.
Can someone tell me what I need to add or subtract from this command line to make it just produce the video without the text in it.
ffmpeg -loop 1 -i img001.png -c:v libx264 -t 5 -pix_fmt yuvj444p out.mp4
-
ffmpeg unicode file name not working
22 janvier 2019, par user3631926Hi when I use arabic file name in the $video variable the ffmpeg is throwing the error: Input/output error
the command is as follows:
$cmd = "$ffmpeg -i $video -ss $interval -vframes 1 -f image2 -s $size $temp_thumbnail_url";
english file names works great.
-
ffmpeg force format when I using tcp protocol as output
22 janvier 2019, par Moein MohammadianI want to cut a video and start a tcp server with ffmpeg and a tcp client reads the cut video's content but I have to force a format.
ffmpeg -ss 00:01:00 -i input.mp4 -to 00:02:00 -f mpeg2video tcp://127.0.0.1:8010?listen=1
If I don't specify a format I get an error
Unable to find a suitable output format for 'tcp://127.0.0.1:8010?listen=1'
but if I save cut video to a file I don't have to enter a format
ffmpeg -ss 00:01:00 -i input.mp4 -to 00:02:00 output.mp4
The problem is when I specify a format it takes more time to create cut video. Is there any way I don't specify format when I create a tcp server.
Basically I want to cut a video and send the cut video over tcp/ip as fast as I could.