Jump to content

Source code for FFmpeg


emveepee

Recommended Posts

emveepee

I was told by Luke that the source code for ffmpeg which is required by license to be made available was in one of of the Linux builds.  Could someone post a link since I can't seem to find it.

Thanks in advance.

Martin

Edited by emveepee
Official name
Link to comment
Share on other sites

Cheesegeezer
1 hour ago, emveepee said:

I was told by Luke that the source code for ffmpeg which is required by license to be made available was in one of of the Linux builds.  Could someone post a link since I can't seem to find it.

Thanks in advance.

Martin

@softworkz 

anything you help this young chap out with.

Danke

Link to comment
Share on other sites

emveepee

@Luke@softworkz I would have thought this question would have been easy to answer, as I see you have both been active.  Without ffmpeg, Emby would be pretty much useless so no doubt you want to use it properly.

Martin

Link to comment
Share on other sites

Cheesegeezer
22 hours ago, emveepee said:

@Luke@softworkz I would have thought this question would have been easy to answer, as I see you have both been active.  Without ffmpeg, Emby would be pretty much useless so no doubt you want to use it properly.

Martin

Is it not available on GitHub? I haven’t looked myself, but if it’s public then i would imagine you could find it there.

Link to comment
Share on other sites

Cheesegeezer
1 hour ago, emveepee said:

The license file for 4.7.8 says

"Source code for the included ffmpeg and ffprobe binaries can be downloaded at https://mediabrowser.github.io/embytools/ffmpeg-2022_05_27-u1.tar.gz"

but I get a 404. 

do you have to be logged into git to download.  Sorry just thinking of all scenarios

 

Link to comment
Share on other sites

Happy2Play
3 hours ago, emveepee said:

The license file for 4.7.8 says

"Source code for the included ffmpeg and ffprobe binaries can be downloaded at https://mediabrowser.github.io/embytools/ffmpeg-2022_05_27-u1.tar.gz"

but I get a 404. 

Where is that?

But will guess a extension issue or version change comparing it to what is shown for Arch

https://emby.media/community/index.php?/topic/110285-how-to-update-ffmpeg-on-arch-linux

 

Link to comment
Share on other sites

emveepee

I took that from the license file in a linux tar.  It acknowledges the GPL so we just need the source for all custom binaries.

Martin

Link to comment
Share on other sites

emveepee

@LukeIs this post being intentionally ignored or are you preparing the link?  This is a pretty serious violation of FFmpeg ToC and you are putting you customers at risk.

Link to comment
Share on other sites

On 10/27/2022 at 5:15 PM, emveepee said:

This is a pretty serious violation of FFmpeg ToC and you are putting you customers at risk.

No. This is not a violation of the license. The minimum requirement is just that we need to send you the code when you inquire via postal mail and you pay us the cost for the storage medium. So, providing a download link is only a courtesy. The link is: https://mediabrowser.github.io/embytools/ffmpeg-2022_05_27.tar.gz

I can't help, but you are sounding like those forkers who were first publishing cracks for Emby Premiere and after Emby went closed-source started to try forcing us with similar arguments (even though all community code had been removed already). So, I'm wondering what you are looking for so badly, that you can't find in the main ffmpeg source?

  • Agree 1
Link to comment
Share on other sites

TeamB

A lot of people get very passionate about licensing. In the software echo system it is very important.

FFmpeg is used by so many projects they even have an faq on their site about it

https://www.ffmpeg.org/legal.html

Its a little confusing as FFmpeg pulls from 2 licenses and some parts are covered by both but they both say the same thing as one of acceptable methods of source distribution

c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution.

 

Link to comment
Share on other sites

4 minutes ago, TeamB said:

Its a little confusing as FFmpeg pulls from 2 licenses and some parts are covered by both but they both say the same thing as one of acceptable methods of source distribution

c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution.

Thanks for the reference. That's what I meant. There's no obligation to provide a download link, which in turn means: no violation.

Yet we do provide download links. It just happened that the recent one was broken because it wasn't uploaded. 

Fun fact: The difference to the previous 2022-05-07 version is 3 lines of code... 🙂 

Link to comment
Share on other sites

emveepee
22 hours ago, softworkz said:

No. This is not a violation of the license. The minimum requirement is just that we need to send you the code when you inquire via postal mail and you pay us the cost for the storage medium. So, providing a download link is only a courtesy. The link is: https://mediabrowser.github.io/embytools/ffmpeg-2022_05_27.tar.gz

I can't help, but you are sounding like those forkers who were first publishing cracks for Emby Premiere and after Emby went closed-source started to try forcing us with similar arguments (even though all community code had been removed already). So, I'm wondering what you are looking for so badly, that you can't find in the main ffmpeg source?

I started by asking how to find the source, since Luke told me it was in the Linux source and I couldn't find it and the link wasn't working.  Thanks very much for the link.

I frequent these forums as a courtesy to NextPVR/Emby users.  I myself am not even an Emby users but I do believe I do help Emby users from time to time and Luke as even asked me to test things for you guys and I have happily done so.   I accepted the license change but it did mean that I had to change how I provided data from NextPVR to Emby via an addon since you are no longer allowed to use Schedules Direct data.  I was less pleased when you changed the PVR API since it hurts some NextPVR users but I acknowledged that it can be better direction overall for Emby as a project, and gives you time to do eventually do some sort of next-gen TV properly.

I am a hobbyist who programs for fun and I am interested in new developments and have keenly followed this pulled PR https://trac.ffmpeg.org/ticket/8349 and was curious what changes if any you may have made from the original PR to prepare it for ffmpeg 5 changes. This code is not in the main source.

 

Edited by emveepee
Link to comment
Share on other sites

13 hours ago, emveepee said:

I am a hobbyist who programs for fun and I am interested in new developments and have keenly followed this pulled PR https://trac.ffmpeg.org/ticket/8349 and was curious what changes if any you may have made from the original PR to prepare it for ffmpeg 5 changes. This code is not in the main source.

This is not our own code. Credits for this go to Paul Mahol who did the base work (https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=451) and Aman Karmani who made improvements to get it working with mpegts streams: https://github.com/tmm1/FFmpeg/tree/ac4-improvements
(big thanks and kudos to Aman for pointing me at his changes!)

Edited by softworkz
Link to comment
Share on other sites

emveepee

Yes those are indeed great additions to open source and why it is so important to have source available.  An interesting alternative was posted by the author of NextPVR    https://github.com/sub3/FFmpeg/tree/ac4  with work started on ac4enc as well.  For some reason I though Emby had encoding.

Martin

Link to comment
Share on other sites

16 minutes ago, emveepee said:

with work started on ac4enc as well.  For some reason I though Emby had encoding.

This is not an encoder. It's just a muxer, probably copied from the AC3 muxer.

AFAIK, there's no open source encoder and nothing even close to that. Also, the AC-4 decoder is incomplete and lacking a range of features. Luckily it's sufficient for typical ATSC3 broadcast streams.

Link to comment
Share on other sites

emveepee

Right but it is a start.  This is all stop gap since real spatial ac4 will break ffmpeg  Ultimately ATSC 3 is just an experiment gone bad from Silicon Dust IMO.  Their transcoding model may not even be sustainable 

Martin 

Link to comment
Share on other sites

7 minutes ago, emveepee said:

Ultimately ATSC 3 is just an experiment gone bad from Silicon Dust IMO.

I'm not sure what you're talking about. The ATSC3 spec is not an invention from SD.

Link to comment
Share on other sites

emveepee

No but the only reason we are even talking about it is people are buying them from Silicon Dust and except for smaller size there is no reason that people should be buying them at this point, even if you buy into the SD infrastructure.  There are too many issue with ATSC 3.0 and it isn't even clear that the broadcasters will leave DRM off as long as the provide an ATSC 1.0 source.  Real AC3 audio from ATSC 1 will be better for many years.

Martin

Link to comment
Share on other sites

  • 2 months later...
8 minutes ago, emveepee said:

Is the source for ffmpeg.dll with Emby-Theater posted somewhere?

It doesn't have an ffmpeg.dll. It has a libmpv.dll and the mpv code doesn't have any custom changes.

Link to comment
Share on other sites

emveepee

Ok I am trying to see how electron.exe direct plays AC-4 I didn't know libmvp did that so I need to do more research and I saw this ffmpeg.dll

C:\Users\Martin\AppData\Roaming\Emby-Theater\system\x64\electron\*

2023-01-23   8:25       2,823,680  ffmpeg.dll

Martin

Edited by emveepee
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...