OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 5:37 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Showing videos in an OS
PostPosted: Thu Jun 10, 2021 12:45 am 
Offline
Member
Member

Joined: Wed Oct 01, 2008 1:55 pm
Posts: 3191
Porting image tools (like JPEG and PNG) was relatively easy, but I would also want to be able to create videos on Windows that can be played on my OS. Are there any useful open source projects that have relatively portable video players that are not dependent on hardware accelerators and GPUs? I have audio drivers, but players that only have image content are interesting too.


Top
 Profile  
 
 Post subject: Re: Showing videos in an OS
PostPosted: Thu Jun 10, 2021 2:08 am 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 676
ffmpeg has a considerable collection of software codecs that are usable for live playback, with libavcodec (not to be confused with the short-lived "libav" fork of ffmpeg, which is a very confusing mess of politics from the past I'd prefer not to remember). I had a little video player for ToaruOS a long time ago that used it, though my performance wasn't great back then (but don't worry, it was all my fault).

_________________
toaruos on github | toaruos.org | gitlab | twitter | bim - a text editor


Top
 Profile  
 
 Post subject: Re: Showing videos in an OS
PostPosted: Thu Jun 10, 2021 3:43 am 
Offline
Member
Member
User avatar

Joined: Thu Mar 04, 2021 7:25 am
Posts: 31
ffmpeg is definitely the best option in terms of features, but I think we can all agree that it's API is the eighth circle of hell (namely the lack of documentation, bad examples, outdated third-party guides, etc). If you end up giving up on it, consider something more scaled back like a combination of libwebm, libvpx, libogg to play one specific format.

There's also TheoraPlay which wraps around libogg, libtheora, libvorbis and provides a simpler interface for playing .ogv files.

_________________
mid.net.ua


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 80 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group