
Recherche avancée
Autres articles (63)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (10719)
-
Stream opus audio rtp to android device
7 février 2018, par Yuriy AizenbergI want to stream audio (opus codec) with ffmpeg directly to android device.
On PC i start stream :
./ffmpeg -re -stream_loop -1 -i akgld-c8mxm.opus -acodec libopus -ac 1 -ab 96k -vn -f rtp rtp://192.168.0.100:6000
Where 192.168.0.100 - local wifi address of my phone.
On Android device i tried to play stream :
public void tryPlayStream() {
String ip = Utils.wifiIpAddress(this);
StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitNetwork().build();
StrictMode.setThreadPolicy(policy);
AudioManager audio = (AudioManager) getSystemService(AUDIO_SERVICE);
audio.setMode(AudioManager.MODE_IN_COMMUNICATION);
audioGroup = new AudioGroup();
audioGroup.setMode(AudioGroup.MODE_ECHO_SUPPRESSION);
InetAddress inetAddress;
try {
inetAddress = InetAddress.getByName(ip);
audioStream = new AudioStream(inetAddress);
audioStream.setCodec(AudioCodec.PCMA);
audioStream.setMode(RtpStream.MODE_RECEIVE_ONLY);
InetAddress inetAddressRemote = InetAddress.getByName(ip);
audioStream.associate(inetAddressRemote, 6000);
audioStream.join(audioGroup);
} catch (Exception e) {
e.printStackTrace();
}
}In logcat i see next lines :
E/AudioRecord: AudioFlinger could not create record track, status: -1
E/AudioGroup: cannot initialize audio deviceWhat im doing wrong ? Thanks for any help
-
Use HLS from Wifi device as input to stream over 4G
26 février 2017, par pbdevI’m building an Android app that streams video from a Wifi device to a Wowza server. It should be quite simple but I can’t figure out how to use both Wifi and 4G at the same time. The device I’m using is a Samsung S5 with Android 6.0.1. To sum it up, this is the goal :
- Fetch the video stream from a GoPro device over Wifi.
- Send the video stream to a Wowza server over 4G.
When connected to the GoPro’s Wifi network I can ping the GoPro and see the stream in a
MediaPlayer
. Since I’m connected to a Wifi device that doesn’t provide internet access, I can’t ping my Wowza server. Once I’ve disabled Wifi this is no problem, by using FFmpeg I can reach the Wowza server over 4G.This is the FFmpeg command I want to use to copy the stream to the Wowza server, where
10.5.5.9
is the IP-address of the GoPro :ffmpeg -i http://10.5.5.9:8080/live/amba.m3u8 -acodec aac -ar 44100 -ab 48k -vcodec copy -f flv rtmp://username:password@my-wowza-server.com:1935/my-app/my-stream
If I enable Wifi and connect to the GoPro,
10.5.5.9
is reachable butmy-wowza-server.com
isn’t. The Samsung S5 provides a Smart network switch which makes the Wowza server reachable but the connection to the GoPro gets lost.Is there any way to bind
10.5.5.9
to the Wifi interface of the phone and bindmy-wowza-server.com
to the cellular interface ? -
Rotate mp4 videos without re-encoding
6 juillet 2024, par stedesI'm looking for a way to rotate videos shot with my Nexus 4 on my Debian Wheezy sytem. The videos are shot in portrait mode and I would like to rotate them to landscape mode. Preferably the rotation is command-line driven.



I have found several previous questions which are hinting at a good solution but I can't seem to manage to get it working.



To begin with there was this question :
Rotating videos with FFmpeg



But it indicates that ffmpeg is outdated and that I should use avconv. I found this question detailing the way to go forward.
https://askubuntu.com/questions/269429/how-can-i-rotate-video-by-180-degrees-with-avconv



This made me using following command :



avconv -i original.mp4 -vf "transpose=1" -codec:v libx264 -preset slow -crf 25 -codec:a copy flipped.mp4




However, this is painstakingly slow (last test took me more than 6 hours for less than 3 minutes of footage) and does not result in a playable movie. I also get an error in logging output which states Mb Rate > level limit.



Is there an issue here with the re-encoding ? Should I first re-encode the videos from my phone to another, more "workable" encoding before applying the rotations ? Or am I missing another important point ?