
Recherche avancée
Autres articles (74)
-
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
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 (...) -
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...)
Sur d’autres sites (10886)
-
FFMPEG hangs (sometimes) when trying to take a photo from USB camera ?
13 mai 2022, par dezmanI am attempting to write a script that takes a photo every 3 seconds from camera source "1", the -pix_fmt I think is unique to my USB camera.


Here is the script :


#!/bin/bash

set -e

while :
do
 nice_num=$(date +%s)
 
 ffmpeg -ss 00:00:00 -f avfoundation -pix_fmt yuyv422 -r 30.000030 -i "1" -t 1 -frames:v 1 -q:v 2 "image_$nice_num_%03d.jpg"
 
 wait

 sleep 3
done



The issue is half the time it successfully takes the photo, and half the time it just hangs forever echoing this (not useful) :


ffmpeg version 5.0.1 Copyright (c) 2000-2022 the FFmpeg developers
 built with Apple clang version 13.1.6 (clang-1316.0.21.2)
 configuration: --prefix=/usr/local/Cellar/ffmpeg/5.0.1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox
 libavutil 57. 17.100 / 57. 17.100
 libavcodec 59. 18.100 / 59. 18.100
 libavformat 59. 16.100 / 59. 16.100
 libavdevice 59. 4.100 / 59. 4.100
 libavfilter 8. 24.100 / 8. 24.100
 libswscale 6. 4.100 / 6. 4.100
 libswresample 4. 3.100 / 4. 3.100
 libpostproc 56. 3.100 / 56. 3.100



Then I CTRL-C 3 times and get :


^C^C^CReceived > 3 system signals, hard exiting



Other methods of "taking a photo every n seconds from bash" are also appreciated.


-
lavf/bink : fix latest header and add all existing revisions
18 août 2017, par bnnm -
Restreaming HLS video source to RTMP using ffmpeg.autogen
23 juin 2021, par Andrew WilcocksonI am trying to write a C# restreaming class that will take HLS/m3u8 H264 encoded video streams and restream them as RTMP H264 encoded video.
I started with the simple transport stream recorder sample and was able to make it work in the following scenarios :
UDP restreamed to UDP (mpegts)
UDP restreamed to RTMP (flv)
HLS restreamed to UDP (mpegts)
But cannot for the life of me get it to work with HLS to RTMP.
I get a failure return code of -22 on my call to avformat_write_header
Note that I can make this work perfectly from the command line version of ffmpeg with the following command :

ffmpeg -i http://rbmn-live.akamaized.net/hls/live/590964/BoRB-AT/master_1660.m3u8 -vcodec libx264 -f flv rtmp://rtmpserver/streamname