
Recherche avancée
Médias (1)
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (45)
-
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 -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (7561)
-
How to scroll and zoom an image at the same in ffmpeg ?
8 décembre 2024, par neeebzzI have an image of the height 1200px. I want to create a video from this single image.


My final video will be height 450px.


At 0seconds I want to show a 2xZoomed version of the image. Then it in 2 seconds it should zoom out to it's original width. And then it start scrolling to the bottom and then at the end it starts scrolling back. This should be on loop until the end of the video.


Also I am want the this whole image to be faded to 50% since I will overlay another video on top of it.


I am trying to use the zoompan filter but it seems to be not working. Especially I tried using
t
variable in it to change zoom based on duration but it doesn't accept.

-
Can we provide a raw stream of microphone data Unit8List as a Input to ffmpeg and save the output file as .wav or .mp3
21 juillet 2023, par UdayThe goal is to listen to a live microphone stream (don't want to store it locally)and try to pass it to the RTSP server or to a .mp3 or .wav file locally.


FFmpeg lib :ffmpeg_kit_flutter


Mic Stream lib : https://pub.dev/packages/mic_stream


stream = await MicStream.microphone(
 audioSource: AudioSource.DEFAULT,
 sampleRate: 44100,
 channelConfig: ChannelConfig.CHANNEL_IN_STEREO,
 audioFormat: AudioFormat.ENCODING_PCM_16BIT);

listener = stream!.listen((recordedData) async {
 await processData(recordedData);
});



And in Process data, I want to convert this raw Unit8List data to .mp3 or transmit it to rtsp server live.


any of the commands i want to execute


Future<void> processData(Uint8List data) async {
//var command = '-i "$data" -f rtsp -rtsp_transport tcp -y "$RtspUrl"';


//var command = '-i "$data" "/storage/emulated/0/Download/androidvideo.mp3"';

FFmpegKit.execute(command).then((session) async {
 final returnCode = await session.getReturnCode();
 final logs = await session.getLogs();
 for (var element in logs) {
 print('logs:${element.getMessage()}');
 }
 if (ReturnCode.isSuccess(returnCode)) {
 print('Command execution completed successfully.');
 } else if (ReturnCode.isCancel(returnCode)) {
 print('Command execution completed CANCEL.');
 listener.cancel();
 } else {
 print('Command execution completed ERROR.');
 listener.cancel();
 }
});
}
</void>


-
OpenCV 4.5.2 VideoWriter produces “can't find starting number” error
28 avril 2021, par Peter KronenbergThere are several issues with similar names, but none of them seem to have a definitive answer. Using the last version of OpenCV 4.5.2 with Java on Windows 10. Below is a short reproducible test case which results in


[ERROR:0] global C:\build\master_winpack-bindings-win64-vc14-static\opencv\modules\videoio\src\cap.cpp (589) cv::VideoWriter::open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.5.2) C:\build\master_winpack-bindings-win64-vc14-static\opencv\modules\videoio\src\cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): C:/testfiles/output.avi in function 'cv::icvExtractPattern'



Here is the code :


public class OpenCVError {

 public static void main(String[] args) {
 System.loadLibrary(Core.NATIVE_LIBRARY_NAME);

 final int fourcc = VideoWriter.fourcc('m', 'j', 'p', 'g');
 final double fps = 30.00;
 Size frameSize = new Size(1080, 1920);
 VideoWriter videoWriter = new VideoWriter("C:/testfiles/output.avi", fourcc, fps, frameSize, true);
 }
}



Update


Found out from https://forum.opencv.org/t/error-in-java-cant-find-starting-number-in-the-name-of-file/3014 that I seem to be missing
opencv_videoio_ffmpeg452_64.dll

I am using the Maven distribution at

<dependency>
 <groupid>org.openpnp</groupid>
 <artifactid>opencv</artifactid>
 <version>4.5.1-2</version>
 </dependency>



which doesn't appear to have this file. I tried adding the file to my classpath (using IntelliJ), but it still doesn't seem to work.


Anyone have any ideas ? Why isn't this file part of the openpnp distribution ?