Media tool with support for multiple codecs, filters, and containers. Include your actual command and the complete console output when asking questions involving FFmpeg tools. An easy way to do this is by adding `-report` to your command and pasting the contents of the logfile generated.

learn more… | top users | synonyms

1
vote
0answers
66 views

FFMPEG convert image to video displays only black screen

FFMPEG convert image to video displays only black original question, I've posted the question as a guest and can't put the edit.. so I created a new one I'm using ffmpeg4android to use ffmpeg ...
0
votes
0answers
13 views

FFMPEG convert image to video displays only black [duplicate]

I'm using ffmpeg4android to use ffmpeg commands in my android app. I'm using this command to convert a single image file into a video of 30 seconds length: ffmpeg -y -r 1/30 -i ...
0
votes
1answer
232 views

Using ffmpeg to copy metadata from one file to another

I want to use ffmpeg to copy all meta data not associated with core aspects of a video (frame rate, resolution) from one video to another. Is there a simple way to do this with a single command?
1
vote
1answer
38 views

How do I map -vf subtitles with ffmpeg?

I'm trying to burn in subtitles from this format: 0:0 Video 0:1 English Audio 0:2 Japanese Audio 0:3 English subtitle (default) 0:4 English subtitle (translation only) Both are subrip. What I ...
1
vote
1answer
46 views

Exporting VOB Subtitles in ffmpeg

Hey I've been trying to figure out a way to export image based subtitles from MKVs which have been ripped from BluRays or DVDs. The streams are there and can be hard-coded to the video, but I was ...
0
votes
1answer
64 views

ffmpeg -flags2 +export_mvs … to in *.txt

I'm doing research and practices on ffmpeg, I could see the motion vectors on a video between frames through the command "fFmpeg - flags2 + export_mvs ...". Is it possible to record the change of ...
0
votes
1answer
63 views

Possible technique to send video from ffmpeg to html5 video

I am searching for a technique to stream a video to a html5 player and came across ffmpeg. It seems to be able to do that but the quality it has is extradorinary bad (I only tried streaming on a rtp ...
0
votes
0answers
91 views

FFmpeg: how to record what's playing on the soundcard?

I am trying to record what's playing on my soundcard in Windows 8.1 I ran the following to determine what devices I have: ffmpeg -list_devices true -f dshow -i dummy The output listed: DirectShow ...
0
votes
1answer
52 views

How to add the timestamp as a part of the generated image file name in ffmpeg

I am trying to extract png images from a video using ffmpeg and add the timestamp as a part of the generated image file name. Please see the below command I am using for the same ffmpeg -vcodec ...
0
votes
0answers
49 views

FFMPEG Command to scale: How to do this?

I'm using ffmpeg command line in Android and I used the code from ffmpeg.org given as ffmpeg -i input.jpg -vf scale="'if(gt(a,4/3),320,-1)':'if(gt(a,4/3),-1,240)'" output_320x240_boxed.png But ...
2
votes
1answer
45 views

Frames drop when it comes to the last image - Android FFMPEG

I'm using the code ffmpeg -f image2 -framerate 0.2 -pattern_type sequence -framerate 25 -i /Source_Folder/Temp/a%d.jpg Dest_Folder/name.mp4; When I execute it for a number of images, I always lose ...
0
votes
0answers
62 views

ffmpeg-concatenating two or more mp4 videos does not give bad output video

I am joining two or more videos using ffmpeg : ffmpeg -f concat -i mylist.txt -c copy vidname.mp4 mylist.txt file contains enteries: file '1.mp4' file '2.mp4' both videos are of same frame rate ...
0
votes
0answers
129 views

ffmpeg receiving an icecast audio stream and RTMP video stream need to re-stream to wowza

I need to combine an audio stream and rtsp video stream from a camera the addio is about 7 seconds after the video and I need to synchronise it. -rtsp_transport tcp -thread_queue_size 512 -i ...
0
votes
0answers
48 views

How to read ffmpeg console output to interpret the default setting

PROBLEM when using the latest version of ffmpeg with ubuntu 15 and windows 7 I get different results with Ubuntu version of ffmpeg from software centre the resulting video is not viewable on windows ...
1
vote
1answer
34 views

FFmpeg multiple errors relative to path

I've got a list of videos in the directory: C:\Users\Andrew\Desktop\ffmpeg\bin\zaz\part-xxx.mov, the filelist: C:\Users\Andrew\Desktop\ffmpeg\bin\zaz\list.txt which is: file ...
0
votes
1answer
104 views

How to convert a mov to a gif without loosing quality [duplicate]

I am trying to convert a mov I have created by recording my screen with Quicktime (I am running Mac OS El Capitan) but the result is far from perfect. I am using ffmpeg (installed using homebrew) but ...
0
votes
0answers
36 views

Recording video livestream using ffmpeg

I'm trying to record a livestream using the app IP Webcam and also the FFMPEG software. I'm using the following code: ffmpeg -re -i http://172.16.14.118:8080/video test.ts The problem is that the ...
1
vote
0answers
29 views

Does h.264 levels affect the quality of the output?

According to Wikipedia, the example for high resolution of level 4.0 is 2048x1024@30fps. But the resolution of the video ready to encode is 1280x960, which is about level 3.2. Is it better to set the ...
0
votes
1answer
216 views

FFmpeg - Error while opening encoder for output stream #0:0

What's wrong about this command? I want to convert a .avi format video to "video=h.264/.mp4, audio=.mp3" video. ffmpeg -i "C:\video.avi" -c:v libx264 -preset slow -qp 0 -pass 2 -c:a mp3 -b:a 192k ...
1
vote
0answers
23 views

How mux two mp3 and video with ffmpeg

I try this command to mux two mp3's with mp4 video, but it's not working - no sound: ffmpeg -i first.mp3 -i second.mp3 -i video.mp4 -filter_complex amix=inputs=2:duration=shortest -c:a libmp3lame ...
0
votes
1answer
26 views

FFmpeg works on CMD but gives error with PHP exec()

When i run ffmpeg on cmd it works good, i put export LD_LIBRARY_PATH=/usr/local/lib into /etc/profile.d because it couldn't fine libmp3lame at the first But when i run it with PHP exec() it still ...
0
votes
1answer
36 views

Select audio from second input file for ffmpeg movie overlay

I'm working from this example from the ffmpeg wiki ffmpeg -i 1.avi -i 2.avi -i 3.avi -i 4.avi -filter_complex " nullsrc=size=640x480 [base]; [0:v] setpts=PTS-STARTPTS, ...
0
votes
1answer
34 views

Keeping the original bitrate while encoding to H.264

Is there any ways to use the original bitrate of the input file? The purpose I do this is because I don't know whether keeping the original bitrate while encoding will shorten the conversion time. If ...
1
vote
0answers
31 views

(FFMpeg) Split the video by size after conversion

I have a 5,000MB long video in .mp4 format. I would like to split the video into segments by the size. For example, I set the size to 1,024,000KB, or simply 1,024MB, because I want it to be accurate. ...
0
votes
1answer
82 views

FFmpeg - scale and pad

I have a video that I want to upscale but I don't want to lose the aspect ratio of the original video. My source file resolution is 864 x 692 and I want to upscale it to 1280 x 720 I found this on ...
1
vote
1answer
76 views

ffmpeg: Removing parts with silence: Efficiently remove several parts of a Video

I'm trying to remove parts of a video, where there is no (or little) audio. For this I use audacity (Analyze->Sound finder) and export the Label Track. This results in something like this: 0.000000 ...
2
votes
1answer
168 views

ffmpeg HLS playlist not starting at the beginning

I'm attempting to take a 5-minute video file and produce a single-file HTTP Live Stream playlist and .ts file. The playlist file format can support byte-ranges instead of separate files as of iOS 5, ...
1
vote
0answers
55 views

Complex editing with ffmpeg - Adobe Premiere replacement

I do a lot of video editing in Adobe Premiere and a certain branch of the work is very repetitive, so I was thinking maybe I could make a script to automate the process with ffmpeg. After tying ...
0
votes
0answers
43 views

Cannot find the audio bitrate of FLV video

I use ffprobe to get info about video, which i can use for encoding to mp4. And recently i faced with the issue. The issue is input video has audio, but output video is mute. I used php script to get ...
1
vote
1answer
97 views

ffmpeg encoding to VP9 results in Google Chrome-unplayable video, while to VP8 works

Plenty of time passed, since I have encountered the problem, specified in the subject. I tried multiple ffmpeg static builds, have built it from Git repository myself with different flags and on all ...
0
votes
0answers
38 views

cutting and merging video and audio with different audio configs

I have two videos which I want to cut and concatenate together but they have different audio configurations. Clip1 has: video, mono, mono, mono, mono, mono, mono, stereo. Clip2 has: video, stereo, ...
0
votes
0answers
70 views

(FFmpeg) Concatenation with text files error, “TEXT.txt:Invalid argument”

In Concat.txt, I listed out the files to concatenate by: file 'Vid_1.mp4' file 'Vid_2.mp4' In my code, I simply use: ffmpeg -f concat -i Concat.txt -c copy OUTPUT_VID.mp4 Concat.txt and the ...
-1
votes
2answers
44 views

MP4 with 2 audio tracks

I need to copy the second audio track from multiple .mp4 files to .wav files. I found this script for .avi files : @ECHO OFF for %%a in (*.avi) do ffmbc -i "%%a" -vn -map 0:2:0:0:0:0 -acodec copy -f ...
0
votes
0answers
39 views

extract video lecture slide images from mp4 lecture with ffmpeg

I have a video lecture in mp4 format. The lecture is having power point slides and audio. I want to extract all the frames along with their time where slide is changed. Output should be all the slides ...
-1
votes
3answers
369 views

FFMPEG: convert MP4 to same MP4 (in a different container) and add Subtitles

The main reason for this post is that I have movie.mp4 that I have downloaded an SRT for. When I manually add the SRT VLC uses its settings to change the font/size etc of the SRT. But if I Embed the ...
0
votes
2answers
45 views

Reading specific MKV metadata from avconv

I want to extract a specific piece of metadata from an MKV and use it as the filename of a converted file. Example, if I run avconv -i MyFile.mkv I get the following output avconv version ...
0
votes
1answer
47 views

Video compression size s and codecs from JPEG

I am building a data logger with 3 cameras which output as jpeg frames (o.79MB/jpeg @24bit/pixel) at 24 frames per second. I want to take these images and convert it to a video. Each For the video I ...
0
votes
1answer
76 views

No such input format: MJPEG

I want to convert my camera pixels format from YUYV to MJPEG. I tried to use v4l-utils but when i used this commend in terminal: ffmpeg -f video4linux2 -pixel_format MJPEG -i /dev/video0 but when I ...
-1
votes
1answer
105 views

FFMPEG Command to apply VHS like effect on Video

I want to apply VHS like effect on my video. Please advice me FFMPEG command for same. Thanks
0
votes
1answer
59 views

Linux: How to extract frames from a video? (lossless)

I've read a few answers and articles on using programs like VLC, MPlayer, ffmpeg, etc., but none of the methods I've seen are "lossless." They don't capture every single frame. I want to extract each ...
8
votes
1answer
136 views

ffmpeg remove parts without motion

I have IP security camera (192.168.0.8) which able to broadcast rtsp content over network. I able to save that (RAW) content without changes using next ffmpeg command from my computer: ffmpeg -i ...
0
votes
0answers
100 views

Capture audio (alsa) and video (v4l2) from usb capture card

I want to save my old videos using a USB capture card. I'm using V4L2 Test bench and I've got working video and audio. I've managed to capture both audio and video, but not a the same time (saving to ...
0
votes
0answers
24 views

Writing ffmpeg result to pipe (e.g. stdout) produce different file than when writing to file

I convert video to another format using ffmpeg: ffmppeg -i somefile.*** -f avi somefile.avi and everything works fine. But i need to write output to pipe, so (simplified example): ffmpeg -i ...
1
vote
2answers
234 views

Create a image every XX seconds of the video [FFMPEG]

Screenshot: FilmStrip I tried ffmpeg -i video.mkv -vf fps=1 out%d.png But It is generating one by one images. I need all thumbnails into one image. as in screenshot above.
1
vote
1answer
87 views

How can I convert a series of images to WebM in FFmpeg?

I’ve got a series of JPG images going from 108-AN-001 to 108-AN-045. I need to convert these into a single WebM video file. I've tried this command: ffmpeg -f image2 -i 108-AN-%03d.jpg -vf 12 ...
0
votes
1answer
61 views

ffmpeg .mpg to DVD (via DVDAUTHOR) 4:3 aspect ratio wrong

I have tried to get a 4:3 aspect ratio correct for DVD-TV presentation, but nothing seems to get it right. So, I made a TEST 448x336 px T.MKV movie that has a white background and two squares of ...
1
vote
1answer
170 views

MP4 video - Editing Creation Date and Other Metadate

I wish to find out if it is possible to edit the creation date and time of an MP4 video file. I have attempted to do so using ffmpeg with the syntax listed below ffmpeg -y -i "22.mp4" -c copy ...
0
votes
0answers
99 views

Lossless image export from yuv420p video using FFmpeg?

Is it possible using FFmpeg to save image files from a video that is yuv420p without any change? When allowing FFplay to decode the original video, it appears brighter and in higher quality than ...
2
votes
0answers
112 views

FFmpeg zoom and pan with video as input

I have searched for all kind of ways how to get the zoompan filter to work on a video, I have not problems on a image: ffmpeg -loop 1 -i thumbnail_56138ba980d73.png -vf ...
1
vote
1answer
125 views

ffmpeg equivalent for -movflags faststart for audio

I have several video and audio files on my server that I wish to stream. I have converted all video files to mp4 and audio files to aac. Now I am streaming both type of files but it seems audio ...