Questions tagged as 'ffmpeg'

0
answers

FFmpeg recording 24/7

I need to record the image of a webcam 24/7 using FFmpeg and I have no idea how to do it. I know it allows me to set the recording time to 24 hours, but does anyone know how to make this recording be continuous?     
asked by 29.09.2017 / 21:22
1
answer

Take screenshot in the middle of the ffmpeg / ffprobe video?

I would like the time the thumb to be generated correspond to 50% of the time of the episode with ffmpeg I am using this code $ffmpeg -ss 00:00:18 -i $video -vf scale=800:-1 -vframes 1 $output How do I in place of 00:00:18, be the exact tim...
asked by 30.11.2016 / 02:00
0
answers

How do I prevent the stream from falling when there is no frame? [closed]

I'm running a command line in ffmpeg so it saves the input in the format I need, but the input stream occasionally has some flaws, seconds, and it happens that the output exits with problems, if I am using VLC to see the result, and some f...
asked by 16.10.2016 / 01:53
0
answers

What is the purpose of the avoid_negative_ts option in ffmpeg transcoding?

I would like to know details about this functionality, as there is not much information about it. From what I understand, it seems to me that by enabling this option, I will get an improvement when a frame loss occurs, but I'm not sure about t...
asked by 23.11.2016 / 05:21
1
answer

PHP exec () does not execute FFmpeg [closed]

The following code works at the prompt but does not work in php, why? $ffmpeg = 'C:/ffmpeg/bin/ffmpeg.exe'; $video = 'C:/absolute-path-para-o-video'; $output = 'C:/minha-pasta/thumbnail.jpg'; $cmd = '$ffmpeg -ss 3 -i $video -vf "select=gt(sce...
asked by 30.11.2016 / 15:02
1
answer

How to insert thumbnail into .MP3 file

I would like to know the right command to add thumbnail (jpg) in the .mp3 file, my current command below converts normally, but it just does not insert thumbnail because I do not know what the command is. ffmpeg -i $tmp -ar 44100 -ab 128k -ac...
asked by 15.10.2017 / 02:50
1
answer

FFmpeg and video vs. audio time

I have a simple application that downloads a video + audio and 'concatenates' them with the tool FFmpeg , the problem is that most of the time the user will download a song bigger than the video in question and then there is a video of 10 secon...
asked by 05.07.2017 / 21:25
1
answer

Transmit image from an ip camera via streaming (FFmpeg)

I have an application written in Node.Js that needs to record the video of the camera in an archival mp4 and also transmit it via streaming to a specific url. For testing and learning purposes, I made a code using the notebook's webcam as data i...
asked by 07.12.2017 / 20:12
1
answer

How to convert a UDP stream to HLS using ffmpeg

My question is the following: I use the ffmpeg codec for various purposes, and I had this problem of converting a udp stream to HLS, tried several forms already, and read several tutorials, nothing that was objective, the idea would convert a mu...
asked by 15.08.2017 / 19:15
1
answer

Audio with the first 30 seconds mute

I'm using this code more unsuccessfully but in the terminal it works perfectly what it can be? exec("ffmpeg -i musica.mp3 -af "volume=enable='between(t,0,30)':volume=0" result.mp3 2> log.txt"); The music is in the php folder, I even us...
asked by 18.12.2015 / 21:02