
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (45)
-
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 -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
MediaSPIP Player : les contrôles
26 mai 2010, parLes contrôles à la souris du lecteur
En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)
Sur d’autres sites (7990)
-
FFmpeg can't convert MOD to MP4
7 août 2021, par KaelanI'm trying to convert a MOD file to MP4, but it's not working. here is the command
ffmpeg -y -i "Nintendo DSi + Internet.mod" "Nintendo DSi + Internet.mp4"


And here is the log that it gives me

ffmpeg version git-2020-02-13-6d37ca8 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 9.2.1 (GCC) 20200122
 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
 libavutil 56. 41.100 / 56. 41.100
 libavcodec 58. 68.102 / 58. 68.102
 libavformat 58. 38.100 / 58. 38.100
 libavdevice 58. 9.103 / 58. 9.103
 libavfilter 7. 75.100 / 7. 75.100
 libswscale 5. 6.100 / 5. 6.100
 libswresample 3. 6.100 / 3. 6.100
 libpostproc 55. 6.100 / 55. 6.100
[mpeg @ 000002557deb95c0] Format mpeg detected only with low score of 25, misdetection possible!
[mp2 @ 000002557debb280] Header missing
 Last message repeated 18 times
[mpeg @ 000002557deb95c0] probed stream 1 failed
[mpeg @ 000002557deb95c0] probed stream 2 failed
[mp2 @ 000002557e395600] Header missing
 Last message repeated 59 times
[mp2 @ 000002557debb280] Header missing
[mp2 @ 000002557e395600] Header missing
[mpeg @ 000002557deb95c0] decoding for stream 0 failed
[mpeg @ 000002557deb95c0] decoding for stream 3 failed
[mpeg @ 000002557deb95c0] start time for stream 2 is not set in estimate_timings_from_pts
[mpeg @ 000002557deb95c0] stream 0 : no PTS found at end of file, duration not set
[mpeg @ 000002557deb95c0] stream 2 : no TS found at start of file, duration not set
[mpeg @ 000002557deb95c0] stream 3 : no PTS found at end of file, duration not set
[mpeg @ 000002557deb95c0] Could not find codec parameters for stream 0 (Audio: mp2, 0 channels, s16p): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpeg @ 000002557deb95c0] Could not find codec parameters for stream 1 (Video: none, none): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpeg @ 000002557deb95c0] Could not find codec parameters for stream 2 (Video: none, none): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpeg @ 000002557deb95c0] Could not find codec parameters for stream 3 (Audio: mp2, 0 channels, s16p): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpeg, from 'Nintendo DSi + Internet.mod':
 Duration: 02:14:02.94, start: 15898.332444, bitrate: 6 kb/s
 Stream #0:0[0x1c8]: Audio: mp2, 0 channels, s16p
 Stream #0:1[0x1ea]: Video: none, none, 90k tbr, 90k tbn
 Stream #0:2[0x1eb]: Video: none, none, 90k tbr, 90k tbn
 Stream #0:3[0x1d9]: Audio: mp2, 0 channels, s16p
Stream mapping:
 Stream #0:1 -> #0:0 (? (?) -> h264 (libx264))
 Stream #0:0 -> #0:1 (mp2 (native) -> aac (native))
Decoder (codec none) not found for input stream #0:1



I got this mod file from the Nintendo DSi + Internet Video (by dumping it with godmode9i and getting the mod file using godmode9). Any help is appreciated.


-
Nginx RTMP module to generate HLS
28 novembre 2020, par Joe LinI'm streaming an audio stream with opus codec from Kurento
via ffmpeg to nginx-rtmp-module. I'm using the below command to stream to nginx-rtmp :


ffmpeg -protocol_whitelist file,udp,rtp -i test-audio.sdp 
-c:a libopus -f opus rtmp:///live/



I see no error on the ffmpeg side. But there's no m3u8 file being generated. But I noticed the following in the nginx log :


2020/11/23 23:19:31 [info] 95#0: *8 connect: app='live' args='' flashver='FMLE/3.0 (compatible; Lavf57.83' swf_url='' tc_url='rtmp://192.168.4.28:1935/live' page_url='' acodecs=0 vcodecs=0 object_encoding=0, client: 172.17.0.1, server: 0.0.0.0:1935



Noticed the
acodes=0
. Does this mean that it doesn't like opus codec ?

Below is my nginx.conf :


rtmp {
 server {
 listen 1935;
 chunk_size 4096;
 application hopefm {
 live on;
 interleave on;

 hls on;
 hls_path /mnt/hls;
 hls_fragment 3;
 hls_playlist_length 60;
 }
 }
}



Thanks for any help.


-
Why psnr values generated by ffmpeg is inf?
2 décembre 2020, par Lin LingfengI use ffmpeg to calcute PSNR value.

OS : Ubuntu-18.04

Commond :

ffmpeg -i ../dataset/1080p-1k_rename/ggg_30_.jpg -i ../dataset/decode_dir_1k/ggg_30_.jpg -lavfi psnr="stats_file=./jpg_name.log" -f null -



Result :


ffmpeg version 4.3.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 8 (Debian 8.3.0-6)
...
...

Output #0, null, to 'pipe:':
 Metadata:
 encoder : Lavf58.45.100
 Stream #0:0: Video: wrapped_avframe, yuvj420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc (default)
 Metadata:
 encoder : Lavc58.91.100 wrapped_avframe
frame= 1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A speed=1.74x 
video:1kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[Parsed_psnr_0 @ 0x7461800] PSNR y:46.226028 u:inf v:inf average:47.986940 min:47.986940 max:47.986940



u:inf v:inf
Why U and V are inf ?