Also known as MPEG-4/AVC, an advanced video encoding standard, widely used in Blu-ray and streaming video.

learn more… | top users | synonyms (1)

0
votes
1answer
200 views

avconv: Converting from .ts to H264, with high quality screenshots

I am using avconv to convert MPEG Transport Streams to H264. My main goal is to capture high-quality screenshots from the source video files. The TS files are interlaced, so I am first converting to ...
0
votes
0answers
43 views

How do I bypass youtube bitrate limitation? [migrated]

So recently I discovered that all videos on youtube are stored under 5mbps bitrate. This is a huge heartbreak and disappointment to me. I always wanted to have a youtube career and I have made about ...
4
votes
1answer
3k views

VLC (Server) re-stream Security Camera Feed

I purchased a Swann Home Security DVR system and was hoping for some help on how to duplicate the streaming video on my server. In order to get their web view (streaming video in the browser) to ...
0
votes
0answers
22 views

Video delay when using filters in ffmpeg

I try to make video of sport event using raspberry pi. Drawtext filter seems good option to write score on the video. I have problem with synchronization / delay of video. I can see changing points ...
0
votes
0answers
14 views

Loss packets/loss pixels Live555/OPENRTSP

I use live555/openRTSP for receiving/record video h264 from 4 ipcam. I have 2 problems: I have lost pixels(but if I opened the sem video with vlc, I don't see the loss pixels) Lost packets in ...
0
votes
1answer
39 views

Cutting and merging camera's H264 video results in corrupt file

I am not sure is the problem with the specific video or incorrect commands. I have tested with the latest ffmpeg 4/4/2016 build and older v2.8.6. The Sample.avi is recorded by a PTZ camera. To cut ...
0
votes
0answers
11 views

How to smooth out jaggy lines with AviSynth?

I have a quite crappy quality video in 480p, I then transcode it with AviSynth and MeGUI. I use a few scripts to enhance the quality, as well as upscaling the video to 720p. As you can see in the ...
0
votes
0answers
54 views

Converting H265 to H264 causes artifacts in dark areas

I'm not sure if this is the right place to ask this, but I'll try anyways. I'm trying to convert a lot of HEVC (H265) videos to AVC (H264) and I'm getting all these nasty artifacts in dark areas. Does ...
0
votes
1answer
681 views

Shadowplay vs. NVenc?

I would like to understand the difference bitween NVidia Shadowplay and NVenc. Both allow you to encode videos in h.264 on the fly, but I understood that the first one use a h.264 dedicated chip ...
9
votes
2answers
9k 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 ...
0
votes
1answer
110 views

VLC shows distorted video when seeking

I have Fedora 23 installed with VLC 2.2.2-0.1.fc23. When I open any H.264 video in VLC, when seeking it does not seem to synchronize to I-Frame. The video is distorted for a few seconds. It works ...
1
vote
1answer
291 views

how to convert a video to a MOV file with h264 yuvj420p and pcm u8

I want to convert some videos to be playable on a Canon digital camera. The videos from the Canon PowerShot camera have the following specifications: Video: h264 (Constrained Baseline) (avc1 / ...
0
votes
0answers
11 views

MeGUI H.264 - Always encode with 4 reference frames

I had already set the number of reference frames to 16 but the final output keep showing 4 ref frames. I tried to use 15 ref frames instead but it still won't work. Any ideas how to solve this?
-1
votes
1answer
273 views

Analyzing h264 100GB video stream

I have a big file, an h264 stream video of a CCTV. I analyze this file with ffprobe and the result is this: [h264 @ 0000000002d24480] no frame! [h264 @ 0000000002d24480] non-existing PPS 0 referenced ...
0
votes
1answer
90 views

Smart Trim an h.264 .MP4 Video file in ffmpeg

I would like to take live-captured h.264 video as an input and trim it to start in a fade up from black and end with a fade to black with as little encoding as possible. These fade in/out points may ...
0
votes
1answer
192 views

Efficient re-encoding of MPEG-2 cartoon animation

I have some cartoon animation stored in MPEG-2 video that I would like to convert to MPEG-4/h264. The MPEG-2 video compression is rather bad, with both "small" JPEG artefacts around details in the ...
0
votes
2answers
101 views

H.264 multi-pass encoding with FFmpeg

I would like to encode a video in H.264 with multi-pass. I tried : ffmpeg -y -ss 00:00:12.0 -i "c:\vid\example.mkv" -vframes 420 -vcodec libx264 -preset veryslow -refs 8 -b:v 1200k -an -pass 1 -f ...
0
votes
0answers
60 views

How to set double fps for tbc option of video

I need to set tbc option for output video. For example, input video has 25 fps with 50 tbc and my encoded video has 25fps with 25 tbc. I used settb and video_track_timescale but these options did not ...
1
vote
0answers
57 views

MS Expression Studio Fails to Detect MP4 Video

I have imported a H.264 MP4 video file into Microsoft Expression Encoder 4, however when I convert the video to the IIS Smooth Streaming VC-1 format, it only has audio with a green screen. How do I ...
0
votes
0answers
24 views

create AVC_Intra from uncompressed in best quality

I have some 720p uncompressed YUV video and I need to transcode this video into an AVC-Intra using the best possible quality. The best possible Quality is needed, because the video probably will be ...
4
votes
1answer
556 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
4answers
12k views

How can I import h.264 encoded MOV files into windows movie maker?

I have a couple of digital camcorders that output .MOV files encoded in h.264 video/AAC audio. They won't load into Windows Movie Maker or Windows Media Player - I guess I need to install some codecs. ...
1
vote
3answers
15k 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 ...
1
vote
0answers
46 views

Does h.264 levels affect the quality of the output?

According to Wikipedia, the example for high resolution of level 4.0 is 2048x1024@30fps. But the resolution of the video ready to encode is 1280x960, which is about level 3.2. Is it better to set the ...
0
votes
1answer
59 views

Keeping the original bitrate while encoding to H.264

Is there any ways to use the original bitrate of the input file? The purpose I do this is because I don't know whether keeping the original bitrate while encoding will shorten the conversion time. If ...
0
votes
0answers
91 views

Unable to trim piped video stream with FFmpeg

Trying to trim a video file that gets piped from the standard input, it only works when the start duration is greater than 2.0s for some videos (fails for ones captured from an Android phone to be ...
0
votes
0answers
108 views

FFMPEG / x264: can I use pass 1 from one encoding session as pass 2 for another?

Question: Is it legal to use a "pass 1" encoding of a source video at one resolution/bitrate as the input to a "pass 2" encoding of the same source at a different resolution/bitrate? I tried it and ...
1
vote
1answer
343 views

Editing metadata of H.264 MP4 videos

Windows lets me edit some metadata fields of H.264 encoded videos, such as “Title” and “Comments.” Such data seem to be preserved inside the file itself, which is what I want. Some applications make ...
0
votes
0answers
53 views

Which audio codec is preferable to use for mp4 video?

I use standart codec for encoding and i don't like the quality of audio even if there is larger audio bitrate. ffmpeg -y -i input.avi -i watermark.png -filter_complex ...
20
votes
1answer
46k views

What are the differences between H.264 Profiles?

I was rendering a video in After Effects CS5 and when I was formatting it I chose the H.264 codec and in that format, it had a profile with Baseline, Main and High. So I did a little test – rendering ...
0
votes
0answers
99 views

Sony Vegas: Will re-rendering a video with identical video encoding reduce quality?

I have edited and exported a video in Sony Vegas Pro 13 using the preset 1920x1080-30p video template (mp4, AVC, 16 Mbps). However, I need to reedit the audio of the video, and would like to know if ...
0
votes
0answers
246 views

Ffmpeg same command, different results local vs server. Video shakes, invalid dropping

I am trying to concat some files without reencode so I use ffmpeg -f concat -i list.txt -c copy out.mp4 On local it works perfect but on a dedicated server video shakes! Is like video is frozen ...
0
votes
2answers
1k views

How should I encode a fully working H.264 video for Flash player?

I did some homework: It seems that I should use a command like ffmpeg -i input.mp4 -vcodec libx264 -g 1 -r 25 output.mp4 but this did not work: the output.mp4 can not jump to other seekpoints ...
3
votes
1answer
7k views

What H.264/H.265 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 ...
2
votes
1answer
1k views

H.264 decoding error log from RTSP stream

I am getting the following H264 error log. This log comes while decoding an RTSP video stream with help of FFMPEG. The picture displayed is blurred after 5/6 seconds. The picture would recover it from ...
1
vote
0answers
42 views

Getting same quality with “baseline profile”?

I have a couple of videos taken in H.264 using the high profile and I want to convert them into a baseline profile while keeping the same quality and size so, that they can be easily played on an ...
4
votes
0answers
2k views

FFMPEG encoding settings for 1080/60fps/h264 - framedrops

I want to use latest ffmpeg to encode set of JPG frames to 1920x1080 60fps h.264 movie. I'm looking for set of parameters that will allow smooth playback of encoded video on fairly strong PC machines ...
-1
votes
2answers
108 views

What kind of image compression causes this color banding? [closed]

I have two images. The first is before undergoing lossy compression: Picture #1: The second is after undergoing lossy compression: Can anyone explain to me what is going on here? How does this ...
12
votes
2answers
12k 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
2answers
715 views

Convert all files in directory using FFMPEG

I'm trying to write a script to convert all the files in a directory to m4v, whilst trying to keep similar (if not the same) quality and compress the file to reduce the overall size. I've pieced ...
12
votes
3answers
33k 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 ...
2
votes
2answers
2k views

Is there a way to enable H.264 video in Firefox?

I know that Mozilla has taken an ideological stance against H.264 video, but I don't agree with it. (And I think I paid for a hardware decoder inside my graphics card anyway?) Is there any way I can ...
1
vote
1answer
199 views

How can I configure ffmpeg to encode h.264 video with a specific log2_max_frame_num_minus4 value?

I am working on a project where we are splicing HLS video segments. The HLS standard conveniently includes an #EXT-X-DISCONTINUITY directive to signal that the player should be ready for video that ...
0
votes
0answers
1k views

FFMPEG Lossless Video Output Options

I am looking for lossless video output options from FFMPEG that can be viewed without any special codecs or special players such as VLC. I want a basic use to be able to open up the video with a ...
0
votes
1answer
679 views

Skipping a frame without re-encoding H.264 video

I have an mp4/h.264 video which only contains I-Frames. I want to skip one of those I-frame without re-encoding the entire video. I tried this: ffmpeg -i "file.mp4" -vf select='not(eq(n\,10))' ...
1
vote
2answers
3k 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
0answers
86 views

MPEG DASH with H264 + H265

I've tried to build an MPEG-DASH stream coding some bitrates in H264 and some others in H265. In a nutshell I'm trying to code the same video with ffmpeg for the lower bitrates in H264 and the highest ...
10
votes
1answer
3k 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 ...
0
votes
0answers
167 views

ffmpeg synchonization of libfdk_aac (or libfacc) and libx264

How to synchronize libfdk_aac and libx264 streams? ffmpeg -i pipe_libfdk_aac.fifo -i pipe_libx264.fifo -c copy -f flv flv_stream_pipe_or_rtmp.output I'm always receiving the same asych in all ...
0
votes
1answer
73 views

Concatenate h264 bytestream using cat?

I need to merge few h264 files. Can I do simply trick like this: cat file0.h264 file1.h264 file2.h264 > out.h264 All h264 has the same encoding settings, except resolution and bitrate, and has ...