Questions tagged as 'ffmpeg'

1
answer

ffmpeg-php does not work

I am trying to generate a thumbnail with ffmpeg-php, but no command of it works, it always gives an error saying that the class was not found, eg: Fatal error: Class 'ffmpeg_movie' not found. Using the command if(!extension_loaded("ffmpeg")...
asked by 26.10.2017 / 20:17
1
answer

Change the size of the GIF generated by FFMPEG

I am generating gifs using ffmpeg, in its latest version (at the time of this question), using the following lines of code: ffmpeg -y 10 -i in.mp4 -vf fps=10,scale=-1:340:flags=lanczos,palettegen palette.png to generate a palette, and f...
asked by 05.02.2018 / 19:45
1
answer

I would like to know how do I leave my videos in this identical configuration in ffmpeg?

Format: MPEG-4 Format profile: Base Media Codec ID: isom (isom / iso2 / avc1 / mp41) File size: 202 MiB Duration: 22 min 9 s Overall bit rate: 1 278 kb / s Writing application: Lavf57.2.100 Video ID: 1 Format: AVC...
asked by 28.01.2018 / 01:12
1
answer

Burn screen with ffmpeg

What is the ffmpeg command that writes the computer screen, since it used to have a command via the command line that made this recording without needing other software, just pure ffmpeg.     
asked by 08.06.2017 / 10:23
1
answer

Problem after applying a patch for random name generation in ffmpeg

I applied the following patch below, it works as expected, but occasionally transcoding to and in other cases ( rare cases depending on the version of compiled ffmpeg ) continues to run but instead of creating multiple segments with random names...
asked by 21.11.2016 / 15:28
1
answer

How to create random filenames with ffmpeg?

I'm compiling a custom version of ffmpeg, and I want it to generate random file names but it does not support this, so I need some function that does this with X the quantity is not important, as long as it is above 10 and below 20), if pos...
asked by 30.10.2016 / 18:37
0
answers

How to put date and time in file name? (FFmpeg)

How to put date and time in an output file name generated from a video cut using ffmpeg? I've tried some code combinations but they did not work. This code works to cut the video but the name is without a pattern: ffmpeg -ss inicio -i input...
asked by 03.11.2017 / 18:49
1
answer

Video Capture, FFmpeg

I have a program written in Node.Js that uses the following FFmpeg command to capture videos: ffmpeg -f dshow -i video=Integrated Webcam -c:v libx264 -f segment -strftime 1 -segment_time 60 -segment_format mp4 out%Y-%m-%d_%H-%M-%S.mp4 There...
asked by 03.10.2017 / 21:33
0
answers

Improve the quality of a screenshot made with ffmpeg

Is there a way to improve the quality of a 'photo' taken from a webcam using FFmpeg? I'm using the code below and it results in two very low quality 'photos'. ffmpeg -f dshow -i video="Integrated Webcam" -qscale:v 5 -t 1 -strftime 1 -segmen...
asked by 30.10.2017 / 18:31
0
answers

How to partition an avi video using ffmpeg commands

I would like to partition a video in avi format into multiple files using ffmpeg. I found some commands on the web: ffmpeg -i input.avi -vcodec copy -acodec copy -ss 00:00:00 -t 00:12:00 1.avi However, with the disadvantage that if we add u...
asked by 02.10.2017 / 18:14