
Recherche avancée
Médias (9)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (66)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (9628)
-
How can I install FFmpeg so that pkg-config can find it ?
11 octobre 2024, par Project PowerPointI want to use the ffmpeg libraries in my program. These are libavformat and libavcodec. To link them, I'm trying to use pkg-config.


I cannot get pkg-config to find these libraries.


When I run

pkg-config --modversion libavcodec

I get
Can't find libavcodec.pc in any of C:/Strawberry/c/lib/pkgconfig


Which should mean that I don't have ffmpeg installed.


However, I did install ffmpeg.
I'm using Windows so I installed ffmpeg with the Chocolatey package manager. This seems to have only given me the ffmpeg program and not its libraries.


On MacOS simply using homebrew to install ffmpeg installs all the right files.


Is there a difference on Windows ? How can I get the dev package ?


SOME MORE INFO :


I'm compiling this using CMake-js as a node addon. This is my CMakeLists.txt file :


cmake_minimum_required(VERSION 3.9)
project(FFMpeg)

find_package(PkgConfig REQUIRED)
pkg_check_modules(AVCODEC REQUIRED IMPORTED_TARGET libavcodec)
pkg_check_modules(AVFILTER REQUIRED IMPORTED_TARGET libavformat)
pkg_check_modules(AVDEVICE REQUIRED IMPORTED_TARGET libavdevice)
pkg_check_modules(AVUTIL REQUIRED IMPORTED_TARGET libavutil)
pkg_check_modules(SWRESAMPLE REQUIRED IMPORTED_TARGET libswresample)
pkg_check_modules(SWSCALE REQUIRED IMPORTED_TARGET libswscale)

add_library(FFMpeg INTERFACE IMPORTED GLOBAL)

target_include_directories(
 FFmpeg INTERFACE
 ${AVCODEC_INCLUDE_DIRS}
 ${AVFILTER_INCLUDE_DIRS}
 ${AVDEVICE_INCLUDE_DIRS}
 ${AVUTIL_INCLUDE_DIRS}
 ${SWRESAMPLE_INCLUDE_DIRS}
 ${SWSCALE_INCLUDE_DIRS}
)

target_link_options(
 FFmpeg INTERFACE
 ${AVCODEC_LDFLAGS}
 ${AVFILTER_LDFLAGS}
 ${AVDEVICE_LDFLAGS}
 ${AVUTIL_LDFLAGS}
 ${SWRESAMPLE_LDFLAGS}
 ${SWSCALE_LDFLAGS}



I also found this in the output, which might explain why pkg-config is looking in
C:\Strawberry?


-- Found PkgConfig: C:/Strawberry/perl/bin/pkg-config.bat (found version "0.26")
-- Checking for module 'libavcodec'
-- Can't find libavcodec.pc in any of C:/Strawberry/c/lib/pkgconfig



-
Mp3 file not showing in any media player after creating through ffmpeg
4 mai 2019, par Aashit ShahMp3 file not showing in any application after the mp3 file is saved . After 15 odd minutes it is automatically shown . if i manually change the name from file manager it will be instantly shown . How to solve this problem .
Uri uri = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;
String[] projection = {
MediaStore.Audio.Media.TITLE,
MediaStore.Audio.Media.DATA,
MediaStore.Audio.Media.DISPLAY_NAME,
MediaStore.Audio.Media.DURATION,
MediaStore.Audio.Media.ALBUM_ID
};
String sortOrder = MediaStore.Audio.Media.DISPLAY_NAME
Cursor c = getContentResolver().query(uri,projection,null,null,sortOrder);
if(c.moveToFirst())
{
do {
String title = c.getString(c.getColumnIndex(MediaStore.Audio.Media.TITLE));
String data = c.getString(c.getColumnIndex(MediaStore.Audio.Media.DATA));
String name = c.getString(c.getColumnIndex(MediaStore.Audio.Media.DISPLAY_NAME));
String duration = c.getString(c.getColumnIndex(MediaStore.Audio.Media.DURATION));
String albumid= c.getString(c.getColumnIndex(MediaStore.Audio.Media.ALBUM_ID));
Songs song = new Songs(title,data,name,duration,albumid);
songs.add(song);
title1.add(name);
}while (c.moveToNext());
}Output file path :
Environment.getExternalStorageDirectory()+ "/Trim"+".mp3";
This is my command :
"-y","-ss", start,"-i", input_path,"-t", end,"-metadata","title=Trim","-acodec", "copy","-preset", "ultrafast",output_path
-
Chrome "stalling" when streaming mp3 file from nodejs windows only
8 octobre 2015, par Alan HollisWe’ve got a really annoying bug when trying to send mp3 data. We’ve got the following set up.
Web cam producing aac -> ffmpeg convert to adts -> send to nodejs server -> ffmpeg on server converts adts to mp3 -> mp3 then streamed to browser.
This works *perfectly" on Linux ( chrome with HTML5 and flash, firefox flash only )
However on windows the sound just "stalls", no matter what combination we use ( browser/html5/flash ). If however we shutdown the server the sound then immediately starts to play as we expect.
For some reason on windows based machines it’s as if the sound is being buffered "waiting" for something but we don’t know what that is.
Any help would be greatly appreciated.
Relevant code in node
res.setHeader('Connection', 'Transfer-Encoding');
res.setHeader('Content-Type', 'audio/mpeg');
res.setHeader('Transfer-Encoding', 'chunked');
res.writeHeader('206');
that.eventEmitter.on('soundData', function (data) {
debug("Got sound data" + data.cameraId + " " + req.params.camera_id);
if (req.params.camera_id == data.cameraId) {
debug("Sending data direct to browser");
res.write(data.sound);
}
});Code on browser
soundManager.setup({
url: 'http://dashboard.agricamera.co.uk/themes/agricamv2/swf/soundmanager2.swf',
useHTML5Audio: false,
onready: function () {
that.log("Sound manager is now ready")
var mySound = soundManager.createSound({
url: src,
autoLoad: true,
autoPlay: true,
stream: true,
});
}
});