Most voted "ffmpeg" questions
Program to record, convert and create audio and video streams in various formats. Ffmpeg is a command-line program composed of a collection of free software and open-source libraries.
Learn more…44 questions
Sort by count of
-
10
votes1
answer501
viewsLive on Facebook using Ffmpeg?
I’m using ffmpeg to try to stream a live on Facebook, using the function concat to stream multiple video files, but at the end of the first file, Facebook hangs and does not continue playing the…
-
7
votes2
answers1078
viewsRender subtitles in video with ffmpeg?
I have some subtitle files that are separate from their respective videos, and I would like to join them using the code below: ffmpeg -i videoSemLegenda.mp4 -i legenda.vtt -c copy -c:s mov_text…
-
6
votes0
answers298
views -
4
votes1
answer1863
viewsCalling python script via a php script accessed by the browser
I have a php script that will receive upload videos and I would like to convert these videos using ffmpeg. I created a python script that takes parameters from php and calls ffmpeg to do the…
-
4
votes1
answer490
viewsCheck the integrity of batch video files
How to check automatically and customizable via Shell/Programming Language the integrity (file Incomplete/Corrupted) of video files (.avi, .mp4, .mkv among others) ? OBS: Having as limiting factor…
-
4
votes2
answers833
viewsChange the quality of online video?
How do websites such as Youtube and Facebook offer different qualities for uploaded videos? Is there any specific tool/code to change the quality of the videos, or do they encode and save the video…
-
2
votes1
answer292
viewsInsert text using FFMPEG, but only in a video snippet
I use the code below to generate new videos (from the respective folder) by inserting the name and CPF of the student in each video. However, this way, the compilation takes a long time, since the…
-
2
votes1
answer117
viewsTake screenshot in the middle of ffmpeg / ffprobe video?
I would like the time that Thumb was generated to 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…
-
2
votes1
answer762
viewsGenerate thumbnail video in php
I wanted to take the thumbnail of a video after the video was uploaded on the site, I already searched a lot and only what I think is about ffmpeg and the "tutorials" basically tell you the commands…
-
2
votes1
answer189
viewsVideo Capture, Ffmpeg Video
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…
-
2
votes0
answers52
viewsImprove the quality of a screenshot made with ffmpeg
There is a way to improve the quality of a 'photo' taken from a webcam using Ffmpeg? I am using the code below and it results in two very low quality 'photos'. ffmpeg -f dshow -i video="Integrated…
-
2
votes0
answers94
viewsHow to put date and time in the file name? (Ffmpeg)
How to put date and time in an output file name generated from a video cut using ffmpeg? I tried some code combinations but they didn’t work. This code works to cut the video but the name is without…
-
2
votes1
answer167
viewsshell_exec php with accent
I need to rotate a command via shell which can have accent (involves filename) by PHP. Printing the command and rotating it in the hand it runs with the accent, but with the shell_exec it does not…
-
2
votes2
answers270
viewsRun multiple processes on Linux with Python
I receive some Urls as parameter via MQTT, after extracting them I can execute the command for FFMPEG to record them with os.system. But it works for only one process, and I need to run N…
-
2
votes1
answer291
viewsFfmpeg and BAT Automatic Conversion
I am using ffmpeg to convert all videos from one folder to . mp4, and for that I have created one . bat to make the process, but, the problem that is next: When it starts the conversion, it creates…
-
2
votes1
answer194
viewsSave MP4 video without audio - Ffmpeg-PHP
I would like to know how I could save a clip(video) in MP4 by the Ffmpeg-PHP library without the audio, as it will not be necessary and I would also like to decrease the file size. I’m using the…
-
1
votes0
answers50
viewsHow to prevent the stream from falling when there is no picture?
I am running a command line on ffmpeg so that it saves the input in the format I need, however, input stream has occasionally some faults, such as missing 5 seconds, and it occurs that the output…
-
1
votes1
answer68
viewsProblem after applying a patch to generate random names in ffmpeg
I applied the following patch below, it works as expected, but occasionally transcoding for and in other cases(rare cases, depending on the compiled ffmpeg version) keeps running but instead of…
-
1
votes0
answers49
viewsWhat is the purpose of the avoid_negative_ts option in ffmpeg transcoding?
I would like to know details about this feature, as there is not much information about it. From what little I understand, it seems to me that activating this option, I will have an improvement when…
-
1
votes1
answer100
viewsHow to create random filenames with ffmpeg?
I’m compiling a custom version of ffmpeg, and I want it to generate random names but it doesn’t support that, so I need some function to do this with X characters(the quantity is not imported as…
-
1
votes1
answer196
viewsHow to convert a UDP stream to HLS using ffmpeg
My doubt and the following, I use the codec ffmpeg for various purposes, and I came up with this problem of converting an udp stream to HLS, I’ve tried several ways, and I’ve read several tutorials,…
-
1
votes0
answers49
viewsHow 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…
ffmpegasked 7 years, 2 months ago Rodrigo Brito 43 -
1
votes1
answer250
viewsStream image from an ip camera via streaming (Ffmpeg)
I have an application written in Node.Js that needs to record the camera video in an mp4 file and also stream it via streaming to a specific url. For test and learning purposes, I made a code using…
-
1
votes1
answer289
viewsWould you like to know how to leave my videos in this identical setting 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
votes1
answer176
viewsHow to create a folder in php and right after launch exec?
I need to create a folder and right after launching the thumbnail created in it. mkdir(pasta, 0777. true); if(a pasta recém criada existir ){ exec("ffmpeg -i ".$currentPath." -vf fps=1/60 "…
-
1
votes1
answer67
viewsChange FFMPEG generated GIF size
I am generating gifs using ffmpeg, in its latest version (to date of this issue), using the following lines of code: ffmpeg -y 10 -i in.mp4 -vf fps=10,scale=-1:340:flags=lanczos,palettegen…
-
1
votes1
answer37
viewsHow to convert an entire video directory via terminal in Ubuntu Server 18?
I have a directory and wanted to convert all videos . mkv to . mp4. The only problem I’m having is: ffmpeg -f concact-i lista.txt -c copy novo.mp4 the only problem is that this way I get the whole…
ffmpegasked 5 years, 7 months ago Sandson Costa 509 -
1
votes0
answers18
viewsConvert AC3 audio to AAC with error using ffmpeg
I am trying to convert an ac3 audio of 1 hour and 16 minutes, this original audio is a 5.1, and I want to convert to aac, and it would have to be stereo as it would be reincarnated into an mp4 file…
-
1
votes0
answers78
viewsHow to discard corrupted frames in FFMPEG
I’m running a command on FFMPEG that uses as input a video stream (A boroscope IP stream) and transforming it into a video file format. avi. To do this I circled the following command: ffmpeg -i…
-
0
votes2
answers200
viewsHow do I get Bitrate Mode from a C#MP3?
The audio I have is CBR (Constant bit rate), VBR (Variable bit rate) or AVR (Average bit rate), I tried using ffmpeg, only it does not return me the bitrate mode information?
-
0
votes0
answers120
viewsHow to compile ffmpeg and rtmpdump for vitamio (vitamio with rtmpdump)
Android lib ffmpeg.so with support for rtmpdump librtmp.so/rtmpdump.so for the vitamio. I saw some examples but they didn’t help me much, I need to compile the rtmpdump(librtmp) with the ffmpeg for…
-
0
votes1
answer82
viewsAudio with first 30 seconds mute
I am having use this code more unsuccessfully but on the terminal works perfectly what can be? exec("ffmpeg -i musica.mp3 -af "volume=enable='between(t,0,30)':volume=0" result.mp3 2> log.txt");…
-
0
votes1
answer171
views -
0
votes1
answer519
viewsRecord screen with ffmpeg
What is the command of ffmpeg that records the computer screen, because before it had a command via command line that made this recording without need of other software, only pure ffmpeg.
-
0
votes1
answer247
viewsFfmpeg and video vs audio time
I am with a simple application that performs the download of a video + audio and ' concatenate ' ( Join ) the same with the tool Ffmpeg, the problem is that most of the time the user will download a…
-
0
votes1
answer239
viewsPython2.7 with Opencv 3.3.0 - Videocapture problem
I’m running Opencv 3.3.0. with Python 2.7 on a Windows 7 Professional x64 machine, and when I run the code below, falls in the prints "Something went wrong" and "Finished ..." import cv2 capture =…
-
0
votes1
answer144
viewsHow to insert thumbnail in file . MP3
I would like to know the right command to add thumbnail (jpg) to the file. mp3, my current command below converts normally, but only does not insert thumbnail because I do not know what is the…
-
0
votes1
answer324
viewsffmpeg-php does not work
I am trying to generate a thumbnail with ffmpeg-php, but no command of it works, always gives an error saying that the class was not found, example: Fatal error: Class 'ffmpeg_movie' not found.…
-
0
votes1
answer108
viewsAudio streaming server with files in S3 Bucket
I’m developing a web service on Node Js to be consumed by a streaming app. My audio files are hosted on AWS S3 Bucket. So far so good, I can play the songs in the app. But the big problem is the…
-
0
votes1
answer40
viewsHow to load all . lib in a directory through Cmake?
I have in my CMakeLists.txt several calls to the add_library where these call libraries(.lib) are located in the same directory. I would like to import all libs from that directory /lib without…
-
0
votes0
answers45
viewsFfmpeg conflict running in different processes
I have a nodejs server that does some manipulations with audio files, using the Fluent-ffmpeg library, but when concatenating some files using the function: ffmpeg('./public/uploads/'+tmpFilename)…
-
0
votes0
answers45
viewsHow to resolve incremental delay in ffplay streaming?
Problem: Incremental delay in streaming runtime with FFPLAY Question: Is there any way to clear the delay buffer at runtime ? I’m using the FFPLAY to reproduce an RTP stream. In the first few…
-
0
votes0
answers22
viewsFFMPEG cannot read filename that contains "..."
I have a problem reading videos that contain two or more "." points followed in the name of one of the folders or in the name of the video itself. Ex: C://pasta 1/pasta 2/meuvideo1... parte2.ts. The…
-
-1
votes1
answer305
viewsConvert . Dav to any other video extension
I’m trying for days to convert .Dav (File generated by dvrs[image recorders]). I’ve tried several variations with the ffmpeg and I cannot succeed. ffmpeg -i input.Dav -codec:v libx264 -Crf 23…