rtomasa / Media-Player

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Media-Player

A port of the powerful audio/video encoding/decoding library FFmpeg to libretro. This core allows playback of a variety of audio and video formats, with a fancy audio visualizer and the ability to do interframe blending for smoother scrolling of non-native framerates.

Important Note

This is a project based on libretro FFmpeg core used by Retroarch. Since the original core is included inside the main Retroarch project, it is not feasible to directly fork the same. I've reorganized the file and folder structure and performed some code refactoring to allow its isolation into a sepparated new project.

Author/License

Media-Player FFmpeg based project is authored by

  • Fabrice Bellard
  • FFmpeg team
  • Rubén Tomás (RTA)

Original FFmpeg Core Information

https://docs.libretro.com/library/ffmpeg/ https://github.com/libretro/docs/blob/master/docs/library/ffmpeg.md

Compilation

just execute make or make DEBUG=1 if you want a more verbose execution

IMPORTANT NOTE!!!

This core has been tested only in Raspberry Pi devices using a development version of RePlay OS

Controls

  • JOYPAD_LEFT - seek -15s
  • JOYPAD_RIGHT - seek +15s
  • JOYPAD_UP - seek +180s
  • JOYPAD_DOWN - seek -180s
  • JOYPAD_A - display progress
  • JOYPAD_B - display media title
  • JOYPAD_X - enable/disable video subtitles
  • JOYPAD_Y - change video lang audio track
  • JOYPAD_L - NOT SET (reserved for future m3u functionality)
  • JOYPAD_R - NOT SET (reserved for future m3u functionality)
  • JOYPAD_L2 - seek -300s
  • JOYPAD_R2 - seek +300s

Changelog

  • Added libretro API core option v2 support (removed v0)
  • Added new option to select video output resolution (refresh rate keeps native)
    • Native
    • PAL (576)
    • NTSC (480)
    • VGA (240)
  • Added internal variable to prevent CRT TV from setting Native video resolution (works only with RePlay OS)
  • Added new option to enable loop content
  • Added compilation flag to enable/disable FFmpeg debug messages
  • Added ability to display video title on start
  • Added ability to display music title on start
  • Added ability to display video audio track title when changing
  • Added ability to display music or video title when pressing B
  • Added ability to display current progress time when pressing A
  • Added ability to display current progress % in addition to time stamps
  • Disabled audio and subtitle track change when playing music
  • Changed API shutdown request on media finish to blank screen
  • Changed video audio track button mapping from L1 to Y
  • Changed video subtitle track button mapping from R1 to X
  • Changed some option labels and categorized by Music and Video
  • Changed Audio Visualizer Resolution (FFT Resolution) option values:
    • 320x240 for 4:3
    • 320x180 for 16:9
  • Changed HW decoder default value to Auto
  • Changed seek time from 10 to 15 (left/right) and from 60 to 180 (up/down)
  • Changed audio track OSD message to also display the track name
  • Fixed Fast Fourier Transform (FFT) bug preventing frontend from being displayed

TODO

  • Add M3U support
  • Add L2/R2 functionality to do next/last song/video in m3u lists
  • Add ffmpeg HW h264 acceleration (h264_v4l2m2m???)
  • Fix deadlock when seeking in some movies

About

License:Other


Languages

Language:C 95.5%Language:Python 2.8%Language:C++ 0.8%Language:Makefile 0.5%Language:Assembly 0.2%Language:Objective-C 0.1%Language:Perl 0.0%