
Recherche avancée
Autres articles (60)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ;
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)
Sur d’autres sites (9364)
-
Save live video stream to a video file
29 juin 2023, par VISHAL DAGATrying to save live streaming video data into a (any) playable video file.
When I log the data I see the following (Put in comment in below code) :-


axios.get(`http://192.168.1.33`, {
 responseType: 'stream',
}).then((response)=>{
 const stream = response.data
 stream.on('data', data => {
 console.log(data); // <buffer 4c="4c" 28="28" a1="a1" 0c="0c" 0d="0d" 14="14" 0e="0e" e1="e1" 8e="8e" eb="eb" 52="52" 48="48" d0="d0" c0="c0" 4a="4a" 68="68" 7b="7b" 0b="0b" c7="c7" 7c="7c" d2="d2" 55="55" 21="21" 0a="0a" a9="a9" 63="63" 12="12" 96="96" 9b="9b" 00="00" ed="ed" 49="49" 42="42" 1a="1a" 16="16" a4="a4" 1e="1e" 94="94" 50="50" 20="20" a3="a3" d8="d8" d5="d5" 1386="1386" more="more" bytes="bytes">
 // <buffer 0d="0d" cb="cb" 4b="4b" f7="f7" 77="77" 36="36" c8="c8" 42="42" 9d="9d" bb="bb" b3="b3" d6="d6" a3="a3" 72="72" 24="24" ff="ff" 00="00" 9e="9e" 29="29" b8="b8" 35="35" a5="a5" 48="48" ad="ad" e2="e2" 11="11" a9="a9" ec="ec" 38="38" 1d="1d" e1="e1" 91="91" 93="93" 73="73" bf="bf" a6="a6" 96="96" 62="62" 26="26" 57="57" f4="f4" a4="a4" 4258="4258" more="more" bytes="bytes">
 // ....
</buffer></buffer>


How can I save this data into a video file which can be played ? I am starting to read from live stream at a certain point in time and reading it for few seconds - ex. 5 seconds. I need to have a video of that 5 seconds.


Note, when I use the url : http://192.168.1.33, I can see the video on the browser.


-
Concat video output does not skip ahead or go backwards like normal video
6 août 2020, par JOHN DADSi ran this basic concat code to combine an image and audio to output an mp4 video but the output video plays perfectly except for the fact that if I want to skip ahead in the video it goes back to the original position. This was run on python


audio = ffmpeg.input("beat.mp3")

picture = ffmpeg.input("image.jpg")

ffmpeg.concat(picture, audio, v=1, a=1).output("video3.mp4").run()



-
tensorflow 2, tfds.features.Video Usage for video decoding
5 mars 2020, par SandeepI am trying to decode a video in tensorflow 2 using tfds.features.Video , so that the output is a "tf.Tensor of type tf.uint8 and shape [num_frames, height, width, channels]" using following code :
import numpy as np
import pandas as pd
import tensorflow as tf
import tensorflow_datasets as tfdsdf_trains= pd.DataFrame()
df_trains[’video_files’]= [’aa.mp4’]files_ds = tf.data.Dataset.from_tensor_slices(df_trains.video_files)
video_class = tfds.features.Video(shape=(None, 1080, 1920,3), encoding_format=’png’, ffmpeg_extra_args=())
a= video_class.decode_example(files_ds)However it generates following error :
"AssertionError : Feature Video can only be decoded when defined as top-level feature, through info.features.decode_example()"I am unable to solve it, please help in this regard.