
Recherche avancée
Médias (17)
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (109)
-
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté. -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (11524)
-
swscale : disable ARM code until its build failure with clang/iphone is fixed
8 janvier 2014, par Michael Niedermayer -
How to Bulk Speed UP and Crop Videos FFMPEG
6 septembre 2023, par Usemo ShankI have videos in (input) folder that is located on the root of the script, I also have output folder on the root, The input folder has several videos that i want to speed up in bulk by 1.1 percent, I also want to cropt the videos by 90 percent (Meaning 90 Percent of original video is visible).


I have a code that does not function well. Here is the code I have


import os
import subprocess

# Define input and output directories
input_folder = "input"
output_folder = "output"

# Create the output directory if it doesn't exist
if not os.path.exists(output_folder):
 os.makedirs(output_folder)

# List all video files in the input directory
input_files = [f for f in os.listdir(input_folder) if f.endswith(('.mp4', '.avi', '.mkv'))]

# Speed up and crop each video
for input_file in input_files:
 input_path = os.path.join(input_folder, input_file)
 output_file = os.path.splitext(input_file)[0] + "_speed_crop.mp4"
 output_path = os.path.join(output_folder, output_file)

 # FFmpeg command to speed up video by 1.1x and crop to 90%
 ffmpeg_command = [
 "ffmpeg",
 "-i", input_path,
 "-vf", "setpts=1.1*PTS,crop=in_w*0.9:in_h*0.9",
 "-c:v", "libx264",
 "-crf", "20",
 "-c:a", "aac",
 "-strict", "experimental",
 output_path
 ]

 # Run FFmpeg command
 subprocess.run(ffmpeg_command)

print("Conversion complete.")



-
mpeg-dash live streaming can't fetch chunks
27 juin 2020, par user1902653I'm trying to create a live stream of mpeg-dash with ffmpeg.


I'm streaming with python the frames to the ffmpeg process.


This is the current command I'm using for creating the mpeg-dash manifest and m4s files :


ffmpeg -re -f rawvideo -pix_fmt bgr24 -video_size 640x360 -i - -vcodec libx264 -preset ultrafast -tune zerolatency -f dash -window_size 10 -use_template 1 -use_timeline 0 -live 1 /srv/http/dash/stream.mpd



I'm using nginx as a server for now and I've created a simple index.html using shaka player, but the problem is I couldn't get it to load and play more then the first chunk. (checked with dev-tools in chrome in the network tab)


This is how I'm using shaka player right now :





 
 <code class="echappe-js"><script src="https://cdnjs.cloudflare.com/ajax/libs/shaka-player/2.1.4/shaka-player.compiled.js"></script>

<script>&#xA; var manifestUri = &#x27;stream.mpd&#x27;;&#xA; function initApp() {&#xA; shaka.polyfill.installAll();&#xA; if (shaka.Player.isBrowserSupported()) {&#xA; initPlayer();&#xA; } else {&#xA; console.error(&#x27;Browser not supported!&#x27;);&#xA; }&#xA; }&#xA; function initPlayer() {&#xA; var video = document.getElementById(&#x27;video&#x27;);&#xA; var player = new shaka.Player(video);&#xA; window.player = player;&#xA; player.addEventListener(&#x27;error&#x27;, onErrorEvent);&#xA; player.load(manifestUri).then(function() {&#xA; console.log(&#x27;The video has now been loaded!&#x27;);&#xA; }).catch(onError);&#xA; }&#xA; function onErrorEvent(event) {&#xA; onError(event.detail);&#xA; }&#xA; function onError(error) {&#xA; console.error(&#x27;Error code&#x27;, error.code, &#x27;object&#x27;, error);&#xA; }&#xA; document.addEventListener(&#x27;DOMContentLoaded&#x27;, initApp);&#xA; </script>

 
 
 
 







For some reason the stream is only playing the first chunk and never requesting for the next chunk. How can I make it load the next chunks ?


When tried using dash.js I couldn't get it to load even the first chunk.


Thanks in advance.