
Recherche avancée
Médias (2)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (27)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (5104)
-
i use vitamio-ffmpeg achieve filters function,who can help me to see [on hold]
30 décembre 2015, par 陈腾明my cmd is :
ffmpeg -y -i /storage/emulated/0/Foream/a.mp4 -i /storage/emulated/0/Foream/q.jpg -filter_complex [0:v][1:v]overlay=main_w-overlay_w-10:main_h-overlay_h-10[out] -map [out] -map 0:a -codec:a copy /storage/test.mp4-
ffmpeg version 2.0 Copyright (c) 2000-2013 the FFmpeg developers
built on Dec 30 2015 17:40:40 with gcc 4.8 (GCC)
configuration: --arch=arm --disable-runtime-cpudetect --target-os=linux --enable-cross-compile --cross-prefix=arm-linux-androideabi- --enable-version3 --enable-optimizations --enable-shared --disable-fast-unaligned --disable-static --disable-symver --disable-programs --disable-doc --disable-avdevice --disable-postproc --disable-encoders --disable-muxers --enable-muxer=mp4 --disable-devices --disable-demuxer=sbg --disable-demuxer=dts --disable-parser=dca --disable-decoder=dca --disable-decoder=svq3 --disable-debug --enable-network --enable-asm --prefix=/var/vitamio/FFmpeg-Vitamio-vitamio/build/android/armv6 --extra-cflags='-mthumb -std=c99 -O3 -Wall -pipe -fpic -fasm -finline-limit=300 -ffast-math -fstrict-aliasing -Werror=strict-aliasing -Wno-psabi -Wa,--noexecstack -fdiagnostics-color=always -DANDROID -DNDEBUG -I/var/openssl/OpenSSL-Vitamio-master/include -D__ARM_ARCH_5__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5TE__ -march=armv6 -msoft-float' --extra-ldflags='-lm -lz -Wl,--no-undefined -Wl,-z,no WARNING: library configuration mismatch
avutil configuration: --arch=arm --disable-runtime-cpudetect --target-os=linux --cross-prefix=arm-linux-androideabi- --enable-cross-compile --enable-version3 --enable-shared --disable-static --disable-symver --disable-programs --disable-doc --disable-avdevice --disable-encoders --disable-muxers --disable-devices --disable-everything --disable-protocols --disable-demuxers --disable-decoders --disable-bsfs --disable-debug --enable-optimizations --enable-filters --enable-parsers --disable-parser=hevc --enable-swscale --enable-network --enable-protocol=file --enable-protocol=http --enable-protocol=rtmp --enable-protocol=rtp --enable-protocol=mmst --enable-protocol=mmsh --enable-protocol=crypto --enable-protocol=hls --enable-demuxer=hls --enable-demuxer=mpegts --enable-demuxer=mpegtsraw --enable-demuxer=mpegvideo --enable-demuxer=concat --enable-demuxer=mov --enable-demuxer=flv --enable-demuxer=rtsp --enable-demuxer=mp3 --enable-demuxer=matroska --enable-decoder=mpeg4 --enable-decoder=mpegvideo --enable-de avcodec configuration: --arch=arm --disable-runtime-cpudetect—target-os=linux —cross-prefix=arm-linux-androideabi- —enable-cross-compile —enable-version3 —enable-shared —disable-static —disable-symver —disable-programs —disable-doc —disable-avdevice —disable-encoders —disable-muxers —disable-devices —disable-everything —disable-protocols —disable-demuxers —disable-decoders —disable-bsfs —disable-debug —enable-optimizations —enable-filters —enable-parsers —disable-parser=hevc —enable-swscale —enable-network —enable-protocol=file —enable-protocol=http —enable-protocol=rtmp —enable-protocol=rtp —enable-protocol=mmst —enable-protocol=mmsh —enable-protocol=crypto —enable-protocol=hls —enable-demuxer=hls —enable-demuxer=mpegts —enable-demuxer=mpegtsraw —enable-demuxer=mpegvideo —enable-demuxer=concat —enable-demuxer=mov —enable-demuxer=flv —enable-demuxer=rtsp —enable-demuxer=mp3 —enable-demuxer=matroska —enable-decoder=mpeg4 —enable-decoder=mpegvideo —enable-de avformat configuration : —arch=arm —disable-runtime-cpudetect
— target-os=linux —cross-prefix=arm-linux-androideabi- —enable-cross-compile —enable-version3 —enable-shared —disable-static —disable-symver —disable-programs —disable-doc —disable-avdevice —disable-encoders —disable-muxers —disable-devices —disable-everything —disable-protocols —disable-demuxers —disable-decoders —disable-bsfs —disable-debug —enable-optimizations —enable-filters —enable-parsers —disable-parser=hevc —enable-swscale —enable-network —enable-protocol=file —enable-protocol=http —enable-protocol=rtmp —enable-protocol=rtp —enable-protocol=mmst —enable-protocol=mmsh —enable-protocol=crypto —enable-protocol=hls —enable-demuxer=hls —enable-demuxer=mpegts —enable-demuxer=mpegtsraw —enable-demuxer=mpegvideo —enable-demuxer=concat —enable-demuxer=mov —enable-demuxer=flv —enable-demuxer=rtsp —enable-demuxer=mp3 —enable-demuxer=matroska —enable-decoder=mpeg4 —enable-decoder=mpegvideo —enable-de avfilter configuration : —arch=arm —disable-runtime-cpudetect
— target-os=linux —cross-prefix=arm-linux-androideabi- —enable-cross-compile —enable-version3 —enable-shared —disable-static —disable-symver —disable-programs —disable-doc —disable-avdevice —disable-encoders —disable-muxers —disable-devices —disable-everything —disable-protocols —disable-demuxers —disable-decoders —disable-bsfs —disable-debug —enable-optimizations —enable-filters —enable-parsers —disable-parser=hevc —enable-swscale —enable-network —enable-protocol=file —enable-protocol=http —enable-protocol=rtmp —enable-protocol=rtp —enable-protocol=mmst —enable-protocol=mmsh —enable-protocol=crypto —enable-protocol=hls —enable-demuxer=hls —enable-demuxer=mpegts —enable-demuxer=mpegtsraw —enable-demuxer=mpegvideo —enable-demuxer=concat —enable-demuxer=mov —enable-demuxer=flv —enable-demuxer=rtsp —enable-demuxer=mp3 —enable-demuxer=matroska —enable-decoder=mpeg4 —enable-decoder=mpegvideo —enable-de swscale configuration : —arch=arm —disable-runtime-cpudetect
— target-os=linux —cross-prefix=arm-linux-androideabi- —enable-cross-compile —enable-version3 —enable-shared —disable-static —disable-symver —disable-programs —disable-doc —disable-avdevice —disable-encoders —disable-muxers —disable-devices —disable-everything —disable-protocols —disable-demuxers —disable-decoders —disable-bsfs —disable-debug —enable-optimizations —enable-filters —enable-parsers —disable-parser=hevc —enable-swscale —enable-network —enable-protocol=file —enable-protocol=http —enable-protocol=rtmp —enable-protocol=rtp —enable-protocol=mmst —enable-protocol=mmsh —enable-protocol=crypto —enable-protocol=hls —enable-demuxer=hls —enable-demuxer=mpegts —enable-demuxer=mpegtsraw —enable-demuxer=mpegvideo —enable-demuxer=concat —enable-demuxer=mov —enable-demuxer=flv —enable-demuxer=rtsp —enable-demuxer=mp3 —enable-demuxer=matroska —enable-decoder=mpeg4 —enable-decoder=mpegvideo —enable-de swresample configuration : —arch=arm —disable-runtime-cpudetect
— target-os=linux —cross-prefix=arm-linux-androideabi- —enable-cross-compile —enable-version3 —enable-shared —disable-static —disable-symver —disable-programs —disable-doc —disable-avdevice —disable-encoders —disable-muxers —disable-devices —disable-everything —disable-protocols —disable-demuxers —disable-decoders —disable-bsfs —disable-debug —enable-optimizations —enable-filters —enable-parsers —disable-parser=hevc —enable-swscale —enable-network —enable-protocol=file —enable-protocol=http —enable-protocol=rtmp —enable-protocol=rtp —enable-protocol=mmst —enable-protocol=mmsh —enable-protocol=crypto —enable-protocol=hls —enable-demuxer=hls —enable-demuxer=mpegts —enable-demuxer=mpegtsraw —enable-demuxer=mpegvideo —enable-demuxer=concat —enable-demuxer=mov —enable-demuxer=flv —enable-demuxer=rtsp —enable-demuxer=mp3 —enable-demuxer=matroska —enable-decoder=mpeg4 —enable-decoder=mpegvideo —enable-de libavutil 52. 48.100 / 52. 48.100
libavcodec 55. 39.100 / 55. 39.100
libavformat 55. 19.104 / 55. 19.104
libavfilter 3. 90.100 / 3. 90.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
Splitting the commandline.
Reading option ’-y’ ... matched as option ’y’ (overwrite output files) with argument ’1’.
Reading option ’-i’ ... matched as input file with argument ’/storage/emulated/0/Foream/a.mp4’.
Reading option ’-i’ ... matched as input file with argument ’/storage/emulated/0/Foream/q.jpg’.
Reading option ’-filter_complex’ ... matched as option ’filter_complex’ (create a complex filtergraph) with argument
’[0:v][1:v]overlay=main_w-overlay_w-10:main_h-overlay_h-10[out]’.
Reading option ’-map’ ... matched as option ’map’ (set input stream mapping) with argument ’[out]’.
Reading option ’-map’ ... matched as option ’map’ (set input stream mapping) with argument ’0:a’.
Reading option ’-codec:a’ ... matched as option ’codec’ (codec name) with argument ’copy’.
Reading option ’/storage/emulated/0/Foream/test.mp4’ ... matched as output file.
Finished splitting the commandline.
Parsing a group of options : global .
Applying option y (overwrite output files) with argument 1.
Applying option filter_complex (create a complex filtergraph) with argument
[0:v][1:v]overlay=main_w-overlay_w-10:main_h-overlay_h-10[out].
Successfully parsed a group of options.
Parsing a group of options : input file /storage/emulated/0/Foream/a.mp4.
Successfully parsed a group of options.
Opening an input file : /storage/emulated/0/Foream/a.mp4.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xb9270990] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xb9270990] ISO : File Type Major Brand : mp42
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xb9270990] File position before avformat_find_stream_info() is 810040
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xb9270990] All info found
rfps : 29.416667 0.016512
rfps : 29.416667 0.016512
rfps : 29.500000 0.012847
rfps : 29.500000 0.012847
rfps : 29.583333 0.009693
rfps : 29.666667 0.007050
rfps : 29.750000 0.004918
rfps : 29.833333 0.003298
rfps : 29.916667 0.002188
rfps : 30.000000 0.001590
rfps : 30.083333 0.001503
rfps : 30.166667 0.001928
rfps : 30.250000 0.002863
rfps : 30.333333 0.004310
rfps : 30.333333 0.004310
rfps : 30.416667 0.006268
rfps : 30.416667 0.006268
rfps : 30.500000 0.008737
rfps : 30.500000 0.008737
rfps : 30.583333 0.011717
rfps : 30.583333 0.011717
rfps : 30.666667 0.015208
rfps : 30.666667 0.015208
rfps : 30.750000 0.019211
rfps : 30.750000 0.019211
rfps : 59.500000 0.019673
rfps : 59.583333 0.016176
rfps : 59.666667 0.013191
rfps : 59.750000 0.010716
rfps : 59.833333 0.008753
rfps : 59.916667 0.007302
rfps : 60.000000 0.006361
rfps : 29.970030 0.001747
rfps : 59.940060 0.006986
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xb9270990] File position after avformat_find_stream_info() is 1684954
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’/storage/emulated/0/Foream/a.mp4’ :
Metadata :
major_brand : mp42minor_version : 0
compatible_brands: isommp42
creation_time : 2015-11-07 12:30:11
location : +22.5935+113.8685/
location-eng : +22.5935+113.8685/
Duration: 00:00:17.24 , start:0.000000 , bitrate : 9934 kb/s
Stream #0:0 (eng) , 21, 1/90000 : Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1280x720, 9488 kb/s , SAR
65536:65536 DAR 16:9 , 29.61 fps , 30.08 tbr , 90k tbn , 50 tbc
(default)Metadata:
rotate : 90
creation_time : 2015-11-07 12:30:11
handler_name : VideoHandle
Stream #0:1 (eng) , 49, 1/48000 : Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s (default)
Metadata:
creation_time : 2015-11-07 12:30:11
handler_name : SoundHandle
Successfully opened the file.
Parsing a group of options: input file /storage/emulated/0/Foream/q.jpg.
Successfully parsed a group of options.
Opening an input file: /storage/emulated/0/Foream/q.jpg.
[mp3 @ 0xb924f040] Format mp3 detected only with low score of 1, misdetection possible!
[mp3 @ 0xb924f040] File position before avformat_find_stream_info() is 0
[mp3 @ 0xb9216ef0] Header missing
[mp3 @ 0xb9216ef0] Header missing
[mp3 @ 0xb9216ef0] Header missing
[mp3 @ 0xb924f040] decoding for stream 0 failed
[mp3 @ 0xb924f040] Could not find codec parameters for stream 0 (Audio: mp1, 0 channels, s16p): unspecified frame size Considerincreasing the value for the ’analyzeduration’ and ’probesize’
options
[mp3 @ 0xb924f040] File position after avformat_find_stream_info() is 9590
/storage/emulated/0/Foream/q.jpg : could not find codec parameters
[AVIOContext @ 0xb9251990] Statistics : 9590 bytes read, 0 seeks
[AVIOContext @ 0xb923e090] Statistics : 907698 bytes read, 1 seeks
-
-
I need to build a camera server, which connects with several cameras and serves video stream to several clients. Preferably using C # [closed]
10 mars 2020, par George NardesI need to build an application that distributes videos from IP cameras.
The cameras stream via the RTSP protocol. I need to distribute the frames received to several clients.
it is a requirement that the system uses C #.I would like help with frameworks or libraries that I can use to solve my problem. Thank You
-
ffmpeg send intra and gop over a traditionnal tcp (or udp) server
27 décembre 2015, par the-ownerThe Problem :
I want to stream a continuous sequence of bitmaps (a video if stuck).
I want to send the stream over a QTcpSocket/Server (or a QUdpServer why not, or a traditional tcp/udp server), and with the help of ffmpeg librarie.Context and Conditions :
I code in C++, under msvc2013 win-32, QT-IDE, ffmpeg dev 2.8.3.
We start with a bitmap which is a raw format, a result from GDI+ that I have gotten.
For very low client connection, so I will use a light video format compression MPEG-1.
I already have a TCP-Server (QTcpServer), so my goal is to not rebuild another Server for it ...Potential algorithm ? :
I have thought more on the encoding question than the procole one, assume that the protocol could be good.
It is the very first time that I do it, I don’t want to enroll into something impossible, and obviously I want your insight about this problem which I think since last month (which I have not found a good answer on internet). So, below the outlines of the algorithm that I have imagined :Server Side :
- I convert the first BMP to YUV format thanks to
sws_scale ()
, we name it P in the following (ffmpeg - libswscale) - I (MPEG1-)encode the picture P (with
avcodec_encode_video2()
) I get the datas encoded - I serialize the AVFrame/AVpicture P (maybe we will do this step just once)
- In the same time I push the datas into a QByteArray (or a simple byte array ?)
- I compress P (maybe with QCompress why not)
- I send it to the clients.
- If the step 6 goes well : we return to number 1 if the next image is a modulus of k, it will be an Intra otherwise a GOP
- Otherwise, I wait ? Or I can take into account the lost frame within the code, and I could jump it ? (Inside these question there are questions of server protocols)
Client Side (summarized)
- We get the datas (new Intra or GOP),
- We check the error function on the datas received with respect to the other datas received
- If the error function return :
- "The Error is OK with this new Intra/GOP received" we start decoding them with ffmpeg, and we display the next image of the livestream.
- Otherwise, error is not OK, we take the error into account ... (it is not my main problem here)
Questions :
It is a solution that I imagined, If the question of server/client protocol are solved, my algorithm is it viable in order to do a livestream ? Could it work ? Is there a better solution ? (another more simpler algorithm or another librarie than ffmpeg for example or something else ?) a link ? Of course critics on my server protocol are welcome.
I remind, it is just the outlines.
- I convert the first BMP to YUV format thanks to