[FFmpeg-trac] #8349(undetermined:open): Dolby AC-4 Support
FFmpeg
trac at avcodec.org
Sun Jan 31 04:13:34 EET 2021
#8349: Dolby AC-4 Support
-------------------------------------+-------------------------------------
Reporter: Nomis101 | Owner:
Type: enhancement | Status: open
Priority: wish | Component:
| undetermined
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by ferrellsl):
I decided to build an 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/AC4 branch. 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/AC4 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/uuf16gxqs2s4bqk/Player-AC4.zip?dl=1
Just unzip the files to the folder of your choice and run the
playerdemo.exe file.
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/vzv66pz54phfskl/v161.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.
If want to use this player to view your SiliconDust tuner's media streams,
you can do so with the ffmpeg.exe in the archive here:
https://www.dropbox.com/s/bze1a5nrhq63u20/ffmpeg-ac4-msys2-shared.zip?dl=1
For example, to stream channel 161.1 here in Phoenix which uses HEVC and
AC4 audio, open a command prompt and type:
ffmpeg -i http://x.x.x.x:5004/auto/v161.1 -b 900k -vcodec copy -r 60 -y
test.mkv
Just change the X's to your tuner's IP address.
This will create an ever growing video file named test.mkv in the same
folder as your ffmpeg.exe file. Now just run the playerdemo.exe and open
the test.mkv file.
You can also just use wget to get the raw TS stream:
wget -O test.ts http://x.x.x.x:5004/auto/v161.1
Then use the player to open the TS file.
This also works for RTSP camera streams as well. For password protected
cameras substitute your user ID and password, your camera's IP address and
stream path I.e: ffmpeg -i rtsp://admin:password@x.x.x.x:554/x -b 900k
-vcodec copy -r 60 -y test.mkv
For cameras not using a password: ffmpeg -i rtsp://x.x.x.x:554/x -b 900k
-vcodec copy -r 60 -y test.mkv
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8349#comment:36>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list