
Recherche avancée
Autres articles (85)
-
À propos des documents
21 juin 2013, parQue faire quand un document ne passe pas en traitement, dont le rendu ne correspond pas aux attentes ?
Document bloqué en file d’attente ?
Voici une liste d’actions ordonnée et empirique possible pour tenter de débloquer la situation : Relancer le traitement du document qui ne passe pas Retenter l’insertion du document sur le site MédiaSPIP Dans le cas d’un média de type video ou audio, retravailler le média produit à l’aide d’un éditeur ou un transcodeur. Convertir le document dans un format (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (8086)
-
Running an Terminal command inside a Directory
22 janvier 2014, par user3220153I want to run and tell ffmpeg, a video converter, to combine an audio and video file to one video file. I want to do this in terminal so I can do this repeatedly and quickly.
This works in Terminal :
[directoryX]/ ffmpeg -i [directoryX]/sound.wav -i [directoryX]/movie.avi video_finale.mpg
PauseBut I do NOT want to keep specifying the directory in Terminal because there are many folders in which I need to do this. I would like to create a .command file, copy it and the ffmpeg application (very small), and past it in every folder that needs a video conversion. I would then run the .command file and it would execute the command mentioned above in the local folder. What is the best way to approach this ???
This line in .command file does NOT work (inside the folder with ffmpeg, audio and video) :
ffmpeg -i sound.wav -i movie.avi video_finale.mpg
PauseI get :
wireless-10-146-122-30:~ yagostucky$ /Volumes/TURBOLINEA/inFrontOfMe/footage/jan-19-2014/dollGhost_duke_act1_scene3_take1/batch.command ; exit;
/Volumes/TURBOLINEA/inFrontOfMe/footage/jan-19-2014/dollGhost_duke_act1_scene3_take1/batch.command: line 1: ffmpeg: command not found
/Volumes/TURBOLINEA/inFrontOfMe/footage/jan-19-2014/dollGhost_duke_act1_scene3_take1/batch.command: line 2: pause: command not found
logout
[Process completed] -
Publish audio to an RTMP server for real time live streaming in C or C++
19 mai 2021, par AntenainaI want to publish audio stream to an RTMP server, for real time audio live streaming, from mobile device (with Android for example).

Suppose the mobile device has a way to yield to me those datas in real time (ex : using Oboe library). Packet by packet (a packet contains a certain number of audio frames).

When live streaming, there are some really custom computations to those datas that requires that I must send then little by little (packet by packet ?) to the RTMP server.

I'm trying to use FFMPEG for that purpose, and have similar problem with this thread's question : How to publish self made stream with ffmpeg and c++ to rtmp server ?. But the answer there is not detailed is not enough for me.

I tried reading FFMPEG code source, with the help of the documentation, but there are still some challenges I must face since I'm new to the streaming domain. What I need to know is :

- 

- How to properly configure FFMPEG for that purpose ? (
AVFormatContext
?) - What is the proper way to write the stream (
AVStream
) ? (I read somewhere that the packet needs to be of a specific size, and other stuffs too)






For simplicity :


- 

- I can handle the audio packet by packet and encoded.
- Audio is encoded as mp3.
- Audio has default sample rate of 44100 Hz, 320kb/s bitrate and some other details already known so that FFMPEG doesn't need to guess it.








Further informations :

I'm using react-native. For android : native modules to communicate with Java, JNI to communicate Java with C++, Oboe to record and play audio. For iOS : not a problem for the moment.

I use node-media-server as RTMP server.

Thanks !

- How to properly configure FFMPEG for that purpose ? (
-
Android : How to trim WAV audio programmatically in API 30 ?
26 mai 2021, par Andrea ZaffanellaI need to be able trim wav audio files for an application I'm building.. but I have several problems.
I tried using FFmpeg-android, but if you target the latest SDK, and in the future, android no longer allows using "FFmpeg.execute". I also tried with the newer mobile-FFmpeg, but the developer stopped maintaining it a few months ago... I also would like to avoid heavy frameworks to also work with video, since I only need to work with audio. I can't find answers anywhere, what am I supposed to do ?