
Recherche avancée
Autres articles (33)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (5281)
-
Compile FFmpeg project for ARM in PC Linux 64-bits
4 avril 2017, par Dang_HoI want to compile a simple FFmpeg project for my Arrow Sockit Board with an arm-linux-gnueabihf architecture from my Linux-64bit PC. I don’t want to compile the project in the board directly because of my low CPU and that is not convenient for me.
I’m using
FFmpeg version 2.8.11
and this is myMakefile
and my"main.c"
. I know, myMakefile
has something wrong in it. If I command"make"
, it will compile depending on my PC’s architecture, I can’t use that binary file on my board. So, can someone please tell me how to do it.I Cross-Compiled the FFmpeg package and installed into the board. I tested all functions such as ffmpeg, ffplay. All them work. The source code folder is located to /home/hohaidang/ffmpeg-2.8.11
#include
#include <libavcodec></libavcodec>avcodec.h>
#include <libavformat></libavformat>avformat.h>
#include <libswscale></libswscale>swscale.h>
int main(int argc, char *argv[]){
av_register_all();
return 0;
}# use pkg-config for getting CFLAGS and LDLIBS
FFMPEG_LIBS= libavdevice \
libavformat \
libavfilter \
libavcodec \
libswresample \
libswscale \
libavutil \
CFLAGS += -Wall -g
CFLAGS := $(shell pkg-config --cflags $(FFMPEG_LIBS)) $(CFLAGS)
LDLIBS := $(shell pkg-config --libs $(FFMPEG_LIBS)) $(LDLIBS)
EXAMPLES= main
OBJS=$(addsuffix .o,$(EXAMPLES))
# the following examples make explicit use of the math library
avcodec: LDLIBS += -lm
decoding_encoding: LDLIBS += -lm
muxing: LDLIBS += -lm
resampling_audio: LDLIBS += -lm
.phony: all clean-test clean
all: $(OBJS) $(EXAMPLES)
clean-test:
$(RM) test*.pgm test.h264 test.mp2 test.sw test.mpg
clean: clean-test
$(RM) $(EXAMPLES) $(OBJS) -
FFmpeg not decreasing
19 avril 2018, par DavidI need
ffmpeg
to transform a video stream into images and reduce their size only if they don’t fit in a 1000x1000 box.My issue is that if the image is smaller, ffmpeg increases the size of the image to 1000 in width or height, whereas I don’t want small images to be upscaled. The
force_original_aspect_ratio=decrease
does not seem to work here. Any ideas why ?Here is my shell command :
ffmpeg -i 'rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov' -r 5 -vf scale=w=1000:h=1000:force_original_aspect_ratio=decrease -f image2 -qscale:v 1 ./output_%01d.jpg
-
Is it possible to have a progress bar without a loop ?
26 novembre 2017, par KurtI am using FFmpeg to do some video editing. I would like to have a progress bar but there is not a loop in my code. I’ve tried tqdm and putting my code in a loop with a range of 1 but that will only display the progress bar at 100%. Maybe there is another way to accomplish this ? This is the code I’m using :
import subprocess
inmovie=mymovie.mp4
speed=str(4.0)
outmovie=newmovie.mp4
print('Converting file.......')
subprocess.call('ffmpeg -i '+inmovie+' -filter:v "setpts= '+speed+' *PTS" '+outmovie, shell=True)
print('Conversion done')