
Recherche avancée
Autres articles (48)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, 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 Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
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 (...)
Sur d’autres sites (6897)
-
Deprecation error when using imageio.ffmpeg.download()
29 novembre 2022, par SHASHIKUMAR B JI'm trying to merge the prerecorded videos using python Opencv.
But i'm getting the error while importing.



"Traceback (most recent call last):
 File "video.py", line 4, in <module>
 from moviepy. editor import VideoFileClip,concatenate_videoclips 
 File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/moviepy/editor.py", line 26, in <module>
 imageio.plugins.ffmpeg.download()
 File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/imageio/plugins/ffmpeg.py", line 40, in download
 "imageio.ffmpeg.download() has been deprecated. "
RuntimeError: imageio.ffmpeg.download() has been deprecated. Use 'pip install imageio-ffmpeg' instead.'"
</module></module>



would anyone please help to get out of this problem



Here is the code :



import cv2 
import os 
import time 
from moviepy.editor import VideoFileClip,concatenate_videoclips 
def vidcapt():
 a = time.strftime("%H,%M,%S")
 cap = cv2.VideoCapture(0)
 fourcc = cv2.VideoWriter_fourcc(*'XVID')
 out = cv2.VideoWriter(a+'.avi', fourcc, 24.0, (640,480))
 t1 = time.time()
 while(cap.isOpened()):
 ret, frame = cap.read() 
 if ret == True:
 out.write(frame)
 cv2.imshow('frame',frame)
 t2 = time.time()
 time_diff = t2-t1
 if time_diff >= 5:
 break
 else:
 break
 cap.release()
 out.release()
 cv2.destroyAllWindows()

while True:
 vidcapt()


clip1 = VideoFileClip("11,05,42.avi")
clip2 = VideoFileClip("11,05,47.avi").subclip(50,60)
final_clip = concatenate_videoclips([clip1,clip2])
final_clip.write_videofile("merged.avi")



-
download part youtube video with ffmpeg ?
1er août 2020, par testoflowI can't get this right

ffmpeg works well so can you help me ?

#I can't get this right


#!/bin/bash
var=$(xclip -o)

if [ -z $var ]; then 
 echo 'copia url a descargar al portapapeles' 
fi 

printf "(1) download part of video without audio\n"
printf "(2) download part of audio\n"
echo
echo -n 'opcion: '
read opcion
case $opcion in
 "1") c=$(youtube-dl -g $var | awk '{ if(NR==1) print $0 }' | sed 's/^/"/;s/$/"/') && echo -n 'start time: ' && read segundos && echo -n 'duration: ' && read duration && ffmpeg -i $c -ss $segundos -t $duration probe.mp4;; 
 "2") b=$(youtube-dl -g $var | awk '{ if(NR==2) print $0 }' | sed 's/^/"/;s/$/"/') && echo $b && ffmpeg -ss 0 -i $b -t 10 probe.mp3;; 
esac 



-
Download encrypted TS files from video stream
8 janvier 2021, par albertma789Following this post, I usually download transport stream (.ts) files by using the browser's developer console to find the URLs of the .ts files and then I use wget to download them. After that I use the
ffmpeg -f concat
method to combine them into an mp4 file.


Recently I come across a site that streams videos and I used the same method to download all the .ts files. The site is here. After I downloaded all the individual .ts files, I use ffmprobe to check the file format but realized the .ts files cannot be understood by ffmpeg/ffmprobe. While the site uses http (not https) I thought the streams are not encrypted so I tried to open the .ts file in an hex editor but I don't know what format it is (but they don't look like zip/gz). My question is : are the transport steams encrypted ? If yes, is there a way to decrypt them ? If not ? Can anyone point me to the right direction such that I can make ffmpeg understand them ?



An example transport stream (first & second) are here and here but the link might expire in a bit. In that case you will need to open the site in developer console to find the updated link to the .ts files.



The site uses JW Player 8.0.0