cabrio suport video snaps and loop.

178 views
Skip to first unread message

Jorge Aragao

unread,
May 22, 2014, 7:37:35 PM5/22/14
to cabrio...@googlegroups.com
Hello friends !

I was looking at the git - hub on the cabrio FE and found a fork here -> https://github.com/fredbcode/cabrio interesting and that this version support video looping snaps . Compiled and works well !

The snaps work only MP4 video but appear with bugs and glitches ... I decided as follows ( ubuntu12.04 here ) .

install curlew

http://www.noobslab.com/2014/01/curlew-multi-converter-updated-to.html

selct Mp4 and select the Advanced, check box as in the picture attached .

Your videos will now be ok, but compiz will interfere causing glitch in videos .

you need to disable compiz , I use openbox with compiz instead of a script, and when I finish playing, compiz back to being active again .

U need install the openbox that way ;

sudo apt-get install -no-install -recommends gnome-panel openbox

And then run the script so that the cabrio will run without compiz with snaps and video will work perfectly after converted with curlew !

#!/bin/bash

openbox --replace &

sleep 1

killall -9 /usr/bin/gtk-window-decorator &

sleep 1

gnome-panel &

sleep 1

cabrio

killall -9 openbox &

sleep 1

killall -9 gnome-panel &

compiz --replace &

exit 0




thank you!


Jorge
config.xml
Captura de tela de 2014-05-21 21:41:46.png
Captura de tela de 2014-05-21 21:42:02.png
Captura de tela de 2014-05-21 22:21:18.png
Captura de tela de 2014-05-21 22:31:20.png

Fred B

unread,
May 23, 2014, 9:41:12 AM5/23/14
to cabrio...@googlegroups.com
Hi,

Thanks for your help
Yes I agree this version need more works about video, you can also try Livemamecab traceroot.c.la/test/  (Xubuntu 14.04 + mame 0.153 highscore no nag + retroarch + cabrio-Fe)

Mp4 and flv works fine but needs 30 fps and libavcodec and libavcodec version 53 (no sound with 54) but at least it works with recent Linux release

About cabrio-fe now with the latest commit the front-end record the latest game played, very useful with large list !


Fred B

unread,
May 23, 2014, 9:47:28 AM5/23/14
to cabrio...@googlegroups.com
I forgot, do you think that in your case the 30 fps was the problem ?
Message has been deleted

Jorge Aragao

unread,
May 24, 2014, 4:29:14 PM5/24/14
to cabrio...@googlegroups.com

atached images

Captura de tela de 2014-05-24 16:46:42.png
Captura de tela de 2014-05-24 16:47:19.png
Captura de tela de 2014-05-24 16:48:45.png
Captura de tela de 2014-05-24 17:27:28.png
config.xml

Fred B

unread,
May 25, 2014, 4:43:18 AM5/25/14
to cabrio...@googlegroups.com
Hi, and thank for your help,

Can you post a video with and without glitch, I mean version before and version after modifications ?
Also I don't understand right, with emumovies.com videos are good, except some with different aspect ratio ? (for example 16/9 ?)

Fred

Also the code need review, for example for avcodec_decode_audio3:

video.c: In function ‘video_decode_audio_frame’:
video.c:174:4: warning: ‘avcodec_decode_audio3’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3608) [-Wdeprecated-declarations]
    used = avcodec_decode_audio3( context, (int16_t *)audio_buffer, &data_size,
    ^

Jorge Aragao

unread,
Jun 2, 2014, 1:03:34 AM6/2/14
to cabrio...@googlegroups.com


hello
fred!

I am providing a camera to record the problem with the video snaps, Im put all detailed here.


thank you


Jorge

Fred B

unread,
Jun 2, 2014, 4:58:08 AM6/2/14
to cabrio...@googlegroups.com
Ok thanks,

I think I found where the problem is, take a look here Cabrio broken video
You can also try Livemamecab now, with several tools for Cabrio-FE

Fred B

unread,
Aug 18, 2014, 9:33:16 AM8/18/14
to cabrio...@googlegroups.com
Hi

New version:

- Fix ffmpeg problem -> but libavcodec53 still needed for sound :(
- New option "video loop" for snap
- New option "video sound" for snap
- New option "theme sound" music theme on/off
- New option "theme sound" volume (1 min -> 128 Max)  
- Save selection game at cabrio start

New options needed:

<video-loop>false/true</video-loop>
<video-sound>false/true</video-sound> *
<theme-sound>false</theme-sound>
<music-volume>50</music-volume> -> min 1 max 128

* Now works with libavcodec54 but without sound (libavcodec53 is needed), sorry

HELP NEEDED ! before proposing a merge to Steve - Fix sound problem with libavcodec54 (video.c https://github.com/fredbcode/cabrio/blob/master/video.c#L173 ) - Fix memory leak with xmlNodeGetContent (config.c) see valgrind --leak-check=full ./cabrio - Finalize new feature: one list = one button: new event LIST1 was already added

Fred B

unread,
Aug 19, 2014, 10:00:36 AM8/19/14
to cabrio...@googlegroups.com
- Finalize new feature: one list = one button: new event LIST1 was already added

Fixed
New option 'list"

Example: Keyboard touch a to directly switch to the first list and b for the second (max 5 lists)
<event>
<name>list1</name>
<value>a</value>
<device>
  <type>keyboard</type>
  <id>0</id>
</device>
</event>
<event>
<name>list2</name>
<value>b</value>
<device>
  <type>keyboard</type>
  <id>0</id>
</device>
</event>


Message has been deleted
Message has been deleted

Numsys

unread,
Oct 9, 2014, 5:09:05 AM10/9/14
to cabrio...@googlegroups.com

Le 05/10/2014 23:07, Wes Hodges a écrit :
> So what is the call for the theme sound? Also, what is the file
> association? (wav? mp3?)
>
> is it in the config.xml or in theme.xml? can you help me out and post
> what a correct structure for theme sound is supposed to look like please
>

Just put a file "music.mp3" in /usr/share/cabrio/sounds/
Reply all
Reply to author
Forward
0 new messages