
Recherche avancée
Autres articles (91)
-
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.
Sur d’autres sites (7018)
-
How to modify music pitch in audio of video file and still sound natural
9 janvier 2020, par Keith BennettI have some karaoke .mp4 video files (legally obtained) for Thai songs, and want to convert the pitch downward to fit my singing range. I’ve gotten most of the way there thanks to https://superuser.com/questions/292833/how-to-change-audio-frequency/1076762#1076762
using a command line like this :ffmpeg -i in.mp4 -af 'asetrate=35280.0,atempo=1.25' out.mp4
...but the instruments and human singing voices don’t sound natural at the modified pitch.
Is there a better way to change the pitch ? I know some commercial products can do this.
By the way, I wrote a Ruby script to simplify this ffmpeg call ; it’s at https://gist.github.com/keithrbennett/9ba7043792bfb2fcc92d615076a8413f. It enables you to specify a single factor, and modifies both pitch and tempo accordingly.
-
How do I correctly convert .avi to .flv with ffmpeg ? [closed]
25 septembre 2012, par terbooterUPDATE
Shame on me )
I chacked red5 logs again and found that I placed converted files to wrong place.
Now all works fineI have two red5 apps.
-
Recorder. It can record live stream and save it to flv file to disk
private void startRecord(String uid, String name, IConnection connection) {
// Get a reference to the current broadcast stream.
ClientBroadcastStream stream = (ClientBroadcastStream) this.getBroadcastStream(
connection.getScope(), name);
try {
// Save the stream to disk.
String path = uid + "/" + name;
stream.saveAs(path, true);
System.out.println("file..:" + stream.getSaveFilename());
} catch (Exception e) {
System.out.println("Error while saving stream: " + name + e);
}
}
private void stopRecord(String name) {
IConnection conn = Red5.getConnectionLocal();
System.out.println("Stop recording show for: {}" + conn.getScope().getContextPath());
ClientBroadcastStream stream = (ClientBroadcastStream) this.getBroadcastStream(conn.getScope(), name);
// Stop recording.
if (stream != null) {
stream.stopRecording();
}
} -
Second red5 app (Chat) streams recorded flv file to flash client
public static String serverStreamCreate(String path, String streamName) {
IServerStream serverStream = StreamUtils.createServerStream(Red5.getConnectionLocal().getScope(), streamName);
SimplePlayItem item = SimplePlayItem.build(path);
IPlaylistController controller = new MyPlayListController();
serverStream.setPlaylistController(controller);
serverStream.setRepeat(false);
serverStream.addItem(item);
serverStream.addItem(item);
serverStream.start();
return streamName;
}
If I record stream from flash client to flv file with Recorder and after that stream this flv file back to client with Chat, all works fine.
Now I want to convert avi file to flv and stream it from red5 app to flash client.
I used ffmpegffmpeg -i 24.avi -ar 22050 -an -f flv -b 500k -s 320x240 -y 24_c.flv
But if I stream 24_c.flv from Chat app flash client have no video.
24_c.flv cant be playd by VLC player and have same code information as flv file created by Recorder red5 app.I really dont know where to dig.
-
-
Anomalie #2388 : formulaires CVT multi-etapes et formulaires_editer_objet_charger
1er novembre 2011, par Severo Liparibon, au final, une solution qui semble marcher if (is_numeric($id_entidad) && intval($id_entidad)==$id_entidad) $valeurs = formulaires_editer_objet_charger(’chat’,$id_chat,$id_rubrique,$lier_trad,$retour,$config_fonc,$row,$hidden) ; else $valeurs = array() ; $valeurs[’nom’] = ’’ ; (...)