Media tool with support for multiple codecs, filters, and containers. Include the full, uncut console output if you have problems with an FFmpeg command.

learn more… | top users | synonyms

0
votes
1answer
216 views

converting video to audio OGG results in wrong metadata duration

I'm converting mpeg video to ogg audio file using -vn option: ffmpeg -i video.avi -acodec libvorbis -vn sound.ogg The output: ffmpeg -i video.avi -acodec libvorbis -vn -y sound.ogg ffmpeg version ...
0
votes
0answers
22 views

Unplayable video produced from png frames [duplicate]

I'm trying to produce a video from .png files using ffmpeg -f image2 -i %04d.png -r 30 vid.mp4 but the output video refuses to play. Any idea whats going wrong? The report is: ...
0
votes
0answers
612 views

ffmpeg re-streaming to another RTMP

How can I stop my ffmpeg re-stream from crashing? I'm running the following command in a .BAT file: :loop ffmpeg -i "RTMP://IPADDRESS:1935/LIVE/STREAMNAME.STREAM pageUrl=http://URL.COM ...
0
votes
0answers
95 views

Automatic width calculation for video resizing in FFMPEG

Right now I'm using this to try and scale a 720p video down to 480p, the problem is the automatic width is selecting an odd number. I am currently using -vf "scale=trunc(oh*a*2)/2:480 and it still ...
0
votes
0answers
424 views

How to keep sound of file mp4 when mix it with audio files mp3 [FFMPEG]

In Android after I run the FFMPEG command has been mixed mp4 & mp3 files but mp4 audio file after the mix has been lost. How can I keep the mp4 audio. My command (run ok but background music ...
0
votes
1answer
157 views

Concatinating mp4 files to a single mp4 file

I have some mp4 video files with me and i need to concatenate them one by one and make a single MP4 video file. I came to know about FFMPEG through which we can concat files. I tried doing ffmpeg ...
0
votes
2answers
340 views

Extracting frames with ffmpeg and including subtitles

I am attempting to extract a single frame from a video, with subtitles, using ffmpeg. I built ffmpeg myself: sircmpwn@picard ~/sources/bakabt-staging/hennkeo/groups $ ffmpeg ffmpeg version ...
0
votes
0answers
196 views

How do I get ffmpeg to generate useful (and not empty) thumbnails from AVI files?

I'm using Cumulus Clips to upload some videos from work to other work people. When I use the following thumbnail command with a WMV file, all is good. /usr/bin/ffmpeg -i ...
0
votes
0answers
68 views

Using jpegtran with ffmpeg via piping?

I use ffmpeg to generate a ton of jpeg images. However, these jpegs aren't optimized by ffmpeg. On average, the images losslessly compress another 10-20% when I run them through jpegtran. I don't ...
0
votes
0answers
142 views

How to use ffmpeg to concat mpeg4-aac mp4s?

I know that you can concat h264-aac mp4s using the following command: ffmpeg -i INPUT.mp4 -codec copy -bsf:v h264_mp4toannexb OUTPUT.ts (as per ...
0
votes
0answers
91 views

Converting image format to jpeg using ffmpeg

Before I ask I want to say that I know about ImageMagick and the other image processing tools but I explicitly need to use ffmpeg. So, can someone tell me if there's a way to use ffmpeg to convert an ...
0
votes
2answers
246 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 ...
0
votes
1answer
628 views

ffmpeg stopped when set “-i” option with rtsp URL

I am using ffmpeg on Ubuntu 12.4 to get thumbnails from RTSP URL. I confirmed with vlc that this URL is fine, Video file played nicely. The problem is ffmpeg. I command like ffmpeg -itsoffset ...
0
votes
1answer
1k views

Converting with ffmpeg a .mov to uncompressed .avi results in a black screen in virtualdub

I am trying to convert a .mov to an uncompressed .avi with ffmpeg. As I want no quality loss, I am using the following ffmpeg command: ffmpeg -i toto.mov -vcodec copy -y toto.avi The convertion ...
0
votes
1answer
582 views

Media Player Classic Home Cinema stops on MKV

Media Player Classic Home Cinema stops on MKV. It goes to "stop" mode after file open. Unable to run playing. No error messages generated. MPC-HC version: 1.6.7.7114 (9eb64ec) 64 bit Compiler ...
0
votes
0answers
184 views

ffmpeg/avconv getting file reports in time not offset

Using the advice from another superuser question I'm using the following to check video files for errors: avconv -v error -i myfile -f null - Unfortunately, this gives me an error in this format: ...
0
votes
2answers
344 views

How do I properly format a request for ffmpeg to decode using a particular codec?

r3d is listed as a supported codec for decoding, however when I attempt to specify the r3d decoder, I get the error message "Unknown decoder". What is the correct manner of specifying a decoder codec? ...
0
votes
0answers
269 views

FFmpeg. Generating .ts files and adding metadata to them

Before I was following the steps: Create some metadata: id3taggenerator -o 1.id3 -artist "Emma Stone" id3taggenerator -o 2.id3 -artist "Patricia Clarkson" Create a file saying where to place the ...
0
votes
1answer
440 views

Concat videos with ffmpeg does not work

I'm currently trying to concat 3 Videos which don't have a audio stream and adding a audio file in the same step. I created this command which should do the work: ffmpeg -y -r 30 -i data\intro.mp4 ...
0
votes
2answers
1k views

Re-stream/Mirror HTTP Live Stream

I need to re-stream/mirror some HLS’s (HTTP Live Stream) using a Linux server. From input http://anystream.com/channel1.m3u8 To output http://127.0.0.1/abc.m3u8 I found several media servers ...
0
votes
0answers
404 views

getting following error while installing ffmpeg-php on PHP v5.4.14 / CentOS 5.9

Having trouble installing ffmpg-php on centos, SSH shows following error after commands: ./configure make make install ..... /usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:1215: warning: ...
0
votes
0answers
749 views

FFmpeg screencast: capture only one window

I'm using FFmpeg with UScreenCapture under Windows 7 for screencast. Everything works fine, but I want to stream video from only one window - not the whole monitor. I know, there is an opportunity to ...
0
votes
0answers
562 views

Converting G.722 audio files using ffmpeg

I have a G.722 RTP stream that was captured with Wireshark, and am trying to convert it to PCM using ffmpeg. I have done similar things with other codecs (like G.729), and the conversion works ...
0
votes
1answer
3k views

Extract subtitle from video.

I am trying to extract subtitle from video as .srt file, I used the following command: FFMPEG -i mytestmovie.mkv -vn -an -codec:s:0.1 srt sub.srt But, I got an error as Unrecognized option ...
0
votes
0answers
184 views

How can I synchronize two audio files?

I've got many audio files of the same scene, but recorded with different devices. I would like to automaticaly synchronize the sources. I searched the web for a solution an I understood that I should ...
0
votes
0answers
136 views

Ffmpeg Convert Speed

I convert movie(720p to m720p) with ffmpeg slow preset. I have two server. Having E-1230-processor. 7 frames per second can process. I have tried with Amazon Web Services EC2. There is the same speed. ...
0
votes
0answers
22 views

FFMPEG: How to convert 1080p to mp4 without losing quality [duplicate]

I download a lot of 1080p video files and have to convert them to mp4 to stream to my TV. When I do the conversion the quality is horrible, the videos are barely viewable. How can I convert them ...
0
votes
2answers
455 views

Overlay frame number with ffmpeg starting at 1

I managed to encode a video using ffmpeg and to overlay each frame with the frame number using the drawtext filter. My problem was that using the "text=%{n}" option resulted in the first frame being ...
0
votes
0answers
296 views

Linux - Increase volume for HD mp4 files

I am converting videos using ffmpeg. Videos are 1080p at first and I convert 1080p to h264 720p and 360p. Also if videos are 360p I`m converting them to h264 360p. The problem is when converting ...
0
votes
1answer
622 views

MP4Box h264 merge video files

I combine video with mp4box. Merge video corrupted.The first video correctly but others are corrupt. Sound properly, the video is corrupted. I know very little english :) Sorry... MP4Box merge code: ...
0
votes
0answers
319 views

ffmpeg concatenate videos have multiple audio stream [duplicate]

I have 2 video files, each of which contains 2 audio stream. Duration: 00:08:39.93, start: 0.000000, bitrate: 13940 kb/s Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x816 ...
0
votes
0answers
29 views

Cut 10 seconds from the beginning of a video using ffmpeg [duplicate]

How can I remove X seconds from the beginning of a video using ffmpeg? What I've tried: ffmpeg -ss 00:00:10 ffmpeg -ss 10 ffmpeg -ss "11" -i season.avi -vf "movie=/storage/conv_sctipt/watermark.mov ...
0
votes
0answers
249 views

ffmpeg black bars at the left and right side of the video

I have strange problem with the resolution using ffmpeg. in the output bellow I've two files "test1" and "test2". "test1.flv" I've downloaded from website and it was already converted into flv, and ...
0
votes
0answers
218 views

ImageMagick video filter for FFmpeg

I'd like to apply some non-trival video operations on a per-frame base. So far, I've been using shell scripts + ImageMagick + FFmpeg, decomposing the video into individual frames on disk, processing ...
0
votes
1answer
155 views

Does ffprobe download the file?

When I run ffprobe http://example.com/abc.mp4 does it download the stream? If it does , will it cleaned up by ffprobe once its done?
0
votes
0answers
304 views

How to get a reasonable file size when converting from MP4 to WMV?

I converted an MP4 1080 movie to WMV. The result is a huge 9 GB file. How can I convert it (using FFmpeg) so that the file is decent quality but not huge? Or, how can I split a 9 GB WMV file to two ...
0
votes
1answer
361 views

Encode video with changing bit rates using FFmpeg

I would like to encode a 30 min video using ffmpeg. I am able to achieve this using ffmpeg -i in.mp4 -vcodec libvpx -vb 1024k -keyint_min 150 -g 150 -an out.webm But I would like to encode ...
0
votes
0answers
140 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: ...
0
votes
1answer
196 views

Only video playback not working for Xbox using uShare

I have been mucking around with video encode for a while now using Handbrake without any success. (just recently tried EncodeHD on a Windows machine with no luck) So far all music and pictures play ...
0
votes
1answer
304 views

live encoding/streaming with ffmpeg

I'm using ffmpeg to encode large avi (or other) files to mp4, which are then saved to disk, then streamed in the browser using apache mod_h264. The problem with this is that we have to wait until ...
0
votes
1answer
2k views

FFMPEG settings for unsharpmasking with and without upsampling

I am tasked with trying to 'improve' the quality of video from a point and shoot camera. I was considering perhaps up-sampling and then applying some unsharp masking. Can any FFMPEG experts suggest ...
0
votes
0answers
111 views

How to automatically create comparison pictures for a transcoded video file?

How do one automatically/easily create a "before-after" comparison of two video file, where one file is the transcoded version of the other, in terms of several still images? Each pair would be ...
0
votes
0answers
229 views

Crash in audio resampler with some audio rates - FFMPEG PHP ( Solved! )

i have a problem with this command( FFMPEG PHP ): Command: ffmpeg -i 62f76f050494f0ed6a5997967c00c0c0.wmv -ss 0 -t 99 -y -ar 44100 -async 44100 -r 29.970 -ac 2 -qscale 5 -f flv ...
0
votes
0answers
5k views

Convert swf file to mp4 file using FFMPEG [closed]

I now want to show an html5 video on a html page. Now I have an sample.swf file, I want to convert it to .mp4 or .ogg or .webm file. I have tried: ffmpeg -i sample.swf sample.mp4 But I got this ...
0
votes
0answers
35 views

how do i transcode MTS files with highest quality? [duplicate]

Possible Duplicate: Encode HD video to a good format for editing I've tried trancoding into mpeg2 @25Mbps but the video looses quality. perhaps my ffmpeg command is to blame for file in ...
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 ...
0
votes
0answers
272 views

Video converted using ffmpeg does not have fast forward feature

I used the following command to convert the video codec: ffmpeg -i input.avi -c:v libx264 -c:a copy output.mp4 When I play the output.mp4 I observe than the fast forward feature is not enabled. ...
0
votes
0answers
327 views

Installing ffmpeg-devel with MacPorts fails

I did a selfupdate and updated all dependencies. When I do sudo port install ffmpeg-devel I get ---> Computing dependencies for ffmpeg-devel ---> Building ffmpeg-devel Error: ...
0
votes
0answers
19 views

Convert ISO to MP4 with ffmpeg cli on linux [duplicate]

Possible Duplicate: how do I convert .iso to .mp4 without mounting with ffmpeg I have numerous iso and I would like to convert them to mp4 using ffmpeg (only the main video and not menus ...
0
votes
0answers
822 views

No audio after conversion from AVI to SWF using ffmpeg

I was able to convert the video from AVI to SWF however the sound seems to have been stripped out. I am running the following command ffmpeg -i 1.avi -b:a 3000k -vcodec flv -ab 128k -ar 44100 ...