1
vote
1answer
53 views

Remove .mp4 video top and bottom black bars using ffmpeg

I'm new to ffmpeg and I have heard that it has a filter for black. I want to remove black bars on top and bottom of the video so the video will be cropped to the remaining video without black bars. ...
0
votes
1answer
35 views

How can I convert videos for Sony Xperia U on my Linux box?

I would like to send a few videos for my girlfriend, but I would ensure they are playable on her mobile phone. I want to carry out the encoding tasks on my Arch Linux box, because my PC is a low end. ...
0
votes
1answer
64 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
61 views

How to change ffmpeg -threads settings

Working on a tube site. I'm running videos through ffmpeg on a linux dedicated server to convert to mp4. The server specs: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte ...
0
votes
0answers
53 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
33 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
0answers
17 views

Troubles getting -t option with ffmpeg to produce a gif with the right fps and length

I created a movie using matplotlib (the Python graphing package). It is 10 seconds long. I attempted to produce a *.gif using ffmpeg with the following command: ffmpeg -i animation.mp4 -pix_fmt ...
2
votes
0answers
168 views

How to merge MP4 files with different bitrates?

I want to merge two or three MP4 videos with MPEG-4 AVC video codec and MP3 (sometimes MP3 Surround) audio codecs. Both audio and video can have different bitrate. If it will be possible, without ...
1
vote
1answer
72 views

FFmpeg pass through

I've a number of downloaded FLV files which I would like to convert to MP4. They are already in the correct format so I am told all I need to do is to remux the video and audio streams into an MP4 ...
2
votes
0answers
271 views

IE11 not playing mp4 file

I am using ffmpeg to convert a freely available public RTSP stream to a mp4 file. I can play the file quite well in Chrome using a standard HTML5 video client on a windows 7 machine but not in IE11. ...
0
votes
1answer
267 views

Improve ffmpeg command for MKV to MP4 for iPad?

I have many MKVs made from DVDs and BRs by MakeMKV that I converting to MP4 so I can play/stream on my iPad Air. I now use this command for converting my MKVs to MP4: ffmpeg -i input.mkv -strict ...
0
votes
0answers
121 views

ffmpeg conversion commandline needed

I want to ask for help on converting a mpg videofile recorded from TV to a mp4 format my SAT Receiver can play, (mp4). Below are the format infos of source and target output by ffmpeg -i: All done on ...
0
votes
1answer
109 views

How to determine 'Output bit depth' of the libx264 library in ffmpeg?

According to the x264 Encoding Guide, the crf scale depends on whether x264 is 8-bit or 10-bit. Supposedly x264 --help shows the Output bit depth. But on Windows ffmpeg -h full doesn't say anything ...
2
votes
1answer
169 views

Cutting multi-bitrate MP4 files for Helix Server with FFmpeg

We are using Helix Server in order to distribute Video On Demand (with multi-bitrate) Content among our audience. This means that there is one MP4 file that contains multiple video streams and one ...
2
votes
0answers
110 views

Combine/concatenate multiple MP4 files, making each file into a chapter

I am looking to use handbrake to combine 43 short mp4 files into one larger file. However, I want to ensure that the start of each file is recognized as a chapter. I'd be using vlc to play the file.
3
votes
1answer
3k views

ffmpeg: Could not find codec parameters for stream 0 (Video: h264) unspecified size

I try to convert a video from .raw to .mp4. For this reason I did download, build and install both x264 and ffmpeg. However, command: ffmpeg -f h264 -i output.raw -vcodec copy output.mp4 fails with ...
0
votes
1answer
2k 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 ...
6
votes
3answers
2k views

How can I remove multiple segments from a video using FFmpeg?

I am trying to delete a few sections of a video using FFmpeg. For example, imagine if you recorded a show on television and wanted to cut out the commercials. This is simple with a GUI video-editor; ...
1
vote
1answer
1k views

ffmpeg - concatenating two MP4 files results in bad output file

I generated two MP4 files - a five-second intro file, which is created by the script below, and the main video (about one minute long) is created by screen-cast-omatic, both in MP4 format. When I ...
1
vote
0answers
123 views

FFMPEG converted file for jwplayer shows black

im new to ffmpeg, and I'm trying to convert it to mp4 to play on jwplayer, the video converts, the sound is good, but all i can see is black color, maybie anyone knows the answer to this problem? ...
1
vote
0answers
129 views

How to merge 2 mp4 files with 1 atom?

I'm merging two mp4 files for video streaming. the problem is, the merged file contains two atoms, 1 atom from each file and that is a problem when it comes to streaming. the client needs to wait ...
2
votes
1answer
554 views

MP4 takes too long to start

I'm converting my video to H.264 / MP4 with ffmpeg. I then move the moov atom to the start of the file with qt-faststart, so I can stream the video. Everything works fine with small videos of 5–10 ...
0
votes
1answer
2k views

Converted MP4 not playing in Chrome

I recently converted a file from .avi to .mp4 using the Free MP4 Video Converter (v. 5.0.28 build 827) from DVDVideoSoft. I tried opening the new MP4 file in Chrome. I can hear the audio from the file ...
1
vote
0answers
197 views

Invalid sample format error while converting a DVD iso file to Mp4

I get the following error when I convert a ISO file to MP4. The ISO file contains a VIDEO_TS directory with the video files: ffmpeg -i DieRelativeringVanMenswees.iso DieRelativeringVanMenswees.mp4 ...
0
votes
1answer
339 views

FFmpeg fails to stream to FMS 4.5

I'm attempting to use ffmpeg to transcode an input video from whatever format it's in to an mp4 with h.264 video and MP3 audio and have the output go directly to FMS 4.5 using rtmp so the video will ...
1
vote
2answers
260 views

Appending MP4s loses sound from second file

When I try to join two MP4s together using ffmpeg, the first file plays fine and has sound, but the second one loses all sound and becomes a lot choppier. I encoded both the files from MKVs using ...
3
votes
0answers
180 views

Why is the resulting file unplayable when I use FFMPEG to convert a MP4 video to ASF?

I want to convert an .mp4 file to an .asf file, but I need to keep the size of the file below 150 mb (the server I need to upload the file to can only take files under 150 mb). Basically I want to ...
0
votes
1answer
199 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 ...
3
votes
2answers
2k views

Compiling x264 with mp4 support

I need x264 for my project. I have one at /opt/local/bin/x264, but when I execute the following command: x264 --qpfile cuepoints.qp --output output.mp4 input.mp4 it says: x264 [error]: not ...
10
votes
0answers
3k views

FFMPEG - Non-monotonous DTS

When I use FFMPEG to convert a video from MP4 to M3U8, using the following command, ffmpeg -i op.mp4 -b:v 128k -flags -global_header -map 0:0 -map 0:1 -f segment -segment_time 4 -segment_list_size 0 ...
1
vote
1answer
2k views

Problems with frame rate on video conversion using ffmpeg with libx264

I have problems with transcoding some videos. I ran the most simple ffmpeg command and it takes very long time and the output file is about 10 times bigger. If I provide the frame rate parameter -r it ...
1
vote
0answers
157 views

How do I create a streamable and seekable MP4?

I want to create an MP4 that supports seeking and streaming. DASH appears to be what I want except that the segment seek points are stored in an external file (the MPD) which doesn't work for my ...
1
vote
1answer
229 views

extracting mp3 audio from mp4: audio longer than video?

I have an mp4 video that has no audio/video sync issue. I tried to extract audio to an mp3 file, following the suggestion in this thread: Extracting audio from MP4 video into MP3 ffmpeg -i ...
3
votes
1answer
2k views

How do I merge a folder of PNG images to a mp4 movie using avconv?

I have a folder containing many time stamped PNG images which I'd like to merge to a short movie. The contents of that directory looks like this: └── images ├── img_20130421_115547.png ├── ...
1
vote
1answer
780 views

How to merge an image into an audio file?

I am trying to merge a thumbnail-size (104x80) image into an audio file (M4A). I want it to be played in JW Player, but it doesn't seem to support thumbnails. I have tried it in VLC Player, but the ...
1
vote
0answers
172 views

Trimming videos - quicktime vs. mplayer/ffmpeg stack

I have several mp4 video files (H.264, AAC) from which I want to trim a few seconds at the beginning and the end. I used Quicktime Player 7 and MPEG Streamclip for this. The generated files are a bit ...
8
votes
1answer
5k views

Streaming mp4 with ffmpeg

I need to create a feed that has two streams - webm and mp4 - so that it can be compatible on all HTML5 video players. The webm stream works perfectly. However, when trying to access the mp4 stream, ...
1
vote
1answer
249 views

ffmpeg Live Input MP4 Error

Currently I have a mic and a webcam connected to my computer. I am running ffmpeg on CentOS 6.3. When I try to record a video without audio by: ffmpeg -y -f video4linux2 -t 15 -s 640x480 -r 25 -i ...
1
vote
0answers
516 views

FFmpeg AVI to MP4 preserves sound, but not images

Working with FFmpeg at a conversion (any file to MP4 (H.264/AAC)): ffmpeg -y -i testdatei.avi -i logo.jpg -filter_complex overlay=15:15,scale=-1:720 -c:v libx264 -profile:v baseline -preset medium ...
1
vote
0answers
380 views

ffmpeg and matching encoding options

I have two mp4 files captured from different android devices. the ffmpeg output of each file is listed below. Can i re-encode two.mp4 so that the encoding options are the same as one.mp4? I cant see ...
3
votes
0answers
170 views

FFmpeg & iPhone: don't display audio language button

I'm creating an MP4 file with FFmpeg 1.1.1, using life and aevalsrc to generate some test video and audio: ffmpeg -f lavfi -i life -f lavfi -i aevalsrc=0 -frames:v 750 life.mp4 If I play it on an ...
0
votes
0answers
345 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 ...
3
votes
1answer
4k views

FFmpeg MKV to MP4 remux whilst converting all audio tracks to AAC

I had a ffmpeg command that would successfully remux an mkv to a iTunes compatible mp4. However it only took the first audio stream regardless of language. I want to remux all audio streams, or at ...
3
votes
2answers
3k views

Convert mp4 video to a format xbox 360 can play

Here is a video file my Xbox 360 refuses to play: $ MP4Box -info video.mp4 * Movie Info * Timescale 90000 - Duration 02:18:33.365 Fragmented File no - 2 track(s) File Brand ...
3
votes
3answers
717 views

How to apply audio track to a mute h264/mp4-video losslessly?

I have a MP4/h.264-video with no sound. With ffmpeg or similar, how can I apply an audio track to that MP4-file without degrading the quality of the video (i.e. without recoding the video-track)? I'd ...
7
votes
1answer
2k views

When spliting MP4s with ffmpeg how do I include metadata?

I have a few MP4s that i want to upload to my flickr account but they have a maximum size of 500mb as mine is only about 550 i was planing to simply split them in half then upload them, but i want to ...
4
votes
1answer
3k views

accurate cutting of video (+ audio) with ffmpeg

I want my website to allow users to accurately create their own clips from a source video I provide. I have a source video file that I first want to convert to something suitable for a website: ...
2
votes
2answers
6k views

What is the best way to downscale mp4 video while keeping it as sharp as possible?

I've got an .mp4 file that's currently 830x1100 (it's a screencast) that I need to resize down to 114x150. I've been experimenting for hours with ffmpeg settings and nothing comes out looking nice and ...
1
vote
0answers
1k views

Failed to convert a wmv file to mp4 with ffmpeg

i need a help with this command FFMPEG COMMAND: ffmpeg -y -i /input.wmv -vcodec libx264 -acodec libfaac -ac 2 -bufsize 20M -sameq -f mp4 /output.mp4 Output: ffmpeg version 1.0 Copyright (c) ...
0
votes
1answer
2k views

Why can't I convert FLV to MP4 format using FFmpeg when MP3 works?

In fact I have succeeded to convert FLV to MP3: D:\tmp\ffmpeg-20121005-git-d9dfe9a-win64-static\ffmpeg-20121005-git-d9dfe9a-win 4-static\bin>ffmpeg.exe -i a.flv -acodec mp3 a.mp3 ffmpeg version ...