Questions tagged [h.264]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6 votes
1 answer
10k views

It is better to have more B-frames or more P-frame for video streaming?

I'm trying to re-encode (H.264) some videos from my movie library in order to put them on a NAS and stream them to a smartTV through WiFi. In order to do so, I'm using HandBrake on MacOS and – among ...
dezzeus's user avatar
  • 163
2 votes
1 answer
11k views

Exporting h.264 from Premiere Pro resulting in black screen on Windows 7

We have multiple reports of our h.264 video playing audio-only in IE11 on Windows 7. The video screen stays black. I can reproduce the problem. Here is an example video that exhibits the problem. ...
Daniel's user avatar
  • 123
3 votes
1 answer
5k views

How to set ffmpeg encoding framerate?

in short: I set -r 25 , but I see in the converting process that it's fps=18. Why? I am trying to convert a video to H.264 format using ffmpeg, and I am trying to set the framerate(out framerate) ...
Davis8988's user avatar
  • 133
0 votes
1 answer
512 views

Premiere encode in h264 using "ultrafast" preset

Often I use Premiere to transcode or export media where the final size isn't the main problem. I'm used to the ultrafast preset from ffmpeg, what I wonder is.. it is possible to pick the same options ...
user3450548's user avatar
  • 1,606
1 vote
0 answers
4k views

How can I repair a video file that became corrupt after a settings change during recording?

During a recent talk, I used a pass-through screen capture device to record a laptop's output to a projector. The capture went perfectly until about an hour into the talk, when the speaker switched ...
Arthur A. Gleckler's user avatar
2 votes
1 answer
984 views

Reencoding H.264 to H.264 made it 40% larger

I've got some livestreamed footage (encoded with constant bitrate), and I've been trying to reduce the file size for long-term storage. I figured that since encoding speed is no longer a constraint ...
PunctualEmoticon's user avatar
2 votes
1 answer
12k views

how to use h264_omx on RaspberryPi

I'm using RaspberryPi 1gen B+, for push stream to web through rtmp. But I find my CPU usage came up to 90%+. This is how I use it: ffmpeg -re -f concat -safe 0 -i playlist.txt -vcodec copy -acodec ...
Wayne Chen's user avatar
1 vote
1 answer
127 views

Shadowplay Footage Import to iMovie Introduces Audio Artifacts

I've been playing around with this to vary degrees of success and I'm getting slightly confused by what I'm seeing (or rather hearing in this case). Just playing the clips in a player like QT or VLC ...
Jammer's user avatar
  • 123
0 votes
1 answer
481 views

Converting to Uncompressed Video Files

I'm looking for a method to convert compressed video files (like h.264) into uncompressed formats for editing. What are the best options to look at?
Jammer's user avatar
  • 123
3 votes
1 answer
3k views

Is H264 an actual file format?

Is there an actual H.264 file or is it just the codec that renders the video into an .mp4 or .mov file? For an application, I have to hand in a portfolio with videos. Their website says that, "...
Jakob Ringler's user avatar
1 vote
0 answers
227 views

Best possible quality setting for screen recording (not games) and web presentation

Screen videos have text and simple geometric shapes, which need to stay sharp, detailed and crispy. The color should also remain untouched. With screen grabs, I want e.g. IBM blue to show as IBM blue ...
MirekE's user avatar
  • 111
2 votes
1 answer
2k views

Lower framerate without re-encode

I'm looking for a way to lower the framerate of an H264 mp4 video without re-encoding the video. Example: I have a 30 FPS input file and I need it to be 5 FPS. I want to avoid re-encoding because of ...
rxj's user avatar
  • 23
2 votes
3 answers
3k views

H.264 slow scrubbing and playback performance

I have two videos, both roughly the same spec: A: H.264/AAC 1920x808 24FPS ~3015kb/s Using Quicktime player I can scrub through this movie smoothly and with fine detail. Jumping from one position to ...
sansSpoon's user avatar
  • 161
1 vote
1 answer
3k views

How to extract frames and saving frame type to filenames with ffmpeg?

I have a research project where I need to apply very, very computationally heavy image filters on a h264 video. Due some restrictions outside my control I have to use proprietary filter that works ...
jimmy's user avatar
  • 113
5 votes
2 answers
14k views

How do I encode videos into h.264 at 8k resolution?

I am trying to use premiere, but I wouldn't mind switching computer programs to accomplish my goal. h.264 is an amazing codec for exporting videos, it is the fastest I've seen yet. Same exact videos ...
Web Master's user avatar
1 vote
2 answers
4k views

What are the best codecs and encoding options for a image sequence video?

I am trying to make a video out of an image sequence - Where each frame lasts for a second. The image sequence contains the same object shot from different distances. I'm guessing most default ...
Shubham Kanodia's user avatar
1 vote
0 answers
357 views

1080p videos encoded in H264 are not playing in Safari

I'm doing HTTP live streaming of 1080p video encoded in H264 with Main profile level 4.1. However Safari is unable to play the video. I can only hear the audio. The streaming is working fine with ...
adityav's user avatar
  • 141
1 vote
0 answers
1k views

gain the highest quality with H264 at a certain bit rate

I have encoded my videos using ffmpeg and H264, and this is my ffmpeg command (2 pass encoding): ffmpeg -y -i Edited\ Clips/arsenalVScristalPalas.mp4 -movflags faststart -c:v libx264 -x264opts '...
evan's user avatar
  • 21
0 votes
0 answers
2k views

H264 Remove Encoding Settings - Error FFMPEG

" Removing MP4 encoding information " I have tried the formula of interpretation but I have compared it with such an error. " Unknown bitstream filter h264_changesps " What am I supposed to do?
user avatar
4 votes
1 answer
707 views

.mkv file not playing in HEVC/H.265 supported player

I wanted to play UHD (4k) videos in my new LeTV (Super3 X55). So I used youtube-dl to download 4k YouTube videos (which are humongous btw) but for some reason most of them do not play. The TV's ...
Macindows's user avatar
  • 225
0 votes
0 answers
2k views

FFmpeg transcoding libx264 set only one P-frame

I transcoding mpeg2 data to h264 via libx264 codec and need to create the following GOP structure: I(IDR) P I P I try to perform it with the following command: ffmpeg -i INPUT -vcodec libx264 -...
Ivan Kolesnikov's user avatar
0 votes
1 answer
1k views

FFmpeg transcoding GOP pattern IP

I need to transcode mpeg2 video via H264 codec and GOP structure should be IP. I use the following command for this: ffmpeg -i INPUT -vcodec libx264 -x264-params keyint=2:scenecut=-1:ref=1 -...
Ivan Kolesnikov's user avatar
1 vote
1 answer
2k views

How does the h.264 encoder determine where to put i-frames?

I'm reading a bit on I-frames and their counterparts, P-frames and B-frames. I understand the usage. I-frames are the key to the compression and following P and B-frames can use the data in I-frames ...
user3643's user avatar
  • 2,164
1 vote
1 answer
822 views

Can duplicate frames from an h264 stream be dropped without encoding?

I have a file which from progressive 24fps was rendered into a h264 high profile 60fps file by mistake. This can be clearly seen advancing frame by frame because every other frame is duplicated except ...
Grzegorz Adam Hankiewicz's user avatar
1 vote
1 answer
3k views

Audio issue on concatenation of TS segments

I have downloaded segmented ts files, which i concatenate into mp4 file. The problem is that audio a bit faster than video progress. The problem is appeared when i re-convert concatenated mp4 file. ...
nurmat's user avatar
  • 141
0 votes
2 answers
3k views

Transcoding 100+ files from H.264 to H.265

I am in a process of transcoding 100+ High Quality Bitrate 720p MKVs containing H.264 (x264) to H.265 (x265 / HEVC). I do this with HandBrake software under Linux Debian 9 on Intel Xeon E3-1225 v3 3....
Vlastimil Burián's user avatar
0 votes
0 answers
2k views

Wrong colours after exporting to MP4 using H.264 Codec

in my current project I am working in an sRGB colour space (32bpc) with the option "linearize workflow" enabled. My composition looks fine in after effects, but after exporting to mp4 using H.264 ...
Marten Zander's user avatar
4 votes
1 answer
2k views

What's different between Premiere's own h.264 and QT h.264 encoders?

I noticed that Premiere(CC2017) can export h.264 through its own encoder and QuickTime. Are there any / what are the differences between these two? PP Native h.264 encoder QT h.264 encoder
Pichan's user avatar
  • 287
2 votes
1 answer
2k views

H.264 produced by ffmpeg from images has no duration

I have a sequence of PNG files (3D renders) that I want to encode as an H.264 video @ 30fps. I'm using the following command (I happen to be compositing a background under the renders): ffmpeg -loop ...
Phrogz's user avatar
  • 133
0 votes
2 answers
1k views

How h265 settings / presets affects the target device cpu while decoding and how can I tweak them?

h265 is a very powerful but still not widely supported codec, recently I found myself in the need of prepare some h265 videos and have them played on various smartphones. While a powerful desktop pc ...
user3450548's user avatar
  • 1,606
1 vote
0 answers
715 views

ffmpeg H264 mp4 and AVCHD avc1 vs HDPR?

I am running the following command to get the stream data for mp4 and AVCHD video files. My goal is to understand the differences if any between the video streams. I used a JVC camcorder for the test. ...
Tim Turner's user avatar
1 vote
1 answer
102 views

How do I preserve the filesize of an MP4 edited in After Effects?

I'm editing a small animation video (.mp4) of our app with After Effects (cropping composition to region of interest). I then add the composition to Adobe Media Encoder Queue and process it with the ...
styke's user avatar
  • 111
-1 votes
1 answer
65 views

How to optimize h.264 to play it on every possible device

I coding videos in MP4 for my windows phone, but now I want to be sure that this videos will be played on every mobile device possible, so question is: What the best unified settings for H.264 codec I ...
Oleg Shakhov's user avatar
3 votes
2 answers
5k views

How can I generate a color-correct h264/MP4 from a DPX sequence using ffmpeg?

We are converting a sequence of DPX files into an MP4. When the artist uses Adobe Media Encoder CC to generate the video, the colors match the original DPX. When we use ffmpeg, the video has a reddish ...
lofidevops's user avatar
0 votes
1 answer
111 views

Best encoding to fit 10hours of 1080p in 30gb?

I will be running a 10hour loop on a 1080p screen with only 30gb of storage. The loop will be created from a variety of 1080p .mp4s that will need to be compressed. (for example, one video is 12mins ...
Artimath's user avatar
1 vote
0 answers
897 views

MPC-HC is altering the colors

In order to test a lossless recording system, I have to verify that the input video is exactly the same than the output video. As a test source I have generated an ffmpeg's testsrc pattern, which is ...
RawBean's user avatar
  • 163
0 votes
1 answer
112 views

Is there a mathematical equation to compute the bitrate of a Cisco H.264 stream?

I'm working on adaptive streaming for video. As I'm using a Cisco Open H.264 Encoder, I'm testing multiple configurations for the encoder. A configuration consists in a several of parameters (bps, fps,...
Hassam Abdelillah's user avatar
3 votes
2 answers
5k views

Black frame strobing during CC export

I have a sub-3-minute sequence in Premiere CC, containing a single 4k DCI 23.98 AVC stream from a Sony FS7, with a couple static PNGs and 29.97 Quicktime Animation lower thirds. I need to export to ...
snomsnomsnom's user avatar
5 votes
2 answers
1k views

Differences of h.264 and h.265?

What are the main differences between h.264 and h.265?
Fawix's user avatar
  • 155
52 votes
3 answers
167k views

Fix bad files and streams with ffmpeg so VLC and other players would not crash

It happened me many times that I could end up in corrupted video files: video downloaded from official sources but with torrent and for some reason not all the pieces are there in .mkv, .ts or .mp4 ...
user3450548's user avatar
  • 1,606
1 vote
1 answer
2k views

How to prevent lossy re-encode of low-bitrate videos uploaded to YouTube

I have a huge number of low-res Flash videos (480x270, 30 fps, 800 Kbps) and I want to resample all those videos in 1280x720 with some added spatial sharpening and lomo filters to make them look nicer....
And G's user avatar
  • 11
2 votes
1 answer
273 views

How can I avoid Quicktime Vulnerability with h.264 encoded MP4 files?

I posted this earlier on SuperUser, but realized that this is likely the more appropriate forum for my question. We have several thousand very large MP4 files that have been encoded over the past ...
GDP's user avatar
  • 332
3 votes
1 answer
3k views

Record desktop at 1080p60 in high quality

I am looking to record my desktop in high quality (not nearly as lossy as H.264). I have tried OBS @ 200mbps and nVidia Shadowplay @ 50mbps and the text on my desktop is still noticibly blurry when i ...
muncherelli's user avatar
1 vote
3 answers
142 views

What codec should I edit in on Premiere Pro?

I have a MacBook Air (13-inch, Early 2014) with base configuration. I have a bunch of footage off a Canon 700D which is in a H.264 codec. Now obviously, a MacBook Air does not have an external ...
ThoughToo's user avatar
  • 121
3 votes
2 answers
6k 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 ...
nurmat's user avatar
  • 141
2 votes
1 answer
25k views

Encoding videos for MPEG-DASH

I read this article on encoding for MPEG-DASH, which has helped me a little and then follow up article. My end goal is to create a batch file that can read in a directory of MP4 files, and then ...
ScottN's user avatar
  • 123
0 votes
2 answers
728 views

H.264 on analog camera

Years ago I bought Vitamin D Video software for videosurveillance, which doesn' support H.264, but only mpeg-4. Currently I'm using two cheap analog cameras (RCA, PAL) connected to pc through 1 usb ...
WoutVanAertTheBest's user avatar
0 votes
2 answers
3k views

Premiere Pro CC export produces dark, muddied video

I've dug around numerous forums and have had no success finding a solution to my issue - .mp4 files color corrected in Premiere and exported in H.264 end up being unacceptably dark, the colors crushed....
Drewbiedoo's user avatar
1 vote
1 answer
5k views

h264 and h265 keyint params settings

Fiddling with the h264 and h265 params I found both keyint and min-keyint settings. Setting keyint shouldn't force the codec library to use exactly that frame interval? Do min-keyint have something ...
user3450548's user avatar
  • 1,606
4 votes
1 answer
14k views

ffmpeg encode in all-i mode h264 and h265 streams

Which params I can use to obtain a transcode all-i based? No B and P frames? I know that this is not efficient for compression purposes but this is not my case now. I guess i have to fiddle a bit ...
user3450548's user avatar
  • 1,606