
Recherche avancée
Médias (1)
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (62)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (9463)
-
Read Audio and Video, edit Video frame, then write back Audio and Video - Using python
19 avril 2021, par CowKeyManI'm looking to do exactly as the title says, ie :


- 

- Read a file containing both audio and video
- Edit the video frames individually
- Write back the video with the new frames but the same exact audio as before








OpenCV is not a good option for reading and writing since it doesn't handle audio, altough I can use opencv in step 2.


The language I am using is Python, as this needs to be integrated with a bigger system.


My question is this : What software stack / librarries are appropriate for this kind of task and if anyone can point me to some resources it would be highly appreciated


So far I have found the following options, but would like some feedback on them based on experience :


- 

- ffmpeg
- MoviePy
- libav








-
MediaPlayer miscalculates audio duration. getCurrentPosition() goes back when audio reaches the end
26 mars 2017, par KacyI’m streaming .ogg files from my server. The
MediaPlayer
plays the song to completion, but when it reaches the end of the song,getCurrentPosition()
returns a time less than the actual duration of the song. For 1 song it’s only off by a second, but for another song it’s off by 13 seconds.I have a
SeekBar
that’s updated every second by callinggetCurrentPosition()
, and once the bar reaches the end, it actually jumps back a few seconds. And I can no longer useseekTo()
into the segment of the song that’s past the miscalculated duration because I receive the error :Attempt to seek to past end of file
.Chrome’s html video element simply displays the songs with the incorrect durations.
Other tools like ffmpeg or this app on Windows 10 called PowerMediaPlayer both calculate the songs’ durations perfectly.
I believe this problem is related to this answer, but the solution assumes ffmpeg also miscalculates the duration, which is not the case here. Using the
-vn
flag when converting audio files to ogg didn’t change anything.What are my options ? Is there a way to get the MediaPlayer to calculate the correct duration ?
Update :
Converting to mp3 has no issues (although I used
audioBitrate('96k')
instead ofaudioQuality(2)
, but I require a solution to get ogg files working. Below is how I’m using ffmpeg to perform the conversion. Another thing worth noting is that when I used'vorbis'
instead of'libvorbis'
for the codec the durations were off by less than a second, if at all. However, I must use'libvorbis'
because'vorbis'
is experimental and results in significanlty inconsistent bitrates across different files given the same audio quality parameter. (And it ignoresaudioBitrate()
entirely.)ffmpeg( filepath )
.toFormat( 'ogg' )
.audioCodec( 'libvorbis' )
.audioQuality( 2 )
.output( destination )
.run(); -
Live video broadcasting in android using front and back facing cameras [on hold]
1er décembre 2016, par Jun KimThis is my first time I am posting a question on Stack Overflow.
I am currently developing an android application. My goal is to make an app that captures and records video and broadcasts it to other mobile devices as well as web browsers like
facebook
live.
(Nowadays, famous apps like Youtube, Facebook, Twitch, Periscope has this function)Now, I am just researching what technologies and ways to develop this app.
I have been researching and reading a lot of blogs and documentations for the past five weeks about FFMpeg, different types of streaming technologies, types of web servers etc. I decided to use MPEG-DASH for my app and nginx server (Nginx-rtmp-module).
While searching further, I got stuck and confused about how I can possibly capture & record video using internal camera of Android mobile devices.
I was thinking that I could use MediaRecorder to capture & record (I could hardly find an example using MediaRecorder to record video) and use FFMpeg
to somehow encode with the certain video and audio codecs to make a container format and send it to nginx server to broadcast other devices.
But then.... i am not sure if this is the right way to do it...My questions is... I would like to know the whole process (in detail if it possible) how I can possible record and broadcast to other devices.
The whole process of recording video using internal camera that is in user’s mobile device and send the frame to the server to broadcast to other devices seems difficult to imagine for me... Can anyone elaborate ?
Or any suggestion about how can I reach my goal ?
Every help would be appreciated.