
Recherche avancée
Autres articles (62)
-
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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
Sur d’autres sites (9136)
-
How do the ffmpeg SAP and SDP demuxer interact actually ?
13 mars 2015, par πάντα ῥεῖI’m about creating a simple (demon) application using the
libav*
(libavformat
) API that is supposed to capture the SAP announcements, and cache the according SDP records payload information into a file based services record list.I’m pretty new to ffmpeg, and don’t quite understand how the SAP and SDP demuxer actually interact.
All of the uses and examples I could find in the ffmpeg environment, are about the standard behavior, that ffmpeg services just try to open the first associated AV stream, as described in the received announcements. But I don’t need to open the AV stream announced with the SDP record, but just to parse the information and add/remove it to/from my cached list of available AV streams.
I have a (VLC) MiniSAP server running, that broadcasts the SAP/SDP packets in my network. Using the
AVFormatContext *s = NULL;
int ret = avformat_open_input(&s, "sap://", NULL, NULL);
if (ret < 0)
abort();works so far for me, as long I have the MiniSAP server running.
I just don’t have any clue, how to get an
AVFormatContext*
for the SDP demuxer in the next step and decode the payload info. I’d be happy even using a decoding callback, since the SDP payload is a pretty simple section/key value pair text format anyway.Can anyone point me into the right direction, what to do ?
-
When I use ffprobe to check a video stream,I get the error below [closed]
21 mai 2024, par dongrixinyuI came across with a problem when
ffprobe
and decoding video stream .

Here is the log :


ffprobe version 6.1.1 Copyright (c) 2007-2023 the FFmpeg developers
 built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.2)
 configuration: --enable-gpl --enable-version3 --enable-shared --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libzvbi --enable-libwebp --enable-libx264 --enable-libx265 --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libmfx --enable-opencl --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libmysofa --enable-librubberband --enable-libsoxr
 libavutil 58. 29.100 / 58. 29.100
 libavcodec 60. 31.102 / 60. 31.102
 libavformat 60. 16.100 / 60. 16.100
 libavdevice 60. 3.100 / 60. 3.100
 libavfilter 9. 12.100 / 9. 12.100
 libswscale 7. 5.100 / 7. 5.100
 libswresample 4. 12.100 / 4. 12.100
 libpostproc 57. 3.100 / 57. 3.100
[NULL @ 0x5595d3e72040] illegal reordering_of_pic_nums_idc 7
[h264 @ 0x5595d3e72040] illegal modification_of_pic_nums_idc 7
[h264 @ 0x5595d3e72040] decode_slice_header error
[h264 @ 0x5595d3e72040] no frame!
[h264 @ 0x5595d3e72040] decode_slice_header error
[h264 @ 0x5595d3e72040] no frame!
[h264 @ 0x5595d3e72040] reference overflow 66 > 15 or 0 > 15
 Last message repeated 1 times
[h264 @ 0x5595d3e72040] decode_slice_header error
[h264 @ 0x5595d3e72040] no frame!
[h264 @ 0x5595d3e72040] chroma_log2_weight_denom 27 is out of range
 Last message repeated 1 times
[h264 @ 0x5595d3e72040] Missing reference picture, default is 4
[h264 @ 0x5595d3e72040] concealing 8144 DC, 8144 AC, 8144 MV errors in P frame
[h264 @ 0x5595d3e72040] top block unavailable for requested intra mode
[h264 @ 0x5595d3e72040] error while decoding MB 4 0, bytestream 12113
[h264 @ 0x5595d3e72040] concealing 8160 DC, 8160 AC, 8160 MV errors in P frame
[h264 @ 0x5595d3e72040] illegal short term buffer state detected
[h264 @ 0x5595d3e72040] top block unavailable for requested intra mode -1
[h264 @ 0x5595d3e72040] error while decoding MB 1 0, bytestream 9617
[h264 @ 0x5595d3e72040] concealing 8160 DC, 8160 AC, 8160 MV errors in P frame
[h264 @ 0x5595d3e72040] illegal short term buffer state detected
[h264 @ 0x5595d3e72040] luma_log2_weight_denom 15 is out of range
 Last message repeated 1 times
[h264 @ 0x5595d3e72040] top block unavailable for requested intra mode
[h264 @ 0x5595d3e72040] error while decoding MB 4 0, bytestream 12323
[h264 @ 0x5595d3e72040] concealing 8160 DC, 8160 AC, 8160 MV errors in P frame
[h264 @ 0x5595d3e72040] illegal short term buffer state detected
[h264 @ 0x5595d3e72040] top block unavailable for requested intra mode -1
[h264 @ 0x5595d3e72040] error while decoding MB 27 0, bytestream 12229
[h264 @ 0x5595d3e72040] concealing 8160 DC, 8160 AC, 8160 MV errors in P frame
[h264 @ 0x5595d3e72040] illegal short term buffer state detected
[h264 @ 0x5595d3e72040] illegal reordering_of_pic_nums_idc 15 
[h264 @ 0x5595d3e72040] illegal modification_of_pic_nums_idc 15
[h264 @ 0x5595d3e72040] decode_slice_header error 
[h264 @ 0x5595d3e72040] no frame!
[h264 @ 0x5595d3e72040] reference count 1 overflow
[h264 @ 0x5595d3e72040] reference count overflow
[h264 @ 0x5595d3e72040] decode_slice_header error 
[h264 @ 0x5595d3e72040] no frame!
[h264 @ 0x5595d3e72040] luma_log2_weight_denom 31 is out of range
[h264 @ 0x5595d3e72040] illegal memory management control operation 21
[h264 @ 0x5595d3e72040] luma_log2_weight_denom 31 is out of range
[h264 @ 0x5595d3e72040] illegal memory management control operation 21
[h264 @ 0x5595d3e72040] deblocking filter parameters -7 0 out of range
[h264 @ 0x5595d3e72040] decode_slice_header error 
[h264 @ 0x5595d3e72040] no frame!
[h264 @ 0x5595d3e72040] Reference 6 >= 3
[h264 @ 0x5595d3e72040] error while decoding MB 29 0, bytestream 8581
[h264 @ 0x5595d3e72040] concealing 8160 DC, 8160 AC, 8160 MV errors in P frame
[h264 @ 0x5595d3e72040] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 0x5595d3e72040] chroma_log2_weight_denom 15 is out of range
 Last message repeated 1 times
[h264 @ 0x5595d3e72040] deblocking_filter_idc 13 out of range
[h264 @ 0x5595d3e72040] decode_slice_header error 
[h264 @ 0x5595d3e72040] no frame!
[h264 @ 0x5595d3e72040] deblocking_filter_idc 32 out of range
[h264 @ 0x5595d3e72040] decode_slice_header error
[h264 @ 0x5595d3e72040] no frame!
[h264 @ 0x5595d3e72040] illegal reordering_of_pic_nums_idc 31
[h264 @ 0x5595d3e72040] illegal modification_of_pic_nums_idc 31
[h264 @ 0x5595d3e72040] decode_slice_header error 
[h264 @ 0x5595d3e72040] no frame!
[h264 @ 0x5595d3e72040] illegal reordering_of_pic_nums_idc 6
[h264 @ 0x5595d3e72040] illegal modification_of_pic_nums_idc 6
[h264 @ 0x5595d3e72040] decode_slice_header error 




I executed both
ffprobe xxxx.mp4
andavcodec receive frame
functions to decode one frame. reproduced the same error log.

But when I open it using
VLC
orOBS
it worked well. So,

- 

- does any error when I configure the options of ffmpeg ?
- how to fix this problem ?






the mp4 file I upload a piece in mp4 link


-
FFmpeg concat audio with video or gif looping
30 juillet 2017, par Evandro Klimpel BalmantI’m looking for a solution in FFmpeg to merge audio (mp3) with a short video loop, or gif.
I’ve already been able to generate a video from an image by joining with audio, but the video stays static frame for the audio duration, the command to make this :
ffmpeg -loop 1 -i imagem.jpg -i audio.mp3 -vcodec h264 -tune stillimage -acodec aac -b:a 64k -pix_fmt yuv420p -shortest video.mp4
I need video that has the duration of the audio, but that uses a loop of another mp4 or a gif. To keep repeating for the duration of the audio.