
Recherche avancée
Médias (3)
-
Valkaama DVD Cover Outside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Valkaama DVD Cover Inside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
Autres articles (21)
-
Création définitive du canal
12 mars 2010, parLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)
Sur d’autres sites (4363)
-
ffmpeg - cut without reencoding and strange behaviour : application provided duration is out of range for mov/mp4 format [closed]
27 août 2023, par user2707175In Ubuntu 18.04 I quite often used the following command for trimming part of the video without re encoding (which means without any quality loss).


ffmpeg -ss 00:06:00 -i DSCF5984.MOV -t 00:07:00 -c copy DSCF5984_A_wszystkie.MOV


Not so much time ago I moved to Ubuntu 22.04. Still having the same video camera and still using the same format for recording, when using the command as above I'm getting quite strange error and the behavior is unexpected. In this case mov file is 40 sec file. I want to get 7 seconds fragment starting from 6 second (thus from 6 to 13 sec). Instead of this I get very short fragment from the beginning of the file. I don't even know how long as none of video players want to display its length. Probably it's 1-2 sec. Thus it's not only, I get this error, but ffmpeg doesn't work. In theory I have the newest version available for ubuntu 22.04.


Messages displayed by ffmpeg


ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
 built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
 configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
 WARNING: library configuration mismatch
 avcodec configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc --enable-libsmbclient
 libavutil 56. 70.100 / 56. 70.100
 libavcodec 58.134.100 / 58.134.100
 libavformat 58. 76.100 / 58. 76.100
 libavdevice 58. 13.100 / 58. 13.100
 libavfilter 7.110.100 / 7.110.100
 libswscale 5. 9.100 / 5. 9.100
 libswresample 3. 9.100 / 3. 9.100
 libpostproc 55. 9.100 / 55. 9.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'DSCF5984.MOV':
 Metadata:
 major_brand : qt 
 minor_version : 0
 compatible_brands: qt 
 creation_time : 2023-08-12T23:07:18.000000Z
 original_format : Digital Camera
 original_format-eng: Digital Camera
 comment : FUJIFILM DIGITAL CAMERA X-S10
 comment-eng : FUJIFILM DIGITAL CAMERA X-S10
 Duration: 00:00:40.04, start: 0.000000, bitrate: 105270 kb/s
 Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, smpte170m/bt709/smpte170m), 3840x2160, 101873 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
 Metadata:
 creation_time : 2023-08-12T23:07:18.000000Z
 vendor_id : [0][0][0][0]
 encoder : AVC Coding
 timecode : 07:05:54;21
 Stream #0:1(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default)
 Metadata:
 creation_time : 2023-08-12T23:07:18.000000Z
 vendor_id : [0][0][0][0]
 timecode : 07:05:54;21
 Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
 Metadata:
 creation_time : 2023-08-12T23:07:18.000000Z
 timecode : 07:05:54;21
[mov @ 0x55a005fa6e40] Application provided duration: -9223372036854775808 / timestamp: -9223372036854775808 is out of range for mov/mp4 format
[mov @ 0x55a005fa6e40] pts has no value
Output #0, mov, to 'DSCF5984_A_wszystkie.MOV':
 Metadata:
 major_brand : qt 
 minor_version : 0
 compatible_brands: qt 
 comment-eng : FUJIFILM DIGITAL CAMERA X-S10
 original_format : Digital Camera
 original_format-eng: Digital Camera
 comment : FUJIFILM DIGITAL CAMERA X-S10
 encoder : Lavf58.76.100
 Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, smpte170m/bt709/smpte170m), 3840x2160, q=2-31, 101873 kb/s, 0.03 fps, 29.97 tbr, 30k tbn, 30k tbc (default)
 Metadata:
 creation_time : 2023-08-12T23:07:18.000000Z
 vendor_id : [0][0][0][0]
 encoder : AVC Coding
 timecode : 07:05:54;21
 Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default)
 Metadata:
 creation_time : 2023-08-12T23:07:18.000000Z
 vendor_id : [0][0][0][0]
 timecode : 07:05:54;21
Stream mapping:
 Stream #0:0 -> #0:0 (copy)
 Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 30 fps=0.0 q=-1.0 Lsize= 13475kB time=-00:05:19.97 bitrate=N/A speed=N/A 
video:13191kB audio:282kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.019629%



Is that some kind of error ? Or should I do sth different ? I'm quite surprised as I didn't change my camera. So is that sth changed in ffmpeg ?


-
How to resolve Electron ffmpeg error opening input file ?
26 août 2023, par 3V1LXDI have an Electron app with
ffmpeg.exe
inside the project'sbin
folder. When i try to use ffmpeg to make a new video I get an error reading the input file.

FFmpeg error: [in#0 @ 000002667f2ab9c0] Error opening input: No such file or directory

Error opening input file C:/Users/xxxx/Videos/Powder/2023.08.19%2017.30.37_Apex_Legends/Powder_2023.08.19%2021.00.48.mp4



const ffmpeg = spawn(ffmpegPath, [
 '-i', videoFile,
 '-filter_complex', filterComplex,
 '-map', '[out]',
 '-c:v', 'libx264',
 '-crf', '18',
 '-preset', 'veryfast',
 '-y',
 path.join(outputDir, outputName)
]);

ffmpeg.stdout.on('data', (data) => {
 console.log(`FFmpeg output: ${data}`);
});

ffmpeg.stderr.on('data', (data) => {
 console.error(`FFmpeg error: ${data}`);
});

ffmpeg.on('close', (code) => {
 console.log(`FFmpeg process exited with code ${code}`);
 event.reply('ffmpeg-export-done'); // Notify the renderer process
});



How can i resolve this path issue ?


-
Ffmpeg : How to fix error "Please choose an encoder manually" ?
9 juillet 2023, par AlexI am trying to convert a x265 videofile to a x264 format so it can be played on a television. I am trying the following command


ffmpeg -i input.mkv -f mp4 -vcodec libx264 -preset fast -profile:v main -acodec aac -map 0:0 -map 0:1 -map 0:2 test.mp4



to select videos stream 0:0 for video, stream 0:1 for audio and stream 0:2 for the subtitle. However I get an error


Automatic encoder selection failed Default encoder for format mp4 (codec none) is probably disabled. Please choose an encoder manually.
Error selecting an encoder



How to fix this command ?


P.S. I am not an expert in
ffmpeg
or videos conversion/formats/encodings/audio formats/subtitle formats.

I found EXACTLY ONE google search result with the exact error phrase HERE. And that is not helping as I do not even understand the first sentence.


Below is the output for the first three streams :


Input #0, matroska,webm, from 'input.mkv':
 Metadata:
 creation_time : 2021-03-25T09:13:20.000000Z
 ENCODER : Lavf58.29.100
 Duration: 00:23:57.65, start: 0.000000, bitrate: 2103 kb/s
 Stream #0:0(jpn): Video: hevc (Main 10), yuv420p10le(tv), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default)
 Metadata:
 title : [Judas] x265 10b
 ENCODER : Lavc58.54.100 libx265
 BPS-eng : 1973938
 DURATION-eng : 00:23:55.017000000
 NUMBER_OF_FRAMES-eng: 34406
 NUMBER_OF_BYTES-eng: 354079423
 _STATISTICS_WRITING_APP-eng: mkvmerge v48.0.0 ('Fortress Around Your Heart') 64-bit
 _STATISTICS_WRITING_DATE_UTC-eng: 2021-03-25 09:13:20
 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 Stream #0:1(jpn): Audio: aac (LC), 44100 Hz, stereo, fltp (default)
 Metadata:
 title : Japanese
 BPS-eng : 128000
 DURATION-eng : 00:23:55.086000000
 NUMBER_OF_FRAMES-eng: 61804
 NUMBER_OF_BYTES-eng: 22961378
 _STATISTICS_WRITING_APP-eng: mkvmerge v48.0.0 ('Fortress Around Your Heart') 64-bit
 _STATISTICS_WRITING_DATE_UTC-eng: 2021-03-25 09:13:20
 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 Stream #0:2(eng): Subtitle: ass
 Metadata:
 title : English
 BPS-eng : 196
 DURATION-eng : 00:23:53.580000000
 NUMBER_OF_FRAMES-eng: 478
 NUMBER_OF_BYTES-eng: 35129
 _STATISTICS_WRITING_APP-eng: mkvmerge v48.0.0 ('Fortress Around Your Heart') 64-bit
 _STATISTICS_WRITING_DATE_UTC-eng: 2021-03-25 09:13:20
 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES



I found a related question HERE whose answer I do not fully understand. However, I tried the following command


ffmpeg -i input.mkv -f mp4 -vcodec libx264 -preset fast -profile:v main -acodec aac -map 0:0 -map 0:1 -map 0:2 -c:s mov_text test.mp4



but got a new error


Error initializing output stream: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height



I thought I am defining an "encoder" for output stream "#0:0" (which I think is video), namely libx264. So what else to do here ?


I tried
-acode copy
and also to use-qp 0
in the command line which all did not work.