
Recherche avancée
Autres articles (44)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (4563)
-
Cannot find file and compress using ffmpeg exec in PHP
18 janvier 2021, par MigerI'm trying to compress files with ffmpeg but despite having the correct file path it cannot find the file :


I'm using this code here :


echo $ypath;
exec("ffmpeg -i ".$ypath." -vf 'scale=iw/3:ih/3' ".$prevPath ." 2>&1", $error);
foreach($error as $next) {
 echo "<br />".$next;
}



And get this result :


../data/mydirectory/buffer/1610997353779_D012&ForestDescend.mp4
sh: 1: ForestDescend.mp4: not found



What's the problem, why can't it find the file in question. I'm 100% sure the path is correct because I'm using it further above the code to convert images who are in the same directory.


How can I solve this issue ?


-
How to pass file name that contains hyphen to ffmpeg/ffprobe [on hold]
28 juin 2019, par zmd989I have the following command :
ffprobe -f lavfi -i movie=report-:sample.avi,fps=fps=30[out0] -show_frames -show_entries frame=pkt_pts_time -of csv=p=0
As you can see, the file name has a hyphen after "report" and with this command, I have been getting the following error :
[Parsed_movie_0 @ 0x55768a61b100] Failed to avformat_open_input
’report-’ [lavfi @ 0x55768a6193e0] Error initializing filter ’movie’
with args ’report-:sample.avi’
movie=report-:sample.avi,fps=fps=30[out0] : No such file or directoryI think it is detecting the hyphen as an option ? How do I solve this issue ?
I tried adding — after -i but that did not work.
-
Using FFMPEG To Fill in Gaps of a Raw Audio UDP Stream
14 février 2020, par WallaceI have a software defined radio (SDR) that picks up audio from emergency services and with the help of software, streams raw audio using UDP. The audio is PCM signed 16-bit little-endian. The UDP stream is also not constant and only has data when audio is detected.
The problem I’m trying to solve is that I would like the gaps in recorded audio to be filled with silent or Null audio. Below are just a couple of my attempts at resolving this :
- ffmpeg -f s16le -ar 8000 -i udp ://127.0.0.1:23456 -af aresample=async=1 -acodec libmp3lame -
f rtp rtp ://127.0.0.1:1234 - ffmpeg -re -f lavfi -i anullsrc -f s16le -ar 8000 -i udp ://127.0.0.1:23456 -filter_complex
amix=inputs=2:duration=first -acodec libmp3lame -f rtp rtp ://127.0.0.1:1234
I guess my questions are regarding the best way to resolve this and whether or not ffmpeg can be used in a way to accomplish this ?
- ffmpeg -f s16le -ar 8000 -i udp ://127.0.0.1:23456 -af aresample=async=1 -acodec libmp3lame -