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-...
Gyan's user avatar
  • 32.6k
6 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} ...
Gyan's user avatar
  • 32.6k
5 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 =...
SlimSCSI's user avatar
  • 1,060
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 ...
McFlySoHigh's user avatar
  • 2,477
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: ...
Gyan's user avatar
  • 32.6k
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 ...
Michael Tiemann's 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 -...
Michael Steinberg's user avatar
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 ...
Jim Mack's user avatar
  • 4,674
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 ...
Dr Mayhem's user avatar
  • 2,317
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 ...
wrosecrans's 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 ...
stib's user avatar
  • 13.7k
3 votes

Which gives better quality SCART or S-VIDEO?

I'm a US-based broadcast engineer who hasn't worked on analog systems in long time, so I haven't had any direct experience with SCART connections. That said, there shouldn't be any difference in ...
Michael Liebman's user avatar
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 (...
Nippey's 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 -...
Andrew's 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 ...
RawBean's 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 ...
Michael Tiemann's user avatar
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=...
Gyan's user avatar
  • 32.6k
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 ...
Michael Tiemann's 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 ...
Michael Tiemann's user avatar
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 ...
Michael Liebman's 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 ...
HDL's user avatar
  • 81
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.
Gyan's user avatar
  • 32.6k
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
altarvic's 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 ...
bukkojot's user avatar
  • 675
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 ...
Mastaxx's user avatar
  • 154
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 ...
3pointedit's 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 ...
Gyan's user avatar
  • 32.6k
2 votes
Accepted

Retrieve and decode V-Chip data from an aired digital TV stream

V-Chip is encoded in the Extended Data Services (XDS) that is part EIA-608 captions. How it is actually transported in/with the video depends the signal type and medium. Analog: Encoded with the ...
Michael Liebman's user avatar
2 votes
Accepted

How do you make video look natural?

You pretty much found it out yourself. Use 24FPS, 1/48, Aperture around f4. (Depending on your sensor size) You really can't get a 1:1 look as our eyes have a diffrent way to see the world than a ...
Timothy Lukas H.'s user avatar

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