
Recherche avancée
Autres articles (8)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
D’autres logiciels intéressants
12 avril 2011, parOn ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
Videopress
Site Internet : (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)
Sur d’autres sites (3689)
-
ffmpeg configure always returns "not found" when using sysroot and cross-prefix options - how to use them correctly ?
5 août 2014, par user2212461I try to build ffmpeg with a cross-compiler. When setting the configure flags I am getting the following errors :
WARNING: Compiler does not indicate floating-point ABI, guessing soft.
build_it.sh: 29: build_it.sh: --sysroot=/home/android/android-ndk-r9/platforms/
android-9/arch-arm/: not found
build_it.sh: 32: build_it.sh.sh: --cross-prefix=/home/android/android-ndk-r9/
toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-and
roideabi-: not foundThe error message "not found" sounds like the paths dont exist but they are all correct and existing. How can I resolve this error ?
build_it.sh :
NDK=/home/android/android-ndk-r9
SYSROOT=$NDK/platforms/android-9/arch-arm/
TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86
CPU=arm
PREFIX=test
ADDI_CFLAGS="-marm"
platform="android-9"
./configure \
--disable-asm \
--enable-shared \
--target-os=linux \
--arch=arm \
--enable-cross-compile \
--disable-static \
--sysroot=$SYSROOT \
--extra-cflags="-Os -fpic $ADDI_CFLAGS" \
--extra-ldflags="$ADDI_LDFLAGS"
--cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
--prefix=$PREFIX \
##configure fails here
... -
Capture & save MJPG CCTV stream to file w. FFMPEG
21 juin 2021, par GBanoI've been trying to record an IP-cam stream (Foscam, mjpg) via http with ffmpeg.
Can't get the rtsp stream for some reason, but the http/mjpg works fine (VLC IDed it as mjpg).


The stream URL looks like this :

http://192.168.1.123:456/videostream.cgi?user=USERNAME&pwd=PWD


So I created the string (w.o line wrap) :

ffmpeg -i -loglevel debug http://192.168.1.123:456/videostream.cgi?user=USERNAME&pwd=PWD /home/user/Videos/camera.mp4


Some examples I saw are using
-c
copy
andmap 0
options as well but I left this out since I defined source and destination clearly and this is just a video, no audio.
segment_time
andsegment_format
I also left out for now (I'd like segments later though- when it's working).

FFMPEG returns :
"bash: /home/user/Videos/camera.mp4: No such file or directory"


So I tried a random mjpg stream from the net (Insecam is a nice source for this...) :
http://58.69.178.54:80/mjpg/video.mjpg


Leading to :

ffmpeg copy -i -loglevel debug -hide_banner http://58.69.178.54:80/mjpg/video.mjpg /home/user/Videos/camera.mp4


Returns :
-loglevel: "No such file or directory"
(the same with segment options included, copy excluded).

Shouldn't FFMPEG create the destination file ?


One example mixed FFMPEG with CVLC (Save continuous RTSP stream to 5-10 minute long mp4 files) so I just tried with cvlc.

cvlc http://58.69.178.54:80/mjpg/video.mjpg copy /home/user/Videos/camera.mp4

This opens the stream in a VLC window (despite that I use Cvlc) but does not create a destination file.

I suspect I must have missed something simple & silly, but what ?


-
Can't find preset files
1er juin 2012, par Bilthonthis is a ffmpeg issue. I've got this error saying it could not find the hq preset file, then I read in the documentation that it looks for the preset files at 'PREFIX/share/ffmpeg' and also at '$HOME/.ffmpeg'. The thing is I'm calling ffmpeg from whithin a php file that calls a python script that finally executes the command something like 'commands.getstatusoutput(command)' so I was not sure who the user was.
The solution ? I just used -fpre and my call now looks like this :
/usr/local/bin/ffmpeg -i ../files/tmpvideos/myStream.flv -y -acodec libfaac -ab 96k -b 800k -maxrate 800k -minrate 600k -bufsize 800k -s 720x640 -vcodec libx264 -g 300 -r 20 -fpre /home/admin/.ffmpeg/libx264-hq.ffpreset -threads 0 ../files/tmpvideos/4647-60.mp4
I created that directory under /home/admin and am 100% sure that there the file is there now, but still ffmpeg says :
File for preset '/home/admin/.ffmpeg/libx264-hq.ffpreset' not found
So I'm not sure why is it not working since I'm specifying the complete path now. Any ideas ?
One reason that I'm thinking of, is that it maybe was not compiled correctly, like with all the flags and stuff. What I mean is that while some outputs out there looked like this :
FFmpeg version SVN-r22976, Copyright (c) 2000-2010 the FFmpeg developers
built on Apr 30 2010 12:03:12 with gcc 4.2.1-sjlj (mingw32-2)
configuration: --enable-shared --enable-static --enable-memalign-hack
--enable
-libmp3lame --enable-libx264 --enable-gpl
libavutil 50.14. 0 / 50.14. 0
libavcodec 52.66. 0 / 52.66. 0
libavformat 52.61. 0 / 52.61. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0mine looks more like this :
Output: FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
built on Nov 12 2010 16:32:38 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
configuration:
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.11. 0 / 0.11. 0No configuration stuff. What do u think ? could be that this ffmpeg was not compiled correctly so it will never find the presets ? I didn't compile it, so can't be sure.
Thanks and sorry for the verbosity of the question.
Nelson