
Recherche avancée
Autres articles (98)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (11132)
-
Releasing GME Players and Tools
I just can’t stop living in the past. To that end, I’ve been playing around with the Game Music Emu (GME) library again. This is a software library that plays an impressive variety of special music files extracted from old video games.
I have just posted a series of GME tools and associated utilities up on Github.
Clone the repo and try them out. The repo includes a small test corpus since one of the most tedious parts about playing these files tends to be tracking them down in the first place.
Players
At first, I started with trying to write some simple command line audio output programs based on GME. GME has to be the simplest software library that it has ever been my pleasure to code against. All it took was a quick read through the gme.h header file and it was immediately obvious how to write a simple program.First, I wrote a command line tool that output audio through PulseAudio on Linux. Then I made a second program that used ALSA. Guess what I learned through this exercise ? PulseAudio is actually far easier to program than ALSA.
I also created an SDL player, seen in my last post regarding how to write an oscilloscope. I think I have the A/V sync correct now. It’s a little more fun to use than the command line tools. It also works on non-Linux platforms (tested at least on Mac OS X).
Utilities
I also wrote some utilities. I’m interested in exporting metadata from these rather opaque game music files in order to make them a bit more accessible. To that end, I wrote gme2json, a program that uses the GME library to fetch data from a game music file and then print it out in JSON format. This makes it trivial to extract the data from a large corpus of game music files and work with it in many higher level languages.Finally, I wrote a few utilities that repack certain ad-hoc community-supported game music archives into... well, an ad-hoc game music archive of my own device. Perhaps it’s a bit NIH syndrome, but I don’t think certain of these ad-hoc community formats were very well thought-out, or perhaps made sense a decade or more ago. I guess I’m trying to bring a bit of innovation to this archival process.
Endgame
I haven’t given up on that SaltyGME idea (playing these game music files directly in a Google Chrome web browser via Google Chrome). All of this ancillary work is leading up to that goal.Silly ? Perhaps. But I still think it would be really neat to be able to easily browse and play these songs, and make them accessible to a broader audience.
-
Wrong frame order/frame hickup in output video
5 juillet 2012, par TheSHEEEPI am encoding frames from a 3D engine to an mp4 video with sound.
Usually, the video (and input image) size is 640x360. With that size, there is no problem.But when I want to encode a 320x180 video (from input of 320x180), the resulting videos are sometimes(!!) stuttering, jumping back and forth in their frame order. Only the picture data is affected, though, as the sound is normal.
For encoding, I followed this tutorial, so the vital parts for encoding in my functions look like that :
http://dranger.com/ffmpeg/tutorial01.htmlAs I said, this only happens in the small video size, never in the big one.
I also made sure that the frames from the engine always come in in the correct order and are always encoded in the correct order.
The ffmpeg encoding takes place in its own thread, but that shouldn't matter (as it works with bigger video).If I insert a Sleep(10) before encoding each frame, the problem does not appear any more (or very, very rare).
Additional info : I just tried encoding to mpg instead of mp4, and the same thing happened. So the problem is codec independent.
Any ideas what could cause this ?
-
What is ffmpeg, avcodec, x264 ? [closed]
26 février 2016, par onmyway133From wiki, I read that
FFmpeg is a free software project that produces libraries and programs
for handling multimedia data. The most notable parts of FFmpeg are
libavcodec, an audio/video codec library used by several other
projects, libavformat, an audio/video container mux and demux library,
and the ffmpeg command line program for transcoding multimedia files.So ffmpeg is a wrapper of avcodec ? And I often hear that people encode video with x264 using ffmpeg. So ffmpeg is also a wrapper of x264 ?
How are they related ?