
Recherche avancée
Autres articles (111)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Que fait exactement ce script ?
18 janvier 2011, parCe script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
Installation de dépendances de MediaSPIP
Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...) -
Activation de l’inscription des visiteurs
12 avril 2011, parIl est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)
Sur d’autres sites (5113)
-
FFMpeg command doesn't works for 4.0-39-gda39990 version but works for 3.0.1 version
17 mai 2020, par Android DeveloperI run below FFmpeg command to cut video using 4.0-39 version-



{"-y","-i","/storage/emulated/0/Movies/g3cm1tt7qtd41.mp4.mp4", "-ss", "10", "-t", "53", "-c", "copy","/storage/emulated/0/Movies/cut_video10.mp4"}




It returns success with below response but the output video cannot be played !However same command runs fine when using older version 3.0.1 of FFMpeg and output video can be played !





SUCCESS with output : ffmpeg version n4.0-39-gda39990 Copyright (c)
 2000-2018 the FFmpeg developers
 built with gcc 4.9.x (GCC) 20150123 (prerelease)
 configuration : —target-os=linux —cross-prefix=/root/bravobit/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-
 —arch=arm —cpu=cortex-a8 —enable-runtime-cpudetect —sysroot=/root/bravobit/ffmpeg-android/toolchain-android/sysroot —enable-pic —enable-libx264 —enable-ffprobe —enable-libopus —enable-libvorbis —enable-libfdk-aac —enable-libfreetype —enable-libfribidi —enable-libmp3lame —enable-fontconfig —enable-libvpx —enable-libass —enable-yasm —enable-pthreads —disable-debug —enable-version3 —enable-hardcoded-tables —disable-ffplay —disable-linux-perf —disable-doc —disable-shared —enable-static —enable-runtime-cpudetect —enable-nonfree —enable-network —enable-avresample —enable-avformat —enable-avcodec —enable-indev=lavfi —enable-hwaccels —enable-ffmpeg —enable-zlib —enable-gpl —enable-small —enable-nonfree —pkg-config=pkg-config —pkg-config-flags=—static —prefix=/root/bravobit/ffmpeg-android/build/armeabi-v7a —extra-cflags='-I/root/bravobit/ffmpeg-android/toolchain-android/include
 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' —extra-ldflags='-L/root/bravobit/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' —extra-cxxflags=
 libavutil 56. 14.100 / 56. 14.100
 libavcodec 58. 18.100 / 58. 18.100
 libavformat 58. 12.100 / 58. 12.100
 libavdevice 58. 3.100 / 58. 3.100
 libavfilter 7. 16.100 / 7. 16.100
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 1.100 / 5. 1.100
 libswresample 3. 1.100 / 3. 1.100
 libpostproc 55. 1.100 / 55. 1.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Movies/g3cm1tt7qtd41.mp4.mp4' :
 Metadata :
 major_brand : iso6
 minor_version : 1
 compatible_brands : mp42iso6avc1isom
 creation_time : 2020-01-30T11:13:07.000000Z
 Duration : 00:00:00.00, start : 0.042643, bitrate : N/A
 Stream #0:0(und) : Video : h264 (avc1 / 0x31637661), yuv420p, 854x480 [SAR 2136:2135 DAR 89:50], 1225 kb/s, 30 fps, 30 tbr, 15360
 tbn, 60 tbc (default)
 Stream #0:1(eng) : Audio : aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
 Output #0, mp4, to '/storage/emulated/0/Movies/cut_video10.mp4' :
 Metadata :
 major_brand : iso6
 minor_version : 1
 compatible_brands : mp42iso6avc1isom
 encoder : Lavf58.12.100
 Stream #0:0(und) : Video : h264 (avc1 / 0x31637661), yuv420p, 854x480 [SAR 2136:2135 DAR 89:50], q=2-31, 1225 kb/s, 30 fps, 30 tbr,
 15360 tbn, 15360 tbc (default)
 Stream #0:1(eng) : Audio : aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
 Stream mapping :
 Stream #0:0 -> #0:0 (copy)
 Stream #0:1 -> #0:1 (copy)
 Press [q] to stop, [?] for help
 frame= 0 fps=0.0 q=-1.0 Lsize= 0kB time=00:00:00.00 bitrate=N/A speed= 0x

 video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead : unknown




Response with version 3.0.1 which worked-



SUCCESS with output : ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
 built with gcc 4.8 (GCC)
 configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
 libavutil 55. 17.103 / 55. 17.103
 libavcodec 57. 24.102 / 57. 24.102
 libavformat 57. 25.100 / 57. 25.100
 libavdevice 57. 0.101 / 57. 0.101
 libavfilter 6. 31.100 / 6. 31.100
 libswscale 4. 0.100 / 4. 0.100
 libswresample 2. 0.101 / 2. 0.101
 libpostproc 54. 0.100 / 54. 0.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Movies/g3cm1tt7qtd41.mp4.mp4':
 Metadata:
 major_brand : iso6
 minor_version : 1
 compatible_brands: mp42iso6avc1isom
 creation_time : 2020-01-30 11:13:07
 Duration: 00:00:00.00, start: 0.042667, bitrate: N/A
 Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 854x480 [SAR 2136:2135 DAR 89:50], 1225 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
 Output #0, mp4, to '/storage/emulated/0/Movies/cut_video11.mp4':
 Metadata:
 major_brand : iso6
 minor_version : 1
 compatible_brands: mp42iso6avc1isom
 encoder : Lavf57.25.100
 Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 854x480 [SAR 2136:2135 DAR 89:50], q=2-31, 1225 kb/s, 30 fps, 30 tbr, 15360 tbn, 15360 tbc (default)
 Stream #0:1(eng): Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 128 kb/s (default)
 Stream mapping:
 Stream #0:0 -> #0:0 (copy)
 Stream #0:1 -> #0:1 (copy)
 Press [q] to stop, [?] for help
 frame= 661 fps=0.0 q=-1.0 Lsize= 3848kB time=00:00:23.01 bitrate=1369.5kbits/s speed=71.1x 
 video:3463kB audio:359kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.657366%




Link for the file - https://gofile.io/d/7aFuQo


-
can i concat with ffmpg from list inside list ?
18 juillet 2016, par Nir Diamanti have 6 movies in 2 different lists.
can i give link from one list to the other one ?
i have mylist1.txt:
file 'C:\videos\vid1.avi'
file 'C:\videos\vid4.avi'
file 'C:\videos\vid5.avi'
and i have mylist2:
file 'C:\videos\vid2.avi'
file 'C:\videos\vid3.avi'** they created dynamically, this why they are separate
any way, i want to make one movie that the order will be : vid1+vid2+vid3+vid4+vid5
can i do something like this :
ffmpeg -f concat -i mylist.txt -c copy output.mp4
while mylist.txt:
file 'C:\videos\vid1.avi'
mylist2.txt
file 'C:\videos\vid4.avi'
file 'C:\videos\vid5.avi' -
What do I have to do to decompress MP4 video with NVDEC directly to a Texture buffer on an NVidia Jetson AGX Xavier computer ?
13 septembre 2020, par Alexis WilkeWhat I'm trying to do is decompress two MP4 frames (one per NVDEC) and then manipulate them with OpenGL.


Right now, though, this is too slow (definitely not real time), as I have to make copies of 4K images (3840x2160x3 in RGB) and that's just too much data to copy.


I wrote a small benchmark to verify that part. I can only copy between 240 and 250 such buffers per second with
memcpy()
. That's too slow when the input movies are 60 fps...

I'm able to use the NVDEC chip to decompress to a buffer through ffmpeg, but to place that in a texture, I then have to get the frame out of ffmpeg (copy 1) and then send that image to a texture (copy 2). Do that for two videos, that's 4 copies... 4K is huge ! So the CPUs don't have the time to do that much work 60 times per second.


So right now I'm looking for a way to send the output of the NVDEC directly to a texture. Looking at GStreamer (the gst-launch-1.0), it takes like 3% CPU and can playback a 4K video in real time. What am I doing wrong ?