
Recherche avancée
Autres articles (44)
-
Utilisation et configuration du script
19 janvier 2011, parInformations spécifiques à la distribution Debian
Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
Récupération du script
Le script d’installation peut être récupéré de deux manières différentes.
Via svn en utilisant la commande pour récupérer le code source à jour :
svn co (...) -
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 (...) -
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 (...)
Sur d’autres sites (6175)
-
ffmpeg on Ubuntu-Linux - Cross-compile fails
3 janvier 2018, par A.b.t.13(First of all i would like to sorry for any grammar mistakes, and to mention that I’m pretty much new to Linux :))
I’m having a really hard time trying to compile all the files related to the ’ffmpeg’ command-line tool in my Ubuntu-16.04 environment.I’ve download the ffmpeg files from this link - http://www.ffmpeg.org/
extracted the files, and installed it by the instruction that supplied in the INSTALL.md file inside the folder.The process went well, but when i tried to run by this example :
ffmpeg -i band_8k8k_3dv_projection.mp4 -filter_complex "[0:v]split=13[pr1][pr2][pr3][pr4][pr5][pr6][pr7][pr8][pr9][pr10][pr11][pr12][pr13] ;[pr1]crop=2048:2048:0:0[crp1] ;[pr2]crop=2048:2048:2048:0[crp2] ;[pr3]crop=2048:2048:4096:0[crp3] ;[pr4]crop=2048:2048:0:2048[crp4] ;[pr5]crop=2048:2048:2048:2048[crp5] ;[pr6]crop=2048:2048:4096:2048[crp6] ;[pr7]crop=2048:2048:0:4096[crp7] ;[pr8]crop=2048:2048:2048:4096[crp8] ;[pr9]crop=2048:2048:4096:4096[crp9] ;[pr10]crop=2048:2048:0:6144[crp10] ;[pr11]crop=2048:2048:2048:6144[crp11] ;[pr12]crop=2048:2048:4096:6144[crp12] ;[pr13]scale=6144:h=8192[pr13s] ;[pr13s][crp1]overlay=4096:0[ov1] ;[ov1][crp2]overlay=0:0[ov2] ;[ov2][crp3]overlay=4096:2048[ov3] ;[ov3][crp4]overlay=2048:2048[ov4] ;[ov4][crp5]overlay=2048:0[ov5] ;[ov5][crp6]overlay=0:2048[ov6] ;[ov6][crp7]overlay=4096:4096[ov7] ;[ov7][crp8]overlay=0:4096[ov8] ;[ov8][crp9]overlay=4096:6144[ov9] ;[ov9][crp10]overlay=2048:6144[ov10] ;[ov10][crp11]overlay=2048:4096[ov11] ;[ov11][crp12]overlay=0:6144[first] ;[first]split=22[prj1][prj2][prj3][prj4][prj5][prj6][prj7][prj8][prj9][prj10][prj11][prj12][prj13][prj14][prj15][prj16][prj17][prj18][prj19][prj20][prj21][prj22] ;[prj1]crop=1034:1034:0:0,pad=iw*2:ih[pd1] ; [prj2]crop=1034:1034:0:0[cp1] ; [pd1][cp1]overlay=w, scale=1504:h=464,setsar=1/1[crop1] ;[prj3]crop=1034:1034:0:0,pad=iw*2:ih[pd2] ; [prj4]crop=1034:1034:0:0[cp2] ; [pd2][cp2]overlay=w, scale=1504:h=464,setsar=1/1[crop2] ;[prj5]crop=1034:1034:0:0,pad=iw*2:ih[pd3] ; [prj6]crop=1034:1034:0:0[cp3] ; [pd3][cp3]overlay=w, scale=1504:h=464,setsar=1/1[crop3] ;[prj7]crop=1034:1034:0:0,pad=iw*2:ih[pd4] ; [prj8]crop=1034:1034:0:4096[cp4] ; [pd4][cp4]overlay=w, scale=1504:h=464,setsar=1/1[crop4] ;[prj9]crop=1034:1034:1014:0,pad=iw*2:ih[pd5] ; [prj10]crop=1034:1034:1014:4096[cp5] ; [pd5][cp5]overlay=w, scale=1504:h=464,setsar=1/1[crop5] ;[prj11]crop=1034:1034:2048:0,pad=iw*2:ih[pd6] ; [prj12]crop=1034:1034:2048:4096[cp6] ; [pd6][cp6]overlay=w, scale=1504:h=464,setsar=1/1[crop6] ;[prj13]crop=1034:1034:3062:0,pad=iw*2:ih[pd7] ; [prj14]crop=1034:1034:3062:4096[cp7] ; [pd7][cp7]overlay=w, scale=1504:h=464,setsar=1/1[crop7] ;[prj15]crop=1034:1034:4096:0,pad=iw*2:ih[pd8] ; [prj16]crop=1034:1034:4096:4096[cp8] ; [pd8][cp8]overlay=w, scale=1504:h=464,setsar=1/1[crop8] ;[prj17]crop=1034:1034:5110:0,pad=iw*2:ih[pd9] ; [prj18]crop=1034:1034:5110:4096[cp9] ; [pd9][cp9]overlay=w, scale=1504:h=464,setsar=1/1[crop9] ;[prj19]crop=1034:1034:0:1014,pad=iw*2:ih[pd10] ; [prj20]crop=1034:1034:0:5110[cp10] ; [pd10][cp10]overlay=w, scale=1504:h=464,setsar=1/1[crop10] ;[prj21]crop=1034:1034:1014:1014,pad=iw*2:ih[pd11] ; [prj22]crop=1034:1034:1014:5110[cp11] ; [pd11][cp11]overlay=w, scale=1504:h=464,setsar=1/1[crop11] ;[crop1]pad=iw:480*11,split=2[paded1][paded1a] ;[paded1][crop2]overlay=0:480*1[paded2] ;[paded2][crop3]overlay=0:480*2[paded3] ;[paded3][crop4]overlay=0:480*3[paded4] ;[paded4][crop5]overlay=0:480*4[paded5] ;[paded5][crop6]overlay=0:480*5[paded6] ;[paded6][crop7]overlay=0:480*6[paded7] ;[paded7][crop8]overlay=0:480*7[paded8] ;[paded8][crop9]overlay=0:480*8[paded9] ;[paded9][crop10]overlay=0:480*9[paded10] ;[paded10][crop11]overlay=0:480*10[out_no_black0] ;[paded1a]crop=1504:480,split=3[black0][black1][black2] ;[out_no_black0][black0]overlay=0:480*0[out_no_black1] ;[out_no_black1][black1]overlay=0:480*1[out_no_black2] ;[out_no_black2][black2]overlay=0:480*2[out_no_black3] ;[out_no_black3]crop=in_w:in_h" -preset slow -r 30 -pix_fmt yuv420p -movflags +faststart -coder 1 -cmp chroma -me_range 48 -me_method umh -subq 9 -refs 6 -b_strategy 2 -bf 16 -flags +loop+mv4+cgop -flags2 +local_header -forced-idr 1 -threads 0 -c:v libx264 -profile:v high -level 5.1 -x264opts "keyint=30:no-scenecut:min-keyint=30:fps=30" -b:v 70000k -maxrate 70000k -bufsize 140000k -slices 11 -c:a copy -f mp4 "band_8k8k_3dv_line_0_70000k.mp4" -y
I’ve got this error :
enter image description hereI’ve looked for this problem, and found out that this unrecognized option may related to the lack of the library called "libx264".
According to instruction i’ve found in this link - http://trac.ffmpeg.org/wiki/CompilationGuide/UbuntuI configured the ffmpeg again with those flags —enable-gpl —enable-libx264 , installed th libx264 by this command - sudo apt-get install libx264-dev, all of those action went well, but when i try to compile it all together - i do it by running the command of ’make -j 10’ or just ’make’, when i’m inside the folder where all of the ffmpeg files are extracted to, i face this error -
enter image description hereThanks for anyone who could help !
-
RTSP Streaming on Jetson Xavier NX, Ubuntu 20.04 [closed]
12 décembre 2023, par Jani am working on a project, where i want to create a rtsp live server from a USB Camera.
To do that i downloaded the mediamtx rtsp server.


Then i am pushing the stream from the camera to the rtsp server, and display it using ffplay, or OpenCV in C++.


This is working, however i get a very low quality, and a delay of up to 1 second.


Is there any way to improve the delay ? If possible i would like to have the same quality and delay as if i read it with gst-launch-1.0.


The command for ffmpeg was


ffmpeg -i /dev/video0 -s 1280x720 -vsync 0 - f rtsp rtsp://localhost:8554/mystream



I also tried to utilize the hardware acceleration with cuda


ffmpeg -i /dev/video0 -s 1280x720 -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -f x11grab -fflags nobuffer -i :0.0+0.0 -preset ultrafast -vcodec libx264 - tune zerolatency -g 1 -omit_video_pes_length 0 - f rtsp rtsp://localhost:8554/mystream



With this I get a better quality, but the delay is still very bad.


Any ideas on how to get a live stream with < 100ms ?
Did I maybe miss out some additional parameters for ffmpeg that resolve that problem ?


-
Install ffmpeg on ubuntu [closed]
17 décembre 2022, par Muhammad Irfan GhoriI am trying to install ffmpeg 3.3.4


wget https://www.ffmpeg.org/releases/ffmpeg-3.3.4.tar.bz2 export TMPDIR=$HOME/tmp


Installing libraries


sudo apt-get install libfontconfig1-dev
sudo apt-get install libmp3lame-dev
sudo apt-get install speex-dev
sudo apt-get install libtheora-dev
sudo apt-get install libvorbis-dev
sudo apt-get install libssl-dev
sudo apt-get install libx264-dev
sudo apt-get install libx265-dev



then


./configure --prefix=/usr --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/local/lib --incdir=/usr/include/lib --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-libfontconfig --enable-libfreetype --enable-libmp3lame --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx265 --enable-libx264 --enable-openssl --enable-nonfree --disable-yasm


then


make && sudo make install


I then get the error :


libavcodec/libx264.c: In function ‘X264_frame’:
libavcodec/libx264.c:282:9: error: ‘x264_bit_depth’ undeclared (first use in this function)
 282 | if (x264_bit_depth > 8)
 | ^~~~~~~~~~~~~~
libavcodec/libx264.c:282:9: note: each undeclared identifier is reported only once for each function it appears in
libavcodec/libx264.c: In function ‘X264_init_static’:
libavcodec/libx264.c:892:9: error: ‘x264_bit_depth’ undeclared (first use in this function)
 892 | if (x264_bit_depth == 8)
 | ^~~~~~~~~~~~~~
make: *** [common.mak:60: libavcodec/libx264.o] Error 1