NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 66 67 68 69 70 … 101 Next »
ATSC3.0/AC-4 Video Player

 
  • 0 Vote(s) - 0 Average
ATSC3.0/AC-4 Video Player
ferrels
Offline

Junior Member

Posts: 19
Threads: 2
Joined: Mar 2010
#1
2021-02-03, 05:44 PM (This post was last modified: 2021-02-03, 07:56 PM by ferrels.)
I have an ATSC3.0 HDHomeRun tuner from SiliconDust and absolutely love it.  It works great with NextPVR. The only problem is with ATSC3.0/AC-4 streams that I record for later viewing.  Without an AC-4 codec for Windows you get no audio playback under NextPVR unless you transcode the recordings with a branch of ffmpeg that supports AC-4 audio.  I got tired of transcoding my recorded programs using ffmpeg and running scripts to automate the process. It just wasn't clean enough for me, so I decided to build an ATSC3.0/AC-4 capable video player based on the code found here: https://github.com/itisyang/playerdemo

It only has 3 dependencies, SDL2, QT, and ffmpeg so I set about updating it to support richardpl's ffmpeg/AC-4 branch (https://github.com/richardpl/FFmpeg/tree/ac4). I normally avoid github projects that depend on QT for several reasons but this project is very well-written and modular so it was very easy to compile it against the ffmpeg/AC-4 branch. The majority of my time was spent Anglicizing all the dialogs and menus because the author is Chinese and had hardcoded most of the menus and dialogs. I also added the ability to read mpeg TS files directly as that was missing. I've tested it on MKV files and TS files containing AC-4 audio streams and it works great so I suspect it will read any format supported by ffmpeg.

My build environment is Visual Studio 2015 and QT5.6 and the binary is 64-bit. My apologies to those who want 32-bit builds but I have no desire to re-tool my developer system which is entirely 64-bit.
I'm an applications developer, not a video (encode/decode) - (mux/demux) developer, so I will only be able to help you squash bugs in the UI and possibly add more file types.

You can download the Player here: https://www.dropbox.com/s/uuf16gxqs2s4bq...4.zip?dl=1

Just unzip the files to the folder of your choice and run the playerdemo.exe file.  It has all the playback controls that one would expect from a modern video player.

If you want to test it, here's a 40MB TS file with HEVC video encoding and AC-4 audio: https://www.dropbox.com/s/vzv66pz54phfsk....1.ts?dl=1

Anyway, I hope somebody will get some use out of this player. It was actually a pleasure to update and build, unlike VLC which is a total dumpster fire.

The keyboard shortcuts can be found under the About dialog, just right-click on the screen to bring up the context menu.

The player might be useful to users who don't want to fool around with ffmpeg to transcode the ATSC3.0/AC-4 streams that they've recorded as it allows for direct playback of ATSC3.0/AC-4 files.

Link to screenshot of player:  https://ibb.co/tZ3Zf05
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,834
Threads: 954
Joined: May 2006
#2
2021-02-03, 06:16 PM
Alternatively NextPVR users could just use my Extra which automatically transcodes live TV and recordings to feed all NextPVR clients and and other players without modification.

Martin
ferrels
Offline

Junior Member

Posts: 19
Threads: 2
Joined: Mar 2010
#3
2021-02-03, 06:50 PM (This post was last modified: 2021-02-03, 07:47 PM by ferrels.)
Of course they could, but as I said in my post, there are folks who don't want to transcode their recordings for various reasons (I'm one of them).  The player I built is for those folks.  Transcoding IS modification by the way.  It involves modifying/down sampling/re-sampling the original TS file to some other format for playback.  The player I built doesn't require any transcoding at all.  It doesn't even require NextPVR, ffmpeg.exe or ffplay.exe.  There are quite a few people who capture raw TS ATSC3.0 streams from their HDHomeRun tuners using methods other than NextPVR so hopefully they will find this player useful.
ferrels
Offline

Junior Member

Posts: 19
Threads: 2
Joined: Mar 2010
#4
2021-02-06, 06:33 AM (This post was last modified: 2021-02-06, 06:39 AM by ferrels.)
Here's an updated player with streaming support so there's no longer a need for ffmpeg, wget or other app to capture streams to a file before playback. I've tested this player with http:// streams from my HDHomeRun tuner as well as an rtsp:// security camera at my home. It still supports AC-4 and HEVC.

To play an HEVC/AC-4 stream, or any other type of stream from your HDHomeRun tuner, enter the channel's URL as found in your channel lineup (Ex: http://x.x.x.x:5004/auto/v161.1 ) into the video selection dialog box or select a local file for videos stored locally.

Download link: https://www.dropbox.com/s/eft7u6d0ajp2tw...t.zip?dl=1

This player is based on code found here: https://github.com/yundiantech/VideoPlayer

It took me several hours to track down an annoying audio bug/crackle but it works great now.
ferrels
Offline

Junior Member

Posts: 19
Threads: 2
Joined: Mar 2010
#5
2021-02-12, 09:11 AM (This post was last modified: 2021-02-12, 07:16 PM by ferrels.)
(2021-02-06, 06:33 AM)ferrels Wrote: Here's an updated player with streaming support so there's no longer a need for ffmpeg, wget or other app to capture streams to a file before playback. I've tested this player with http:// streams from my HDHomeRun tuner as well as an rtsp:// security camera at my home. It still supports AC-4 and HEVC.

To play an HEVC/AC-4 stream, or any other type of stream from your HDHomeRun tuner, enter the channel's URL as found in your channel lineup (Ex: http://x.x.x.x:5004/auto/v161.1 ) into the video selection dialog box or select a local file for videos stored locally.

Download link: https://www.dropbox.com/s/eft7u6d0ajp2tw...t.zip?dl=1

This player is based on code found here: https://github.com/yundiantech/VideoPlayer

It took me several hours to track down an annoying audio bug/crackle but it works great now.
I squashed a few more bugs and moved the source code as well as the 64-bit Windows installer over to github.  The earlier version experienced a strange video buffer underrun after several minutes of streaming from my tuner that caused the video to become choppy.  This has been fixed.

You can get the latest release here:  https://github.com/ferrellsl/VideoPlayer...s/tag/v1.1
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
Question video skips back when playing yanivf 24 912 2025-04-09, 06:29 PM
Last Post: mvallevand
  Synchronization of video and audio still an issue Ricknextpvr 21 963 2025-03-08, 04:36 PM
Last Post: mvallevand
  Video Issues after upgrade from 4.2.4 to 7.0.1.241229 lemmy999 5 456 2025-03-02, 02:10 AM
Last Post: lemmy999
  Video image error on software kellanphil 1 178 2025-02-28, 04:11 AM
Last Post: sub
  ComClean3 - video length wrong millertinymouse 1 370 2024-05-19, 09:40 PM
Last Post: mvallevand
  No Video on Hauppauge DCR-3250 Tuner jcole998 7 775 2024-05-06, 07:37 PM
Last Post: mvallevand
  Audio but No video PeterK2003 15 1,519 2024-01-26, 06:58 PM
Last Post: sub
  no video in frontend ramjam 5 735 2023-12-09, 02:12 PM
Last Post: mvallevand
  No subtitles web player a1blues 51 9,174 2023-10-23, 05:44 PM
Last Post: sub
  video marked as *.ts.old (ts files marked as old) jobby99 2 542 2023-06-24, 10:28 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode