
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (39)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Création définitive du canal
12 mars 2010, parLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)
Sur d’autres sites (5092)
-
How do I stop watermarking videos with this ffmpeg command line ?
26 juillet 2019, par D. MessierI’m trying to remove the code that adds a watermark to some of our videos, but can’t find the correct solution
Working with pre-existing code. I am unfamiliar with bash and ffmpeg. We are trying to remove the code that adds a watermark to certain videos. There are plenty of examples on how to add the watermark. But using them to figure out how to remove it has been unsuccessful.
Original Code
FFREPORT=file=$folder/ffmpeg.log:level=40 ~/tools/ffmpeg/ffmpeg -ss $startTime -i $folder/0 -i assets/watermark.png -filter_complex "[0:v]scale='if(gt(iw,ih),$size1w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size1h)'[bg];[bg][1:v]overlay=20:(main_h-overlay_h-20),split=5[in1][in2][in3][in4][in5];[in1]scale='if(gt(iw,ih),$size1w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size1h)'[out1];[in2]scale='if(gt(iw,ih),$size2w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size2h)'[out2];[in3]scale='if(gt(iw,ih),$size3w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size3h)'[out3];[in4]scale='if(gt(iw,ih),$size4w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size4h)'[out4];[in5]scale='if(gt(iw,ih),$size4w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size4h)'[out5]" \
Attempted Change
I removed
-i assets/watermark.png
and[bg];[bg][1:v]overlay=20:(main_h-overlay_h-20),
FFREPORT=file=$folder/ffmpeg.log:level=40 ~/tools/ffmpeg/ffmpeg -ss $startTime -i $folder/0 -filter_complex "[0:v]scale='if(gt(iw,ih),$size1w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size1h)';split=5[in1][in2][in3][in4][in5];[in1]scale='if(gt(iw,ih),$size1w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size1h)'[out1];[in2]scale='if(gt(iw,ih),$size2w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size2h)'[out2];[in3]scale='if(gt(iw,ih),$size3w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size3h)'[out3];[in4]scale='if(gt(iw,ih),$size4w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size4h)'[out4];[in5]scale='if(gt(iw,ih),$size4w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size4h)'[out5]" \
The error I’m getting is
Cannot find a matching stream for unlabeled input pad 0 on filter Parsed_split_1
-
How to programmatically start/stop FFMPEG stream transcoding
10 décembre 2019, par Paul WielandI have an ip webcam which provides an MJPEG stream. I can successfully transcode and save that stream with ffmpeg under OSX. The following gives me pretty much what I want :
ffmpeg -f mjpeg -i "http://user:pass@10.0.1.200/nphMotionJpeg?Resolution=640x480&Quality=Standard" -b:v 1500k -vcodec libx264 /tmp/test.mp4
That will start an FFMPEG session and begin saving the live stream to my test.mp4 file. pressing q will quit ffmpeg and save the file.
I would like to programmatically start & stop the recording using a PHP or Bash shell script. I have tried the following :
<?php
$pid = pcntl_fork();
if($pid == -1){
die("could not fork");
}elseif($pid){
// we are the parent...
print $pid.' started recording. waiting 10 seconds...';
sleep(10); // Wait 10 seconds
print_r(shell_exec("kill ".$pid)); // Kill the child recording process
echo 'done';
exit();
}else{
// we are the child process. call ffmpeg.
exec('../lib/ffmpeg -f mjpeg -i "http://user:pass@10.0.1.200/nphMotionJpeg?Resolution=640x480&Quality=Standard" -b:v 1500k -vcodec libx264 /tmp/test.mp4');
}But there are two problems :
- The ffmpeg process does not end/die (probably because its forked again)
- When I manually kill the ffmpeg process, the video file is not readable
-
stop or kill node media server
9 juillet 2019, par user_66663333I am trying to implement stop feature for live video streaming using node-media-server.
Basically I want to stop node-media-server completely, restart it later.
const NodeMediaServer = require("node-media-server");
let config = {
logType: 3,
rtmp: {
port: rtmpPort,
chunk_size: 60000,
gop_cache: true,
ping: 60,
ping_timeout: 30,
},
http: {
port: httpPort,
allow_origin: "*",
},
relay: {
ffmpeg: "/usr/bin/ffmpeg",
tasks: [
{
app: "cctv",
mode: "static",
edge: "rtsp://" + cameraUrl + "/h264_ulaw.sdp",
name: "uterum",
rtsp_transport: "udp",
},
],
},
};
let nms = new NodeMediaServer(config);
nms.run();