The tag has no usage guidance.

learn more… | top users | synonyms

22
votes
3answers
22k views

Repeat/loop Input Video with ffmpeg?

I just want to loop a mp4 video with ffmpeg and keep the current settings and codec. For example if input.mp4 is 0:10 long, and I would want to loop it 4 times so output.mp4 is 0:40 long, how could I ...
13
votes
4answers
19k views

How can I convert .MTS file (AVCHD) to .mp4 by ffmpeg without re-encoding H264 video stream?

Note: I posted same question to stackoverflow a short time before, when I have not found this comunity yet. I repost this since the question is more suitable to this community. 1. What I tried I ...
8
votes
2answers
3k views

MP4 / h.264 patent issues?

I know this is not a legal forum but I'm assuming this is a daily issue for most people on this site since h.264 video (AVC / MPEG4 part10) is so ubiquitous (and there is a legal tag here). I've read ...
8
votes
1answer
2k views

Copying h.264 video from TS into MP4 changes frame rate and time

I have large MPEG-TS file that I am converting to MP4 using the below command. If I seek to the same time in the video in both the MP4 and the TS file, the MP4 will be a few frames behind the TS ...
7
votes
2answers
2k views

H.264 or VP9 for encoding for YouTube?

I make short films which I distribute through YouTube. I know YouTube uses VP9 for streaming, but YouTube still recommends uploading with h.264. It makes more sense to me to upload in as similar a ...
5
votes
2answers
4k views

Can H264 achieve “equivalence” with ProRes 422?

Has anyone done or seen any tests comparing Apple ProRes 422 with high-bitrate H.264? We use 422 as a delivery format to go to DCP for theatrical versions of trailers. The bitrate is around 150mbps. ...
4
votes
2answers
4k views

Adobe Premiere saves m4v instead of mp4

I have problems with my Premiere Pro. It is first time this has happened, and I cannot understand why. I am creating a timelapse from my images. When I want to export media, I choose format H.264 (...
4
votes
1answer
577 views

ffmpeg: explicitly tag h.264 as bt.601, rather than leaving unspecified?

I want to tag video as explicitly bt.601, rather than "unspecified". I know players typically choose bt.601 as the default for videos less than 1280 pixels wide, but I want to make it explicit that ...
4
votes
2answers
370 views

Converting video with different resolutions slightly affects in file size, why?

I'm converting a video with resolution 960x720p using HandBrake on Mac. When I convert two videos with exactly the same settings but with different resolutions, the file size is almost the same. ...
3
votes
3answers
256 views

Can I use h.264 codec inside .mp4 container for my website

I would like to use h.264 as the codec inside .mp4 container for my user uploaded videos for my website. But I saw somewhere that h.264 is non free. I am unsure whether I can use this technology or ...
3
votes
2answers
70 views

Differences of h.264 and h.265?

What are the main differences between h.264 and h.265?
3
votes
2answers
12k views

encoding 4:2:2 in 10-bit with libx264

I believe that libx264 is now capable of doing 10-bit 4:2:2 encodings, but I can't seem to get it to work. I'm using ffmpeg (info below), and I've also tried the x264 encoder directly. I've tried ...
3
votes
2answers
2k views

H.264 Max Resolution

I was trying to find the technical reasons for why H.264 is limited for 4K. Obviously that in terms of bit-rate it becomes less efficient but the encoding itself is limited and for some reason, I ...
3
votes
3answers
733 views

h264 settings for large flat areas of slowly changing colour

I'm doing an animation for a projection mapping that simulates the sun casting shadows on a structure as it moves through the sky. Basically it's just big flat areas of colour that change over about ...
3
votes
1answer
4k views

What CRF or settings I should choose for h265 in order to achieve a similiar quality of h264?

I'm doing some experiments with HEVC x265. I have a raw footage and the quality of details of h264 with same CRF setting looks better than h265. Shouldn't be the opposite? Maybe my setup isn't the ...
3
votes
1answer
194 views

Is H.264 subject to exploits / are some H.264 codecs subject to exploits?

How safe are H.264 streams from exploits? More exactly, are the consumer-grade H.264 codes generally "safe"? I am currently gratuitously transcoding A/V files to avoid being exposed to possible ...
3
votes
1answer
251 views

Using h264 in loseless mode brings small unexpected results

I got curious on ffmpeg screen capture capabilities and started messing around with a simple realtime capture test in h264. ffmpeg -f dshow -i video="screen-capture-recorder" -video_size 1920x1080 -...
3
votes
1answer
2k views

How to specify CRF quality settings for different encoding software

Is there a way of specifying a quality setting for h.264 that is not software dependant? I'm trying to help a colleague create a specification for outside contractors when they deliver video to us ...
3
votes
1answer
205 views

Blocky video artifact problem on Canon 600D

When shooting video with my Canon 600D I get artefacts like the following in the pictures: (not throughout the whole video but only for a second and then its gone again, but comes back after a few ...
3
votes
1answer
49 views

does h.264 have separate audio and video

We are requesting video producers to send us video and we've worded our request as below. Please tell me if our request makes sense? "One 720 p editable file in h.264 in an mp4 or AVI container with ...
3
votes
1answer
271 views

Video in Sony Vegas flickers and is full of black frames

I'm trying to import some clips into a Vegas 13 project, but they "flicker": some frames are all black (even in the preview), even though the files play perfectly in mplayer and VLC. The clips are ...
2
votes
1answer
729 views

Playing back 1080p and 720p videos (same bitrate) on a 720p display

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 ...
2
votes
2answers
108 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 ...
2
votes
1answer
104 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 ...
2
votes
1answer
102 views

Is it possible to raise H.264's QP without fully re-encoding the video?

Is it possible to lower the H.264 video quality and bitrate without fully decoding and encoding it? Are there H.264-specific algoritmhs that can create a video with higher QP based on encoded video ...
2
votes
0answers
257 views

Colors look different after export

Colors look great in FCPX. After I export (Share > Master file > H.264 Quicktime) they look a bit dull: desaturated, less vibrant. Also sort of like the wrong gamma curve - shadows are darker. I ...
2
votes
2answers
105 views

If I shoot in H.264 is it worth it to export the product in ProRes?

I shoot video in H.264. I assume that my footage is forever compressed really small and that exporting to ProRes in FCPX would do nothing but make my file bigger. Is this true? Or am I missing ...
1
vote
3answers
38 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 ...
1
vote
1answer
105 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 ...
1
vote
2answers
197 views

Why reencode MP4 to MOV for “easy post processing”?

On this page author reencodes MP4 from GoPro to MOV for "easy post processing". Why the processing becomes easier after that? The author also uses -sameq flag which is gone from ffmpeg without the ...
1
vote
1answer
642 views

Color shift after exporting!

I've a bunch of videos from different sources that i need to export, i'm mainly using Sorenson Squeeze 9 for videos that i just want to transcode to another format or change bitrates, and Premiere Pro ...
1
vote
1answer
13 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 ...
1
vote
0answers
38 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 ...
1
vote
1answer
134 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....
1
vote
0answers
66 views

Losing audio in re-encoding with ffmpeg

I have some DVDs I want to save MP4s from. The video files are VOB files. I can play them if I change the extension to .mp4, but I can't use the seek bar in Windows Media Player. Also, the files are ...
1
vote
0answers
699 views

Switching between H.264 video streams on the fly?

I have several H.264 encoded MP4 files, as well as still images. From these I want to generate a single video stream that I can broadcast. The stream will be composed of alternating still images and ...
0
votes
1answer
21 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,...
0
votes
1answer
1k 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 ...
0
votes
1answer
25 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 ...
0
votes
2answers
81 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 ...
0
votes
1answer
92 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 ...
0
votes
0answers
15 views

H264 capture from Mini Recorder

I've got a Blackmagic Design Ultrastudio Mini Recorder, which allows me to record HDMI and SDI in. In the list of supported codecs for capturing from it (both in premiere and its own software), I see ...
0
votes
0answers
13 views

Change the slice mode during the encoding in H.264

I'm working in implementing a back pressure mechanism between to locutors in a video comunication to manage the bandwidth consumption. Does the slice modes and the rc modes affects the packets size ...
0
votes
0answers
34 views

H264 encoding double image problem

I am getting double image like following with h264 encoding. This is the original image What could I be doing wrong here?
0
votes
1answer
215 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
1answer
60 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 ...
0
votes
2answers
131 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....
0
votes
1answer
77 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 ...
-1
votes
0answers
20 views

Why is this mp4 file corrupted?

I recorded this file by an Android encoder, but after a while the video gets corrupted. However re-encoding with FFMPEG fixes it. But I'd like to know what's wrong with the original file. http://...
-1
votes
0answers
19 views

Dash player stalls on high bitrate video

I transcoded Sintel for Dash using the commands below. Everything seems fine, except the Dash.js Reference Player stalls at 3:30 - I run it on a local HTTP server with a clone of their Github project -...