Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Kayin

Pages: [1]
1
General / Re: Video snaps play for a few seconds then stop. RPI2
« on: December 18, 2016, 01:23:02 PM »
So still kicking this trying to figure out whats up. When I compile it my results look like..

Code: [Select]
ffmpeg version git-2016-12-18-02aa070 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.9.2 (Raspbian 4.9.2-10)
  configuration: --enable-mmal --disable-debug --enable-memalign-hack --enable-shared
  WARNING: library configuration mismatch
  avutil      configuration: --pkg-config-flags=--static --extra-cflags='-fPIC -I/root/ffmpeg_build/include' --extra-ldflags=-L/root/ffmpeg_build/lib --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-pic --extra-ldexeflags=-pie --enable-shared
  avcodec     configuration: --pkg-config-flags=--static --extra-cflags='-fPIC -I/root/ffmpeg_build/include' --extra-ldflags=-L/root/ffmpeg_build/lib --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-pic --extra-ldexeflags=-pie --enable-shared
  avformat    configuration: --pkg-config-flags=--static --extra-cflags='-fPIC -I/root/ffmpeg_build/include' --extra-ldflags=-L/root/ffmpeg_build/lib --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-pic --extra-ldexeflags=-pie --enable-shared
  avdevice    configuration: --pkg-config-flags=--static --extra-cflags='-fPIC -I/root/ffmpeg_build/include' --extra-ldflags=-L/root/ffmpeg_build/lib --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-pic --extra-ldexeflags=-pie --enable-shared
  avfilter    configuration: --pkg-config-flags=--static --extra-cflags='-fPIC -I/root/ffmpeg_build/include' --extra-ldflags=-L/root/ffmpeg_build/lib --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-pic --extra-ldexeflags=-pie --enable-shared
  swscale     configuration: --pkg-config-flags=--static --extra-cflags='-fPIC -I/root/ffmpeg_build/include' --extra-ldflags=-L/root/ffmpeg_build/lib --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-pic --extra-ldexeflags=-pie --enable-shared
  swresample  configuration: --pkg-config-flags=--static --extra-cflags='-fPIC -I/root/ffmpeg_build/include' --extra-ldflags=-L/root/ffmpeg_build/lib --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-pic --extra-ldexeflags=-pie --enable-shared
  postproc    configuration: --pkg-config-flags=--static --extra-cflags='-fPIC -I/root/ffmpeg_build/include' --extra-ldflags=-L/root/ffmpeg_build/lib --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-pic --extra-ldexeflags=-pie --enable-shared
  libavutil      55. 43.100 / 55. 29.100
  libavcodec     57. 68.100 / 57. 54.101
  libavformat    57. 61.100 / 57. 48.101
  libavdevice    57.  2.100 / 57.  0.102
  libavfilter     6. 68.100 /  6. 58.100
  libswscale      4.  3.101 /  4.  1.100
  libswresample   2.  4.100 /  2.  1.100
  libpostproc    54.  2.100 / 54.  0.100

This is an old install (from Wheezy) that's been upgraded to Jessie and has all sorts of experimenting done on it. The idea of starting from scratch is terrible but I might have to do it at this rate. Trying to find old or unnecessary packages that might be interfering with things.

2
General / Re: Video snaps play for a few seconds then stop. RPI2
« on: December 17, 2016, 10:24:00 PM »
I had issues following the steps and recompiling AM and not having mmal show up. Which is fine, I'll fuss around with it and figure it out, but knowing I don't have to chase after ffmpeg like that as the possible cause of the issue cuts a HUGE amount of time out of stuff (especially since ffmpeg easily takes the longest to compile). So thanks a ton for clearing that up for me, hopefully I can get this working now.

edit: actually double checking, ffmpeg is definitely the problem.  D.V.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_mmal ) doesn't show up and I got library misconfigurations a mile long. Clearly something is installed somewhere that's fucking things up and I just gotta try and figure it out I guess.

3
General / Re: Video snaps play for a few seconds then stop. RPI2
« on: December 17, 2016, 02:58:24 AM »
Hey Progets, out of curiousity, with your build of ffmpeg, if you do ...

ffmpeg -codecs | grep h264_mmal

do you get anything?It was necessary last time I got MMAL to (crappily) work on attractmode but I'm wondering if its a red herring for me getting it to work right now.

4
Announcements / Re: Version 2.2.0 Released
« on: November 23, 2016, 01:31:04 AM »
Having a hell of a time trying to get mmal to work still just following the wiki. For those who have this working, do you get a result when you run ffmpeg -codecs | grep mmal ? Thats something that seemed needed previously but I cannot get it to show up with --enabled-shared on. And no matter what I do and recompiling Attractmode each time, I can't get MMAL to show up on the decoder menu.  Is there any dependencies that might not be listed or.. I don't know, things I should remove? This is an oldish setup (Everything is up to date, but its seen endless amounts of tweaking and testing and package removal and reinstallation so I imagine there could be something small and stupid I'm missing)

Make sure you have removed any previous ffmpeg or libav packages you may have installed previously before building ffmpeg yourself.  It might be that you have a conflicting ffmpeg package that attractmode is linking to

To confirm what ffmpeg attract-mode is getting, run
Code: [Select]
attract --version and compare the version of avcodec against the version of ffmpeg that you are compiling with mmal enabled

hope this helps

A bit, clearing out some old bits helped things along a bit where MMAL will show up in decoders but won't show anything. This was after compiling it without --enabled-shared (which is... probably why it didn't work but doing it with that flag doesn't show the 264 MMAL codec). So I guess my question here to make sure of everything is... What does "ffmpeg -codecs | grep mmal" return in a working build? Because if the results are supposed to be different I'll at least know to stop barking up that tree.

(alternatively, can we get a deb or binaries? >_>;)

5
Announcements / Re: Version 2.2.0 Released
« on: November 17, 2016, 08:53:12 PM »
Having a hell of a time trying to get mmal to work still just following the wiki. For those who have this working, do you get a result when you run ffmpeg -codecs | grep mmal ? Thats something that seemed needed previously but I cannot get it to show up with --enabled-shared on. And no matter what I do and recompiling Attractmode each time, I can't get MMAL to show up on the decoder menu.  Is there any dependencies that might not be listed or.. I don't know, things I should remove? This is an oldish setup (Everything is up to date, but its seen endless amounts of tweaking and testing and package removal and reinstallation so I imagine there could be something small and stupid I'm missing)

6
General / Re: Raspberry Pi Image for Pi 2 and Pi 3
« on: August 20, 2016, 11:59:09 AM »
Nicodemus keeps getting hit by sneaky spaces. D:

Its probably ask a thousand times... Can someone please tell me how to install Attract mode. Is it possible to flash it on top of my up and running RetroPie?

Its pretty easy now compared to back awhile ago.
https://github.com/mickelson/attract/wiki/Compiling-on-the-Raspberry-Pi-(Raspbian-Jessie) Follow this step by step. Then you can just make a simple script in ports that launches it.

Thanks for the reply, will try it now! Just to make sure, i can run this when i have a perfect retropie allready on my sd?

That's how I did it, yeah! Setting up little details (like if you want to use runcommand, mostly because it doesn't give useful errors) can be a little annoying but other than that it works perfectly.

7
General / Re: Raspberry Pi Image for Pi 2 and Pi 3
« on: August 20, 2016, 02:11:14 AM »
Nicodemus keeps getting hit by sneaky spaces. D:

Its probably ask a thousand times... Can someone please tell me how to install Attract mode. Is it possible to flash it on top of my up and running RetroPie?

Its pretty easy now compared to back awhile ago.
https://github.com/mickelson/attract/wiki/Compiling-on-the-Raspberry-Pi-(Raspbian-Jessie) Follow this step by step. Then you can just make a simple script in ports that launches it.

8
General / Re: Raspberry Pi Image for Pi 2 and Pi 3
« on: August 18, 2016, 07:17:49 PM »
OH. MISSING A SPACE

you got _SYS_arcade but you need _SYS arcade

Hope it works perfectly!

9
General / Re: Raspberry Pi Image for Pi 2 and Pi 3
« on: August 18, 2016, 06:47:37 PM »
Weird, where does it fail? I found arcade to be finnicky myself but I'd get the window and then the rom wouldn't read for some reason, so where arew you at?

Though in my case I built my own AM setup over retropie rather than using floobs image so maybe there are some differences there.

10
General / Re: Raspberry Pi Image for Pi 2 and Pi 3
« on: August 18, 2016, 01:09:38 PM »
You should be able to copy one of floobs other emulator configs that use run command (probably the mame one for simplicity sake) and where it says "0 _SYS_ mame [romefilename]" just change mame to arcade and it should work.

11
General / Re: Raspberry Pi Image for Pi 2 and Pi 3
« on: August 11, 2016, 01:04:58 AM »
It got changed due to lots of talk about reducing input latency as much as possible. Definitely not a mistake and kinda bummed I gotta change that to avoid issues. :( Gotta fight to shave off those frames!

Has anyone set up attract mode for a cocktail cabinet?
For cocktail the tv screen is vertical
I know in options u can change display and rotate so menu appears vertical

Is there a way to get this working on mame?
Do you have to use a particular mame? Is any tv/monitor going to work or you have to get a certain kind? I go to options on mame the flip option works fine but stays the same. Even when switched to cocktail it doesn't rotate

I've done this, but I edited a theme until it looked right, so there are no quick and easy way to do it (though tweaking a simple theme doesn't take too long. I probably spent a half hour to get pretty good results). I'd just set up a windowed instance of attract mode in roughly the aspect resolution you want and just mess with things until it works. Most layouts are designed in a way to be pretty forgiving. Though you might have to set things differently if you're doing a build that's 'natively landscape' but rotated in mame or whatever.

edit: Also got MMAL working but it didn't seem to ultimately be terribly worth it. used this deb ( https://nwgat.ninja/installing-mpv-with-hardware-decoding-on-raspberry-pi-1-2-3-zero/ ) while skipping the MPV stuff and then rebooted and it worked and showed h264_mmal on the codec list. Then I had to recompile Attractmode to make it selectable. The problem is their is a slight hiccup  on each video transition so since my pi3 can handle my video needs on software (not going too big with videos) I figure I'd rather have smoothness, though this might be way more useful on pi2s (or maybe I just have to adjust something?)

Pages: [1]