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
17 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
2answers
49 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
25 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 ...
0
votes
0answers
48 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
0answers
33 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
21 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 ...
1
vote
0answers
75 views

H.264 bitstream parser [closed]

Are there any open-source H.264 bitstream analyzers/parsers which provide slice and macroblock level information (such as motion vectors and DCT coefficients). I'm only aware of the tool called ...
1
vote
0answers
29 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
35 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
67 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
83 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
192 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
51 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 ...
0
votes
0answers
75 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
1answer
129 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
185 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 ...
1
vote
0answers
37 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 ...
2
votes
1answer
854 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 ...
0
votes
1answer
128 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 ...
-1
votes
2answers
95 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 ...
-1
votes
1answer
229 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 ...
1
vote
2answers
473 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 ...
1
vote
1answer
149 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
798 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 ...
1
vote
1answer
293 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
1answer
524 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
0answers
75 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 ...
0
votes
0answers
149 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
0answers
491 views

OpenH264 won't work properly on Waterfox, what am I missing?

All the boxes on https://www.youtube.com/html5 appear to be ticked and yet mp4 youtube videos fail to load. The changes I have made so far to about:config I shall list here: ...
1
vote
1answer
432 views

Firefox: H.264 Video Support

I have Firefox 34 and OpenH264 Video Codec provided by Cisco Systems v1.1 addon installed and enabled. The problem is that Firefox can not play H.264 video. I used this page for testing and here is ...
0
votes
0answers
299 views

ffmpeg error when encoding h264 mp4 video

I'm trying to do a simple encoding of an mp4 in h264 to mp4 but I keep getting the error: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width ...
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 ...
0
votes
0answers
336 views

How to multicast live H264 without transcoding?

I have a live H264 stream (hardware encoded from the webcam) and I'd like to stream it over the network using multicast on a Linux platform. Because the platform has limited CPU power, and the data ...
3
votes
1answer
6k 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 ...
1
vote
1answer
414 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 ...
0
votes
0answers
298 views

XP Can't display H.264 video

A friend's win2000 box died so I gave him an old XP box of mine. I updated XP and installed the final rollup. All good. I installed the software he owned and all works well. Finally ran IE-6 (I ...
0
votes
0answers
222 views

H264 in Firefox on Windows 7 N without Media Feature Pack?

How can I play H264 videos and MP3 audio in Firefox on Windows 7 N Professional without installing Windows Media Feature Pack? I know you can use GStreamer on Linux, but it doesn't work on Windows. ...
0
votes
0answers
830 views

Video Converter to H.264 with Nvidia Card using GPU acceleration (WMV to MP4)

I'm currently using an Nvidia 660 GTX trying to convert WMV files to .MP4 (h.264) using 2 pieces of software Xilisoft Video Converter Ultimate (latest version) Aimersoft Video Converter Ultimate ...
0
votes
1answer
572 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 ...
1
vote
0answers
616 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
71 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 ...
0
votes
1answer
166 views

Capture and encode HDMI signal on FreeBSD

I am looking for a capture PCI-e card to encode HDMI source and stream on network. I want to "share" my HDMI sources to my Raspberry sinks in the LAN. I have found many PCI-e cards, but most of them ...
2
votes
1answer
785 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 ...
1
vote
0answers
834 views

Difference between downscaling 1080p to 720p in real time and downscaling during encoding?

Suppose a high quality, uncompressed video is re-encoded twice, with almost identical encoding settings at a relatively low bitrate of 4mbps, but at different resolutions, first at 1080p, and then at ...
5
votes
1answer
5k 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
518 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 ...
1
vote
0answers
119 views

H.264 Pro Recorder Files not closed properly

I have several files that were recorded using a BlackMagic Design H.264 Pro Recorder. It would appear that somewhere in the process, the recorder did not close out the file properly when the ...
0
votes
1answer
306 views

Running qtfaststart in a folder containing multiple .mp4's

I have a library of videos, all of which need to be adjusted for web-streaming by putting the moov atom ahead of the rest of the video with qtfaststart. This allows playback to begin before the client ...
0
votes
1answer
345 views

Record webcam automated with unknown duration

I need to record (not stream) from my webcam, convert it to H.264 and store it in a mp4-container. With VLC media player I can do this manually with the Open Capture Device menu where I just have to ...
0
votes
0answers
502 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 ...