13 votes
Accepted

Using h264 in loseless mode brings small unexpected results

It's an artifact of the player, not the encoder. I used the command below to generate a RGB format capture in HuffYUV ffmpeg -f dshow -video_size 1920x1080 -framerate 30 -i video="screen-capture-...
user avatar
  • 30k
7 votes

10 bit 422 vs 8 bit 420

420 vs 422 only really matters in terms of color accuracy. The significant part is 8 bit vs 10 bit. The reason RAW files give so much recover-ability is that they are typically 12, or in the case of ...
user avatar
  • 19.2k
5 votes
Accepted

Using ffmpeg with avfoundation, capture_cursor and capture_mouse_clicks options are ignored

Place those options before -i "1" In ffmpeg, parameters and flags apply to the next input/output entry. So, ffmpeg {-flags for input1} -i input1 {-flags for input2} -i input2 {-flags for output1} ...
user avatar
  • 30k
4 votes
Accepted

Why is my Linear FOV GoPro Hero 4 Black video distorted at edges?

The distortion you are seeing has nothing to do with ProTune or other codec settings. Its perspective distortion caused by the wide focal length of the GoPro Lens + The low quality of the GoPro Lens ...
user avatar
  • 2,457
4 votes
Accepted

Call FFmpeg filter from source code (C API)

You can't just call a filter, You must instantiate a filter graph. First you need to create a buffer and buffersink via: AVFilterContext* source = 0; AVFilterContext* sink = 0; AVFilterGraph *graph =...
user avatar
  • 1,010
3 votes
Accepted

DSLR vs CamCorders for video tutorials?

DSLRs tend to have much larger image sensors than camcorders, which tends to mean much less depth of field (DOF) for a given field of view. Shallow DOF is great for isolating subjects from their ...
user avatar
3 votes

How should I encode my 4K video stream?

As mentioned by @Mulvya, I think the issue is the "slow" preset. One option is encoding a compressed stream that is also lossless. For example, the x264 encoder can do this using "-preset ultrafast -...
user avatar
3 votes

How to add a time stamp using ffmpeg to a screenshot capture of a video

Use ffmpeg -start_at_zero -copyts -ss 00:00:14.435 -i input.mp4 -vf "drawtext=fontfile=/path/to/Arial.ttf: fontsize=45:fontcolor=yellow:box=1:boxcolor=black:x=(W-tw)/2:y=H-th-10: ...
user avatar
  • 30k
3 votes
Accepted

Frame capture from videos: I-frame vs P-frames

"I, B and P" don't refer to the viewed frames, they refer to the encoded, stored forms of the frames. However the frame is encoded in the file or stream, when it appears on the screen or is extracted ...
user avatar
  • 4,654
3 votes

Software that captures and compresses simultaneously

Most consumer video recording software I know compresses on capture. Mpeg and others can be configured for lower quality if you want greater compression, but unless you are recording a plain black ...
user avatar
  • 2,294
3 votes
Accepted

Is video output in YUY2 color space lossless if the input is sRGB?

It's a bit of a semantics game. The YUY2 video mode is not "compressed," but it won't result in a bit-exact copy of RGB input. The luminance is full resolution in that mode, but the ...
user avatar
3 votes

Camcorder Tape Capture

DV can be captured off tape with a firewire interface. Firewire was a data transfer protocol created by Apple, Panasonic and Sony that enabled the transfer of digital Video and data. Firewire plugs ...
user avatar
  • 13.3k
2 votes

Crop Video temporary

FFMpeg might do what you need. It's pretty powerful commandline tool to convert video formats, sizes, etc. Here is a clear and simple tutorial for installing FFMpeg and using basic functions Here is ...
user avatar
  • 390
2 votes
Accepted

Record raw video with ffmpeg keeping the full color range

In this case, the problem didn't come from ffmpeg/avconv. The rawvideo source I use offers different color formats to be used: argb32 rgb24 bgr24 yuv444 yuv420 [...] When I extract a png file (...
user avatar
  • 151
2 votes

Using h264 in loseless mode brings small unexpected results

Hellow. You need 4:4:4 pixel format and High444 profile in libx264 or h264_nvenc or other h264 encoder. And I guess that qp 0 is better then crf 0. For example: -c:v h264_nvenc -qp 0 -pix_fmt yuv444p -...
user avatar
  • 21
2 votes

How to capture 4K screens?

As you know there are two solutions, one using your CPU, the other a dedicated GPU. CPU Solution As of today, the CPU solution exit for 4K content, at 60 fps, using x265 or x264 codec. x264 is ...
user avatar
  • 163
2 votes
Accepted

Flicker in the Capture, LED light source

Here is a blog posting from one of the leading LED fixture manufacturers, SORAA. (Their chief scientist won the Nobel Prize for the invention of the blue LED.) One of the design problems is that a ...
user avatar
2 votes

Focus in Video vs Focus in Image

Focus is focus is focus, whether for still or video. But the story does not end there. Focal length, aperture, sensor size, circle of confusion, etc., all play a role in determining whether you ...
user avatar
2 votes

Actively Used and Developed Motion Capture Systems

We used the NaturalPoint OptiTrack S250e at my company for a big project that is still in active use today. We used it for a sort of game like exhibition on fairs. So it had to be quite robust and ...
user avatar
  • 7,079
2 votes
Accepted

FFmpeg : How to replace video background color with transparency? (while capturing)

GDIgrab supplies a RGB feed so the colorkey filter can work here. Try ffmpeg -i 1.mp4 -f gdigrab -framerate 25 -video_size 300x200 -i title="MyWindow" -filter_complex "[1]split[m][a]; [a]format=...
user avatar
  • 30k
2 votes
Accepted

Request for Camcorder and Tripod Recommendations for Occasional Amatuer Usage, With Emphasis on Good Sound Quality

90% of good sound quality is mic placement. The remaining 90% is the microphone. The 90% that remains of that is the preamp. Because mic placement is so important, you either have to accept putting ...
user avatar
2 votes
Accepted

ffplay - Live capture video gradually lags behind

So I solved this by simply adding an audio stream instead of having "none" selected. Doing this makes -framedrop (default) work properly. I left the master clock as default as well (audio) instead ...
user avatar
  • 71
2 votes

Need advice about VCR to PC connection

The problem is almost definitely with the tape or the VCR. Most likely the sync or black level is off or the control track is fluttering, which is throwing off the ADC in the capture dongle. You will ...
user avatar
2 votes

Is there any free video screen capture applications?

Open Broadcaster Software is a (good) Free and open source software for video recording and live streaming. Download and start streaming quickly and easily on Windows, Mac or Linux.
user avatar
  • 30k
2 votes

What should I do to improve the quality of the screen capture?

Windows Media Encoder creates files in wmv format (I guess), which is highly compressed. Make sure you follow the YouTube recommendations
user avatar
  • 1,139
2 votes

What should I do to improve the quality of the screen capture?

Try to use OBS (Open Broadcast Software) for screen capture. Screen Capture with OBS It not best option, but it easy to use and it free. Best solution: Capture to lossless codec like huffyuv, edit ...
user avatar
  • 635
2 votes

Is failure free streaming possible in todays world?

Streaming video between internally networked systems has become the standard in the Video Production / Post Production professional environment. There is a lot to read about this but the answer to ...
user avatar
  • 144
2 votes

Recording 720p source with 1080p

It is best to match the source dimensions with your recoding dimensions. Using a larger number of pixels requires more data or bandwidth to encode the scaled source. You wont be able to make a sharper ...
user avatar
2 votes
Accepted

Lossless Capture with FFmpeg

libx264 is a very efficient encoder, so that bitrate isn't unusual. In fact, it's on the higher side, but since you're capturing a game, I expect there is constant motion involved, and your preset is ...
user avatar
  • 30k

Only top scored, non community-wiki answers of a minimum length are eligible