The tag has no usage guidance.

learn more… | top users | synonyms

21
votes
3answers
18k 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 ...
11
votes
4answers
17k 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
0answers
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
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 ...
6
votes
2answers
1k 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
3k 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
1answer
367 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 ...
3
votes
3answers
239 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
61 views

Differences of h.264 and h.265?

What are the main differences between h.264 and h.265?
3
votes
2answers
11k 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
931 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
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 ...
3
votes
3answers
677 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
3k 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
183 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
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
198 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
47 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
249 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 ...
3
votes
2answers
333 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
1answer
205 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 ...
2
votes
1answer
708 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
1answer
89 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
1answer
80 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
0answers
217 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
94 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
36 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
67 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
176 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
2answers
43 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 ...
1
vote
1answer
544 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
0answers
59 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
634 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
715 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
2answers
37 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
61 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
30 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
100 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 ...
0
votes
1answer
129 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
55 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
1answer
68 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 ...
0
votes
1answer
51 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 ...