Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Media AMD Graphics Software The Internet Youtube

Ask Slashdot: How Do You Stream/Capture Video? 155

A user writes: I am starting to look at capturing and streaming video, specifically video games in 4K at 60 frames per second. I have a Windows 10 box with a 6GB GTX 1060 GPU and a modern AMD octa-core CPU recording with Nvidia ShadowPlay. This works flawlessly, even in 4K at 60 fps. ShadowPlay produces MP4 files which play nice locally but seem to take a long time to upload to YouTube -- a 15-minute 4K 60fps video took almost three hours. Which tools are you fellow Slashdotters using to create, edit, and upload video in the most efficient manner?
This discussion has been archived. No new comments can be posted.

Ask Slashdot: How Do You Stream/Capture Video?

Comments Filter:
  • by Anonymous Coward

    OBS Studio

    • or straight ffmpeg [ffmpeg.org] for a more low-level/ghetto feel(*).

      Regarding the upload:
      - Keep in mind that Google will recompress each uploaded video using its whole range of supported codec and varied screen resolution.
      (Even if you upload a good H264, it will also generate lower bitrate H264, VP9, Theora, H263, soon AV1 too [slashdot.org], etc. Same goes with audio: AAC, OPUS, Vorbis, MPEG Audio Layer, etc.)
      - Thus even if you have a ginormous internet connection with massive bandwidth, the recompression *will* take time even if the

  • Um, duh. (Score:5, Informative)

    by Anonymous Coward on Monday April 09, 2018 @09:09AM (#56405653)

    You realize that 4k at 60fps is equivalent to 8 1080P HD streams?

    Itâ(TM)s going to take a while to upload.

    • Re:Um, duh. (Score:5, Informative)

      by Anonymous Coward on Monday April 09, 2018 @09:13AM (#56405675)

      Even for Slashdot, this is extremely stupid.

      -- 4k 60fps video files are very large (unless they are absolute worst shit quality)

      -- ISPs severely throttle uploads

      -- This results in long upload times.

      What part of this do you not understand?

      • If you are streaming your video games on You Tube, I would say just downgrade the image quality. to 1080p. Mostly because such a resolution would be lost to most viewers (Cell phones, or laptops) very few people will be watching a youtube game in full screen on a system big enough to actually play the game themselves.
        Oddly enough when yo play the game it is using less bandwidth then the actual video recording does, because it is generating mostly Vector graphics, so the video card is doing most of the work

        • by PIBM ( 588930 )

          At least you had the part about using a lower resolution right. You should just have cut off the second paragraph.

      • by AmiMoJo ( 196126 )

        The questioner seems to understand that, they are asking what tools can be used to edit the video down rather than just throwing the raw 4k60 stream up there.

        For a start they could re-encode it in H.265 to make it about 1/4 the original size. But that has the down side that it probably takes as long to encode as it would to upload anyway. So a better option is to drop down to 1080p60 or 720p60. Depending on the game maybe go to 30 fps as well.

        Downmixing sound to stereo might help a bit too.

        For editing Shotc

        • Does transcoding fall under editing? Perhaps, but I'd say not.

          In any case, he doesn't even mention file sizes. My reading was that he was just trying to find a way to make his humongous files upload faster, not addressing the issue of their being humongous in the first place.

          Then again it seems nobody can ask questions properly these days.

        • Comment removed based on user account deletion
          • by AmiMoJo ( 196126 )

            To be fair, I did just google "open source video editing" and those were the first two results. I don't want to sound condescending but it sounds like working on google skillz might be worth investing some time in. In this case "open source" is probably better than "free", as you discovered.

  • by Anonymous Coward

    Though mainly a streamer myself, I've done some recording in the past. I've got a setup fairly close to yours, though my 1060 is a 3GB. Using OBS (Open Broadcaster Software - https://obsproject.com/) I've simultaneously streamed (720p @ 60FPS) while recording (1080p @ 60FPS). You can record in multiple formats, though while recording as MP4 you may end up losing video if OBS crashes. I've done recording both with NVENC as well as x264, both while streaming with little issue.

  • OBS Studio. Done. (Score:5, Informative)

    by jvp ( 27996 ) on Monday April 09, 2018 @09:11AM (#56405661)

    There's a bunch to your "simple" question. :-) Starting from the end of your post: your uploads are taking so long because of the fill size. If you're recording 4K/60 and you haven't changed any of the default ShadowPlay settings, you're likely recording at 50Mbit/sec. A 15 minute 50Mbit/sec file, even a compressed MP4, is gonna be a bit large. There's no way around that. And you *want* that bitrate given the 4K resolution that you're recording; lowering that will make your raw recordings lose some details.

    If you're happy with ShadowPlay, keep using it. The "accepted" software solution that most use is OBS Studio, and it has access to the same NVENC encoder that ShadowPlay uses. But it's vastly more configurable and way more flexible. ShadowPlay is literally made so that anyone can fire it up, hit a button, and go. OBS takes a bit of tinkering with at first, just to get everything configured the way you want it. But once you learn how flexible it is, you'll never go back. It'll produce the same h.264 files ShadowPlay can with the same "no load on the system". IOW: it won't affect your gaming.

    This is a YOOOGE topic, however. And it can go in so many different directions depending on what your final goal is. Some folks record and stream using a single PC. Others (such as myself) record one one machine and stream with another. There's lots of flexibility available with this, it just depends on what you're after, what you're willing to run, and how much money you're willing to spend.

    • by Malenx ( 1453851 )

      Agreed on all points. If you're happy with your current workflow then look at getting faster internet, mainly your upload speed.

      Your video files are likely huge, so it's no surprise it takes a while to upload to youtube.

      • Plus, after the upload is complete, YouTube will be spending LOTS of cycles to transcode that video into all the various formats and scales they support. Just because the upload is done, doesn't mean the video itself is available until they've created all the sets of video files they need to support all the devices in the universe.

    • I only use OBS too. :3c
    • Comment removed based on user account deletion
  • Super 8 (Score:4, Funny)

    by trevc ( 1471197 ) on Monday April 09, 2018 @09:14AM (#56405677)
    Super 8 cine camera on a tripod.
  • by Anonymous Coward

    What games are you playing that you're able to get 60fps at 4k with a single gtx1060?

    • by Anonymous Coward

      "What games are you playing that you're able to get 60fps at 4k with a single gtx1060?"

      Tetris.

    • most likely he is kidding himself as no way in hell is he playing anything of significance at 4k 60fps with that card.
      • /sarcasm Gee, if only there was a way to modify the game Options of the Video Settings to chose between Quality or Performance. Nah, that scalability thing will never catch on.

        Maybe he is streaming a ~10-year old game such as L4D or Minecraft with radius of 4? :-)

        The 1060 isn't a potato (nor is it beefy) -- video settings exist for a reason. The OP didn't say what game(s) they are streaming.

        • When it comes to 4k gaming the 1060 IS a potato. If you are sacrificing video quality then why the hell bother with 4k recording in the first place. Also I did say any game of significance. Sure you could record Minecraft or tetris at that, but again why the fuck bother at that point with 4k? it isn't giving you anything.
          • The GTX 1060 is a Tier 4 [tomshardware.com] GPU. Granted, the OP probably should be using a GTX 1080 for 4K res but we don't know what game and video settings the OP is using. Maybe the 1060 is good enough for their needs. Like you, I'm very skeptical, but unlike you, I'm willing to give them the benefit of the doubt instead of prejudging before we have all the facts.

            Regardless, this is just another sign that the OP is clueless.

            • Not judging, I myself use a Tier 4 card. Just pointing out that 4k 60 fps video recording just doesn't make a lot of sense on that card, either game has to be so old it doesn't really benefit from 4k or the game has to have been seriously turned down.
    • Comment removed based on user account deletion
  • A 15-minute, 4K 60-fps video sounds like a huge thing to upload, especially if Youtube will be doing some post-processing on it.
  • "a 15-minute 4K 60fps video took almost three hours."

    How big is the file?

  • Dear Slashdot (Score:5, Insightful)

    by ArchieBunker ( 132337 ) on Monday April 09, 2018 @09:30AM (#56405763)

    I'm recording massively large video clips that no one will watch and it takes forever to upload them to YouTube. I have a 50Mb/s upload speed and can't figure out why this 60 gig file takes three hours. Pleas help me do math.

  • Too much data, (Score:5, Insightful)

    by 140Mandak262Jamuna ( 970587 ) on Monday April 09, 2018 @09:39AM (#56405797) Journal
    Quick calculation shows, 15 min at 60 fps at 4000x2000 frames works out to 4.32e11 pixels. With a 24 bit color, you need 1.04e13 bits. or 1.3 Terabytes, uncompressed.

    If you have a 50 Mbps upload service, and if Youtube server is absorbing it at that full speed, you are looking at 208000 seconds, or 2.4 solar days. You say it takes three hours. That works out to a compression ratio of 20.

    Looks like it is not reasonable to expect anything faster, at this resolution and frame rate.

    Lots of people don't realize how quickly numbers grow when you chain multiplications. "Four trace widths, three trace gaps, four via diameters, six frequencies, 8 excitations... OK your parametric sweep will run 2304 simulations, each needing half a TB of memory and 2 days of run time".

    Or my users asking for 100 micron resolution mesh on a model that is a couple of meters across. "User specified a 8 trillion element mesh. No wonder mesh maker ran for 8 hours and ran out of memory. Not a defect" is the resolution.

    • Plus most recorders are optimised for speed rather than storage efficiency, since if you're recording live you miss it and it's gone.

      Not the same thing but the same principle, I record analogue TV with an old PVR500. At DVD resolution it chucks out nearly 3G per hour, which is ridiculous. If only there was something that could crop it, chop it, normalise the sound and make the bitrate more sensible... they could call it mencoder or something.

  • Please try Handbrake: https://handbrake.fr/ [handbrake.fr] it's freeware Not sure, if it fits all your needs but I use it a lot to convert my movie files to a format which my TV likes..
  • by jon3k ( 691256 )
    Open Broadcaster Software (OBS) [obsproject.com]. Free, works great. Supports local file capture and online streaming. Extremely configurable but easy to get up and running.

    I am a little curious about the licensing. It looks like OBS was forked into OBS Studio? Or was this a rewrite? And if so, what is the currently supported one and what is the license?
  • I use OBS and Blender for making work videos. The workflow is not efficient, but the quality is good. I suspect the failure is my own ineptitude and not the fault of the tools.

  • I use Handbrake for those things which uses the ffmpeg libraries. Never used ShadowPlay but ffmpeg generally compresses much more than anything I've seen before.

    For recording, I would use an external HDMI encoder, you can stream it into a separate machine to stream composed video out with OBS Studio, you don't need anything fancy in regards video cards, I've seen it used on a Core i7 rig with a relatively cheap video card.

  • You're trying to put up videos in quality that rivals major motion picture quality, they use freakin super-computers, they upload through multiple fiber lines bridged. I know a guy that worked on the movie 'The Equalizer", his job was to edit the character, Robert McCall's wristwatch and the blood splatter. You can't match that kind of staffing levels and equipment.

    The Big-time youtubers have dedicated editors, camera operaters and directors working on sets specifically designed for video production. The st

  • I made a script that uses FFMPEG called "StreamPi" to make it easier to stream for people that can't run OBS Studio because of the OpenGL requirements. https://www.bitchute.com/video... [bitchute.com].
  • That NN supporting paper insulated network is good for gif and jpeg.

    Buy a better pipe to the internet with a real ISP.
    Have a seperate CPU and GPU to encode the stream in real time.
    Get the result of that encoding to upload within the new network limitations.
  • Use OBS. It's Free and open source, easy to use and full of features. I've seen other people post videos that were recorded using Nvidia Shadowplay. You know how I could tell? Because there were fucking popups all the time showing it!

Beware of Programmers who carry screwdrivers. -- Leonard Brandwein

Working...