
Recherche avancée
Autres articles (15)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
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 (2137)
-
ffmpeg issue with file paths and wav file [closed]
8 septembre 2023, par 101is5I'm trying to run :


ffmpeg -i audio_input_files/voz.wav voz.mp3



I'm using Windows 11 and I've tested it in PowerShell and CMD.


The issue here involves path syntax and file format.

As shown in an example from ffmpeg docs (ffmpeg -i /tmp/test%d.Y /tmp/out.mpg
) and many other sources, I should put a leading slash in relative paths. Here, however, that causesNo such file or directory
, for both slash and backslash. Unlike everywhere I've looked, removing the leading slash was the solution.

Now, if the input is provided as a path and it is a
.wav
file, I getInvalid data found when processing input
.

Providing just names (and being in the correct folder, obviously), e.g.
ffmpeg -i voz.wav voz.mp3
works just fine, though.

Is there a workaround for that, i.e. in case I want to use paths for wav files with ffmpeg ?


-
ffmpeg in a suexec php environment running on Ubuntu 14.04
25 mai 2015, par Flippsuson an Ubuntu 14.04 Server I configured an apache virtual host, that runs PHP scripts under a given system user (suExec + fcgid).
So far everything works.
The PHP script uses a library called PHP-FFMpeg, which again internally uses the programm ffmpeg, which I symlinked under
/usr/local/bin/ffmpeg
.Since
ffmpeg
is not supported under Ubuntu 14, I have installedavconv
, which can easily be symlinked with/usr/local/bin/ffmpeg
.But
avconv
was installed under/usr/bin/avconv
.Since I use the PHP directive
open_basedir
to restrict access to certain folders, I would have to add/usr/local/bin
to the open_basedir, which would not be a problem, because in this folder resist only a few programs.But because it is symlinked, and the command lives in
/usr/bin
, I would have to add/usr/bin
toopen_basedir
. I think this would be a bad idea.Do you have any advise or workaround to get a program such as /usr/bin/ffmpeg in such a security context ?
Thank you very much !
-
crystalhd : Use mpeg4_unpack_bframes to avoid buggy crystalhd handling
9 octobre 2016, par Philip Langdalecrystalhd : Use mpeg4_unpack_bframes to avoid buggy crystalhd handling
The hardware handling of packed bframes was always questionable but
it used to ok with my workaround. Today, not so much. But today we
have a bsf to unpack the bframes, so let’s just use that and be
done with it.