
Recherche avancée
Autres articles (47)
-
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 (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)
Sur d’autres sites (8721)
-
Converting .mov to .m3u8 with ffmpeg
22 avril 2015, par Tim BakerI’m trying to convert a file to get it ready for adapative streaming. Have a .mov file I’d like to make .m3u8
Using ffmpeg, but I’ll admit I’m not completely familiar with the process.
ffmpeg -i intro.mov -c:v libx264 -b:a 32k -c:a aac -strict -f segment.ts -segment_list playlist.m3u8
I’m getting the following error :
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Stream #0:0(eng): Video: h264, q=2-31, 128 kb/s, 23.98 fps (default)
Metadata:
creation_time : 2015-04-20 23:58:02
handler_name : Apple Video Media Handler
encoder : Lavc55.69.100 libx264
Stream #0:1(eng): Audio: aac, 0 channels, 128 kb/s (default)
Metadata:
creation_time : 2015-04-20 23:58:02
handler_name : Apple Sound Media Handler
encoder : Lavc55.69.100 aac
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> aac (native)) -
Knitr Plot Animation - disappearing output files ?
20 avril 2015, par tcsI downloaded the latest ffmpeg (exe version), unzipped the files, renamed the directory to ffmpeg, copied the directory into c :\Program Files. I appended my PATH variable to include c :\Program Files\ffmpeg\bin. Finally, I restarted Rstudio.
While attempting to run the following code chunk :
```{r perf_plot, fig.width=7, fig.height=6, fig.show='animate'}
library(corrplot)
corrplot(m, method = "circle")
m<-sequence_2_matrix(perf_list[[1]])
corrplot(m)
for (i in 2:length(perf_list)) {
m<-(m*(i-1)+sequence_2_matrix(perf_list[[i]]))/i
corrplot(m,method = "circle")
}I see within the output in in my RMarkdown window that the ffmpeg call seems to be successfully run, but while watching the directory where my code is located the png that is attempted to be created can often disappear, or not appear at all. Strangeness.
processing file: MarkovRoutinesSim.rmd
|........ | 13%
ordinary text without R code
|........... | 17%
label: unnamed-chunk-2
|.............. | 22%
ordinary text without R code
|................. | 26%
label: unnamed-chunk-3
|.................... | 30%
ordinary text without R code
|....................... | 35%
label: unnamed-chunk-4
|......................... | 39%
ordinary text without R code
|............................ | 43%
label: unnamed-chunk-5
|............................... | 48%
ordinary text without R code
|.................................. | 52%
label: unnamed-chunk-6
|..................................... | 57%
ordinary text without R code
|........................................ | 61%
label: unnamed-chunk-7
|.......................................... | 65%
ordinary text without R code
|............................................. | 70%
label: perf_plot (with options)
List of 3
$ fig.width : num 7
$ fig.height: num 6
$ fig.show : chr "animate"
executing: ffmpeg -y -r 1 -i MarkovRoutinesSim_files/figure-html/perf_plot-%d.png MarkovRoutinesSim_files/figure-html/perf_plot-.webm
ffmpeg version N-71515-ga40cee0 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
libavutil 54. 22.101 / 54. 22.101
libavcodec 56. 34.100 / 56. 34.100
libavformat 56. 30.100 / 56. 30.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 14.100 / 5. 14.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, image2, from 'MarkovRoutinesSim_files/figure-html/perf_plot-%d.png':
Duration: 00:00:00.44, start: 0.000000, bitrate: N/A
Stream #0:0: Video: png, pal8, 1344x1152 [SAR 7559:7559 DAR 7:6], 25 fps, 25 tbr, 25 tbn, 25 tbc
[libvpx @ 000000000310e720] v1.4.0
Output #0, webm, to 'MarkovRoutinesSim_files/figure-html/perf_plot-.webm':
Metadata:
encoder : Lavf56.30.100
Stream #0:0: Video: vp8 (libvpx), yuv420p, 1344x1152 [SAR 1:1 DAR 7:6], q=-1--1, 200 kb/s, 1 fps, 1k tbn, 1 tbc
Metadata:
encoder : Lavc56.34.100 libvpx
Stream mapping:
Stream #0:0 -> #0:0 (png (native) -> vp8 (libvpx))
Press [q] to stop, [?] for help
|................................................ | 74%
ordinary text without R code
|................................................... | 78%
label: unnamed-chunk-8
|...................................................... | 83%
ordinary text without R code
|......................................................... | 87%
label: unnamed-chunk-9
frame= 11 fps=0.0 q=0.0 Lsize= 108kB time=00:00:11.00 bitrate= 80.8kbits/s
video:108kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.524176%
|........................................................... | 91%
ordinary text without R code
|.............................................................. | 96%
label: unnamed-chunk-10
|.................................................................| 100%
ordinary text without R code
"C:/Program Files/RStudio/bin/pandoc/pandoc" MarkovRoutinesSim.utf8.md --to html --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash-implicit_figures --output MarkovRoutinesSim.html --smart --email-obfuscation none --self-contained --standalone --section-divs --template "C:\Users\Tim\Documents\R\win-library\3.2\rmarkdown\rmd\h\default.html" --variable "theme:bootstrap" --include-in-header "C:\Users\Tim\AppData\Local\Temp\Rtmpkrtekd\rmarkdown-str7d43d7d5475.html" --mathjax --variable "mathjax-url:https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" --no-highlight --variable "highlightjs=C:\Users\Tim\Documents\R\win-library\3.2\rmarkdown\rmd\h\highlight"
output file: MarkovRoutinesSim.knit.md
Output created: MarkovRoutinesSim.htmlAny ideas on what might be happening ? I’ve tried adding in other graphs, and I see this random behavior of the file folder appearing disappearing, sometimes the file is created, other times not.
-
Pipe breaks when piping gif to ffmpeg
20 avril 2015, par forwardslashI’ve been trying to pipe gifs to ffmpeg to turn them into mp4s but I keep getting I/O errors from the pipe when I try.
Something like
cat nyan.gif | ffmpeg -f gif -i - -pix_fmt yuv420p -y nyan.mp4
Outputs
fmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers
built with Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.6.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-openssl --enable-libwebp --enable-nonfree --enable-vda
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, gif, from 'pipe:0':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: gif, bgra, 752x420, 100 tbr, 100 tbn, 100 tbc
[libx264 @ 0x7f9b3a012e00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x7f9b3a012e00] profile High, level 3.2
[libx264 @ 0x7f9b3a012e00] 264 - core 144 r2533 c8a773e - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'nyan3.mp4':
Metadata:
encoder : Lavf56.25.101
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 752x420, q=-1--1, 100 fps, 12800 tbn, 100 tbc
Metadata:
encoder : Lavc56.26.100 libx264
Stream mapping:
Stream #0:0 -> #0:0 (gif (native) -> h264 (libx264))
pipe:0: Input/output error
frame= 20 fps=0.0 q=-1.0 Lsize= 21kB time=00:00:00.18 bitrate= 974.0kbits/s dup=17 drop=0
video:20kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 5.163643%
[libx264 @ 0x7f9b3a012e00] frame I:1 Avg QP:20.83 size: 10238
[libx264 @ 0x7f9b3a012e00] frame P:6 Avg QP:21.55 size: 1484
[libx264 @ 0x7f9b3a012e00] frame B:13 Avg QP:17.85 size: 77
[libx264 @ 0x7f9b3a012e00] consecutive B-frames: 10.0% 0.0% 30.0% 60.0%
[libx264 @ 0x7f9b3a012e00] mb I I16..4: 42.0% 32.5% 25.5%
[libx264 @ 0x7f9b3a012e00] mb P I16..4: 0.6% 2.2% 1.6% P16..4: 4.7% 2.2% 1.2% 0.0% 0.0% skip:87.4%
[libx264 @ 0x7f9b3a012e00] mb B I16..4: 0.3% 0.0% 0.0% B16..8: 3.8% 0.0% 0.0% direct: 0.0% skip:95.8% L0:62.9% L1:37.0% BI: 0.2%
[libx264 @ 0x7f9b3a012e00] 8x8 transform intra:35.1% inter:11.1%
[libx264 @ 0x7f9b3a012e00] coded y,uvDC,uvAC intra: 18.2% 30.0% 25.7% inter: 0.6% 0.4% 0.3%
[libx264 @ 0x7f9b3a012e00] i16 v,h,dc,p: 70% 17% 13% 0%
[libx264 @ 0x7f9b3a012e00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 43% 8% 47% 0% 0% 0% 1% 0% 1%
[libx264 @ 0x7f9b3a012e00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 33% 22% 2% 3% 2% 4% 2% 4%
[libx264 @ 0x7f9b3a012e00] i8c dc,h,v,p: 69% 20% 8% 3%
[libx264 @ 0x7f9b3a012e00] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x7f9b3a012e00] ref P L0: 83.5% 5.8% 8.9% 1.8%
[libx264 @ 0x7f9b3a012e00] ref B L0: 66.7% 33.0% 0.2%
[libx264 @ 0x7f9b3a012e00] ref B L1: 85.7% 14.3%
[libx264 @ 0x7f9b3a012e00] kb/s:805.96The important part being
pipe:0: Input/output error
I’ve tried this in bash and zsh on OSX and Ubuntu and I get the same error on all of them. I get the same error when trying to pipe with curl or httpie. When I just have file as input it works fine. Am I missing something necessary when piping to ffmpeg ?