Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove libmpeg2 decoder from playback options.
Only remaining use of libmpeg2 is in mythtranscode.
- Loading branch information
Showing
14 changed files
with
6 additions
and
270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ebf9778
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What?!
WHY would you do this?
How does it benefit the project AT ALL?
ebf9778
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because we don't need it to decode MPEG-2, and it's use has caused bugs for years. If you thought this would prevent the recording, viewing or parsing of MPEG-2 content, please take more time to learn what you're talking about before leaving a permanent record online.
ebf9778
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't remove mpeg2 support, only libmpeg2, a mpeg2 decoder/encoder optimized for 500 mhz amd processors. It's a large burden to keep it maintained for very very little used hardware. Just use the standard mpeg2 decoder and you won't notice any difference.
ebf9778
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Carrying around support for multiple decoder libraries means we need to support both decoder libraries, including maintenance of code to use those libraries, and any bugs that arise from use of those libraries.
On the contrary, the libmpeg2 decoder only carried specific optimizations from some old architectures, and bring in all sorts of issues on modern systems. How does removal of libmpeg2 in favor of libav, vdpau, and vaapi harm you AT ALL?
ebf9778
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only remaining use is in the mpeg2-mpeg2 "lossless" transcoder, and that only remains as we haven't had time to replace it with the appropriate code using libavcodec yet.
As a project, we are trying to limit the number of library dependencies, and this one has no practical purpose to be remaining in the build when we have viable alternatives that we already need anyways.
ebf9778
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, thank you for the explanation; I do realize that I went in a little harsh with my comment that started this chain.
I hadn't kept up with Linux MPEG-2 decoders as the only Linux computer I have is my MythTV box and I (falsely) assumed that libmpeg2 is the main decoder used for those files in that context.
The standoffish comment in Mr. Robert McNamara's response is kind of :rolleyes:, but then I -did- start it by coming in confrontational so it's whatever.
In any case, I do wish you all the best of luck in removing the libmpeg2 dependencies! I'd love to join the project, but with 50-hour work-weeks and my last programming projects being -years- ago I simply don't have the time to get up to speed!