
Recherche avancée
Autres articles (26)
-
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 (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
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 (2894)
-
FFMPEG Webvtt m3u8 download into single vtt file, ignore the "X-TIMESTAMP-MAP=MPEGTS=" (timestamp sync problem)
5 janvier 2021, par Panda XiaI want to download the subtitle of a video, it has separated m3u8 file for subtitle :


webvtt source in m3u8 format : https://sdn-global-streaming-cache.3qsdn.com/9378/files/19/05/1199332/Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes.ism/Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000.m3u8


looks like :


#EXTM3U
#EXT-X-VERSION:4
## Created with Unified Streaming Platform(version=1.9.5)
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-MEDIA-SEQUENCE:1
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-TARGETDURATION:989
#USP-X-TIMESTAMP-MAP:MPEGTS=900000,LOCAL=1970-01-01T00:00:00Z
#EXTINF:24.72, no desc
Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000-1.webvtt
#EXTINF:2.56, no desc
Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000-13.webvtt
#EXTINF:50.88, no desc
Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000-14.webvtt
#EXTINF:3.079, no desc
Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000-40.webvtt
#EXTINF:60.401, no desc
....



Then use the command to download the multiple webvtts into one vtt file "EN.vtt" :


ffmpeg -i "https://sdn-global-streaming-cache.3qsdn.com/9378/files/19/05/1199332/Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes.ism/Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000.m3u8" "DE.vtt"



In output "DE.vtt" the X-TIMESTAMP-MAP=MPEGTS:xxxxxx,LOCAL:00:00:00.000 from each webvtt file (webvtt in m3u8) are ignored.


so that the time Synchronisation is broken, the start time of each Segment always begins from 00:00:00, looks like :


WEBVTT

00:00.000 --> 00:02.560
So viel Macht.

00:00.000 --> 00:03.079
Was er sagte.

00:00.000 --> 00:04.680
oder
die Schönheit

00:00.000 --> 00:01.440
Er sagte immer:

00:00.000 --> 00:03.840
Auf seinen Klang 

00:00.000 --> 00:07.519
Seine Paranoia.



Could ffmpeg support the relative time stamp to convert into absolute time stamp ?
Or use other method to download perfect webvvt file ?


-
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 



-
Why this function not working, i am try to add watermark in Video for download [closed]
13 août 2020, par Ajay KumarI am trying to download Video with watermark but this function not working why


SHOW massege error. Video file exist in temp folder with watermark but not download


Failed to download Video if this function enabled and if disabled Video are download successful


function waterMark($videoURL,$username)
{


 require 'video_editor/vendor/autoload.php';

 $ffmpeg = FFMpeg\FFMpeg::create(array(
 'ffmpeg.binaries' => ffmpeg_lib,
 'ffprobe.binaries' => ffprobe_lib,
 'timeout' => 8600, // The timeout for the underlying process
 'ffmpeg.threads' => 42, // The number of threads that FFMpeg should use
 ), null);
 $ffmpeg_string = ffprobe_lib;


 $tempFile=rand().time();
 $outputFile='tmp/'.$tempFile.'.mp4';

 $video = $ffmpeg->open($videoURL);

 $watermarkPath = watermark_Path;
 $video
 ->filters()
 ->watermark($watermarkPath, array(
 'position' => 'absolute',
 'x' => 15,
 'y' => 30,
 ));
 $text="@".$username;
 $command = "text='$text': fontcolor=white:fontfile=OpenSans-Bold.ttf: fontsize=18: x=20: y=70:";
 $format = new FFMpeg\Format\Video\X264();
 $format->setAudioCodec("aac");

 try
 {

 $video->filters()->custom("drawtext=$command");
 $video->save($format, $outputFile);

 $array_out = array();
 $array_out[] =
 array(
 "download_url" => checkVideoUrl($outputFile)
 );

 $output=array( "code" => "200", "msg" => $array_out);
 print_r(json_encode($output, true));

 }
 catch(Exception $e)
 {
 echo $e->getMessage();
 die;
 }


}



Please solve this isu


Why this function not working, i am try to add watermark in Video for download