
Recherche avancée
Autres articles (48)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)
Sur d’autres sites (11558)
-
stream m3u8 stopped before start
11 mai 2020, par mastersamI have m3u8 link and RTMP server. I wanna stream from m3u8 linkt to RTMP server but when i call command



ffmpeg -re -stream_loop -1 -i xxx.m3u8 -c:v copy -c:a aac -ar 44100 -ab 128k -ac 2 -strict -2 -flags +global_header -bsf:a aac_adtstoasc -bufsize 2000k -f flv rtmp ://xxx



then ffmpeg show "DONE" but not stream.





[7] 21629
 ffmpeg version N-97584-gf821ae8 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1 16.04.12) 20160609
 configuration : —enable-openssl —disable-x86asm
 libavutil 56. 43.100 / 56. 43.100
 libavcodec 58. 82.100 / 58. 82.100
 libavformat 58. 42.102 / 58. 42.102
 libavdevice 58. 9.103 / 58. 9.103
 libavfilter 7. 80.100 / 7. 80.100
 libswscale 5. 6.101 / 5. 6.101
 libswresample 3. 6.100 / 3. 6.100
 -c:v : command not found

 

[7]+ Stopped ffmpeg -re -stream_loop -1 -i https://




-
ffmpeg HE-AAC 'unsupported codec' despite being compiled with support
12 mai 2020, par SebastianLack of default support of AAC for ffmpeg is really annoying :



My ffmpeg version :



ffmpeg version git-2020-05-02-0d81edc Copyright (c) 2000-2020 the FFmpeg developers
 built with Apple clang version 11.0.0 (clang-1100.0.33.17)
 configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD-0d81edc_1 --enable-shared --cc=clang --host-cflags=-fno-stack-check --host-ldflags= --enable-gpl --enable-libaom --enable-libmp3lame --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --disable-libjack --disable-indev=jack --enable-opencl --enable-videotoolbox --disable-htmlpages --enable-libbluray --enable-libfdk-aac --enable-libopenh264 --enable-libopenjpeg --enable-librsvg --enable-libspeex --enable-libsrt --enable-libtwolame --enable-libwavpack --enable-libwebp --enable-libxvid --enable-nonfree --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb




I have several segment.ts files in
edit.txt
and I try to concatenate and convert to mpg :
ffmpeg -f concat -i edit.txt -c copy output.mpg



this does not work



Input #0, concat, from 'edit.txt':
 Duration: N/A, start: 0.000000, bitrate: 121 kb/s
 Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720, 30 fps, 29.97 tbr, 90k tbn, 60 tbc
 Stream #0:1: Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 121 kb/s
File 'output.mpg' already exists. Overwrite? [y/N] y
Stream mapping:
 Stream #0:0 -> #0:0 (copy)
 Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[mpeg @ 0x7f8e44807e00] VBV buffer size not set, using default size of 230KB
If you want the mpeg file to be compliant to some specification
Like DVD, VCD or others, make sure you set the correct buffer size
[mpeg @ 0x7f8e44807e00] Unsupported audio codec. Must be one of mp1, mp2, mp3, 16-bit pcm_dvd, pcm_s16be, ac3 or dts.
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:1 --
Conversion failed!




so I tried with
ffmpeg -f concat -i edit.txt -c:v copy -c:a libfdk_aac output.mpg
-> same effect.


Why fraunhoffer codec exists and is mentioned on FFMPEG site if it is not supported ?
Is it any way to do this ?


-
FFmpeg merge two files from different sources with different bitrates
2 mars 2023, par FamousWollufI have created an intro video with Adobe Premiere Pro and I want to add the intro video to my downloaded Mixer stream videos before uploading them to YouTube, without reencoding the complete video through Adobe Premiere because that takes a long time because the videos are more then an hour.



I tried it with FFmpeg
ffmpeg -safe 0 -f concat -i list.txt -c copy output.mp4
.
The intro is normal but the video part from Mixer is running way to fast.

I think it has something todo with the bitrate but I can't figure it out.


Output of intro file :



Metadata:
 major_brand : mp42
 minor_version : 0
 compatible_brands: mp42mp41
 creation_time : 2020-05-12T11:12:11.000000Z
 Duration: 00:00:06.06, start: 0.000000, bitrate: 2408 kb/s
 Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 2086 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
 Metadata:
 creation_time : 2020-05-12T11:12:11.000000Z
 handler_name : ?Mainconcept Video Media Handler
 encoder : AVC Coding
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)
 Metadata:
 creation_time : 2020-05-12T11:12:11.000000Z
 handler_name : #Mainconcept MP4 Sound Media Handler




Output of Mixer file :



Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf58.12.100
 Duration: 01:02:00.58, start: 0.000000, bitrate: 1937 kb/s
 Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720, 1800 kb/s, 29.41 fps, 29.97 tbr, 16k tbn, 32k tbc (default)
 Metadata:
 handler_name : VideoHandler
 Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
 Metadata:
 handler_name : SoundHandler




Output of the merged file :



Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf58.43.100
 Duration: 00:57:03.84, start: 0.000000, bitrate: 2109 kb/s
 Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 3377 kb/s, 55.14 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
 Metadata:
 handler_name : ?Mainconcept Video Media Handler
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 140 kb/s (default)
 Metadata:
 handler_name : #Mainconcept MP4 Sound Media Handler




If I need to reencode something my preference would be the intro because it's only 6 seconds.