Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
Amazon Elastic Transcoder vs FFMPEG [closed]
7 juillet 2017, par KiranDI'm developing a website (php based) and there is a provision to upload videos in different formats. I'm using HTML5 player for the front end presentation. So, as the ideal format that is supported by most of the browsers is mp4, I tried using ffmpeg and it works fine.
I would like to know which transcoder (Amazon Elastic Transcoder or FFMPEG) would be best for handling conversions parallely when there is a huge traffic.
There could me approximately thousands of users watching the videos and may be hundreds uploading the videos at the same time. I'm using Amazon EC2 for deployment and the traffic is mostly spiky (not flat).
I'm not sure about the acceptable speed. But, I need the one which can transcode the videos much faster.
-
is Cloud API's needed for Video Conversion to save huge time ?
7 juillet 2017, par user2224250I have seen a couple of ffmpeg software's which converts a video x format (1.8 GB) to y format (1.8 GB) in less than 90 seconds
For example IDealshare VideoGo
When I work with ffmpeg in the terminal, these sort of conversions takes atleast one hour. Moreover, when I compare to the above software, am facing a very very big number interms of time.
May be, do you think for these fast conversions, we must take help from third party cloud API's (software's) such as amazon elastic transcoder etc etc.
Any pointers would be really appreciable !!
-
Convert live stream of Rgba32 images and stream over RTP as H264 video stream
7 juillet 2017, par Michael BPlease bear with me as I'm relatively new to camera network streaming and ffmpeg.
I'm currently receiving live IP camera stream as h264 over rtp via ffmpeg.autogen api code.
We decode the live stream of frames as rgb24bpp and convert to writablebitmaps which we then apply some frame diagnostic markup consisting of text and rectangle filled background, and this is currently network streamed as encode jpegs from our server. Our client uses the Accord.Net framework receive a MJPEGstream to pull out the images and bind them as bitmaps to image source control in WPF front end to mimick a streaming video. This works well, but sending data over network like this is large.
We've decided to look at moving away from mjpeg and instead use a higher compression format of h264.
My aim is to compress and stream the marked up writable bitmaps over the network as compressed h264 video, as a live stream.
Having done much research it seems it might be achievable my taking the source data of the writablebitmaps, which is RGBA32 raw data, convert this YUV and encode the yuv frames to h264 video. Below is a link that seems to demonstrate this conversion.
https://github.com/codefromabove/FFmpegRGBAToYUV/blob/master/FFmpegRGBAToYUV/ConvertRGBA.cpp
This example I think is what I need, but it is writing out to a video file, what I would like is to change the out of this example, so that it outputs as a video stream over network
Is this achievable as a live stream?
Thanks
-
ffmpeg put logo on rtsp and send to youtube live
7 juillet 2017, par ahmed_maxI want to put it watermark logo on rtsp stream (from Hikvision IP camera) and send it live to YouTube.
I use ffmpeg on Winddows and this code
ffmpeg -f lavfi -i anullsrc -rtsp_transport tcp -i rtsp://username:pass@255.255.255.255/Streaming/Channels/101 -tune zerolatency -vcodec libx264 -t 12:00:00 -pix_fmt + -c:v copy -c:a aac -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/stream-key
How i can put watermark over live camera and send to YouTube live?
I tried adding it
-i watermark.png -filter_complex "overlay=10:10"
but dont work.
-
How to play PES+H264 stream via ffmpeg/ffplay command
7 juillet 2017, par Yong mingI have a h264 video stream wrapped as pes packets, while playing on my embedded hardware, the screen blurred.
So I want to verify the accuracy using ffmpeg command, but how, is anyone can help? that will be very appreciated.