Shipping ffmpeg/libav

77 views
Skip to first unread message

sergio-br2

unread,
Aug 27, 2014, 11:57:13 PM8/27/14
to cabrio...@googlegroups.com
Hi,

Hey Fred and Steve, do you think it's a good idea to shipping ffmpeg/libav with Cabrio? Man, this is pretty easy to break... Fred just updated to 54 and I'm unable to compile against 55 in ubuntu 14.10.

PPSSPP emu has this approach, they maintain ffmpeg in a submodule in github.

I know that it's not the better approach if you want to send to the debian repo or other distro that complains about embedded code... but at least, this does not break with every update.

Build failed in 14.10: https://launchpadlibrarian.net/183366523/buildlog_ubuntu-utopic-amd64.cabrio_0.8.3-r262~ubuntu14.10.1_FAILEDTOBUILD.txt.gz


sergio-br2

Steve Maddison

unread,
Aug 28, 2014, 5:15:37 AM8/28/14
to cabrio...@googlegroups.com
It's definitely worth considering. It looks like the fix in this particular case is easy enough[1] but it's certainly a hard target to follow. I'll look into a good way to set up a subrepo, although I won't object to anyone doing this before I get round to it ;-)






sergio-br2

--
You received this message because you are subscribed to the Google Groups "Cabrio FE Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cabrio-fe-de...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Steve Maddison
http://www.cosam.org/

Fred B

unread,
Aug 28, 2014, 9:00:20 AM8/28/14
to cabrio...@googlegroups.com
Hi Sergio, Hi Steve

Yes works now with 54 but without sound in snap :(
About your problem It's strange I'm using Cabrio (from my github) in Xubuntu 14.04 without any issue, but I guess you could chose the version https://launchpad.net/ubuntu/utopic/+package/libavcodec54 or https://launchpad.net/ubuntu/utopic/+package/libavcodec55
And with libavcodec53 no problem at all, I mean sound in video snap.
You can also try Livemamecab a Xubuntu 14.10 with cabrio-fe (libavcodec53) and some extra tools, rom list generator, cabrio gui configuration ...

I already have two separate code for sound (53 and 54) https://github.com/fredbcode/cabrio/blob/master/video.c#L173 , it's hard to follow ...

If someone have an idea about my sound problem it will be great, after that I could submit to Steve a merge with some little new features.
Actually Cabrio-fe is broken from libavcode53 (see https://groups.google.com/forum/#!topic/cabrio-fe-dev/dnWNFr8JncM ) and it should be interesting if it can be used on recent OS because it's the most beautiful and fast front-end for Linux.

Fred


Fred B

unread,
Nov 21, 2014, 10:28:21 AM11/21/14
to cabrio...@googlegroups.com
Video fixed now at least with libavcodec54 (and 55 I guess)

sergio-br2

unread,
Oct 29, 2015, 11:20:27 AM10/29/15
to Cabrio FE Development
I can build cabrio with bundled libav 9.18, take a look: https://github.com/fredbcode/cabrio/pull/13

Need to be tested in other distro and ubuntu version.

The binary increases from 720 kB to 14 MB :o

I don't have idea what codec to disable (what the most used in these video snaps?), take a look at the build_libav_linux.sh script.

Fred B

unread,
Dec 22, 2015, 4:05:09 AM12/22/15
to Cabrio FE Development
Hi Sergio,

Unfortunately there are many videos that does not supported by cabrio, like .flv
Reply all
Reply to author
Forward
0 new messages