
Recherche avancée
Médias (29)
-
#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
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (47)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)
Sur d’autres sites (6919)
-
FFmpeg - cannot find ExecuteBinaryResponseHandler - Android/Java
20 juillet 2018, par pudilityI am trying to make a module for react-native that will change a video into a gif. I have little to no experience with android studios/java, but I would love to learn more ! I am using this library to convert the video to a gif. Here is my code :
package com.reactlibrary;
import android.widget.Toast;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
import com.github.hiteshsondhi88.libffmpeg.FFmpeg;
public class RNGifMakerModule extends ReactContextBaseJavaModule {
private final ReactApplicationContext reactContext;
public RNGifMakerModule(ReactApplicationContext reactContext) {
super(reactContext);
this.reactContext = reactContext;
}
@Override
public String getName() {
return "RNGifMakerModule";
}
@ReactMethod
public void alert(String message) {
Toast.makeText(getReactApplicationContext(), "Error", Toast.LENGTH_LONG).show();
String[] cmd = {"-i"
, message
, "Image.gif"};
conversion(cmd);
}
public void conversion(String[] cmd) {
FFmpeg ffmpeg = FFmpeg.getInstance(this.reactContext);
try {
// to execute "ffmpeg -version" command you just need to pass "-version"
ffmpeg.execute(cmd, new ExecuteBinaryResponseHandler() {
@Override
public void onStart() {
}
@Override
public void onProgress(String message) {
}
@Override
public void onFailure(String message) {
}
@Override
public void onSuccess(String message) {
}
@Override
public void onFinish() {
}
});
} catch (FFmpegCommandAlreadyRunningException e) {
// Handle if FFmpeg is already running
e.printStackTrace();
}
}
}And I get this error :
Error:(43, 31) error: cannot find symbol class ExecuteBinaryResponseHandler
This seems odd to be, because in the documentation for ffmpeg-android-java it says to use almost exactly the same code.
Bounty
The bounty will be awarded to you if you can find a way to convert a video.mp4 into a gif. You do not necessarily have to use
FFmpeg
, but your solution has to work with java/android studios. -
How do I make audio work with pulseaudio in systemd ? [migrated]
1er avril 2022, par user5827693I'm trying to live stream my website to the rtmp server via pulseaudio, ffmpeg and chromium in ubuntu 20.04. Everything works great if I execute the following commands in shell :


pulseaudio&
ffmpeg -y -f x11grab -draw_mouse 0 -s 1280x720 -i :1.0+0,0 -f pulse -ac 2 -i default -c:v libx264 -c:a aac -b:a 128k -f flv MY_SERVER &> /dev/null < /dev/null &
DISPLAY=:1.0 chromium-browser --autoplay-policy=no-user-gesture-required --disable-gpu --user-data-dir=/tmp/test --window-position=0,0 --window-size=1280,720 --app=MY_URL &



However if I try to setup the same logic via systemd - everything works fine, except there is no audio. Below are my systemd files.


pulseaudio.service


[Unit]
Description=PulseAudio system server

[Service]
User=ubuntu
Type=notify
ExecStart=/usr/bin/pulseaudio --daemonize=no
Restart=always

[Install]
WantedBy=multi-user.target



chromium.service


[Unit]
Description=start chromium browser
After=pulseaudio.service

[Service]
User=ubuntu
Type=simple
Environment=DISPLAY=:1.0
ExecStart=/usr/bin/chromium-browser --autoplay-policy=no-user-gesture-required --disable-gpu --user-data-dir=/tmp/test --window-position=0,0 --window-size=1280,720 --app=MY_URL
Restart=always

[Install]
WantedBy=multi-user.target



ffmpeg.service


[Unit]
Description=start ffmpeg
Requires=display.service pulseaudio.service
After=pulseaudio.service

[Service]
User=ubuntu
Type=simple
ExecStart=/usr/bin/ffmpeg -y -f x11grab -draw_mouse 0 -s 1280x720 -i :1.0+0,0 -f pulse -ac 2 -i default -c:v libx264 -c:a aac -b:a 128k -f flv MY_SERVER
Restart=always

[Install]
WantedBy=multi-user.target



I do not see any errors in my syslog regarding the audio. I can't figure out why it would work from shell but not from systemd.


I tried the following :


- 

- Ran pulseaudio systemwide
- Tried to setup systemd under root user
- Tried to setup systemd under non root user
- Tried all possible pulseaudio params










-
FFMPEG, how to create custom waveform
9 juin 2017, par Bodie LeonardI have done research trying to create a waveform with FFMPEG and am currently able to create a white png with the wave being transparent. The goal is to generate the wave like the smooth wave below and have the grey be transparent.
Here is my current FFMPEG waveform generator and output.
ffmpeg -i ./_test.mp3 -filter_complex \
"[0:a]aformat=channel_layouts=mono,compand=gain=-6, \
showwavespic=s=450x46:colors=white,negate[a]; \
color=white:450x46[c]; \
[c][a]alphamerge" -vframes 1 _test.png