
Recherche avancée
Autres articles (79)
-
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 (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (11414)
-
GLIBCXX_3.4.9 not found when running ffmpeg from php in lampp server
13 mai 2016, par Rafaf TahsinI’ve written a php program which creates a video from sequence of images using ffmpeg.
<?php
$res = shell_exec("ffmpeg -framerate 50 -i image/image%d.png -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4 2>&1");
echo "$res";When I run it,
it says
GLIBCXX_3.4.15
,GLIBCXX_3.4.9
,GLIBCXX_3.4.11
not found.ffmpeg : /opt/lampp/lib/libstdc++.so.6 : version `GLIBCXX_3.4.15’ not
found (required by /usr/lib/i386-linux-gnu/libjack.so.0) ffmpeg :
/opt/lampp/lib/libstdc++.so.6 : version `GLIBCXX_3.4.9’ not found
(required by /usr/lib/i386-linux-gnu/libzmq.so.3) ffmpeg :
/opt/lampp/lib/libstdc++.so.6 : version `GLIBCXX_3.4.11’ not found
(required by /usr/lib/i386-linux-gnu/libopencv_core.so.2.4) ffmpeg :
/opt/lampp/lib/libstdc++.so.6 : version `GLIBCXX_3.4.9’ not found
(required by /usr/lib/i386-linux-gnu/libopencv_core.so.2.4)
But from the terminal,
ffmpeg -framerate 50 -i image/image%d.png -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4
command works fine. Why php can’t find the libraries while from the terminal it works fine ? and what should I do to fix the problem in php ? Thanks in advance. -
How to share video stream to WSL2 while ffmpeg ? [closed]
27 octobre 2024, par 笑先生Most solutions for using a camera in WSL are to build your own WSL kernel. I have realized it with the steps mentioned in Capturing webcam video with OpenCV in WSL2


However, it's complicated and time-consuming. I want to realize it by sharing video streaming.


Share method


Step1 : Run the command below on Windows to check all the camera devices. I see an integrated camera
"Integrated Webcam" (video)
in the output.

ffmpeg -list_devices true -f dshow -i dummy



Step2 : Check the IP of Ethernet adapter vEthernet (WSL). In my computer, it's
172.24.176.1


Step3 : Run the command below on Windows to share video streaming.


ffmpeg -f dshow -i video="Integrated Webcam" -preset ultrafast -tune zerolatency -vcodec libx264 -f mpegts udp://172.24.176.1:5000



Test


Run the command to play the video streaming :
ffplay udp://172.24.176.1:5000


It can show the video when the command is run with a terminal of Windows (Win10).


But, it cannot show anything when the command is run on with a terminal of WSL (Ubuntu 22.04). Why ?


-
Seeing Blank video when using Xvfb with ffmpeg in headless mode
4 avril 2022, par sxgSeeing blank video while running protractor tests in headless mode using Xvfb, ffmpeg, protractor video reporter



I am using protractor framework for running automation tests. I am using protractor video recorder tool to record video on headless mode. The prerequisite for that is to start Xvfb at the background.



This the setting i am using to run test in headless mode.
Steps followed to enable video in headless mode :



Installed "npm i protractor-video-reporter"
Included ffmpeg setting for docker/linux.
```
 var VideoReporter = require('protractor-video-reporter');
 jasmine.getEnv().addReporter(new VideoReporter({
 baseDirectory: 'reports/videos',
 singleVideo: false,
 saveSuccessVideos: true,
 ffmpegCmd: '/usr/bin/ffmpeg',
 ffmpegArgs: [
 '-y',
 '-r', '30',
 '-f', 'x11grab',
 '-s', '1280x1024',
 '-i', 'process.env.DISPLAY',
 '-g', '300',
 '-vcodec', 'mpeg4'
 ]
 }));




Executed "Xvfb :99 -ac -screen 5 1024x768x8 -listen tcp &" in a terminal
 Executed ```
 DISPLAY=:99 
 export $DISPLAY
``` in a separate window 
 Executed "env DEBUG=protractor-video-reporter protractor conf.js" in a separate terminal

Expected Result:

A video with the recordings that runs tests on google chrome

Actual Result:

Video is getting created but the video appears to be blank.

Chrome Version:73
Chromedriver Version: 2.46
Protractor version:5.4.2