
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (80)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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 (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (7057)
-
CDN Stream Play Video + Audio With Referer ?
30 avril 2020, par lavara123This is orginal site play script :





const player = jwplayer("player").setup({
					title: "Extraction",
					description: "2020",
					file: "https://cdn.rapidvideocdn.xyz/videoplayback/1598e8ae991e78c6d87cf31b5e5db280be1012101221e017b1b20f8331f820fbh",
					tracks: [{"file":"https:\/\/sinefy.com\/subtitles\/tt8936646.tr.vtt","label":"T\u00fcrk\u00e7e","kind":"captions","default":true}],					image: "https://sinefy.com/uploads/series/cover/extraction-2020.jpg",					type: "application/vnd.apple.mpegurl",
					playbackRateControls: true,
					preload: "auto",
					autostart: autopl,
					hlshtml: true,
					androidhls: true,
					stagevideo: false,
					"primary": "html5"
				})








this is HLS (Fragmented MP4) url open with referer :



https://cdn.rapidvideocdn.xyz/videoplayback/1598e8ae991e78c6d87cf31b5e5db280be1012101221e017b1b20f8331f820fbh




referer :



https://sinefy.com/api/runner/80d4d32765c4d9466bf646958663f902




i'm play code :



ffmpeg -referer "https://sinefy.com/api/runner/80d4d32765c4d9466bf646958663f902" -i "https://e1-ad930d.rapidvideocdn.xyz/videoplayback/6d3d454e9fd30ac1a7ed678ff1d77e325" -f hls -vcodec libx264 -crf 27 -preset veryfast -c:a copy - | ffplay -




but no sound ?


-
unable to play AES-CBC encrypted mpeg-ts stream on ffplay/ffmpeg
22 mai 2022, par AquilaCoderhow to play a encrypted camera/live stream using ffplay/ffmpeg.


the original stream was encrypted with tsduck scrambler plugin with aes-cbc option, we have tried with many players nothing works.


- 

- iv : 627CBD824E93CDC9DA754BAC72DB2205
- cw : 6CC47461F65084AB5C5F90EDA1C2F9F0






stream info






-
Play video using ffmpeg subprocess
17 juin 2023, par MCDThe following code stuck in the middle of the video. I want to play the video start at
start_seconds
and end atend_seconds
.

import subprocess
import cv2
import numpy as np
import subprocess

def play_video_with_ffmpeg(video_path, start_seconds, end_seconds):
print(start_seconds)

 # Set the desired frame size
 width = 920
 height = 600
 
 # Set the window position
 print("here")
 window_x = 600 # X position
 window_y = 10 # Y position
 cv2.namedWindow('Video Player', cv2.WINDOW_NORMAL)
 cv2.moveWindow('Video Player', window_x, window_y)
 
 # Build the ffmpeg command to skip to the desired start time and end time
 command = [
 'ffmpeg',
 '-ss', str(start_seconds),
 '-i', video_path,
 '-t', str((end_seconds - start_seconds)),
 '-vf', f'scale={width}:{height}',
 '-r', '30',
 '-f', 'image2pipe',
 '-pix_fmt', 'bgr24',
 '-vcodec', 'rawvideo',
 '-'
 ]
 
 # Open a subprocess to execute the ffmpeg command
 process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
 
 # Create a buffer to hold the frame data
 buffer_size = width * height * 3
 frame_buffer = bytearray(buffer_size)
 
 while process.poll() is None:
 # Read the frame from the subprocess stdout into the buffer
 bytes_read = process.stdout.readinto(frame_buffer)
 
 if bytes_read == buffer_size:
 # Convert the frame buffer to a numpy array
 frame = np.frombuffer(frame_buffer, dtype='uint8').reshape((height, width, 3))
 
 # Resize the frame
 frame_resized = cv2.resize(frame, (width, height), interpolation=cv2.INTER_AREA)
 
 # Display the frame
 cv2.imshow('Video Player', frame_resized)
 
 if cv2.waitKey(1) & 0xFF == ord('q'):
 break
 
 process.stdout.close()
 process.stderr.close()
 cv2.destroyAllWindows()



I expect to play the video start from
start_second
and end atend_second
. I usedcv2.set
but it took long time to play from start_second.