0
votes
1answer
28 views

Loop audio file to a given length

I'm currently facing an issue where I need to take some mp3 file and make another mp3 file where the first one is playing for a given amount of time, looped if needed. Preferably I'm looking for a ...
1
vote
2answers
58 views

How do I “grep” output in Windows [duplicate]

Every answer I've found to get a video's duration with ffmpeg contains grep, which cmd doesn't natively have. I know there's a "Grep for windows" thing, but I'd rather use a function that comes with ...
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
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
1answer
68 views

FFmpeg error when doing first pass of WebM encoding: Unrecognized option 'auto-alt-ref'

I'm using OS X Mavericks (10.9.4) and installed ffmpeg from homebrew. When executing this command (assuming input file exists): ffmpeg -i ololo.wmv -vf scale=500:-1 -auto-alt-ref 1 -lag-in-frames 20 ...
0
votes
0answers
179 views

Trouble streaming output from mplayer to a browser through ffmpeg, ffserve

Disclaimer: I'm the producer of the DVD used in this post, so there's no legal issue with me decoding the content :) I'm building a web-based DVD player using mplayer and ffmpeg. It's very close to ...
1
vote
1answer
542 views

crossfade between 2 videos using ffmpeg

I've been trying to achieve a crossfade transition between 2 video clips using ffmpeg but have failed so far. I'm new to ffmpeg and am mostly relying on tweaking what I can find in the documentation ...
0
votes
1answer
37 views

How to replace part of audio in a video using the command line?

Part of a recorded audio contains sensitive information. I want to remove that information while keeping the video and rest of the audio intact. Ideally using command line and being able to exactly ...
1
vote
0answers
49 views

Disappearing characters between youtube-dl, ffmpeg, and cmd

so what happens is that if the video title has a symbol that isn't supported by your current locale then ffmpeg won't be able to get to that file properly. Here's one example ►2 HOURS BEST MELODIC ...
0
votes
1answer
375 views

Receiving FFMPEG error -22 when piping data to stdout

I am attempting to use FFMPEG to transcode avi files to mp4 and pipe the data to stdout using the following command (technically through NodeJS, but I receive the same error when executing the ...
1
vote
0answers
264 views

Play two files in VLC dummy and give sout parameters to both of them

I want to add multiple files to VLC's web interface. And the commands below do exactly that. Two files are added to the VLC's web interface's playlist. But as you can see, that's not all I wanted - ...
3
votes
1answer
430 views

Using ffmpeg to split mkv but get a few seconds video lost (cutting between keyframes without re-encoding?)

I am using ffmpeg (the real one from FFmpeg, not the fake one from Libav) to split some mkv files: ffmpeg -i input.mkv -ss 00:01:00 -to 00:02:00 -codec copy output.mkv However, when I open the ...
3
votes
1answer
261 views

Why does ffprobe report an incorrect number of frames?

I have a small video file which ffprobe describes as:- Input #0, avi, from 'sample.avi': Metadata: encoder : Lavf55.12.100 Duration: 00:00:35.00, start: 0.000000, bitrate: 546 kb/s Stream #0:0: ...
0
votes
1answer
152 views

Downmix drops low frequency channel

I have noticed a problem with FFmpeg downmixing. If I run a command such as ffmpeg -i infile.flac -ac 2 outfile.flac It will have identical result as ffmpeg -i infile.flac \ -map_channel 0.0.0 \ ...
0
votes
1answer
3k views

Use ffmpeg copy codec to combine *.ts files into a single mp4

I've got a bunch of ts segments described by a single index.m3u8 file: index.m3u8 segment1_0_av.ts segment2_0_av.ts segment3_0_av.ts segment4_0_av.ts segment5_0_av.ts I know they ...
3
votes
1answer
368 views

ffmpeg - different input and output duration

I have strange duration issue when converting videos from mp4 to flv. Also there is a different "start_time", what is that? What does start_time means? input duration - 0:00:29.577000 input ...
1
vote
1answer
194 views

Getting batch file to auto rename input file

I'm trying to create a batch file to process videos and rename the output file automatically. I've got this so far: @ECHO OFF d:\audio\ffmpeg.exe -i "%~1" -vcodec copy -acodec libvo_aacenc -af ...
2
votes
1answer
3k views

FFMPEG converting media type aswell as relocating MOOV atom

I have found this line online ffmpeg -i input.mp4 -c:a copy -c:v copy -movflags faststart output.mp4 Which takes an input, and copies the audio, video and sets the MOOV atom to the beginning in an ...
0
votes
2answers
284 views

How to batch insert same clip scene at the beginning of multiple videos?

Well, it has been a few days researching on a suitable auto or semi-automatic way of mass merging files this way. Basically, what I want to achieve is inserting the same clip, before a bunch of other ...
5
votes
1answer
371 views

How to properly concaternate two audio files together?

I ripped two Blu-rays and I'm trying to combine the audio from both into one file. I've decoded it from DTS-HD MA to Wave64, and I used avisynth to remove the black screen audio (4 seconds) from the ...
0
votes
1answer
490 views

How can I upgrade ffmpeg in CentOS 6.x

At first, I've downloaded ffmpeg 0.6.5. and it works. But when I'm trying to use '-vf' option, Terminal said there's no such command. So I asked this on Super User and someone said that the cause is ...
1
vote
1answer
87 views

Can't type in CLI after running ffmpeg

I get a strange behaviour after running ffmpeg in console and piping its output to mplayer. After I close mplayer's window or I close ffmpeg with Ctrl+C sometimes I can't type anything in that console ...
1
vote
0answers
29 views

How do i convert a transparent .mov-file to an mp4 file overlayed on a background-image using FFMPEG [duplicate]

I'm trying to convert a mov file with the following specs: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mov': Metadata: major_brand : qt minor_version : 537199360 ...
0
votes
1answer
495 views

Extracting images from video in 1 minute intervals

I would like to extract images from a video Exp01.avi, the video is 24fps and 25 minutes long. I want the images to be extracted from the video after every 1 minute interval. Please someone tell me ...
3
votes
1answer
944 views

Using ffmpeg with decimal wildcard

I have a folder with PNG images of the following naming scheme: IMG_0423.png IMG_0424.png ... IMG_0509.png I would like to make an MP4 movie from these images, but I get an error message that ...
1
vote
4answers
1k views

Batch process ffmpeg?

Given an AVI encapsulated video with WMA2 audio and MP4 video how do I pass-through the video, convert the audio to MP3; then re-encapsulate the entire file into an AVI? ffmpeg -i "foo bar.avi" ...
0
votes
0answers
152 views

Superimpose videos with FFmpeg

We’re trying to edit a video with FFmpeg. One of our videos has an alpha channel and we want to superimpose this above another video. example: Video 01: Start frame 1 end frame 200 Video 02: ...
1
vote
1answer
598 views

VP8 and WebM, not working in ffmpeg-php

I need a help with ffmpeg-php and Ffmpeg. Ffmpeg: ffmpeg version 1.0.git built on Oct 6 2012 01:54:50 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4) configuration: --enable-gpl --enable-libmp3lame ...
4
votes
1answer
10k views

How to cut at exact frames using ffmpeg?

I'm trying to use ffmpeg to cut video files at precise times. The ffmpeg help shows an option -timecode_frame_start to specify the starting frame but I am unable to get this command to work. The ...
0
votes
0answers
2k views

avconv and ffmpeg - drawtext filter text_w evaluates as 0 in Ubuntu Precise

I'm attempting to draw text onto a video using either the avconv or ffmpeg commands. When specifying x= for where on the final video to place the text, the 'text_w' value is evaluating to 0, rather ...
1
vote
1answer
3k views

ffmpeg: extract frames and get their exact timestamps

I'm trying to extract frames from a variable framerate video every 5 seconds and get the exact timestamps of each frame extracted. This is what I have so so far: -i inputfile -vstats_file vstats.log ...
2
votes
2answers
2k views

ffmpeg works on terminal not with PHP exec

If I execute a ffmpeg command from terminal, I get the desired result: ffmpeg -i src.mp4 -ar 22050 -ab 32 -f flv -s 320x240 video.flv Terminal's output ... video:3404kB audio:1038kB global ...
3
votes
2answers
2k views

ffmpeg to join videos

I previously learned that FFMpeg can join videos: However, I am attempting to join recorded over-the-air broadcasts (.ts files), and I believe that minor hiccups in signal quality are causing FFMpeg ...
0
votes
1answer
374 views

Is it possible in ffmpeg to seek to position of the file that is received through stdin

Is it possible to -ss in ffmpeg to the file, that is being received via pipe? So that I start reading it from a given timecode? I am not encoding the file. Thanks
4
votes
2answers
9k views

Converting images to video using FFMPEG on Windows

I'm trying to convert a series of JPEG images into a time lapse video. They're in the format IMGP0001.JPG, IMGP0002.JPG, etc. From the looks of things, this should match the pattern IMGP%04.JPG. I've ...
5
votes
1answer
1k views

Two FFMPEG commands simultaneoulsy

I want to multicast two videos to two different ports of a multicast address. I am able to send one video to one port at a time. But I want a command where both the videos are sent to the ports at the ...
0
votes
1answer
170 views

Youtube “failed to convert” using ffmpeg CLI

I'm using ffmpeg to split videos to comply with their length but whenever I upload them it says "failed to convert". I'm using this settings ffmpeg -i "${file}" -ar 22050 -vcodec libx264 -acodec ...
1
vote
0answers
671 views

How to provide multiple input to ffmpeg?

I'm using ffmpeg to create time-lapses and it's working great. As input I have images named 001.jpg, 002.jpg, etc. and then with the command ffmpeg -i %3d.jpg -sameq -s 1440x1080 video.mp4 I create ...
1
vote
1answer
579 views

Reference on ffmpeg -i output

is there some site explaining in details what are the informations output by FFMPEG ? As an example, when displaying the result Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'chti_jug_maven_studio.mp4': ...
0
votes
3answers
701 views

join videos split screen

I am looking for a command line tool to join 2 video files, however I want the videos joined split screen frame by frame instead of one after another. Any ideas? Seems this is not possible with ...
47
votes
5answers
57k views

Using ffmpeg to cut up video

I am using ffmpeg to cut out a section of a large file like this: ffmpeg -i input.wmv -ss 60 -t 60 -acodec copy -vcodec copy output.wmv The -ss part works fine but the -t is ignored. It correctly ...
3
votes
1answer
9k views

Video Thumbnails using ffmpeg

I'm looking for a nice short easy way to create a series of thumbnails for any given video file. I'm almost there using ffmpeg, here's what I have: ffmpeg -i /tmp/video.avi -r 1 -ss 60 -r 1 ...
4
votes
3answers
11k views

Rotate a video file 90 degrees using Ubuntu

I want to use Ubuntu and preferably standard packages such as ffmpeg to rotate a .3gp video file by 90 degrees in any direction. Preferably a command line or Python script. How can I do that?