Questions tagged [FFmpeg] (318)

0
answer

How to pump a remote thread if the loss of connection?

Use nginx-rtmp-module+ ffmpeg. rtmp { server { listen 1935; chunk_size 4000; application hls { live on; hls on; hls_path /usr/local/nginx/html/hls; hls_fragment 5s; wait_key on; } } } I will relay a stream with a m3u8 playlist with nginx ffmpeg -re -i "http://xxx.ru/index.m3u8" -c:v copy-c:a aac-b:a 128k -ac ...
van_Gerho asked April 19th 20 at 12:28
1
answer

How to record logs of ffmpeg to a file?

fmpeg code outside the bash script works perfectly. For some reason when trying to write logs to a file using 2> - complains Unable to find a suitable output format for '2>' I have the feeling that the system treats this as a command ffmpeg #!/bin/bash cmd="ffmpeg -re -i "xx.m3u8" -c:v copy-c:a aac-b:a 128k -ac 2 -s...
elmo46 asked April 19th 20 at 12:19
1
answer

How to reduce the load on the CPU?

How can I speed up the process of decoding with minimal loss of quality? At the moment is very heavily loaded processor (the term "strongly" for VDS-the simplest key) ffmpeg -re -i http://xxx.index.m3u8 -strict -2 -c:v libx264 -c:a aac-ar 44100 -ac 2-f flv rtmp://localhost:1935/hls/home
Aimee_DuBuque30 asked April 19th 20 at 12:06
2
answers

Which server to choose for generating the video using ffmpeg?

There is a set of scripts to generate video using ffmpeg from a set of images from the video pieces, and so on. And, if it matters, can run simultaneously multiple different scripts (i.e. to simultaneously operate multiple copies of ffmpeg). The question is which one to choose for this server. Actually, there are two option...
Berneice.Jacobs asked April 19th 20 at 11:59
2
answers

Nginx Ffmpeg transcoding .bat is not listening the port?

Welcome. Don't know choose the right branch or not. But the issue is. Is Windows 10. Nginx+ffmpeg The stream is sent to nginx and is divided into two streams. One stream goes to a single stream facility in bitrate 25мбит. The second stream is sent to ffmpeg in transcoding with the last broadcast in 7мбит to another stream s...
Cristoba asked April 18th 20 at 12:43
1
answer

How to run multiple processes in ffmpeg?

Is it possible, and if so, how to run multiple ffmpeg processes in windows cmd?
opal_Runte55 asked April 16th 20 at 10:59
1
answer

How to get ffmpeg to work with AudioTrack?

code for playing the audio signal which came from the udp socket public int SAMPLE_RATE = 44100; public int CHANNEL = AudioFormat.CHANNEL_OUT_MONO; public int bfsze = AudioTrack.getMinBufferSize(SAMPLE_RATE,CHANNEL,AudioFormat.ENCODING_PCM_16BIT); public void startSpeakers() { // Creates the thread for receiving and...
Bertha5 asked April 16th 20 at 10:56
1
answer

The timing of the final video?

Good day, I'd like to share a video on keyframes to collect the needed pieces back together. Data karamah I have, type: ["0.166834","0.333667","5.338672","10.343677","11.886887"...] I'm trying to assume the exact time of the future videos, by the addition and subtraction data karamah, but the final video always differs by a...
terrence_Beat asked April 16th 20 at 10:50
1
answer

How to obyedinenie photos and music into a video using ffmpeg?

A daddy, in which pairs are the same name files in two formats, namely mp3 and jpeg, do not tell me ffmpeg code which connects these two files in the video of the same name.
Lambert82 asked April 16th 20 at 10:05
0
answer

How to configure the relay of rtsp video stream from the camera from the internal network to the Internet?

Hello! Tell me, how to prepare a team to relay the video stream in rtsp from an ip camera from the internal network through the server with vlc. Camera -> ubuntu server -> client with vlc Url video stream from the camera rtsp://admin:admin123@10.148.21.190:554/cam/realmonitor?channel=1&subtype=0&unicast=tru...
caesar asked April 9th 20 at 10:16