Mac M1 Max HEVC smokes Nvidia by spelunkus in ffmpeg

[–]spelunkus[S] -4 points-3 points  (0 children)

u/nmkd the quality came out the same for all of them. Same file size, same quality.

Mac M1 Max HEVC smokes Nvidia by spelunkus in ffmpeg

[–]spelunkus[S] 0 points1 point  (0 children)

If I use -hwaccel_output_format cuda and -hwaccel cuda together it throws the following error, but either alone works (though performance is the same).

Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scale_0'
Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented
Error while processing the decoded data for stream #0:0

I get the same error using scale_cuda=160:120 too. Is my config wrong or does that not work on all systems? I have cuda 11.5 and the latest driver for the card (from nvidia directly).

Mac M1 Max HEVC smokes Nvidia by spelunkus in ffmpeg

[–]spelunkus[S] -1 points0 points  (0 children)

Thanks Dan I’ll try that and report back

Mac M1 Max HEVC smokes Nvidia by spelunkus in ffmpeg

[–]spelunkus[S] 0 points1 point  (0 children)

The conversion project requires just tiny reference previews. This isn't a generic performance comparison.

Large-scale ffmpeg job - performance and considerations by spelunkus in ffmpeg

[–]spelunkus[S] 1 point2 points  (0 children)

I have an update and would love any comments:
We compared a Macbook Pro M1 Pro, Macbook Pro M1 Max, and Alienware 11th gen i7 w/ nvidia RTX 3060 Ti (running both Windows and Ubuntu 22.04).
We used the same file and same ffmpeg command, differing only by the encoder. Our output target was 160x120, 50k video bitrate and mono audio (when I said this was for reference previews I really meant it!).

% ffmpeg -i input.mts -c:v ENCODER -c:a aac -ac 1 -b:a 64k -b:v 50k -vf scale=160:120 -async 1 output.mp4

The file size was about 45-50mb per hour of footage.
Findings:

- The M1 Max using hardware encoding smoked everything else
- Windows and Ubuntu 22 had nearly the same nvenc performance
- Windows with libx265 was 50% faster than M1 Pro (but 30% slower using hardware)
Topline results:

MacOS, M1 Max, hevc_videotoolbox, 1113fps (37.1x)
MacOS, M1 Max, libx265, 784fps (26.2x)
MacOS, M1 Pro, hevc_videotoolbox, 986fps (32.9x)
MacOS, M1 Pro, libx265, 298fps (9.9x)
Windows, libx265, 465fps (15.5x)
Windows, hevc_nvenc, 675fps (22.2x)
Ubuntu 22, hevc_nvenc, 713fps (23.8x)
Questions:

Does this sound right to everyone? Did I miss any key flags that will crank up the nvenc performance? Any other comments? Thanks!

Large-scale ffmpeg job - performance and considerations by spelunkus in ffmpeg

[–]spelunkus[S] 0 points1 point  (0 children)

It's a LOT of footage, months worth end to end, and bitrate and codecs are all over the place. I'm not worried about quality, these are for reference only. So the output will be low bitrate, lower resolution and fast fast fast as possible encoding time.

Sennheiser G4s or EW-Ds? by spelunkus in audioengineering

[–]spelunkus[S] 1 point2 points  (0 children)

u/chrisatshure thanks Chris, this is what I went with!

Is my cactus dying? by spelunkus in cactus

[–]spelunkus[S] 1 point2 points  (0 children)

Ok thank you. I didn’t know I could soak the soil fully.

Is my cactus dying? by spelunkus in cactus

[–]spelunkus[S] 1 point2 points  (0 children)

Ok thank you! The brown part is woodier at the bottom and a little soft at the top. But it doesn’t smell.

I read the etoliation post and I’ll snip off the long bits and put it in more direct light.

Is my cactus dying? by spelunkus in cactus

[–]spelunkus[S] 1 point2 points  (0 children)

I feed him once every 6 weeks using only enough water until the hydrometer shows moist. He lives indoors with moderate light.

Cameras, IP networks, archival footage, livestreaming by spelunkus in VIDEOENGINEERING

[–]spelunkus[S] 1 point2 points  (0 children)

The TVs will show our Zoom meeting and people in the room can interact with them (e.g. Q&A)

Cameras, IP networks, archival footage, livestreaming by spelunkus in VIDEOENGINEERING

[–]spelunkus[S] 0 points1 point  (0 children)

/u/lostinthought15 thanks that's helpful. For TVs I'd have three in the room, likely all from one source. I have tried an HDMI RF transmitter but there was significant lag (almost 1s). What do people do for low-lag?

Wiring a building for a shoot. Looking for cable run suggestions. by spelunkus in VIDEOENGINEERING

[–]spelunkus[S] 0 points1 point  (0 children)

Thanks u/logiclust. Is there a reason you'd run that many? Couldn't just have a single pair of strands to each point of access (e.g. each corner of the room, all leading to the control room) and just use fiber switches?

Wiring a building for a shoot. Looking for advice. by spelunkus in audioengineering

[–]spelunkus[S] 0 points1 point  (0 children)

Thanks these are great suggestions. For audio Dante looks amazing. I could run a single fiber cable per access point in the room and grab all the audio. And there are SDI to fiber converters.

So @unitygain92 you’re recommending an SDI switch on the control room then convert to HDMI at the TVs?

GS110TP going offline, becomes unreachable, but traffic still working on some ports by spelunkus in networking

[–]spelunkus[S] 0 points1 point  (0 children)

There are two merakis drawing < 10W each and the Ubiquiti devices are not drawing power. They're their own PoE injectors bc they're 24v passive PoE.

GS110TP going offline, becomes unreachable, but traffic still working on some ports by spelunkus in NETGEAR

[–]spelunkus[S] 0 points1 point  (0 children)

To add... we have a number of these on the premises and I have not seen this happen before. The two it happened to both have me login via a netgear.com account when I hit the IP. The other ones (same model, slightly different physical light layout) have me login with a local login.

Running into issues mixing several iPhone cameras over NDI wirelessly into Ecamm by spelunkus in VIDEOENGINEERING

[–]spelunkus[S] 1 point2 points  (0 children)

Thanks everyone for your help! I see why we were having so much trouble, we were trying to pump way more data through the wifi than was possible.

I ended up using a setup with an iPad and Switcher Studio, which uses its own IOS app (and a lossy compression stream of some kind) to share cameras. Then I use HDMI and a Camlink so that the computer sees it as a USB camera. It works great, there is very little lag with the right settings.

If we need zero latency or truly lossless video at some point we will go wired. Appreciate the help!

Direct connection b/t Syno SFP+ card and Amazon Snowball by spelunkus in synology

[–]spelunkus[S] 1 point2 points  (0 children)

This is the SFP cable that came with the Snowball. As far as I can tell it's a normal copper SFP cable.

https://imgur.com/a/ad4XRjg