-
Notifications
You must be signed in to change notification settings - Fork 59
Switch from FFmpeg to Libav #110
Comments
This is a possibility if it supports the same commandline arguments as It looks like it does as per this issue comment, so it is probably compatible: layeh/gumble#8 (comment) This is something I forgot about, thanks for reminding me! |
It should for the majority as far as I am concerned. I am trying to get this running on a Raspberry Pi device. Debian removed ffmpeg as many other operating systems did. It was present in Debian 7, unavailable in Debian 8 (current), and will be present again in Debian 9 (released at the end of the year). Both packages will co-exist within the operating system repository, but it is recommended to only have one installed at a time. ffmpeg is available as a backport to Debian 8. Because Raspberry Pi is not supported within the Linux kernel as of yet (but it is in progress), a custom Debian called Raspbian has to be used, which is limited and does not have backports. I am currently compiling ffmpeg on the device (taking a few hours) crossing my fingers it will end up being a solution. However, just being able to do "apt-get install libav-tools" and being able to get going, is much welcome. It is most likely best to include a ffmpeg / libav-tools compile argument to make this easier, as really all it means is either putting "ffmpeg" or "avconv" in place. Thank you for your consideration, and quick reply. |
I just made a change that should allow you to use All you need to do is change the configuration value |
I am unable to finish compilation. I do not see any Go files in the golang/protobuf repository either. I do see some in subdirectories though. Has the repository perhaps received a directory structure update? can't load package: package github.com/golang/protobuf: no buildable Go source files in /home/lilith/mumbledj/.vendor/src/github.com/golang/protobuf |
Nothing in the directory structure of the repository has changed, as all I did was edit existing files. I think this has something to do with that package error at the top of your log. Can you try deleting your MumbleDJ directory and re-cloning the repository? |
can't load package: package github.com/timshannon/go-openal: no buildable Go source files in /home/lilith/mumbledj/.vendor/src/github.com/timshannon/go-openal Why does it not point to "github.com/timshannon/go-openal/openal" and "github.com/golang/protobuf/proto"? The full log: |
Not sure why this is happening to you, my compilation works fine. I think this should solve it though.
Let me know! |
Running those commands do not output any errors (nor any output at all, so they most likely succeeded without fail). I am using all packages provided by Debian 8. Perhaps that might be why? Do I need to re-run make or can I continue? |
Another issue, it seems one of the script is trying to invoke "sudo". I believe this is bad practice, as in general it should be invoked by the user, at the start of the script. On servers I do not use sudo. I have a normal user account and a root account. If I need to perform root operations I switch to the root account. root@pi:/home/lilith/mumbledj# make install |
You shouldn't see any output if the commands were successful. My machine is currently running on the latest Xubuntu release so there might be some minor discrepancies between our systems. Yeah I agree that the use of If you are running |
I am unable to successfully perform "make install", even when purging sudo from the file and running it under the root account: root@pi:/home/lilith/mumbledj# make install Is there anyway where I can have the "make" file target the previous two failing github.com directories correctly? This way I can at least have make finish without any errors. |
Can you verify that there is a compiled binary in your MumbleDJ directory? If there is one there, can you tell me what it is named? |
There is none as far as I am concerned: root@pi:/home/lilith/mumbledj# make install |
Did you run |
Make fails because it points to: github.com/timshannon/go-openal Instead of: github.com/timshannon/go-openal/openal I have no idea how I can modify the script to have it point to the correct directories. |
Oh, strange. Does I've never encountered this issue before, bear with me. 😆 |
It is the same issue we discussed a few hours ago. You told me to manually run some commands. But for "make" to finish successfully, the script has to properly run those commands, and because the script is retrieved remotely, I can not modify them to point to the correct directories with the Go files to compile. |
Ah, I understand now. I will have to take a longer look at this and maybe see if I can replicate the issue. I suspect it has something to do with Sorry about misunderstanding! I will continue to look around and see if I can figure something out. |
Is there any way I can have "make" finish successfully by pointing to those two correct directories? |
The only quick possible solution I can think of at the moment is to create a symbolic link between the incorrect directories and the correct ones. It is a bit of an ugly hack and I'm not sure if it would work, but it is worth a shot. |
FFmpeg is being deprecated from operating system repositories in favour of Libav. Would it be possible for this project to switch over?
It should be as simple as replacing all "ffmpeg" command instances with "avconv".
A link explaining the situation of libav being favoured over ffmpeg:
http://blog.pkh.me/p/13-the-ffmpeg-libav-situation.html
EDIT: As explained in the article, the majority of operating systems are, or will be, including both ffmpeg and libav-tools in their repositories. So it is favourable to have a switch between the two, instead of removing ffmpeg over libav-tools.
The text was updated successfully, but these errors were encountered: