0
votes
1answer
19 views

Adding subtitles to video fails with ffmpeg

I am trying to add a subtitle to a video using ffmpeg and a .srt file. Using the command: ffmpeg -i videopath.mp4 -i subtitlefilepath.srt -c:v libx264 -preset ultrafast -ar 44100 -ac 2 -ab 128k ...
0
votes
0answers
24 views

FFMPEG: Generated video will not concat with the rest

I am trying to make a video with FFMPEG, and I am concat'ing several videos together. However, the last two are generated from a PNG image using the -loop option. ffmpeg -loop 1 -i img001.png -filter ...
2
votes
1answer
24 views

ffmpeg not outputting video

I am trying to use ffmpeg to split up a quicktime into smaller quicktimes. I have a csv file with in and out points that I feed to Python, which in turn builds a ffmpeg command. However, I have ...
2
votes
1answer
55 views

Splitting video file into equivalent segments with ffmpeg

I have ffmpeg installed in my linux box. I am using it to split files into equivalent segments. So far I have test two approaches: 1. Create a bash script that grabs the file durationffprobe and then ...
0
votes
1answer
36 views

Confused about timecode/fps results when using avconv/avprobe

I'm using avprobe to get information about timecode and fps from videos. Getting the information isn't a problem but I'm a bit confused as to the result. When running avprobe on an H.264 file I'm ...
2
votes
2answers
133 views

Slicing video file into several segments

I am currently using ffmpeg to slice video files. I automated the process through a script called ffmpeg_split.sh. Although this very slow it is efficient in splitting videos into equivalent settings. ...
1
vote
0answers
33 views

ffmpeg add alpha channel to a video

Basically I have a video with a green background, and I mean a perfect green background (red = 0, green = 255, blue = 0) and I want to convert this to alpha (i.e add an alpha channel where 0 255 0 ...
8
votes
1answer
402 views

Why can't Quicktime play a movie file encoded by FFmpeg? [duplicate]

When I try to open a movie I just created with the command: ffmpeg -pattern_type glob -i '*.JPG' -s 640x480 movie.mp4 I get an error from QuickTime: The document “movie.mp4” could not be opened. ...
2
votes
1answer
55 views

Split Up a Video Using FFMPEG through Scene Detection

I saw this thread, which almost exactly does what I want, but I'm actually looking for splitting on scene detection. Automatically split large .mov video files into smaller files at black frames ...
1
vote
1answer
32 views

ffmpeg - silencing a section of video with multiple audio streams

I have been trying to silence a section of a video with multiple audio streams. I'm not getting it to work correctly. Trying with afade option gives me a silent video. Test video just has one audio ...
0
votes
0answers
33 views

ffmpeg seems to use video's key frame position when cutting audio segment

Whenever I try to cut an audio segment (almost always AAC format) from a video file (almost always h264 format in MKV or MP4 container), ffmpeg fails to accurately cut the audio as instructed. I am ...
0
votes
1answer
31 views

How to avoid videos (made of images) look tilted in VLC?

I created this video using the following FFmpeg command: ffmpeg -i in.ffconcat -c:v libx264 -pix_fmt yuv420p -r 30 out.mp4 The content of the file in.ffconcat is: ffconcat version 1.0 file ...
0
votes
1answer
36 views

FFmpeg Converted files not working on firefox

When i convert a file with ffmpeg and play the video in firefox i get this error : "VIDEOJS:" "ERROR:" "(CODE:3 MEDIA_ERR_DECODE)" "The video playback was aborted due to a corruption problem or ...
0
votes
0answers
16 views

FFmpeg Negative Duration

i have a large number of small videos (parts of a larger) of the form : Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf55.43.100 ...
1
vote
0answers
63 views

How can I reduce the choppiness of my ffmpeg conversions

Here are the options I'm sending ffmpeg: ffmpeg. -i input.flv -crf 18 -profile:v baseline -level 3.0 -pix_fmt yuv420p -preset veryslow output.mp4 Here's the input file: ...
0
votes
0answers
24 views

Prevent ffmpg from concealing errors during conversion

I'm experimenting with using Audacity to create glitch videos (datamosh and databend are synonyms). So, I create an AVI, pull it into Audacity as raw data, manipulate the stream, and the save it back ...
0
votes
0answers
67 views

Some ffmpeg command not working properly when I execute through java on ubuntu 14.04

When I execute ffmpeg command through java code then It is not executing properly Example-: I want to draw text in video through java code My code in java is String cmd="ffmpeg -i 12213blob.mp4 ...
0
votes
1answer
101 views

Scale watermark overlay by video size with ffmpeg

I would like to scale a watermark to 5% of the video width. I need something like that: ffmpeg -i 1.mp4 -i logo.png -filter_complex "[1:v] scale=1_MP4_VIDEO_WIDTH*0.05:-1 [logo1]; [0:v][logo1] ...
0
votes
1answer
6 views

Is it possible to count from a given number when extracting images from a video with FFmpeg?

I am using ffmpeg to extract still images from a video. First from the beginning of the video, to a given time and then from the end of the video from a given time. So I am using two ffmpeg command ...
0
votes
0answers
84 views

I get wrong aspect ratio for images and video converted using ffmpeg

I am trying to convert some old movie files to images (and later to reencode as h.264). The problem is that the resulting images are stretched vertically. Here is the ffmpeg command: ffmpeg -i ...
0
votes
1answer
44 views

Merge two audio and one video when reeconding

I know it seems this is answered, but I can't merge two audio files and one video. My command is: ffmpeg -i file.mp4 -i file.aac -i file.mp3 -itsoffset 4 -i file_1.mov -itsoffset 10 -i file_2.mov ...
0
votes
0answers
124 views

ffmpeg convert swf to mp4 error

my command: ffmpeg -i /Users/xxx/Downloads/demo.swf -y /Users/xxx/Downloads/demo.mp4 demo.swf has many frames and 9 photos, but ffmpeg convert result is only 9 frames: "frame=9 fps=0.0 q=-1.0 ...
1
vote
2answers
178 views

ffmpeg - Normalize Audio With Varying Audio Volume

I have a .MOV file whose sound I would like to normalize. However, when I run the following command I see that the volume varies (mono to stereo and with varying max_volume levels) throughout the ...
0
votes
0answers
27 views

How to split an MPEG-2 video stream accurately?

I got a NTSC DVD iso image, and the video stream was encoded to H.262/MPEG-2 format,but there are two chapters located in three seperated .vob files, the film in the first chapter has been processed ...
0
votes
0answers
81 views

Creating video from set of images on windows with java language

I am stuck making a video from set of images using ffmpeg on Windows. For a single image it is converting into mp4 but for a set of images it failed, I have converted single % to double % with double ...
0
votes
0answers
54 views

Merging audio and video files of different length using mp4box

I have to merge video and audio file together. Currently I am using this command mp4box -flat -add <video> -add <audio> <outputfile>.mp4 But the problem is, if the video is of say ...
1
vote
2answers
65 views

ffmpeg add audio but keep video length the same (not -shortest)

I'm adding audio to a video file using ffmpeg like so ffmpeg -i videofile.mp4 -i audiofile.wav output.mp4 However this extends the output video file to be the length of the audio file if it is ...
1
vote
1answer
63 views

How to make the cygwin fontconfig package inherit Windows fonts?

I'm using a cygwin64 build of ffmpeg (1, 2) to burn subtitles into a video file as follows: $ ffmpeg -i file.mp4 -vf subtitles=file.srt file.ts ffmpeg version 1.2.3 Copyright (c) 2000-2013 the FFmpeg ...
1
vote
1answer
84 views

How to remove fisheye from videos on Ubuntu

I have some videos I have taken using a head-mounted video-camera. The camera records the videos with a 'fisheye' effect. How do I remove it?
0
votes
0answers
111 views

How to save udp stream to .ts files whith ffmpeg while keeping timestamp?

I need to record a live udp stream containing multiple TV programs ( up to 30 ) to .ts files .To do so i'm using FFMPEG . I have a muxer at work , but i dont go there everyday so im using a sample ...
0
votes
1answer
82 views

Ffmpeg drawtext on top of scaled video regardless of image size

I am making a video from single image using ffmpeg and draw text on top of the video. How can I drawtext that will overlay on top of the scaled video size instead of the image scale? Right now when ...
0
votes
1answer
79 views

ffmpeg video with single image and drawtext failed, -loop causes short freeze

I am trying to create a video from single image and add a text on top. Command on Ubuntu: ffmpeg -loop 1 -r 1 -i image.jpg -b:v 1M -vf scale=320:240 ...
0
votes
1answer
43 views

Putting a lower bitrate of my video stream in my current mp4 container

What I have is an MP4 movie with a video stream and an audio stream. What I want in the output is an MP4 file containing: the same video stream the same audio stream the same video stream with a ...
0
votes
0answers
20 views

Ffmpeg not copying location metadata

I'm converting vidoes and even though I"m using -map_metadata 0 ffmpeg -i input.mp4 -map_metadata 0 output.mp4 The above code defaults to libx264/libvo_aacenc. The location metadata is not copied, ...
0
votes
2answers
112 views

Split MKV based on Chapters

I have a long MKV file which I want to split into its individual chapters. Running ffmpeg -i long.mkv gives me all the information about the chapters embedded in the file: Duration: 01:23:45.80, ...
1
vote
1answer
67 views

How to start watermark video when it appears?

This is my scenario: I want to add a watermark video in other video, but I want that the watermark starts when it appears. Actually I'm able to display a watermark video and playing it from the ...
0
votes
1answer
121 views

ffmpeg: Adding Drawtext timecode & Watermark with -filter_complex, Stream Matching

I am trying to add the timecode with drawtext and put a logo with ffmpeg. The command line looks like this: ffmpeg -i INPUT.MP4 -i logo.png / -filter_complex ...
0
votes
1answer
26 views

Issue in converting the video

I'm trying to convert a video of configuration 1080p-Resolution; 18Mps-video bitrate; 30fps to 1080p; 18Mps; 60fps using ffmpeg on windows platform. I use the command: ffmpeg -i input.avi -r 60 ...
0
votes
0answers
185 views

FFmpeg: m2ts -> MKV/AVI/MP4 w/ tri-audio and subtitles

I have a 1080p m2ts file with three audio tracks and a subtitle track. I'd like to convert it to a 720p MKV, or really any format at all, while retaining all three audio tracks along with the subtitle ...
0
votes
0answers
69 views

How to concatenate MP4 files without losing embedded subtitle or audio tracks?

I have two MP4 files (mediainfo below), one is a short intro scene, and the other is the primary feature. Now, the primary video contains several audio tracks and embedded subtitles. I want to simply ...
0
votes
0answers
99 views

How to bypass problems when trying to spoof a webcam in Linux

I am wanting to spoof my webcam, so I can eventually insert the method in to a pen-testing book that I am writing. This could possibly lead me into to building a program that is better than ...
0
votes
0answers
38 views

ffmpeg bitrate variating without reason

I got a mp4 video. I just want to split it in 4GB file parts using ffmpeg (to make it writeable on FAT32). C:\ffmpeg\ffmpeg.exe -i "%NAME%.mp4" -n -t %LENGTH% -codec copy "%NAME%_1.mp4" ...
0
votes
1answer
156 views

Can't convert FLV to MP4 for iPhone with ffmpeg

I'm having issues with converting an FLV to an MP4 that will play on iPhone/iPad via Video-js. It seems that the ffmpeg commands are not converting properly. Here's one of the original commands ...
0
votes
0answers
217 views

ffmpeg extract subtitles with unknown codec

I'm writing a program which extracts images and GPS coordinates from files that were created by car video recorder. In many models it creates two separate files Video and GPS but not all, some ...
0
votes
0answers
285 views

What does the FFmpeg warning “Missing picture in access unit with size x” mean?

I've recently updated to the most recent version of ffmpeg and now everytime I edit a flv, I always get endless warnings: [Null @ 002de180] Missing Missing picture in access unit with size xxxx ...
0
votes
1answer
59 views

Multiple Ffmpeg instances choking up the CPU to 100%

I have a task to record timelapse videos from multiple IP-cameras (e.g. camera1.mp4, camera2.mp4, camera#.mp4,etc.). Currently i am running separate ffmpeg.exe instances simultaneously on an MS Azure ...
0
votes
0answers
132 views

ffmpeg - how to create 5 second video zooming out effect with 1 image

I know how to make 5 second video "zooming in" effect with 1 image using zoompan. ffmpeg -loop 1 -i image1.jpg -vf "zoompan=z='min(zoom+0.0015,1.5)':d=125" -c:v libx264 -t 5 -s "800x450" zoomin.mp4 ...
1
vote
1answer
232 views

ffmpeg edit avi metadata and audio track naming

I have a bunch of movies in avi format on my disk. However, they don't contain any metadata like title etc. I found a command which would do it for me : ffmpeg -i input.avi -metadata ...
1
vote
0answers
172 views

FFmpeg Upscaling Video

First I just want to say a bit more about my title, I am not referring to the fact that upscaling doesnt add data(as often asked when upscaling) - but something different. Example I have raw video ...
1
vote
0answers
36 views

Is there multiple types of transitions in ffmpeg while merging two or more videos?

I have 3 video files. I am using ffmpeg library to merge them all. While merging them right now I am using fade In/Out transitions only. I want to enhance that feature in my site, can I do ...