0
votes
1answer
23 views

What MPEG4 video compression parameters provide DVD equivalent quality with better compression?

I have got a box of DVD video disks that I seek to get rid of while I'd like to keep the videos by converting them into MP4 files to store them on a hard drive. Considering superiority of the modern ...
1
vote
1answer
55 views

ffmpeg-transcoded H.264 video does not play in Chrome

I am trying to transcode videos using ffmpeg. Following is the sample command. ffmpeg.exe -i 534.mp4 -vcodec libx264 -level 3.1 -b:v 396k -ar 48000 -ab 32k -s 100x100 -force_key_frames ...
1
vote
0answers
228 views

FFmpeg/avidemux: fix packed B-frames

I'm transcoding some of my old mpeg4 videos (in avi containers) to h.264 with FFmpeg. Basically ffmpeg -i input.avi -c:v libx264 [x264 settings] -c:a libfdk_aac [aac settings] output.mp4 When doing ...
0
votes
1answer
278 views

Encoding H264 with windows ffmpeg results in first few seconds being “blocky”

I am using the following code to transcode a 10mbps high quality 1280x720 H264 mp4 into a lower quality H264 mp4 with our logo watermarked on the video. ffmpeg.exe -i test.mp4 -i watermark.png ...
2
votes
1answer
674 views

Convert AVI into H.264 that works inside an HTML5 Video tag

I would like to convert an existing black and white AVI into an H.264 video that works inside an HTML5 video tag. I'm currently using this ffmpeg command: ffmpeg -i file.avi -y -c:v libx264 ...
0
votes
1answer
149 views

Speed up video with FFmpeg with low I-frame distance

I got a video with 60 fps and h264 encoded (.mp4), audio layer is removed. Now I want to speed up the video 4x faster with FFmpeg, but I would like to have a very low I-frame distance to be able to ...
0
votes
0answers
222 views

How can I repair a damaged H.264 video stream from a security camera?

I have a security camera file in H.264 format. It cannot be converted due to error messages stating the file is damaged. Is there any way to repair this single 12 MB file so it can be converted to a ...
2
votes
3answers
933 views

YouTube consistently messes up my video's quality

I'm having trouble encoding a video for YouTube. The content isn't very "compression-friendly" (it's Battlefield 4 gameplay footage), but I'm 100% positive the results could be better. Some links: ...
3
votes
0answers
614 views

ffmpeg minimal requirements configuration for encoding and decoding h264 files

I'm trying to compile ffmpeg with minimal requirements in order to encode/decode with h264. So far my command line configuration is : ./configure --disable-yasm --disable-everything ...
3
votes
1answer
790 views

Why doesn't this video play on iOS?

I'm having trouble getting my mp4 video to play on any iOS device. I'm testing on an iPhone with iOS 6 and an iPad running iOS 7. When I upload the video to my server and enter the URL directly on the ...
0
votes
1answer
1k views

ffmpeg stops streaming after 900 seconds from Axis Camera to FLV RTMP

Audio and video works for 900 seconds and then, ffmpeg stops with: video:1889kB audio:1825kB global headers:0kB muxing overhead 2.162866% I stream from an AXIS IP camera through ffmpeg over nginx. ...
-1
votes
0answers
184 views

video encoder with GPU acc on OS X [closed]

I googled, it seems opencl/cuda is not available in ffmpeg and handbrake. So, is there one tool can convert a video to h.264 or vp8 by GPU acc on OS X(linux can be accepted also)? Thanks.
0
votes
1answer
992 views

ffmpeg video with watermark and subtitle at same time

Hi I want to add watermark png image to video with hardcode substitle .srt file at same time what changes i should do the to following line ffmpeg -i input.mkv -threads 0 -c:v libx264 -crf 28 -preset ...
1
vote
1answer
314 views

mix audio with h264 mp4 video with ffmpeg

I have 2 files : Input #0, wav, from '105426_1.wav': Duration: 00:00:09.98, bitrate: 1312 kb/s Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 41000 Hz, stereo, s16, 1312 kb/s and: ...
2
votes
0answers
735 views

optimise FFMPEG live stream THUMBNAIL

After testing many possibilities, I have a perfect command line for creating thumbnails from a live stream: ffmpeg -i rtmp://srvIp/h264.stream -r 1 -an -updatefirst 1 -y thumbnail.jpg It refreshes a ...
0
votes
1answer
732 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: ...
5
votes
2answers
5k views

Using FFmpeg to locate moov atom

I have a library of videos, all of which should have been adjusted for web-streaming by putting the moov atom ahead of the rest of the video. This allows playback to begin before the client has ...
1
vote
0answers
535 views

how to reduce h264 annex B NAL unit sizes to avoid IP fragmentation?

I'm trying to stream a video over to a terminal using RTP. The video is coded in h.246. I'm using ffmpeg to extract the byte stream according to h.264 annex B : ffmpeg -i test.h264 -vcodec copy -vbsf ...
9
votes
2answers
27k views

Convert AVI to MP4 keeping the same quality

I want to compress an AVI file to MP4 using an h.264 codec. I could not get the same quality. How can I compress it? Original Video: Original Video Screen: FFmpeg console output (ffmpeg -i ...
2
votes
2answers
688 views

How Video4Linux and ALSA work with Codecs

My understanding is that a codec is both a decoder and a specification for decoding. So some group writes a codec which explains how to decode from their format back into the raw bitstream, and they ...
3
votes
3answers
759 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 ...
0
votes
2answers
931 views

.MP4 video (h.264 format) is not playing in iPhone when I host the video in Amazon EC2 instance

I have converted my source.flv video into target.mp4 (h.264 format) by using following command: ffmpeg -i source.flv -r 25 -b:a 128k -strict -2 -c:v libx264 -preset slow -s 320x240 -b:v 768k -ar ...
1
vote
1answer
280 views

JM H264 Reference Software quality drop

I've just started messing around with the latest JM 18.4 tool for a bit but after I encode a sample yuv file the video comes out poor.(Everything is on default, I did a clean compile just to make sure ...
1
vote
1answer
2k views

How to create thumbnail image from .flv video by using ffmpeg ?

I am using following command to create thumbnail image from flv video , image is created but with error (image doesn't open) ffmpeg -ss 00:00:10 -i output.mp4 -f image2 -s 150x150 -vframes 1 -c:v ...
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) ...
1
vote
2answers
2k views

How to batch convert video files on OSX for AppleTV2 / iPhone4?

I'd like to have a solution to batch convert video files to a format suitable for the AppleTV2, iPad2, iPhone4, while at the same time preserving as much quality as possible; I want a single output ...
1
vote
2answers
10k views

HLS video segmenting complications. How to create a transport stream with ffmpeg

I have h264 videos, and currently we're using Apple's HTTP Video Streaming tools and mediafilesegmenter to segment these files. What I need to do is to switch to alternative segmenter based on this ...
7
votes
3answers
15k views

How can I re-encode H.264 video with minimal quality loss?

I have a lot of MPEG-TS files (.TS container but H.264 video) and playback is fine except that when you skip forward/backward or fast forward it's very sluggish and gets pixelated, etc. I've been ...
0
votes
2answers
775 views

How to encode a fully working h264 video for flash player?

How to encode a fully working h264 video for flash player? I did some homework: It seems that I should use command like "ffmpeg -i input.mp4 -vcodec libx264 -g 1 -r 25 output.mp4" but no luck: the ...
7
votes
1answer
2k views

What bunch of ffmpeg scripts do I need to get HTML5-compatible “Video for everybody”?

What list of commands should I do in ffmpeg/mencoder/some_other_CLI_app to get a video in all the right formats to use Video for Everybody? i.e. Is there a subtlety that prevents there being a ...
6
votes
1answer
6k views

What parameters should I be looking at to reduce the size of a .MOV file?

My Canon 60D creates .MOV files when recording video and I've found out that the .MOV container has an H264 video stream and a PCM audio stream. I've used ffmpeg and GSpot to look at some of my ...
1
vote
1answer
829 views

Aspect ratio of video sliced with FFmpeg unintentionally changes

I am trying to extract a small part from a larger video without changing the codecs, resolution or something else. Therefore, I use FFmpeg with the following settings. ffmpeg -vcodec copy -acodec ...
2
votes
1answer
371 views

Time of splitting and encoding video with ffmpeg increases exponentially

I'm trying to split a video by subtitles and encode into .mp4(h.264/aac) using ffmpeg, but it takes so much time! First pieces of video are splited and encoded really fast, but for each iteration time ...
1
vote
1answer
498 views

Small pieces of video split by ffmpeg are not playing or playing with artifacts

I'm trying to cut a video file into small parts (0.5-5s) and encode these parts to h.264/aac with ffmpeg. I'm using this command: ffmpeg -i 1.avi -ss 00:05:00 -t 00:00:01,50 -vcodec libx264 -threads ...
2
votes
0answers
2k views

Stream video with FFMPEG, “Output file does not contain any stream”

I would like to stream an H.264 encoded elementary stream wrapped in RTP headers to a port using FFMPEG. I have tried the following command lines to no avail... ffmpeg -i 1080p_1.h264 -f rtp -vcodec ...
2
votes
1answer
733 views

FFmpeg/X264: Split video mid-GOP without reencoding entire stream

I've got an H264 video (Stored in an MP4 file). Each GOP is approx 10s long. I want to trim the first couple of seconds off the video, which means I need to split the first GOP. Is there a way to do ...
1
vote
1answer
644 views

How to extract image from single-frame h264 mkv file?

ffmpeg -i IMG_9353.JPG -pix_fmt yuv420p -y qqq.y4m x264 qqq.y4m --preset placebo --tune stillimage --crf 33 -o qqq.mkv How to extract the picture now? qqq.mkv is non-empty, size depends on "crf" ...
3
votes
1answer
7k views

how do I convert .iso to .mp4 without mounting with ffmpeg

The problem is - I want to convert .iso with dvd to .mp4 (h264/ac3), but I cannot mount it via mount -o loop, because I'm on a virtual machine that doesn't allow to do that. Googling doesn't help. ...
5
votes
2answers
17k views

Using ffmpeg to encode a raw video to H.264 format

On a Ubuntu 10.04, I am trying to encode a raw video (YUV format) to a H.264 encoded video using below ffmpeg commands: ffmpeg -i input.mp4 output.h264 but I get an error saying Unsupported ...
0
votes
1answer
923 views

FFMPEG: how to add watermark to video?

My Platform: Ubuntu 10.10 + FFMPEG 0.5.3(I installed ffmpeg from source) I try to add Watermark to a .MOV video with FFMPEG 0.5.3 imlib2.so (Please note FFMPEG 0.6+ dont support imlib2.so, so I use ...
0
votes
1answer
653 views

Is it possible to get ffmpeg to work on Debian with support for amr codec (libopencore-amrnb) ahd h264 encoder (libx264)?

I've never used Debian, but on my Ubuntu box I have installed ffmpeg from the repositories (just as it is, without any tweak or hack) and I can easily use it to transcode amr audio to (e.g.) mp3 and ...
1
vote
1answer
3k views

FFmpeg constant bitrate

I want to convert some videos with FFmpeg to make them streamable. So I want to convert to a video format with a constant bitrate. Can anyone help me? I have tried a lot of options, like -maxrate, ...
2
votes
2answers
2k views

ffmpeg - h264 to xvid creates large file

I'm trying to use ffmpeg to convert a h264/aac video file to an xvid/mp3 file so I can play it in my ultra-cheap media player. At the moment the converted video file is TWICE the size of the ...
3
votes
0answers
3k views

How to convert a mpeg4-aac video to mpeg-ts using MEncoder?

I know this can be done using FFMpeg and I have done it. The only problem here was that FFMpeg actually tries to "encode" the file while converting to mpeg-ts which I don't want. i.e. I just want to ...
7
votes
2answers
8k views

FFmpeg extract clip - stream frame rate differs from container frame rate (x264, aac)

Summary H.264 video seems to have a really high frame rate that requires a scaling factor to the applied to the duration of video that I'm trying to extract (900x lower). Body I'm trying to extract a ...
1
vote
1answer
2k views

FFMPEG Segfault Solutions

I'm trying to convert a bunch of movies into h.264 mp4's using FFMPEG. These movies are sourced from various portable camcorders such as the Flip Mino HD and the Kodak ZI8. One issue I'm having with ...