
Recherche avancée
Autres articles (66)
-
Qu’est ce qu’un masque de formulaire
13 juin 2013, parUn masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
Chaque formulaire de publication d’objet peut donc être personnalisé.
Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
L’utiliser, en parler, le critiquer
10 avril 2011La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
Une liste de discussion est disponible pour tout échange entre utilisateurs.
Sur d’autres sites (6069)
-
How to merge special ts files to mp4 ? [closed]
21 février 2024, par mikezangI have some ts files and I want to merge them to mp4, I used command as below, some of ts can be merged without any problems.


ffmpeg -i 'concat:01.ts|02.ts|03.ts|' -c copy -bsf:a aac_adtstoasc 01.mp4



Then I found for some ts files, I got error as below when I used the same command above, what can I do to merge these ts files ?


ffmpeg version 2023-11-13-git-67a2571a55-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
 built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
 configuration: --enable-gpl --enable-version3 --enable-static --pkg-config=pkgconf --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
 libavutil 58. 32.100 / 58. 32.100
 libavcodec 60. 33.100 / 60. 33.100
 libavformat 60. 17.100 / 60. 17.100
 libavdevice 60. 4.100 / 60. 4.100
 libavfilter 9. 13.100 / 9. 13.100
 libswscale 7. 6.100 / 7. 6.100
 libswresample 4. 13.100 / 4. 13.100
 libpostproc 57. 4.100 / 57. 4.100
[png @ 0000028b191c1cc0] inflate returned error -3
Input #0, png_pipe, from 'concat:001.ts|002.ts|003.ts':
 Duration: N/A, bitrate: N/A
 Stream #0:0: Video: png, pal8(pc, gbr/unknown/unknown), 800x800, 25 fps, 25 tbr, 25 tbn
Output #0, mp4, to '01.mp4':
 Metadata:
 encoder : Lavf60.17.100
 Stream #0:0: Video: png (mp4v / 0x7634706D), pal8(pc, gbr/unknown/unknown), 800x800, q=2-31, 25 fps, 25 tbr, 12800 tbn
Stream mapping:
 Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[out#0/mp4 @ 0000028b19260cc0] video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[out#0/mp4 @ 0000028b19260cc0] Output file is empty, nothing was encoded



The successful ts file by ffprobe :


Input #0, mpegts, from '001.ts':
 Duration: 00:00:12.04, start: 0.038000, bitrate: 942 kb/s
 Program 1
 Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn
 Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 97 kb/s



The failed ts file by ffprobe :


[png @ 000001e9016fe940] inflate returned error -3
Input #0, png_pipe, from '001.ts':
 Duration: N/A, bitrate: N/A
 Stream #0:0: Video: png, pal8(pc, gbr/unknown/unknown), 800x800, 25 fps, 25 tbr, 25 tbn



-
ffmpeg - escaping special characters
21 février 2023, par RizI want to record screen using ffmpeg. Here is a simple command which I use and works fine


ffmpeg -f dshow -i audio="Microphone Array (Full HD 1080P PC Camera Audio)" -f gdigrab -offset_x 0 -offset_y 0 -video_size 500x500 -framerate 30 -i desktop -pix_fmt yuv420p -vcodec libx264 -crf 28 -preset ultrafast -tune zerolatency -movflags +faststart "recording.mp4"



But I have another USB mic (Microphone 1:2 (USB PnP Sound Device)), which has a colon ( :) in its name. When I use it for recording, it gives error


[dshow @ 0000028f718db740] Malformed dshow input string.
audio=Microphone 1:2 (USB PnP Sound Device): I/O error



I have tried to escape colon sign with & \ but still get same error. How to fix this ?


-
How to scape special characters for linux, nodejs exec function
22 février 2023, par David ChavezI'm running this ffmpeg command on my linux server and while I paste it into the terminal, it works just fine but as soon as I use execPromise to run the EXACT same command, it returns an error.


const { exec } = require('child_process');
const { promisify } = require('util');
const execPromise = promisify(exec);

const encode = async ffmpegCode => {
 try {
 console.log(ffmpegCode) //Here I can see that the code is the
 //exact same one than the one that works
 //when pasted into the terminal
 await execPromise(ffmpegCode);
 return 200
 } catch (err) {
 console.log(err)
 }
}



I need
\:
to be interpreted as such. When I type it as is,\:
, the error message shows me that it interpreted it as:
which is expected.

If I pass in
\\:
, I expect it to interpret it as I need it which would be\:
but the error shows me that it interprets it as\\:
.

\\\:
is interpreted as\\:
and\\\\:
is interpreted as\\\\:
.

Part of the command passed :


...drawtext=text='timestamp \\: %{pts \\: localtime \\: 1665679092.241...


Expected command :


...drawtext=text='timestamp \: %{pts \: localtime \: 1665679092.241...


Error message :


...drawtext=text='timestamp \\: %{pts \\: localtime \\: 1665679092.241...


How do I get
/:
through to the exec function ?