
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (33)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
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 (...)
Sur d’autres sites (3800)
-
Python - youtube-dl.utils.DownloadError : ERROR : audio conversion failed : file : mp3 invalid argument
14 mars 2017, par Cristinayoutube-dl.utils.DownloadError: ERROR: audio conversion failed: file: mp3 invalid argument
The above error appears with following parameters, running youtube-dl on Python 3.6 on Windows 7, FFmpeg and libmp3lame installed.
ydl_opts = {
"format": "bestaudio/best",
"extractaudio": True,
"outtmpl": fetch_name + "%(ext)s",
"noplaylist": True,
"nocheckcertificate": True,
"postprocessors": [{
"key": "FFmpegExtractAudio",
"preferredcodec": "mp3",
"preferredquality": "192",
}],
"progress_hooks": [hook]
}fetch_name is for example
C:\Path\File
.[hook]
just displays download messages.
I’ve searched here and on internet but can’t find this error. -
How to set youtube live title and description in ffmpeg
10 novembre 2022, par J CI am using following code to live stream video in youtube.

ffmpeg -y -loop 1 -i "still.jpg" -i "audio.mp3" " -c:v libx264 -pix_fmt yuv420p -crf 21 -r 1 -g 30 -keyint_min 5 -x264opts "keyint=5:min-keyint=5:no-scenecut" -s 1280x720 -tune zerolatency -b:a 128k -c:a aac -ar 48000 -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/steam-key
.
I would like to set youtube live title and description in the above command. Is it possible ?

-
Stream is not appearing on youtube
1er novembre 2022, par AMRITESH GUPTAI am trying to stream a captured stream to youtube live through FFmpeg, but the stream is not appearing on youtube. I tried giving input from an mp4 file, and it worked perfectly but providing input as a buffer through stdin gives nothing.


FFmpeg command


ffmpeg -rtbufsize 100M -report -i - -v error -c:v libx264 -preset veryfast -tune zerolatency -g:v 60 -c:a aac -strict -2 -ar 44100 -b:a 64k -y -use_wallclock_as_timestamps 1 -async 1 -f flv ${youtubeURL}


I used
-report
for generating a log report, and I couldn't find anything wrong with it.

Here is snippet of log file


ffmpeg started on 2022-11-01 at 09:42:32
Report written to "ffmpeg-20221101-094232.log"
Log level: 48
Command line:
ffmpeg -rtbufsize 100M -report -i - -v error -c:v libx264 -preset veryfast -tune zerolatency -g:v 60 -c:a aac -strict -2 -ar 44100 -b:a 64k -y -use_wallclock_as_timestamps 1 -async 1 -f flv rtmp://a.rtmp.youtube.com/live2/pxjt-j9g5-ygv8-0000-6w8h
ffmpeg version 2022-10-27-git-00b03331a0-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
 built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
 configuration: --enable-gpl --enable-version3 --enable-static --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-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-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libvpl --enable-libshaderc --enable-vulkan --ena libavutil 57. 39.101 / 57. 39.101
 libavcodec 59. 51.100 / 59. 51.100
 libavformat 59. 34.101 / 59. 34.101
 libavdevice 59. 8.101 / 59. 8.101
 libavfilter 8. 49.101 / 8. 49.101
 libswscale 6. 8.112 / 6. 8.112
 libswresample 4. 9.100 / 4. 9.100
 libpostproc 56. 7.100 / 56. 7.100
Splitting the commandline.
Reading option '-rtbufsize' ... matched as AVOption 'rtbufsize' with argument '100M'.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-i' ... matched as input url with argument '-'.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'error'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'libx264'.
Reading option '-preset' ... matched as AVOption 'preset' with argument 'veryfast'.
Reading option '-tune' ... matched as AVOption 'tune' with argument 'zerolatency'.
Reading option '-g:v' ... matched as AVOption 'g:v' with argument '60'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'aac'.
Reading option '-strict' ...Routing option strict to both codec and muxer layer
 matched as AVOption 'strict' with argument '-2'.
Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '44100'.
Reading option '-b:a' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '64k'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-use_wallclock_as_timestamps' ... matched as AVOption 'use_wallclock_as_timestamps' with argument '1'.
Reading option '-async' ... matched as AVOption 'async' with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'flv'.
Reading option 'rtmp://a.rtmp.youtube.com/live2/pxjt-j9g5-ygv8-0000-6w8h' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Applying option v (set logging level) with argument error.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url -.
Successfully parsed a group of options.
Opening an input file: -.
[NULL @ 0000025c01844940] Opening 'pipe:' for reading
[pipe @ 0000025c01844e00] Setting default whitelist 'crypto,data'
[matroska,webm @ 0000025c01844940] Format matroska,webm probed with size=2048 and score=100
st:0 removing common factor 1000000 from timebase
[matroska,webm @ 0000025c01844940] Before avformat_find_stream_info() pos: 136 bytes read:32271 seeks:0 nb_streams:1
[extract_extradata @ 0000025c01817d40] nal_unit_type: 7(SPS), nal_ref_idc: 3
[extract_extradata @ 0000025c01817d40] nal_unit_type: 8(PPS), nal_ref_idc: 3
[extract_extradata @ 0000025c01817d40] nal_unit_type: 5(IDR), nal_ref_idc: 3
[extract_extradata @ 0000025c01817d40] nal_unit_type: 5(IDR), nal_ref_idc: 3
[extract_extradata @ 0000025c01817d40] nal_unit_type: 5(IDR), nal_ref_idc: 3
[extract_extradata @ 0000025c01817d40] nal_unit_type: 5(IDR), nal_ref_idc: 3
[extract_extradata @ 0000025c01817d40] nal_unit_type: 5(IDR), nal_ref_idc: 3
[extract_extradata @ 0000025c01817d40] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] Format yuv420p chosen by get_format().
[h264 @ 0000025c0186aac0] Reinit context to 1280x384, pix_fmt: yuv420p
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0000025c0186aac0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[matroska,webm @ 0000025c01844940] max_analyze_duration 5000000 reached at 22181000 microseconds st:0
[matroska,webm @ 0000025c01844940] rfps: 1.000000 0.006758
[matroska,webm @ 0000025c01844940] rfps: 2.000000 0.019257
[matroska,webm @ 0000025c01844940] rfps: 7.916667 0.017773
[matroska,webm @ 0000025c01844940] rfps: 9.916667 0.012828
[matroska,webm @ 0000025c01844940] rfps: 10.916667 0.019976
[matroska,webm @ 0000025c01844940] rfps: 16.833333 0.010482
[matroska,webm @ 0000025c01844940] rfps: 17.833333 0.007736
[matroska,webm @ 0000025c01844940] rfps: 17.833333 0.007736
[matroska,webm @ 0000025c01844940] rfps: 18.833333 0.018506
[matroska,webm @ 0000025c01844940] After avformat_find_stream_info() pos: 88442 bytes read:88443 seeks:0 frames:31
Input #0, matroska,webm, from 'pipe:':
 Metadata:
 encoder : Chrome
 Duration: N/A, start: 0.000000, bitrate: N/A
 Stream #0:0(eng), 31, 1/1000: Video: h264 (Constrained Baseline), yuv420p(progressive), 1280x382, SAR 1:1 DAR 640:191, 1 tbr, 1k tbn (default)
Successfully opened the file.
Parsing a group of options: output url rtmp://a.rtmp.youtube.com/live2/pxjt-j9g5-ygv8-0000-6w8h.
Applying option c:v (codec name) with argument libx264.
Applying option c:a (codec name) with argument aac.
Applying option ar (set audio sampling rate (in Hz)) with argument 44100.
Applying option b:a (video bitrate (please use -b:v)) with argument 64k.
Applying option f (force format) with argument flv.
Successfully parsed a group of options.
Opening an output file: rtmp://a.rtmp.youtube.com/live2/pxjt-j9g5-ygv8-0000-6w8h.
Codec AVOption b (set bitrate (in bits/s)) specified for output file #0 (rtmp://a.rtmp.youtube.com/live2/pxjt-j9g5-ygv8-0000-6w8h) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
[rtmp @ 0000025c01d1bd00] No default whitelist set
[tcp @ 0000025c01844f40] No default whitelist set
[tcp @ 0000025c01844f40] Original list of addresses:
[tcp @ 0000025c01844f40] Address 142.250.193.204 port 1935
[tcp @ 0000025c01844f40] Address 142.250.193.236 port 1935
[tcp @ 0000025c01844f40] Address 142.250.206.108 port 1935
[tcp @ 0000025c01844f40] Address 142.250.206.140 port 1935
[tcp @ 0000025c01844f40] Address 142.250.206.172 port 1935
[tcp @ 0000025c01844f40] Address 142.250.194.12 port 1935
[tcp @ 0000025c01844f40] Address 142.250.194.44 port 1935
[tcp @ 0000025c01844f40] Address 142.250.194.76 port 1935
[tcp @ 0000025c01844f40] Address 142.250.194.108 port 1935
[tcp @ 0000025c01844f40] Address 142.250.194.140 port 1935
[tcp @ 0000025c01844f40] Address 142.250.194.172 port 1935
[tcp @ 0000025c01844f40] Address 142.250.194.204 port 1935
[tcp @ 0000025c01844f40] Address 142.250.194.236 port 1935
[tcp @ 0000025c01844f40] Address 142.250.195.12 port 1935
[tcp @ 0000025c01844f40] Address 142.250.207.204 port 1935
[tcp @ 0000025c01844f40] Address 142.250.207.236 port 1935
[tcp @ 0000025c01844f40] Interleaved list of addresses:
[tcp @ 0000025c01844f40] Address 142.250.193.204 port 1935
[tcp @ 0000025c01844f40] Address 142.250.193.236 port 1935
[tcp @ 0000025c01844f40] Address 142.250.206.108 port 1935
[tcp @ 0000025c01844f40] Address 142.250.206.140 port 1935
[tcp @ 0000025c01844f40] Address 142.250.206.172 port 1935
[tcp @ 0000025c01844f40] Address 142.250.194.12 port 1935
[tcp @ 0000025c01844f40] Address 142.250.194.44 port 1935
[tcp @ 0000025c01844f40] Address 142.250.194.76 port 1935
[tcp @ 0000025c01844f40] Address 142.250.194.108 port 1935
[tcp @ 0000025c01844f40] Address 142.250.194.140 port 1935
[tcp @ 0000025c01844f40] Address 142.250.194.172 port 1935
[tcp @ 0000025c01844f40] Address 142.250.194.204 port 1935
[tcp @ 0000025c01844f40] Address 142.250.194.236 port 1935
[tcp @ 0000025c01844f40] Address 142.250.195.12 port 1935
[tcp @ 0000025c01844f40] Address 142.250.207.204 port 1935
[tcp @ 0000025c01844f40] Address 142.250.207.236 port 1935
[tcp @ 0000025c01844f40] Starting connection attempt to 142.250.193.204 port 1935
[tcp @ 0000025c01844f40] Successfully connected to 142.250.193.204 port 1935
[rtmp @ 0000025c01d1bd00] Handshaking...
[rtmp @ 0000025c01d1bd00] Type answer 3
[rtmp @ 0000025c01d1bd00] Server version 4.0.0.1
[rtmp @ 0000025c01d1bd00] Proto = rtmp, path = /live2/pxjt-j9g5-ygv8-0000-6w8h, app = live2, fname = pxjt-j9g5-ygv8-0000-6w8h
[rtmp @ 0000025c01d1bd00] Window acknowledgement size = 2500000
[rtmp @ 0000025c01d1bd00] Max sent, unacked = 59768832
[rtmp @ 0000025c01d1bd00] Releasing stream...
[rtmp @ 0000025c01d1bd00] FCPublish stream...
[rtmp @ 0000025c01d1bd00] Creating stream...
[rtmp @ 0000025c01d1bd00] Sending publish command for 'pxjt-j9g5-ygv8-0000-6w8h'
Successfully opened the file.
detected 8 logical cores
[h264 @ 0000025c01882e00] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0000025c01882e00] nal_unit_type: 8(PPS), nal_ref_idc: 3
Stream mapping:
 Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[matroska,webm @ 0000025c01844940] Thread message queue blocking; consider raising the thread_queue_size option (current value: 1)
[h264 @ 0000025c01882e00] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0000025c01882e00] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0000025