Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Hardware & Software > Software players

Reply
 
Thread Tools Search this Thread Display Modes
Old 31st December 2013, 09:01   #1  |  Link
Andrey O.
Registered User
 
Join Date: Dec 2013
Posts: 10
New FFmpeg-based DirectShow decoder

We have uploaded a new FFmpeg-based multi-format DirectShow source filter.

This filter makes things more predictable and reliable by replacing multiple filters (readers, splitters & decoders) with just one.

It also supports reverse playback & fast seeking.

User feedback would be very welcome.
Andrey O. is offline   Reply With Quote
Old 31st December 2013, 11:19   #2  |  Link
betaking
Fantasy Codecs writer
 
betaking's Avatar
 
Join Date: Nov 2007
Location: Yang Zhou,Jiang Su,China
Posts: 392
I have a question? FFMPEG can be used for a commercial license it?
betaking is offline   Reply With Quote
Old 31st December 2013, 12:41   #3  |  Link
fagoatse
Registered User
 
Join Date: Feb 2012
Posts: 48
Quote:
Originally Posted by betaking View Post
I have a question? FFMPEG can be used for a commercial license it?
yes, but you have to publish any source code changes you've made to it.(correct me if im wrong)
fagoatse is offline   Reply With Quote
Old 31st December 2013, 13:39   #4  |  Link
Andrey O.
Registered User
 
Join Date: Dec 2013
Posts: 10
Yes, it is possible to use FFmpeg in commercial (non-free) applications.

FFmpeg (except for several optional parts such as the x264 encoder) is licensed under the GNU Lesser General Public License (LGPL) version 2.1 or later. Here's a quote that explains the logic behind this license:

"Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs.

When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library.

[...] However, the Lesser license provides advantages in certain special circumstances.

For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library."

There are however, a bunch of things the vendor has to do in order to comply with the license. FFmpeg has its own LGPL compliance checklist. I would only add to it that the text of the license itself should also be distributed.

Last edited by Andrey O.; 31st December 2013 at 13:40. Reason: Added minor better wording.
Andrey O. is offline   Reply With Quote
Old 31st December 2013, 14:09   #5  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Sound like yet another LAV Filters. How does this project compare to LAV Filters? LAV Splitter, LAV Video and LAV Audio combined in one filter?
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 31st December 2013, 14:13   #6  |  Link
pirlouy
_
 
Join Date: May 2008
Location: France
Posts: 692
Maybe you don't want to talk about it, but are there any advantages compared to LAV Filters (+ default Windows decoder) ?
Edit: Arf, toasted.

Last edited by pirlouy; 1st January 2014 at 19:43.
pirlouy is offline   Reply With Quote
Old 31st December 2013, 15:07   #7  |  Link
kerimcem
Registered User
 
Join Date: Aug 2011
Posts: 85
Standard €950
Pro With MXF, LXF and
closed captions support €1450
shareware
kerimcem is offline   Reply With Quote
Old 31st December 2013, 15:12   #8  |  Link
Andrey O.
Registered User
 
Join Date: Dec 2013
Posts: 10
Quote:
Originally Posted by LoRd_MuldeR View Post
Sound like yet another LAV Filters. How does this project compare to LAV Filters? LAV Splitter, LAV Video and LAV Audio combined in one filter?
Roughly speaking, yes. However, this design has led to the possibility of implementing at least the following features:

- Seamless file switching. You no longer need to use multiple graphs if you want to implement gapless file playback.
- Reverse playback, even for files with temporal compression (H.264, MPEG-2, MPEG-4).

Both are difficult to implement within the traditional approach.

More detailed argumentation is available in the post.
Andrey O. is offline   Reply With Quote
Old 31st December 2013, 16:40   #9  |  Link
dukey
Registered User
 
Join Date: Dec 2005
Posts: 560
How would you handle a DXVA supported file type say, H264, and then changing to VC1 which the graphics card might not support in DXVA mode
dukey is offline   Reply With Quote
Old 1st January 2014, 13:15   #10  |  Link
Andrey O.
Registered User
 
Join Date: Dec 2013
Posts: 10
We don't use DXVA. We decode with the CPU only. If we were to use GPUs, we would interface with the cards directly.

Anyway, why would you want to use GPUs for decoding? We have never observed such a need.
Andrey O. is offline   Reply With Quote
Old 1st January 2014, 14:33   #11  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by Andrey O. View Post
Anyway, why would you want to use GPUs for decoding? We have never observed such a need.
To offload from the CPU the decoding load when transcoding, saving more CPU for the encoding. Also, to utilize features on the GPU such as deinterlacing and resizing, again offloading that from the CPU. Finally, many streams are properly handled by the GPU decoder while not being handled correctly by some well-known software decoders (e.g., interlaced VC-1 etc.).
Guest is offline   Reply With Quote
Old 1st January 2014, 14:41   #12  |  Link
dukey
Registered User
 
Join Date: Dec 2005
Posts: 560
My pentium 4 machine is not fast enough to decode a lot of H264 without hardware acceleration.
dukey is offline   Reply With Quote
Old 1st January 2014, 18:52   #13  |  Link
Qaq
AV heretic
 
Join Date: Nov 2009
Posts: 422
I use to listen to a movie sound and not to a fan noise. I only use SW decoding for low bitrate videos.
Qaq is offline   Reply With Quote
Old 1st January 2014, 19:58   #14  |  Link
pirlouy
_
 
Join Date: May 2008
Location: France
Posts: 692
GPU decoding is not recommended IMO. You're too much dependent from a driver, and Nvidia and AMD/ATI have proved to suck at releasing correct drivers. Maybe it's Windows fault, but as much as possible, I think it's better to use software decoding.
And if you're ready to buy this decoder, I guess your computer can handle software decoding easily.

I'm not ready to buy this filter, but it's nice to have more choices and new ideas. Good luck with your directshow filter.
pirlouy is offline   Reply With Quote
Old 1st January 2014, 20:11   #15  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by pirlouy View Post
Nvidia and AMD/ATI have proved to suck at releasing correct drivers
This is grossly false and inflammatory. My thousands of users of DGDecNV will attest to that. The nVidia drivers succeed admirably on several difficult stream types that fail miserably with some well-known software decoders. And nVidia is always keen and fast to correct issues that are brought to their attention.
Guest is offline   Reply With Quote
Old 1st January 2014, 21:53   #16  |  Link
pirlouy
_
 
Join Date: May 2008
Location: France
Posts: 692
Ahh. Good for you.
But it won't change my opinion on what I think about their drivers. I had several issues with nVidia some years ago, that I swore I would not buy nVidia again. Then I took an ATI, but there were also problems, and I've read Intel users have their difficulties too. So in the end, they are all the same to me.

But I am not a developer, and my opinion was just as a basic user, which certainly explains our different points of view.

For the decoding being better with CUDA, I'm a bit surprised, it can help if your CPU is not good enough, but I don't understand what you call "fail miserably". Not enough power, or just bad decoding ? If it's the later, it just means it's a bug.
pirlouy is offline   Reply With Quote
Old 1st January 2014, 22:14   #17  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
I'm talking about outright bugs, that have not been corrected after a long time and being well known. Just a bug, no problem, eh? OK for software but not GPU? Anyway, you gave your opinion, and me mine. Now let's stay on topic.

Last edited by Guest; 1st January 2014 at 22:16.
Guest is offline   Reply With Quote
Old 3rd January 2014, 11:22   #18  |  Link
Andrey O.
Registered User
 
Join Date: Dec 2013
Posts: 10
Thank you, guys.

Because x264 is GPL-based and very difficult to license for commercial use, we'll be challenged to build GPU-powered encoders for the 3 main vendors (ATI, Nvidia and Intel).

Once we are done with that and if we have enough requests for GPU-powered decoding, we'll consider implementing it as well.
Andrey O. is offline   Reply With Quote
Old 3rd January 2014, 14:20   #19  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Andrey we are talking about decoding on the GPU, not encoding.
Guest is offline   Reply With Quote
Old 3rd January 2014, 16:28   #20  |  Link
TheElix
Registered User
 
Join Date: May 2010
Posts: 236
Wow, it's very glitch-y for a €950 product. I wasn't able to use it with MPC-HC.
http://imageshack.us/photo/my-images/36/nnh0.png

Last edited by Guest; 3rd January 2014 at 16:47. Reason: fix link
TheElix is offline   Reply With Quote
Reply

Tags
ffmpeg

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:15.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.