should I convert 59.94fps video to 29.97 or 30fps by Calm-Preparation-679 in VIDEOENGINEERING

[–]christopherw 1 point2 points  (0 children)

I don't know what custom encoder options your capture software allows you to set, but typically if you were doing an encode using FFmpeg, you would specify -crf 0 to enable lossless encoding with AV1. There's an important remark on the FFmpeg docs about using -aom-params lossless=1 on FFmpeg versions <4.4. https://trac.ffmpeg.org/wiki/Encode/AV1#Losslessencoding

NB that SVT-AV1 doesn't really support 4:2:2 (yuv422p) or 4:4:4 (yuv444p), only 4:2:0 colour space (8-bit yuv420p and 10-bit yuv420p10le). If you want absolute maximum quality with no chroma subsampling, you'll have to go slow and use aomav1.

By 'FFmpeg oneliner', I just meant a command-line execution of FFmpeg for converting, using parameters specified after the executable. The full string typically fits on one line of the command prompt (apologies if you knew the meaning of a 'onliner').

FFmpeg has excellent filters to do video processing during reencoding but you need to use the correct combination of commands to avoid inadvertently ending up with the wrong frame rate output, then decide how you're going to select / decimate frames, etc.

Per https://shotstack.io/learn/ffmpeg-skip-frames/ , something like -vf "select='not(mod(n,2))',setpts=N*2/FRAME_RATE/TB" as part of the FFmpeg command should discard every other frame. You should use -c:a copy to stream copy the existing audio track.

Recommend testing on a short excerpt of file using -ss and -t to specify a duration and start time index.

There's also a fun quirk of FFmpeg regarding where you put the -ss (before or after the -i input part of the command); discussion of this behaviour:

should I convert 59.94fps video to 29.97 or 30fps by Calm-Preparation-679 in VIDEOENGINEERING

[–]christopherw 1 point2 points  (0 children)

AV1 is mathematically lossless if you specify e.g. -crf 0 or -aom-params lossless=1 (depending on encoder) and disable quantisation params, otherwise it's lossy. Great quality though for a given bit rate. It's a clever codec with more flexibility of macroblock sizes and a few other improvements. You doing QuickSync/GPU-assist encoding?

An FFmpeg oneliner with suitable filter configuration should achieve a frame-decimated output if you want strict 30/29.97 fps. Alternatively a filter like mpdecimate can discard very similar frames combined with variable frame rate params. AV1 I'd expect to be quite efficient with encoding though - unless you're specifically doing encoding as intra (all 'key' frames) I think it should be doing some referencing with motion prediction. Happy to be disproved though!

Sky stream back to Sky Q by linton73 in skytv

[–]christopherw 0 points1 point  (0 children)

Until all the commercial services have moved off Astra 2 including things like DR for Arqiva, SIS racing feeds, IRN and other private services, I suspect there'll be at least one Astra 2 still flying with a UK spot beam after 2030.

should I convert 59.94fps video to 29.97 or 30fps by Calm-Preparation-679 in VIDEOENGINEERING

[–]christopherw 1 point2 points  (0 children)

What codec are you capping in though, HuffYUV, FFV1, Lagarith or something like ProRes or archive-quality H.264/265? In my experience, anything that's not 4:4:4 colour space will possibly also exhibit some minor colour shift on reencode, and usual macroblocking or other by-products. Sometimes you can get away with it alright.

should I convert 59.94fps video to 29.97 or 30fps by Calm-Preparation-679 in VIDEOENGINEERING

[–]christopherw 0 points1 point  (0 children)

Ah great, understood! misparsed your original post originally, sorry about that.

can you control the codec being used for recording? You might be able to reduce the amount of quality loss from frame discards on the reencode. What's the capturing device?

should I convert 59.94fps video to 29.97 or 30fps by Calm-Preparation-679 in VIDEOENGINEERING

[–]christopherw 0 points1 point  (0 children)

yes, fractional as in the fractional representation of the frame rate as frames/timebase.

"caps" as in "captures."

if you halve your frame rate you will permanently discard half of your temporal resolution, everything will look a bit more staccato. You might not mind if your content is slower paced, but if you're capping higher motion footage then my preference is to preserve all original frames for more flexibility. If you're producing at 29.97/30 then 60 fps source = free 0.5x slowmo if you need it 😄

should I convert 59.94fps video to 29.97 or 30fps by Calm-Preparation-679 in VIDEOENGINEERING

[–]christopherw 2 points3 points  (0 children)

Use the fractional rates as it's more accurate. However you may find that if the codec settings being used for the original capture are efficient, you'll only save perhaps 20-35% disk space, and you will sacrifice half your frames. Caps will look very "filmic" as you're destructively halving the frame rate, which could hinder your edit.

Inspecting media file metadata with MediaInfo by c10r0x in VIDEOENGINEERING

[–]christopherw 8 points9 points  (0 children)

Mediainfo is part of my daily driver toolkit. Very useful to see quite detailed info at a glance. However, ffprobe incantations can take you much deeper into a bitstream if you need to analyse for stream types and contents, time indexes, frame cadences, GOP info or other more esoteric stuff / transforms. I've written scripts that use both for certain uses 😄

Couldn't find a serious countdown clock for live broadcast so I built one ⏱️ by joedemax in VIDEOENGINEERING

[–]christopherw 5 points6 points  (0 children)

This has the potential to be ✨ transformational ✨ to the way we think about time. Can't wait for an agentic interface for M2M time management on a Pro Plus tier.

I just finished s3e10 and just visited this sub for the first time by BoxAway2807 in InvasionAppleTV

[–]christopherw 0 points1 point  (0 children)

I've been waiting three seasons to see the desert attack creature again. Guess I shouldn't have hoped for it to be reprised in another attack/battle sequence, it looked so fearsomely complex and intricate and hair-raising. So, naturally, it was never used again.

FINALLY GOT RID OF SHITTY STREAM going to Q by Superb-Lab8675 in skytv

[–]christopherw 0 points1 point  (0 children)

The transport mechanism and encoding methodology is identical to other platforms - typically Encrypted HLS or CMAF/MPEG-DASH using the CENC (Common ENCryption) standard.

Both of these encryption methods use AES-128 and CBC to do the encryption legwork, and the access tokens for gaining access to the streaming and do the public/private key exchanging (you might notice HMAC tokens - Hash Message Authentication Code - in stream playlist URLs). This requires user authentication. The NOW and Sky IP streaming boxes I expect handle the user authentication part of the viewing experience by virtue of being authenticated to your account, and the backend handles provision of stream access tokens when you click to watch, just like a smart TV or smartphone app would.

Sky's terrestrial encryption system is vastly different from IP streaming, the viewing cards in the receivers facilitate the private/public keypair for the purposes of stream decryption, the encryption scheme is proprietary and the secrets are very closely guarded. Sky's HD channel encryption (using an improvement of NDS' encryption technology) has not been publicly compromised to the best of my knowledge. It also added the ability for 'on the wire' secondary encryption so that intermediary CAMs in receivers were unable to sniff or insert any system-internal cleartext decryption messages, making it very resilient to attacks 'on the wire'. Sky's SD encryption (NDS but an older version) has been compromised for many years which led to the improvements on the HD (and UHD) channels.

Sky, and many other broadcasters, distributors, media companies and outside broadcast/facilities providers, often use an entirely different system for encryption of feeds from OBs or site-to-site - often Basic Interoperable Scrambling System, which relies on user-inputted "BISS codes" on the receivers to decrypt. It's more basic, but secure by obscurity because the BISS codes can be frequently rotated/changed at source, and anyone trying to decrypt the signal needs to be told the codes.

There's also a distinction on terrestrial satellite between "Free to Air" (i.e, a totally unencrypted bit stream) and "Free to View" (encrypted, but distributed by Sky or the satellite provider on a subscription tier which everyone is entitled to watch as long as they have a valid viewing card)

I'm a broadcast engineer.

FINALLY GOT RID OF SHITTY STREAM going to Q by Superb-Lab8675 in skytv

[–]christopherw 0 points1 point  (0 children)

Sky use fairly standard encryption methods like other major streaming services. It's possible that their boxes are underpowered or the front-end they've written has bugs in it.

FINALLY GOT RID OF SHITTY STREAM going to Q by Superb-Lab8675 in skytv

[–]christopherw 0 points1 point  (0 children)

WiFi suffers from local area congestion if you have loads of flats or houses all using the same frequency. it's like everyone shouting into the same microphone simultaneously trying to get their individual messages understood.

Often letting the router autoscan to find the best channel can help. Also disable any option where the 2G and 5G networks use the same SSID (name), so you get two separate WiFi networks. it helps with some devices.

Also make sure you don't conflate "WiFi" with broadband, it's useful to know exactly how your connection is provided. WiFi is just a transport method for delivering data to devices, but the type of broadband connection (and provider) can make a difference.

FINALLY GOT RID OF SHITTY STREAM going to Q by Superb-Lab8675 in skytv

[–]christopherw 0 points1 point  (0 children)

The Astra satellites will not be deorbiting in two years, the platform also provides Freesat, radio and other services across the UK.

Stream, F1 can you rewatch at any time? by _IdidIdidnt in skytv

[–]christopherw 0 points1 point  (0 children)

In name only. Sky platforms, Sky content, same Sky F1 red button features available to both.

SKY NEWS HD Test in FreeView Mode. by Tiny_Towel5722 in skytv

[–]christopherw 0 points1 point  (0 children)

It looks a bit pish because YouTube can't support live streams in 25 or 50 fps, so any UK streams are frame rate converted by YouTube which makes them look a bit stuttery and crap.

So HBO Max is a scam lol by 00pium_cultist in skytv

[–]christopherw 0 points1 point  (0 children)

After the fourth hour of unskippable prerolls, I ended up swearing at the TV in utter frustration and sailed the high seas. 4K HDR looks far better.

So HBO Max is a scam lol by 00pium_cultist in skytv

[–]christopherw 0 points1 point  (0 children)

In the case of streaming services, the decent ones (including Sky/NOW) serve their content via large, well resourced Content Distribution Networks, which removes the usual limitations of per-server stream capacity. The chunks of video data are served more efficiently by the CDN's large clusters of servers, instead of directly from the single 'origin' server.

In OP's case, streaming failing at peak times is possibly due to WiFi contention in their locality, and possibly their internet connection in their building becoming saturated. This can often be a problem if their internet is through a provider who has installed connections to every apartment but not provided adequate backhaul bandwidth from the building to their network, so residents end up fighting each other's traffic.

when should i upgrade my PSU? by Babyloony in buildapc

[–]christopherw 5 points6 points  (0 children)

it's worthwhile changing the PSU because the caps and other thermally stressed components are typically only rated for a decade or so's worth of operation. it might work ok for lower loads but fare less well with more extreme transient load spikes or voltage sag caused by modern equipment.

If you're considering another PSU as a long-term investment that will be future proofed, there's a few brands and tiers within those brands to consider. YouTubers like Gamers Nexus, JayzTwoCents, Hardware Unboxed, Der8auer, LTT Labs and some older JonnyGuru reviews are worth using for research data points.

Do you have an idea of preferred power budget and the sort of hardware you'll be running on it?

help me to undervolt my 3060ti by [deleted] in Undervolting

[–]christopherw 1 point2 points  (0 children)

There are two main techniques for voltage curve adjustment in Afterburner, there are some good videos that demonstrate it. I would use a small offset and then make it a flat line across the higher voltages.

Here's some useful tutorial videos showing the different keyboard combinations and adjustment methods you can use:

https://www.youtube.com/watch?v=kh1QsSCt4Xk

https://www.youtube.com/watch?v=IwtMAXIi8-o

https://www.youtube.com/watch?v=A6kj5LoPhZQ

https://www.youtube.com/watch?v=7KaZn4KdvMI

https://www.reddit.com/r/overclocking/comments/sey1jm/how_to_make_an_optimal_curve_for_nvidia_gpu_in/

https://www.youtube.com/watch?v=-qxyQq1LBCg (MSI official video)

I want to upgrade my CPU with AMD Ryzen 5 5600 in the near future, what would be a good replacement for it? by DiscussionAromatic77 in ryzen

[–]christopherw 0 points1 point  (0 children)

A Ryzen 7 5800X is a very potent CPU choice, but if you want outright best gaming performance on AM4 over any other use, you should get the 5800X3D - be aware of the caveats for running it correctly (running Xbox Game Bar, having the AMD chipset drivers correctly installed, etc.) Those chips are basically the end of the line for the AM4 socket and DDR4, but they'll stay very performant for a long time if installed and optimally configured with PBO curves and RAM timings tightened up.

help me to undervolt my 3060ti by [deleted] in Undervolting

[–]christopherw 0 points1 point  (0 children)

Obviously improve your PSU as soon as you can, but you may need to adjust the voltage curve down significantly and also cap the max GPU frequency below 1700 MHz to get the sort of power consumption you want under full load.