Category: Community Television

  • Trim video without re-encoding using ffmpeg

    I’ve been taking the time to learn ffmpeg and some of the really useful stuff you can do with this command line tool (CLI).

    Here’s one example of a situation I find myself in frequently and have not had a great solution until now.

    The ability to trim a video file without re-encoding!

    “Re-encoding” means loss of video quality in my mind. Not quite as bad as copying a VHS tape, known in the analog world as a “generation loss” Having the ability to trim a video file WITHOUT suffering any quality loss, that was a WOW ffmpeg moment for me.

    This is an issue that comes up frequently in community media and I’m sure all video professionals have delt with this issue.

    You have some raw footage you wan to keep for the future, but the camera operator forgot to stop recording and the file has a bunch of “junk” at the end.

    Or you digitized some analog tapes and during the process you walk away only to come back to “snow” or “junk” at the end of the tape that you have now just captured.

    Or you have a video file with the standard leader of color bars and countdown at the beginning. You want to trim the footage, but don’t want to lose video quality in the process…

    So you either keep all the extra “junk” taking up space on your drive or you open up your editing software and edit out the junk and take the hit and re-encode.

    Right now, I’m cleaning up a 70TB Synology NAS that is nearly full. I found several large files that fit the above examples.

    Using ffmpeg and a rather simple command line, I was able to clean up some of these files and free up some space.

    Here’s an example of the command line I used:

    ffmpeg -i BestVideoEver.mov -ss 00:37 -t 51:14 -c:a copy -c:v copy BestVideoEver-trimmed.mov

    To break this string down just a bit, here’s what’s happening

    -i = Input Video
    -ss 00:00 = In-Point (everything before will be removed)
    -t 00:00 = Out-Point (everything after will be removed)
    -c:a copy = Copy Audio (Copy NOT re-encode)
    -c:v copy = Copy Video (Copy NOT re-encode)

    Finally “BestVideoEver-trimmed.mov” is the ffmpeg output file, which you can set to a specific destination if you want, for example:

    ffmpeg -i BestVideoEver.mov -ss 00:37 -t 51:14 -c:a copy -c:v copy /users/michaelwebber/Desktop/BestVideoEver-trimmed.mov

    Anyway, that’s it! Something I learned how to do recently and wanted to share just in case others find it useful.

    If you want to learn MUCH more about ffmpeg I recommend reading this blog post. Covers a whole bunch of topics including how to install ffmpeg and many of the cool features. Never knew you could edit video and even add text graphics with ffmpeg. I really recommend this blog post at img.ly, an in-depth, well-organized post.

  • High School Intern Returns

    Such a cool moment to have a former High School volunteer and intern stop in and do a TV hit from our studio because his flight was canceled.

  • Zoom TV Interviews

    Feeding our Blackmagic ATEM Switcher with Zoom Participants

    Four computers running Zoom feeding Blackmagic ATEM

    A few weeks ago I had a blog post on my Zoom and Stream Deck configuration to support TV interviews. The setup continues to evolve and I wanted to take a moment to share an update.

    The biggest problem we have with Zoom is the Audio-Follow-Video auto-switching within Zoom. We prefer to see people full screen and don’t want to depend on the gallery view, in fact I try to avoid it.

    Using the spotlight or pin tools in Zoom just doesn’t work fast enough for our purposes. We want to cut between participants just like we would in a traditional in-studio interview show. This includes reaction shots and cutaways.

    Multiple Zoom Calls Into Switcher

    The new setup we’re experimenting with uses multiple PCs, all with separate Zoom connections, each set to full screen with a single participant “pinned”. The output of each PC feeds the Blackmagic ATEM via HDMI as a source.

    I was a little concerned about lip-sync or slight delays between PC connections to Zoom. Thankfully that’s been a non-issue, everything syncs!

    Primary Audio

    To be clear, we’re only pulling audio from ONE of the PCs (input #1) with the gallery view display. All other switcher inputs are video only.

    Once setup and configures, which does take a few minutes to establish all the Zoom calls, it works great! We can now switch between headshots, in the same way we would if guests were in-studio. I can bring in lower third graphics without fear the Zoom auto-switching and don’t need to chase pinning and spotlighting people.

    The only downside is the number of PCs needed… To have a true single shot of everyone you need one more PC than you have participants. (one is always dedicated to the gallery or multiview.)

    So in this case I have FOUR workstations running Zoom for a three-person show.

    Couple of Notes & Tips

    • “Hide self-view” on the PC displaying the gallery view.
    • All other Zoom workstations should have their mic and cameras OFF as they are for view only purposes of feeding the switcher.
    • All Zoom workstations must be set up in a dual-monitor setup, with the pinned zoom person on the second monitor. Then you want to open up the chatbox and place it on the first (primary monitor) THIS IS CRITICAL! Placing the chat box open on the primary monitor avoids pop-up alerts on your full screen pinned video. (Hopefully, that makes sense)
    • You also want to “Hide all non-video participants” on the main gallery view feed so you don’t see all the extra zoom caller PCs feeding the switcher.

    Happy to answer any questions and would love to hear anyone with suggestions on how I might improve things.

    What a mess! Our experimental COVID-19 rig is constantly changing. The lessons learned from this will no doubt alter our planned studio and control room upgrades scheduled for this year.
  • Production Switcher to Zoom

    Production Switcher to Zoom

    Blackmagic Web Presenter, the perfect tool for the job.

    After several weeks on backorder, our Blackmagic Web Presenter arrived from BH Photo!

    The “black box” is a simple device that works out of the box. No drives, no software. Simply take the output of your video production switcher, professional SDI camera or HDMI source into the BM Web Presenter. Then connect a USB cable to your PC/Mac and the audio/video signal appears as a 720p HD webcam to the computer.

    We had ours installed and working with Zoom within minutes.

    Program Return for Zoom

    On a daily basis, we’re producing live interview programs and government meetings using Zoom. We need the guests and participants on Zoom to be able to see our in-studio hosts, graphics, roll-ins, and graphics.

    Feeding program video from our production switcher through the Blackmagic Web Presenter into Zoom gets this done.

    Avoiding Video Feedback on Zoom

    If you are not careful you can easily create a video feedback situation in Zoom. Once you have the production switcher feed working with Zoom I suggest clicking the three dot menu and select “Hide Self View” to prevent those issues.

  • Stream Deck for Zoom Meetings

    Stream Deck for Zoom Meetings

    UPDATE: My setup for Zoom has evolved and somewhat less dependent on StreamDeck now. You may want to check out my new Blog Post with our updated Zoom setup for TV interviews.

    This week I purchased a Stream Deck XL ($235) to help streamline our video productions with Zoom remote guests.

    Since the COVID-19 crisis hit mid-March our community television station scrambled to adapt and help disseminate important information. Zoom quickly became the go-to platform for setting up meetings and remote show guests.

    In the past few weeks, we’ve produced more than a dozen programs using Zoom. Initially, we had an in-studio host and multiple remote guests displayed on an in-studio monitor. Now, most of our interview shows a produced entirely on Zoom.

    Despite the limitations, we are making every effort to maintain high production values, focusing on:

    • Good Clean Audio
    • Well Composed Shots (eyes on the upper third!)
    • Shot sequencing, Close Ups / Multi-Box Switching
    • Graphics, Lower Thirds, Etc.
    • Open/Close Music
    • Still Store for Inserts

    Our existing television studio was not set up well for the shift in production style. This prompted us to build a temporary video production console on several folding tables right inside our studio.

    Adding Steam Deck XL into the Workflow

    Using the Zoom keyboard shortcuts certainly helps the production value. I find myself using Shift-Command-W (Mac) constantly to switch between Speaker view and Gallery View in Zoom. To me that’s the key to using zoom for video production. You can force a better cadence of switching that matches the conversation.

    I do wish there was a way within Zoom that I could force a certain camera view to appear full screen, similar to the normal workflow of a video production switcher. Zoom does offer a “spotlight video” option which does this, but it’s not mapped to a keyboard shortcut and requires too many mouse clicks to make it useful.

    Another shortcut I use often hides the control panel buttons on the lower part of the screen.

    The Stream Deck XL simply automates the keyboard shortcut process and reduces keystrokes to a single button. Allowing new users in the video production environment to get up to speed faster and with better results.

    TIP – ENABLE GLOBAL SHORTCUT

    Enabling global shortcuts really helps the Stream Deck configuration. This setting allows the shortcuts to work even when Zoom is not in focus.

    We’re also using VLC shortcuts to play intro/outro music.

    Bottom row of buttons on our Stream Deck are all shortcuts for Zoom.

    Then I added several shortcuts to websites we use for our live broadcasts.

    A work in progress, but thought I’d share what we have setup so far. If you’re using Stream Deck for video production I’d be curious to hear your use case.

  • Backing Up Large Video File Collections to AWS Glacier Deep Archive

    Part 1 – Why AWS Glacier Deep Archive?

    Backing up large collections of raw video footage and edit masters remains a real challenge for anyone working in the video production world. As the Executive Director of a local community media station, I’m responsible for maintaining a Synology NAS which currently holds 55TB of final edit master videos. The idea of incorporating “Cloud Storage” into our backup procedures has always interested me, but the expense has held me back.

    Until recently, our backup was rudimentary. We utilized Archive.org, which is a wonderful organization operating an online digital library of print, audio, and video works. They allow users to upload high-quality MPG2 files to be added to the collection and unlike YouTube, they offer the ability to download your original upload at any time.

    For us, this was a win-win. Archive.org provided a FREE way for us to share our content, preserve it for the future, and have an offsite backup if we ever needed it.

    We love the Archive and will continue to support them. The main goal of keeping our content open and available to the public for decades to come is just amazing.

    That said, the Archive is NOT a backup solution, but given our budget constraints, it was a quasi backup. We frequently said, “If the Synology NAS went up in flames, at least the videos would not be lost forever”…but the recovery process might take that long.

    When I learned about Amazon’s Glacier Deep Archive service earlier this year I was instantly intrigued and thought this might finally be a perfect solution for our needs. At “$1 per TERABYTE per month” they certainly had my attention.

    Glacier Deep Archive is a new product offering by Amazon Web Services (AWS) that falls under their S3 Storage product line. Deep Archive is the lowest cost storage class. When Amazon released the new storage class on March 27, 2019 their press release highlighted several use cases including media and entertainment companies:

    “there are organizations, such as media and entertainment companies, that want to keep a backup copy of core intellectual property. These datasets are often very large, consisting of multiple petabytes, and yet typically only a small percentage of this data is ever accessed—once or twice a year at most. To retain data long-term, many organizations turn to on-premises magnetic tape libraries or offsite tape archival services. However, maintaining this tape infrastructure is difficult and time-consuming; tapes degrade if not properly stored and require multiple copies, frequent validation, and periodic refreshes to maintain data durability.”

    Amazon Web Services Press Release, March 2019

    There is some “fine print” to be aware of, although none of it’s a real concern for me. There are additional charges for recovering your data and the data is not instantly available, retrieval time is up to 12hrs, but that’s the trade-off for the low cost. Again, not a big deal for my use case. You can check out the Amazon S3 Website for more specifics. The whole idea of Glacier Deep Archive is LONG TERM storage, files that you need to keep and don’t want to lose but may never actually need to access if your local files remain intact.

    For media professionals, I see Glacier Deep Archive as a great tool for:

    • Wedding and Event Videographers who want to backup raw footage, master files, and other assets.
    • Community Media Stations (PEG Access) looking to backup programs and raw footage.
    • Local Production Companies, again for all the same reasons.

    Before I share my workflow and experiences with AWS Glacier Deep Archive let’s jump back for a second and talk about backup best practices for just a minute.

    3-2-1 Backup

    Peter Krogh’s 3-2-1 Backup Strategy is a well-known best practice adopted by IT professionals and the government. The 3-2-1 concept is rather simple:

    3. Keep at least three copies of your data
    The original copy and two backups.

    2. Keep the backed-up data on two different storage types
    Multiple copies prevent you from losing the only copy of your data. Multiple locations ensure that there is no single point of failure and your data is safe from disasters such as fires and floods.

    1. Keep at least one copy of the data offsite
    Even if you have two copies on two separate storage types but both are stored onsite, a local disaster could wipe out both of them. Keep a third copy in an offsite location, like the cloud.

    With the 3-2-1 Backup goals in mind, I’d like to share my experiences with AWS Deep Archive in Part 2 of this blog post. I’ll share the workflow I’ve established after running into some issues initially.

    Keep in mind, I’m new to the AWS platform and I’m a media professional, not an IT genius. I am a tech geek and enjoy the challenge of learning new things. If you have any feedback, tips, or suggestions please feel free to post in the comments.

    Part 2 – Backup to AWS Glacier Deep Archive using CLI
    Coming Soon

  • Foxborough’s “Do Your Job” Mannequin Challenge

    I had a great time working on this project with some community residents in Foxborough. “Freezing” a Stop & Shop store in the middle of the day was certainly a challenge. A fun no-budget project that aimed to show community pride and support of the New England Patriots ahead of their AFC Championship Game vs. Pittsburgh Steelers. Mission accomplished!

  • Low Cost Graphics for Blackmagic ATEM Swtichers

    Low Cost Graphics for Blackmagic ATEM Swtichers

    For a while now I’ve been researching low-cost, easy to use Character Generator (CG) system for our Public Access Station’s TV Truck. Today I want to share what I found and outline the solution we’re implementing.

    First, just a little background on what we needed out of the CG system. The station is very active, covering more than a hundred community events each year. Many productions require graphics to be updated and modified on the fly. Especially for sports coverage, it’s is a necessity.

    We also needed a CG that was compatible with our Blackmagic Design ATEM Switcher.

    A quick, but important side note on ATEM switchers. ATEM’s DO NOT have built-in scalers, which means that all incoming video must match exactly what you set in the configuration panel. In our case, we’re using HD 1080i. This is an important note when setting up an external CG.

    Users should also know that ATEM switchers CAN store pre-produced, static graphics. If you’re working on a project where all graphics are known ahead of time, you can simply load your graphics into the switcher, DONE. Photoshop is the best graphics software to accomplish this. There’s also a Photoshop plugin that speeds up the process with some automation, but that’s still not ideal for sports production.

    Once you decide that you need an external CG there are many solutions to look at, here are just a few:

    We first purchased the DataVideo CG350, but found it cumbersome and lacking some basic features we need. Software just felt outdated and difficult to work with, we’ll find a use for the software, but not in our main production truck.

    Other alternatives include Compix Character Generators, which is a great solution. Our station has used their product in the past with our SD systems. We’ve avoided this option, mainly for budget reasons, if you have the budget, Compix is likely one of your best options.

    For our situation, PowerPoint was actually the best solution. A low-cost and user-friendly experience. A system we can deploy in multiple production facilities and deal with failures quickly. For example, if the CG system dies, a quick trip to Best Buy or Amazon.com and we’re back up and running. PowerPoint is a well supported and modern software used by millions, unlike more specialize CG software that has a smaller developer team and only a few hundred users.

    I’m working on a blog post that outlines how to connect PowerPoint to a Blackmagic Design ATEM Switcher. Stay Tuned!

  • Installing TV Truck Microwave

    TV Truck Microwave (funny)

    #lame #tvhumor #ohboy #engineerhumor

  • 4K Footage of Foxborough Common Flag

    Here is some footage I shot recently on the Foxborough, MA Town Common using a Q500 4K Drone. You can see lots of local landmarks in the background including Bethany Church and Gillette Stadium.

    A community group was recently formed with a goal of replacing the rust-weakened flagpole. This video will be used as part of an studio interview program that will raise awareness of the flagpole condition and the fundraising effort underway.

    The online GoFundMe fundraiser can be viewed here