Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (111)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La 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.

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (5683)

  • Apache doesn't load while ffmpeg is working

    21 janvier 2017, par mrcatmann

    I’m using Apache and PHP on a VPS for my site and also FFMPEG for converting the videos on it. But while FFMPEG is converting a video, the site is not loading at all. Is there a way to share server’s resources ? Tried to use "-threads 1" parameter in ffmpeg (the server has 4 cores), but still got the same result.

  • a command in a script doesn't work when the script is launched by cron

    5 mai 2023, par a k

    When I launch the script manually both as a not-root user (with sudo) and as the root, everything work correctly.
When Cron (Cron of the root) launches it, ffmpeg doesn't work (but the others lines of the script work correctly).

    


    #!/bin/bash
log=/var/log/log2/log2.txt

echo ______________ $(date) >> "$log"
echo -n whoami '         ' >> "$log" ; whoami >> "$log"
echo -n pwd '            ' >> "$log" ; pwd >> "$log"
echo "$""USER" = '        ' "$USER" >> "$log"
echo PATH '          ' $PATH >> "$log"
echo -n which ffmpeg '   ' >> "$log" ; which ffmpeg >> "$log"
echo -n whereis ffmpeg ' ' >> "$log" ; whereis ffmpeg >> "$log"

echo "" >> "$log"
echo ls -l "/bin/* | grep ffmpeg" '        ' >> "$log"
ls -l /bin/* | grep ffmpeg >> "$log"

echo "" >> "$log"
echo ls -l "/usr/bin/* | grep ffmpeg" ' '>> "$log"
ls -l /usr/bin/* | grep ffmpeg >> "$log"

echo "" >> "$log"
echo ls -l "/var/log | grep log2" ' '>> "$log"
ls -l /var/log | grep log2 >> "$log"

echo "" >> "$log"
echo ls -l "/var | grep log" ' '>> "$log"
ls -l /var | grep log >> "$log"

ffmpeg -y -f x11grab -s 1366x768 -i :0.0 /var/log/log2/test.mp4 2>/dev/null &
echo "$!"
sleep 5
kill "$!"
exit


    


    The script puts in the file /var/log/log2/log2.txt :

    


    whoami          root
pwd             /root
$USER =          
PATH            /usr/bin:/bin
which ffmpeg    /usr/bin/ffmpeg
whereis ffmpeg  ffmpeg: /usr/bin/ffmpeg /usr/share/ffmpeg /usr/share/man/man1/ffmpeg.1.gz

ls -l /bin/* | grep ffmpeg         
-rwxr-xr-x 1 root   root      284976 mai   18  2022 /bin/ffmpeg

ls -l /usr/bin/* | grep ffmpeg  
-rwxr-xr-x 1 root   root      284976 mai   18  2022 /usr/bin/ffmpeg

ls -l /var/log | grep log2  
drwxrwxrwx  2 root              root               4096 mai    5 03:22 log2

ls -l /var | grep log  
drwxrwxr-x 16 root syslog   36864 mai    5 00:00 log


    


    I have tried to verify :

    


      

    • the permissions of the file ffmpeg
    • 


    • the permissions of the folder where ffmpeg writes to
    • 


    • the $PATH
    • 


    • the path of ffmpeg
    • 


    • the path of the file where ffmpeg should write to
    • 


    


  • How to connect ffmpeg to broadcasted rtsp live camera link feeds to users browser ??? These camera link are dynamic so it cannot be defined initially

    9 décembre 2016, par vibhor Gupta

    The following rtsp link gives me feed :
    rtsp ://user:11111@192...***/MPEG-4ch1/main/avstreams

    The following ffmpeg command helps gets me these feed and i can store it on my server :
    ffmpeg -i rtsp ://user:11111@192...***/MPEG-4ch1/main/avstreams -vcodec copy -acodec copy -f mpegts video.mp4

    But when i use the following command broadcast starts but no streaming is received :
    ffmpeg -i rtsp ://user:11111@192...***/MPEG-4ch1/main/avstreams -vcodec copy -acodec copy -f mpegts udp ://127.0.0.1:7000

    I even checked on the server for 7000 port but nothing is running so i am cannot understand what is going.

    To Check I used vlc and in the network stream option i placed udp ://192.168.1.105:7000 as the network url. but it is not working

    So friends i would like to know where i am going and if possible what can be a better solution for this problem ??

    Thank You