`ffmpeg` is a free software project aimed at producing tools (libraries and programs) for handling multimedia data.

learn more… | top users | synonyms

3
votes
0answers
38 views

Bash Script — ffmpeg not being invoked as expected

I'm working on a bash script to convert my music library to ogg* but executing the right command is somehow eluding me. This is the line that should accomplish it: ffmpeg -i "${file}" -f flac pipe:1 ...
-1
votes
1answer
24 views

how to convert video into webm format using ffmpeg in centos

how to convert video into webm format using ffmpeg and libvpx in centos I have install ffmpeg and libvpx in centos.but it's doesn't convert mp4 format into webm format. but in windows i have check, ...
4
votes
2answers
60 views

ffmpeg transcoding with find, “{}” and spaces in filename: I get “No such file or directory”. How to solve?

This is driving me crazy. I have a bunch of mp3 that I want to transcode using ffmpeg. I'm trying to use this oneliner (the script is bigger, this is the problematic section): find . -type f \( ...
0
votes
0answers
17 views

Running FFmpeg in While Loop

Here is my problem. I want to run many different multiple ffmpeg instances all in background and all in while true loop. I tried the following command but does not even work: (while true; do ...
0
votes
1answer
29 views

FFMPEG batch convert quits before processing all files

I have an audiobook which consists of over 700 ra files (RealAudio) which I'm trying to batch convert to mp3 using ffmpeg. RA files are named as chapter-verse.ra (e.g. 13-01.ra) I run a script and it ...
0
votes
1answer
29 views

how to convert MOD video file without loosing quality to modern popular format for TV

I have MOD video file. My LG TV doesn't support MOD. How can I convert MOD video file without loosing quality to modern video format to watch it on different modern TVs?
2
votes
2answers
115 views

replace `while` with more suitable function so looping would wait for each process to end

I have a bash script that look out for files recursively under multi-sub folders, then use ffmpeg to each file. at debug, it works great if i use echo ffmpeg but the thing is, at real work where it ...
2
votes
0answers
26 views

Encoding a video from Unix Timestamps + ms

I have a sequence of images that were taken from a camera that have been saved in a naming convention that contains the unix timestamp as well as milliseconds. For instance, 1333351808430.jpg (I typed ...
0
votes
0answers
19 views

check media resolution if resolution is big ffmpeg it, if output is smaller than original delete the original else delete the output

I have my storage VPS filled with videos, and hoping I can free up some space, their resolution is pretty big so I decided to re encode them with ffmpeg to a smaller resolution, I am doing every thing ...
1
vote
1answer
107 views

Command line for converting .SWF to animated GIF

I'm running Kubuntu. I don't want to install any Windows applications in wine. I would like a (relatively simple) command to convert a flash animation (.SWF file) to an animated GIF. The input .SWF ...
0
votes
2answers
63 views

ffmpeg batch convert .avi to .mp4 - in ash

I'm looking to batch-convert a directory (or several) of video files from .avi to .mp4 containers, just copying the video and audio streams across. I know the ffmpeg command to do this, and have no ...
0
votes
0answers
101 views

Cygwin compilation error in ffmpeg: gcc is unable to create an executable file

While i am executing the below command in cygwin in ffmpeg source directory ./build_android.sh Here is the for ffmpeg in android I am getting this error message ...
0
votes
1answer
31 views

Avconv creates 0 byte outputfile after applying frame rate reduction

I installed avconv because I am too stupid to install ffmpeg, now I realized I am even more stupid. I tried to reduce the framrate from 30 fps to 24 fps following a very straigtforward tutorial: # ...
1
vote
2answers
96 views

How to check if a shared library is installed?

My question origins from my problem getting ffmpeg started. I have installed ffmpeg and it is displayed as installed: whereis ffmpeg ffmpeg: /usr/bin/ffmpeg /usr/bin/X11/ffmpeg /usr/share/ffmpeg ...
0
votes
1answer
38 views

How to reduce the size of an mpeg file using the command line ?

I have a file, the output of the file command displays: jeff_western2.mp4: ISO Media, MPEG v4 system, version 1 I do not know how to lookup the resolution but it looks quiet high, the file itself ...
1
vote
0answers
85 views

How to use sox or ffmpeg to detect silence intervals in a long audio file and replace them by zeros (aka suppress background noise)?

I have a long audio file that was created by concatenating many short files. I would like to detect silence between the speech segments (just a threshold is enough for my purposes) and replace them by ...
0
votes
1answer
74 views

Alternative to ffplay for Raw Video Playback without X Windows

I am successfully capturing frames from a small USB IR camera on the small Raspberry Pi Linux board. I am using the 'libseek' code to do this: https://github.com/zougloub/libseek I can see alot of ...
1
vote
2answers
118 views

Convert a video to a fixed screen size by cropping and resizing

I've tried to figure this out myself, but the myriad of options just baffles me. I want to use ideally either ffmpeg or mencoder (or something else, but those two I know I have working) to convert ...
1
vote
0answers
59 views

Playback and simultaneous recording through external USB sound card

I've an external USB sound card (in my case it's a TerraTec Aureon 7.1 USB). I've looped the earphone-out to the line-in using a 3.5mm jack cable. I'm interested in starting the playback of a MP2 ...
1
vote
0answers
24 views

extracting codec information from rpt stream

I got a list of rtp streams in a list, those are tv channels from my internet provider. I would like to get information about the codec and get the channel names instead of ip addresses, precisely ...
0
votes
1answer
59 views

Find and convert all ALAC files to mp3 / opus / aac

I'm looking for a way to convert all alac files in a directory recursively to another format. Problem: alac as well as aac use suffix m4a, so find -name "*.m4a" doesn't work.
0
votes
1answer
87 views

Error while making movie from png's with avconv or ffmpeg

I want to create a movie from a bunch of png's by using the command: avconv -i pics/*.png out.mp4 or ffmpeg -r 1/1 -start_number 1 -i pics/*.png -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4 ...
0
votes
1answer
255 views

Why convert .GIF to .MP4 file using by ffmpeg on Mac OSX got .MPEG4?

ffmpeg -i original.gif -r 10 outfile.mp4 According to command above, I've got outfile.mp4 but when clicked to see the information of file, i see it's actually a .MPEG4 file and the icon of file is ...
0
votes
0answers
27 views

timout command is not timing out

I have a timeout command that is not timing out. user@db:~$ ps aux | grep 'timeout' user 4979 0.0 0.0 4440 628 pts/144 S+ 18:52 0:00 sh -c timeout 16 mycommand user 4980 0.0 ...
0
votes
0answers
238 views

How to record video from an old webcam using ffmpeg on Linux?

After couple of hours I'm finally ready to accept my absolute lack of knowledge in that topic and decided to post this question here. I've been trying to record video from an old external USB webcam ...
4
votes
1answer
226 views

Trim audio file using start and stop times

I have an FFmpeg command to trim audio: ffmpeg -ss 01:43:46 -t 00:00:44.30 -i input.mp3 output.mp3 The problem I have with this command is that option -t requires a duration (in seconds) from ...
1
vote
2answers
92 views

Change of voice via ffmpeg or other application [closed]

I have a set of audio files containing voice recordings, I need to alter the voice signal so the speaker cannot be recognised in an automated way... Do you know some application?
0
votes
1answer
79 views

ffmpeg is killed

So I have a problem here. I have a session of ffmpeg -f x11grab running, and suddenly kill -9 or Ctrl+Alt+Backspace comes and GUI dies of course. So far everything seems to be OK. When I try to play ...
0
votes
0answers
51 views

error with Transcoding with ffmpeg activated by inotify

I’m trying to automatically transcode videos, that are begin uploaded constantly to a server. That is why I have came up with the idea of using inotify, by checking every moment for new files on the ...
1
vote
0answers
22 views

How to define ffmpeg's path during compilation of another software?

I'm trying to compile an opensource software that needs bleeding-edge ffmpeg, so I successfully compiled ffmpeg, but I don't want to run make install as it's not easy to be removed after my tests. ...
2
votes
0answers
327 views

FFMPEG - Interpolate frames or add motion blur

I just watched the trailer for the hobbit, and a trailer for the avengers which both feature an increased framerate. A lot of the comments state that this isn't "true" 60fps since it was not shot at ...
0
votes
0answers
8 views

Any m2ts trimmer under Linux?

My goal is to trim out m2ts generated by ffmpeg for HLS because the generated m2ts has some overhead. The below is an example of the result analyzed by Apple Media Stream Validator: Average segment ...
0
votes
0answers
76 views

FFmpeg Way to check the pid if it is hanged or not

I'm using FFmpeg to do restreaming in some streams via HLS. I use many different type of streams rtmp,rtsp,http,mmsh. The problem is that sometimes (actually all the time) the ffmpeg hangs in some ...
1
vote
3answers
325 views

Convert to WAV using FFMPEG for pipe into LAME?

I'm trying to convert an AAC file into WAV in order to pipe the output into LAME. I'm looking to do this, specifically: find . -maxdepth 1 -type f -iname "*.m4a" | sort | while read file; do ...
0
votes
0answers
217 views

How to use a wildcard in FFMPEG?

Lets say I want every .mp4 file in a folder as an input file. How does one do that? It only reads it literal.
4
votes
1answer
212 views

Burning a video file with non-standard aspect ratio to DVD

A standard Unixy command line approach to burning a video file to DVD is as follows (assuming) # 1. First use ffmpeg to convert to an mpg file. ffmpeg -i input.m4v -target ntsc-dvd output.mpg # 2. ...
1
vote
1answer
61 views

Application specific DNS problem?

I'm working on a live stream transcoder application using nginx + ffmpeg. Everything works fine when I use avconv to transcode, but if I use ffmpeg, I get this error: [tcp @ 0xb4e9da0] Failed to ...
2
votes
2answers
54 views

Convert video to exactly the same format as another video

Suppose I have two video files A and B. Now I want to convert A to the same format (i.e. same container, same audio and video codec), same bitrate, size etc. as B. Is there a way to do this ...
1
vote
0answers
93 views

Centos web camera, fast application for snapshot?

I'm using ffmpeg for taking snapshots / still images with web cameras. I'm going to use several web cameras to take photos at the same time or one after the other (timelapse). It's important for me ...
1
vote
1answer
2k views

FFServer streaming H.264 from Logitech C920

I'm having some trouble trying to implement a web live stream from my Logitech C920 webcam w/ H.264 encoding using ffmpeg/ffserver. Here is the configuration file I'm using for the ffserver: # Port ...
1
vote
1answer
112 views

Convert video changing only bitrate

I have a mediaplayer program which lags playing one specific file. My assumption is that it is because of too high video bitrate (41.3 Mbps) and too slow CPU (it is embedded system). So, I want to be ...
1
vote
1answer
118 views

How to create a timed video from still images with specific time between each image?

I want to create a video from still images. My images are: 1.jpg 2.jpg 3.jpg 4.jpg 5.jpg 6.jpg 7.jpg 8.jpg 9.jpg Each of them I want to show for a specific duration, between 1-10 seconds: 1.jpg: ...
1
vote
0answers
232 views

Convert images and animated gifs to video

I use the following FFMpeg command to convert images to video. for file in %N; do ffmpeg -framerate 15 -pattern_type glob -i '*.jpg' -vf ...
0
votes
0answers
126 views

How to stream MPEG video using RTP using VLC command line

I'm attempting to convert the following vlc command line which is streaming an MPEG video over UDP ( no RTP ): cvlc -vvv /vlc/attract.mpg :norm=ntsc :v4l2-width=320 :v4l2-height=240 ...
1
vote
1answer
96 views

x11grab flickers in OpenGL draw areas

I'm using ffmpeg's x11grab to do some screencasting. It works pretty well except on 3D stuff. In particular it seems like 3D draw areas flicker in and out. You can see an example of it here. The ...
0
votes
0answers
31 views

Black screen when splitting media files

When I run for i in $(ls *mp4); do ffmpeg -i $i -ss 0 -t 720.0 -vcodec copy -acodec copy $i-part1.mp4; ffmpeg -i $i -ss 720.0 -vcodec copy -acodec copy $i-part2.mp4; done; in a directory of ...
1
vote
1answer
93 views

x11grab from another display server

I have ffmpeg with x11grab on my local machine, but I want to capture the screen of an X server on 12.34.56.78. How can I do that? The following doesn't work: ffmpeg -f x11grab -r 25 -s 800x600 -i ...
1
vote
0answers
430 views

How to record vfl webcam with ffmpeg? Cannot find a proper format for codec 'none'

Goal is to capture video from my old usb webcam (device 0733:0430). Trying to save video gives this error. (I've tried both ffmpeg and avconv.) Command ffmpeg -f v4l2 -i /dev/video2 -s 160x120 ...
1
vote
1answer
70 views

How to add aac and libx264 to FFmpeg installation?

I've already installed FFmpeg according to the ffmpeg Ubuntu compile guide. I can't use aac audio encoding and libx264, which I need. How do I install FFmpeg so that all the option below are enabled ...
1
vote
1answer
4k views

FFmpeg - Split video multiple parts

I read the following thread, and the solution works if I want to split a video into pieces every two minutes: Split video file into pieces with ffmpeg The problem is that I want to split a video into ...