
Recherche avancée
Autres articles (90)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Soumettre bugs et patchs
10 avril 2011Un logiciel n’est malheureusement jamais parfait...
Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
Si vous pensez avoir résolu vous même le bug (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (8702)
-
After scaled video, it convert transparent background to white
8 mars 2017, par Sohaib RazaI scaled video using ffmpeg. When i scaled video, the output video having white background ,while the input video having transparent background.
below command using for scaled video.ffmpeg -i inputVideo.mp4 -vf scale=100:100 outputVideo.mp4
you can see the image below that is take from my video,for more understanding my problem.
you can see the above image from input video having no white background.
you can see the above image from output video having white backgournd.
please give me your valuable answer regarding this question.
any answer will be very appreciate.D: onProgress: 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=
D: onProgress: libavutil 55. 17.103 / 55. 17.103
D: onProgress: libavcodec 57. 24.102 / 57. 24.102
D: onProgress: libavformat 57. 25.100 / 57. 25.100
D: onProgress: libavdevice 57. 0.101 / 57. 0.101
D: onProgress: libavfilter 6. 31.100 / 6. 31.100
D: onProgress: libswscale 4. 0.100 / 4. 0.100
D: onProgress: libswresample 2. 0.101 / 2. 0.101
D: onProgress: libpostproc 54. 0.100 / 54. 0.100
D: onProgress: Input #0, gif, from '/storage/emulated/0/Pictures/eye.gif':
D: onProgress: Duration: N/A, bitrate: N/A
D: onProgress: Stream #0:0: Video: gif, bgra, 480x190, 5 fps, 10 tbr, 100 tbn, 100 tbc
D: onProgress: Output #0, gif, to '/storage/emulated/0/GIF/REV20170308_101145.gif':
D: onProgress: Metadata:
D: onProgress: encoder : Lavf57.25.100
D: onProgress: Stream #0:0: Video: gif, bgr8, 125x56, q=2-31, 200 kb/s, 10 fps, 100 tbn, 10 tbc
D: onProgress: Metadata:
D: onProgress: encoder : Lavc57.24.102 gif
D: onProgress: Stream mapping:
D: onProgress: Stream #0:0 -> #0:0 (gif (native) -> gif (native))
D: onProgress: Press [q] to stop, [?] for help
D: onProgress: frame= 11 fps=0.0 q=-0.0 Lsize= 17kB time=00:00:02.90 bitrate= 48.8kbits/s speed=14.8x<br />
D: onProgress: video:16kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 5.287261%
D: Started command : ffmpeg [Ljava.lang.String;@422f62d0
D: onSuccess: 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, gif, from '/storage/emulated/0/Pictures/eye.gif':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: gif, bgra, 480x190, 5 fps, 10 tbr, 100 tbn, 100 tbc
Output #0, gif, to '/storage/emulated/0/GIF/REV20170308_101145.gif':
Metadata:
encoder : Lavf57.25.100
Stream #0:0: Video: gif, bgr8, 125x56, q=2-31, 200 kb/s, 10 fps, 100 tbn, 10 tbc
Metadata:
encoder : Lavc57.24.102 gif
Stream mapping:
Stream #0:0 -> #0:0 (gif (native) -> gif (native))
Press [q] to stop, [?] for help
frame= 11 fps=0.0 q=-0.0 Lsize= 17kB time=00:00:02.90 bitrate= 48.8kbits/s speed=14.8x<br />
video:16kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 5.287261% -
Where is libavformat for FFMpeg located on Snow Leopard ?
29 septembre 2011, par d.winHaving an issue with getting a makefile to find the correct libraries and header files for a .c program I'm trying to compile. I'm trying to compile an open source segmenter for Apple's HTTP Live Streaming and it requires libavformat and other FFMpeg libraries to compile. I used Mac Ports to install FFMpeg and when I run "which ffmpeg" at command line, the directory it shows is opt/local/bin/ffmpeg, but after searching around, this doesn't seem to be the directory with the libraries.
It seems that the libraries are located in opt/local/include because that is where I see the header files. Here is my makefile with the suspected directory :
all :
gcc -Wall -g live_segmenter.c -o live_segmenter -I/opt/local/include -I/opt/local/bin -I/opt/local/include/libavutil -L/opt/local/include/libavformat -libavformat -L/opt/local/include -libavcodec -L/opt/local/include -libavutil -L/opt/local/include -libavcore -lbz2 -lm -lz -lfaac -lmp3lame -lx264 -lfaad -lpthreadclean:
rm -f live_segmenterAnd here is the output after trying to compile :
gcc -Wall -g live_segmenter.c -o live_segmenter -I/opt/local/include -I/opt/local/bin -
I/opt/local/include/libavutil -L/opt/local/include/libavformat -libavformat -L/opt/local/include -libavcodec -L/opt/local/include -libavutil -L/opt/local/include -libavcore -lbz2 -lm -lz -lfaac -lmp3lame -lx264 -lfaad -lpthreadld: library not found for -libavformat
collect2: ld returned 1 exit status
make: *** [all] Error 1I also tried running "ffmpeg -version" to see if ffmpeg was built correctly and it seems to be so I have run out of ideas on what to do. Any help or point in the right direction would be great. Thank you !
-
How can I create a c++ console application which makes use of an open source c project
2 octobre 2018, par Bogdan DanielI’ve been playing around with a compiled version of https://github.com/FFmpeg/FFmpeg. But it has some problems, during the closing of an opened stream using
avio_close
(it takes a really long time to close it).I’ve been trying to understand what could go wrong by reading through the implementation, but couldn’t find anything.
What I would like to do, is to actually have a C++ console application which uses the c files and to debug them while running the code(using breakpoints and so on).
Unfortunately I cannot find any information on how to set it up. Simply copying the files in a new console application is not enough.
Thanks in advance for any suggestions.
Edit : I can already see a closing vote. If this question is not appropriate for this website, I will delete it. But please point me in the right direction of where to post it.Although it is quite a general question, I believe that it is clear and enough information has been provided.
Edit2 : Yes, I was a bit unclear about what I’m using.
I’m using Visual Studio Community 2017 on Windows 10 for creating the C++ console application.
Edit3 :
Steps that I’ve taken into using the source files into my console application which was using the DLLs.
- Copy all of the contents of the FFmpeg-master to my console application
- Include all of them in the c++ console application project
- Run a build - takes forever and has infinite build errors( > 1000) - probably compiler related
Edit4 :
I have no actual errors with
avio_close
, it just takes too long to close the stream. What I found out when playing around with the settings is that when thefifo_size
parameter is set, closing the stream is a lot faster depending on how small the set value is. And it sort of makes sense sincefifo_size
is related to the packet size, but I haven’t found out where in the code this size has an impact.fifo_size=units
Set the UDP receiving circular buffer size, expressed as a number of packets with size of 188 bytes. If not specified defaults to 7*4096.Edit5 : I still haven’t found a way to compile the open source ffmpeg project into libs, dlls and pdbs. Am I the first one needing such files(seems unrealistic) ?
The only tool capable of delivering those so far isvcpkg
. The only problem is that it compiles the 3.3.3 version and the latest is 4.0.2 .I tried to modify the
vcpkg\ports\ffmpeg\portfile.cmake
file to include the latest version of ffmpeg, but it doesn’t build it.Are there any other suggestions ?