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

0
votes
2answers
61 views

bash script: 'while read' loop through lines in text file losing characters. ffmpeg line to blame?

I am looping through a text file, using 'while read'. I read three variables from each line - two filenames and a decimal number. I know that this works in a vanilla setup (loop, read line, echo line, ...
0
votes
0answers
218 views

NGINX / RTMP / HLS live stream on Raspberry pi (Debian 8.4)

Debian 8.4 / Raspbian 8.0 Nginx 1.9.15 ffmpeg 2.6.8 (server side) / avconv 11.6-6:11.6-1~deb8u1+rpi1 (camera collect) . Avconv is a FFMPEG fork, it does work fine on raspbian. Flow schema cam-1 :...
1
vote
0answers
41 views

FFMPEG Zoompan Image to Center Position

FFMPEG document for zoompan https://ffmpeg.org/ffmpeg-filters.html#Examples-89 says Zoom-in up to 1.5 and pan at same time to some spot near center of picture: zoompan=z='min(zoom+0.0015,1.5)':d=...
1
vote
0answers
71 views

how to remove “Writing library” & “Encoding settings” from the video when used ffmpeg convert?

when I used this commond: C:\Windows\bin\ffmpeg.exe -y -i f:\1.flv -vcodec h264 -s 1280x720 -acodec copy f:\output.mp4 The video output.mp4 information: General Complete name : ...
0
votes
1answer
27 views

Frame rate during screen-casting

I am trying to record screen using ffmpeg with the following command: ffmpeg -f x11grab -s 1366x768 -framerate 30 -i :0.0 -c:v libx264 -b:v 1000k out.mp4 which I learned from here. But I am ...
2
votes
2answers
45 views

How do I convert a S3M file to MP3?

I tried to use ffmpeg to convert this S3M file http://modarchive.org/index.php?request=view_player&query=34641 into MP3, but it plays incorrectly. It sounds like the music is coming from the ...
0
votes
0answers
27 views

Combining two videos results in blank video

I'm trying to combine two .mp4 files so they play next to each other in one window. They are the same length (9 seconds), have the same number of frames, and the sources are both independently ...
0
votes
0answers
13 views

ffmpeg won't upgrade or uninstall

I'm trying to upgrade ffmpeg on centos6 but everything I try doesn't work . I've tried reinstalling to overwrite it but no luck. this is the version and when it was installed. It installed 2 weeks ago ...
0
votes
0answers
46 views

ffmpeg: png overlay (Alpha multiply/unmulitply)

When I overlay png images in ffmpeg it looks like, that it post-multiplay the alpha channel. For some images it is ok, but I also have images, where I get truth this a dark boarder around the color. ...
0
votes
0answers
41 views

Some unicode characters not working with drawtext in FFmpeg

When using some unicode characters as text in drawtext, like emojis the characters will be replaced by rectangles. Is there any way to avoid this?
0
votes
0answers
22 views

How do I use ffmpeg to decrease the size of videos by 15%?

I have a directory of videos that I need to fit within 29.3GB. The videos take up 34.4GB. How can I use ffmpeg to decrease the size of all videos by 15%? I looked at the options and it provides an ...
1
vote
0answers
40 views

Adding images on both sides of a vertical video using FFmpeg

I have a video that I recorded with my phone vertically. When viewing the video on a computer, there are large, black margins on both sides of the video. I would like to replace these with an image ...
1
vote
0answers
76 views

ffmpeg concat demuxer framerate changes from constant to variable

Issue: The videos I want to join without re-encoding have a constant framerate of 29.97 and the same encoding settings, however ffmpeg concat changes the final output's framerate mode to variable. I ...
0
votes
1answer
39 views

How can I change my ffmpeg command to hardcode the second subtitles stream?

My command is ffmpeg -i "a.mkv" -vf subtitles="a.mkv" -acodec copy "a.mp4" which burns the first one by default I want to burn the second subtitles stream, not the first (there's two included)
0
votes
1answer
16 views

How to sync video (with dropped frames) with its separately recorded audio?

Video where frames get dropped: procvid.StartInfo.Arguments = "-rtbufsize 1500M -f image2pipe -r 25 -i pipe:.bmp -vcodec libx264 -r 25 C:\\onlyvideo.avi" Audio is recorded simultaneously with video:...
0
votes
1answer
47 views

Why ffmpeg changes bitrate of mp3 when speeding it up?

I speeded up (1.2x) an mp3 file using these instructions, but its real bitrate changed from 192 kbps (19 kHz cut-off) to 128 kbps (16 kHz cut-off). Why? Is it right? Or do I need to add any extra ...
0
votes
0answers
20 views

Audio and video are very chunky when they are merged by ffmpeg for live streaming

I'm now trying to live stream rawvideo and PCM audio through RTMP by using FFMPEG. I could make it work when I publish them with separate streams but when I put them together into a single stream, ...
0
votes
1answer
32 views

FFmpeg command line with option tee muxer, output to video file, and image2 muxer at the same time

I would like to save still images from a video, which is on a direct http URL. At the same time I want to save the video as well. How can I use ffmpeg with its special tee muxer to save the images and ...
2
votes
1answer
38 views

How to compress audio track in to another track in ffmpeg

I'm trying to correct some volume issues on a couple movies. some of my movies have audio from 5.1 surround playing from stereo speakers, causing the volume to be really quiet for dialog and loud for ...
0
votes
0answers
24 views

ffmpeg, mp4 video and UDP audio stream muxing

Will happy to have your assist here.. I want FFmpeg to take one local mp4 video and UDP audio stream (UDP://225.1.1.1:2000) as input and generate a new VIDEO UDP stream with both audio and videos. ...
-3
votes
1answer
63 views

FFmpeg audio not work on mobile devices

i'm using code audio in ffmpeg but work on pc but not work on mobile, on mobile audio mute Please tell me fix it, thank you -af "pan=stereo|c0<c0+0*c1|c1<c0+0*c1,aeval=val(1)|-val(1),volume=1.5"...
0
votes
0answers
41 views

Can't stop ffmpeg from outputting stats

I am writing a bash script to speed up podcasts. In it, I have: ffmpeg -nostats -hide_banner -loglevel panic -y -i normal/$channel/$filename -filter:a "atempo=1.3" fast/$channel/$filename However, ...
1
vote
1answer
101 views

ffmpeg overlay video on another video in specific time

I have video with duration 01:30 min and i have another video with duration 00:50 sec i want to overlay the second video on the top of the first video at 00:45 to 00:50 i'm trying to use this command ...
0
votes
1answer
52 views

ffplay overlay current timestamp while playing raw video

I'm trying to create an overlay of the current timestamp while playing raw H.265 video with ffplay using drawtext filter. While overlay of the current frame number works fine with: ffplay -vf "...
0
votes
1answer
60 views

Installing python script for ffmpeg

I am trying to use ffmpeg-normalize found here: https://pypi.python.org/pypi/ffmpeg-normalize I am not familiar with python so I need some help to install the script. The documentation says to ...
1
vote
1answer
79 views

How to create light center video with images

how to create video light center with images.png into video. See image.
0
votes
1answer
60 views

perfect way to crop a x265 video loselessly using ffmpeg

What would be the right way to crop a clip from a high-quality x265 video lets say from 5min22sec to 5min59sec without losing any quality using ffmpeg?
0
votes
1answer
54 views

After npm install -g, command still not found?

I don't know what's going on, but none of my installed node packages are actually registered. npm and node work fine, but if I sudo npm install -g ffmpeg or brew, they're listed at /usr/local/lib/...
0
votes
1answer
29 views

Is there anyy way to transcode MPEG-PS with incorrect timecodes to MPEG-4 AVC with ffmpeg?

I have a few video files in MPEG-PS\MPEG-4 Visual\MPEG Audio format, those files have corrupted time codes which results in inability of most players to play it correctly. When I'm trying to open it ...
0
votes
1answer
68 views

Inserting Video with Image Border into ffmpeg

I have using code: ffmpeg.exe -i 111.mp4 -vf "movie=1111.mp4[inner]; [in][inner] overlay=shortest=1:x=480:y=240 [out]" -c:v libx264 completed.mkv Insert main_video into backgroud_Video but I can ...
0
votes
1answer
24 views

FFmpeg: Invalid option 'partitions"?

I'm trying to speed up video playback by encoding with FFmpeg. I used the following command: ffmpeg -i input.mp4 \ -vcodec libx264 -vpre ultrafast \ -filter_complex "[0:v]scale=-2:480,setpts=PTS/1.8[...
1
vote
2answers
105 views

Install FFMPEG in Redhat Linux via rpm for a non root user

How can i install ffmpeg rpm for a non root user on linux server. I tried installing the package using rpm -ivh ffmpeg-devel-0.10.15-1.el6.i686.rpm The above package shows number of dependency ...
0
votes
0answers
33 views

FFMPEG || Converting CCTV raw .264 footage files

image of the log below is the text Hi I want to convert 264 footage files to .mp4. The problem is these files came with a player but unfortunately that player is not working on my pc, hence I thought ...
0
votes
1answer
42 views

Video playing fine with ffplay, but not with vlc

I'm trying to play a high definition video with vlc but it's really laggy and sometimes in between, the screen becomes almost 70% green. I'm able to play the same file with no problems using ffmpeg ...
0
votes
0answers
28 views

FLV seeks slowly after cutting with FFMPEG

The input video is a h264 flv and is able to seek instantly to any keyframe. When I cut a snippet with the following command, keeping the flv container, the resulting video takes a few seconds to ...
1
vote
1answer
27 views

FFMPEG Same Commands?

Is there any difference between these two commands for extracting audio from a video? ffmpeg -i input.mp4 -c copy -map 0:a output.wav ffmpeg -i input.mp4 -vn -acodec copy output.wav
1
vote
0answers
264 views

FFMPEG Trying to restream a RTSP stream to HTTP

I have been trying top cobble something together to take a RTSP feed from a IP camera and re transmit it in HTTP. I am trying to get the feed in to my home automation app which does not support ...
0
votes
2answers
88 views

How to pass arguments to blend filter FFMPEG

I am trying to merge 5 images and create a blinking video after combining them.I have successfully applied fade-in fade-out effect for them. FFMPEG is still fairly new to me. Here is the command I ...
0
votes
1answer
70 views

How to merge live video and audio streams

I'm sending a live stream of bitmaps to ffmpeg through standardin like this: proc.StartInfo.Arguments = "-rtbufsize 1500M -f image2pipe -r 25 -i pipe:.bmp -vcodec libx264 -r 25 C:\\test.avi"; The ...
0
votes
0answers
107 views

How do I use FFmpeg to convert .264 CCTV footage files to mp4 with h.264 codec?

I get the following error when I try to convert my test.264 file to mp4 using FFmpeg: Log C:\ffmpeg\bin>ffplay -f h264 test.264 ffplay version N-29947-gcd244fa Copyright <c> 2003-2016 the ...
0
votes
1answer
52 views

FFMPEG - Combine multiple audio files and one video in to the multi language video

I've checked if there was a thread like this one, but seems like either there was none or i suck at searching. Anyways, to the the point. I wanted to create a video file with different audio tracks ...
0
votes
2answers
83 views

combining / piping / chaining multiline ffmpeg commands together

Greetings I can convert a video file to a high quality animated gif file by executing the following two lines of commands below one right after the other. ffmpeg -i test.mkv -vf palettegen palette....
1
vote
0answers
18 views

How do I have the system start a process on xrdp connect and kill it on xrdp disconnect

I would like to start a background process defined in a shell script when an xrdp connection to an instance running on AWS EC2 is instantiated. There's a subtle difference between having the process ...
0
votes
1answer
49 views

What ffmpeg settings would produce a similar output for GoToMeeting?

There's a thread on the GoToMeeting forum where g2m videos are transcoded to MP4 at a fixed dimension of 1920x1080. So, if you're broadcast is 1290x1104, you're MP4 ends up with a black border all ...
1
vote
2answers
82 views

Batch compress .avi files with ffmpeg which contain previous date in their name

im trying to manage CCTV footage, and im trying to batch compress them with ffmpeg So far i managed to come up with this command ffmpeg -i "0515 210004.mp4" -b 200000 output.avi But i need to do ...
0
votes
2answers
37 views

ffmpeg: padding is not always transparent

I'm using a simple ffmpeg command to resize and pad images to fit within a 960x540 frame. I'd like the padding to be transparent but I get different behavior on different images. Command: ffmpeg -y -...
1
vote
1answer
35 views

ffmpeg multiple files dimensions change

I saw a post on superUser on changing dimensions of a mp4 file which like this FFmpeg -I Input.mp4 -vf scale=460:690 output.mp4 but I want to change dimensions of multiple mp4 files in one go so I ...
0
votes
1answer
41 views

ffserver crashes with my config file

I'm running ffserver (avserver version 9.18-6:9.18-0ubuntu0.14.04.1) with my own conf file but for some reason ffserver seems to be crashing on startup, no matter what I change in the conf file. When ...
0
votes
1answer
149 views

ffmpeg - How can I cut starting precisely from a keyframe while codec copying?

Using -ss as input option together with -c:v copy might not be accurate since ffmpeg is forced to only use/split on i-frames. Though it will—if possible—adjust the start time of the stream to a ...
0
votes
1answer
61 views

ffmpeg y4m to mp4 valid coding

I am trying to code y4m (raw) video to valid mp4 video. I was trying the following command, ffmpeg -i INPUT.y4m -c:v libx264 -preset ultrafast -qp 0 OUTPUT.mp4 It works fine but only play in chrome ...