3
« on: February 05, 2017, 08:02:50 PM »
I can confirm this is an issue for me as well. It seems to be an issue with the video stream in the Progetto encodes. Most of them play fine using the software decoder, but after enabling mmal playback in AM, they either show a blank image or just flat out crash ffmpeg decoder (sf2.mp4 for example).
My Pi3 is a clean install of RetroPie - Jessie updated, RetroPie updated - SFML-Pi, FFMPEG with MMAL, and AttractMode compiled as per the FAQ here.
As has been mentioned, the Emumovie encodes play fine with both software and mmal codecs. My uneducated guess would be that FFMPEG is having trouble handling the YUV color space in the Progetto clips.
Here's the output of ffprobe comparing the video for 005 in both collections:
pi@attractpi:~ $ ffprobe 005_emumovies.mp4
ffprobe version git-2017-02-05-326b1ed Copyright (c) 2007-2017 the FFmpeg developers
built with gcc 4.9.2 (Raspbian 4.9.2-10)
configuration: --enable-mmal --disable-debug --enable-memalign-hack --enable-shared
libavutil 55. 46.100 / 55. 46.100
libavcodec 57. 75.100 / 57. 75.100
libavformat 57. 66.101 / 57. 66.101
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 73.100 / 6. 73.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1e26a80] stream 0, timescale not set
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '005_emumovies.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isom
creation_time : 2013-03-07T03:44:14.000000Z
genre : Video Snaps
album : MAME Video Snaps
album_artist : Circo
artist : EmuMovies
comment : http://emumovies.com
title : 005
date : 2015
Duration: 00:00:27.03, start: 0.000000, bitrate: 250 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 480x640 [SAR 1:1 DAR 3:4], 161 kb/s, 59.94 fps, 59.94 tbr, 60k tbn, 119.88 tbc (default)
Metadata:
creation_time : 1970-01-01T00:00:00.000000Z
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 68 kb/s (default)
Metadata:
creation_time : 2013-03-07T03:44:14.000000Z
handler_name : GPAC ISO Audio Handler
Stream #0:2: Video: png, rgba(pc), 400x400 [SAR 2834:2834 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
pi@attractpi:~ $ ffprobe 005_progetto.mp4
ffprobe version git-2017-02-05-326b1ed Copyright (c) 2007-2017 the FFmpeg developers
built with gcc 4.9.2 (Raspbian 4.9.2-10)
configuration: --enable-mmal --disable-debug --enable-memalign-hack --enable-shared
libavutil 55. 46.100 / 55. 46.100
libavcodec 57. 75.100 / 57. 75.100
libavformat 57. 66.101 / 57. 66.101
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 73.100 / 6. 73.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '005_progetto.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
title : 005 [MAME]
artist : Progetto VideoSnaps by motoschifo & AntoPISA [gameplay by adolfo69]
encoder : Lavf54.20.4
comment : Created with: Mame version 0.162,
: Played by: adolfo69,
: Game name: 005 - 005,
: Date game played: 21 giugno 2015,
: Date video creation: 2 novembre 2015,
: Type: shortplay single-screen,
: Manufacturer: Sega,
: Display resolution: 224x256px (rotated by 270°),
: Link for info: http://adb.arcadeitalia.net/?mame=005,
: Copyright (C) - All rights reserved - Tutti i marchi e loghi appartengono ai rispettivi proprietari
genre : MAME video preview (shortplay)
Duration: 00:00:37.71, start: 0.000000, bitrate: 173 kb/s
Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuv444p, 224x256 [SAR 6:7 DAR 3:4], 38 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 59.94 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
handler_name : SoundHandler