
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (52)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ) (...)
Sur d’autres sites (10428)
-
Windows video player cannot play cropped video from ffmpeg
28 juillet 2019, par Chen ClarenceI am trying to crop video with ffmpeg, I have encountered three problems.
First, I used the following code to crop a 1080p video.ffmpeg -i 1080vid.avi -vf "crop=1920:1080:0:0" -c:v libx264 -crf 1 -c:a copy output.mp4
However, in the compression rate argument, it only works if I set -crf to a positive value. If I set it to 0, then the output video cannot be played by my Windows 10 video player. However, since I am pursuing a lossless conversion, this is problematic. The output mp4 is smaller than 5% of the original size.
The original goal was to cut a 1080*15360 video into 8 1080p videos. However, using the following code, I get unplayable output after playing with all the settings.
ffmpeg -i sample.avi -vf "crop=1920:1080:0:0" -c:v libx264 -crf 1 -c:a copy output.mp4
The input sample.avi is a lossless avi with bitrate larger than 1GB/s, and the output is a 70kb unplayable file. When opened, a pop up window displays :
Choose something else to play. This item is in a format we don't support.
0xc00d36b4The following is the command line output.
ffmpeg version N-94396-g47b6ca0b02 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.1.1 (GCC) 20190716
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-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
libavutil 56. 32.100 / 56. 32.100
libavcodec 58. 55.100 / 58. 55.100
libavformat 58. 30.100 / 58. 30.100
libavdevice 58. 9.100 / 58. 9.100
libavfilter 7. 58.100 / 7. 58.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Input #0, avi, from 'sample.avi':
Metadata:
date : 2019-07-26T07:09:04.185811
Duration: 00:00:03.00, start: 0.000000, bitrate: 11932176 kb/s
Stream #0:0: Video: rawvideo, bgr24, 15360x1080, 12066071 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
File 'output.mp4' already exists. Overwrite ? [y/N] y
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 000002a4a910b900] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000002a4a910b900] profile High 4:4:4 Predictive, level 6.0, 4:4:4, 8-bit
[libx264 @ 000002a4a910b900] 264 - core 157 r2970 5493be8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'output.mp4':
Metadata:
date : 2019-07-26T07:09:04.185811
encoder : Lavf58.30.100
Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv444p, 15360x1080, q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc
Metadata:
encoder : Lavc58.55.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame= 90 fps=8.0 q=-1.0 Lsize= 65kB time=00:00:02.90 bitrate= 183.7kbits/s speed=0.258x
video:63kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.042484%
[libx264 @ 000002a4a910b900] frame I:1 Avg QP: 0.35 size: 22252
[libx264 @ 000002a4a910b900] frame P:23 Avg QP: 0.09 size: 476
[libx264 @ 000002a4a910b900] frame B:66 Avg QP: 0.00 size: 467
[libx264 @ 000002a4a910b900] consecutive B-frames: 2.2% 0.0% 0.0% 97.8%
[libx264 @ 000002a4a910b900] mb I I16..4: 92.1% 6.5% 1.5%
[libx264 @ 000002a4a910b900] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.0% 0.0% 0.0% 0.0% 0.0% skip:100.0%
[libx264 @ 000002a4a910b900] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.0% 0.0% 0.0% direct: 0.0% skip:100.0%
[libx264 @ 000002a4a910b900] 8x8 transform intra:6.5% inter:0.0%
[libx264 @ 000002a4a910b900] coded y,u,v intra: 0.4% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
[libx264 @ 000002a4a910b900] i16 v,h,dc,p: 96% 2% 2% 0%
[libx264 @ 000002a4a910b900] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 93% 1% 7% 0% 0% 0% 0% 0% 0%
[libx264 @ 000002a4a910b900] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 42% 25% 31% 0% 0% 0% 0% 0% 0%
[libx264 @ 000002a4a910b900] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 000002a4a910b900] kb/s:170.49 -
Could not find codec parameters for stream 0 (Video : png, none)
22 août 2019, par Vipul SolankiI’m trying to overlap png over jpg but getting bellow error. I’ve tried in FFMPEG version
3.4.6
and GCC5.5.0
ffmpeg -i Emily-Bett-Rickards.jpg -i abc.png -filter_complex "[0:v][1:v] overlay=(W-w)/2:(H-h)/2:enable='between(t,0,20)'" -pix_fmt yuv420p -c:a copy bc38775d-278d-41f0-821f-89917475200b-meta.jpg
ffmpeg version N-94608-gaeae628 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 5.5.0 (Ubuntu 5.5.0-12ubuntu1~16.04) 20171010
configuration: --enable-decoder='mjpeg,png' --enable-demuxer=image2 --enable-protocol=file
libavutil 56. 33.100 / 56. 33.100
libavcodec 58. 55.100 / 58. 55.100
libavformat 58. 31.101 / 58. 31.101
libavdevice 58. 9.100 / 58. 9.100
libavfilter 7. 58.100 / 7. 58.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
Input #0, image2, from 'Emily-Bett-Rickards.jpg':
Duration: 00:00:00.04, start: 0.000000, bitrate: 34289 kb/s
Stream #0:0: Video: mjpeg (Progressive), yuvj444p(pc, bt470bg/unknown/unknown), 600x400, 25 tbr, 25 tbn, 25 tbc
[png_pipe @ 0x389fdc0] Could not find codec parameters for stream 0 (Video: png, none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #1, png_pipe, from 'abc.png':
Duration: N/A, bitrate: N/A
Stream #1:0: Video: png, none, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 (mjpeg) -> overlay:main
Stream #1:0 (?) -> overlay:overlay
overlay -> Stream #0:0 (mjpeg)
Decoder (codec png) not found for input stream #1:0Any help would be appreciated.
-
How to solve Jiiter Buffer problem in receiving audio RTP stream (bad sound quality) in PJSIP ?
1er août 2019, par Mayur PatelI’m a newbie to pjsip and want to build an RTP stream receiver using pjsip.
Setup :
I want to use specific L16/16000/1 codec and have also enabled it in "config_site.h" during compiling the pjsip project and checked that its available
Receiver :
- BeagleBone
- CrossCompiled Pjsip and Installed all req. libs and sample apps
Sender :
- Another Windows PC in the same Network using FFmpeg to transmit Audio Stream via Multicast
I got to know about streamutil.c(pjsip sample-apps) which does similar things to send and receive both. Now for the sake of easyness, I’m using the same Cross-Compiled binary streamutil.
SENDER :
..\ffmpeg -re -stream_loop -1 -i test.mp3 -ar 16000 -acodec pcm_s16be -b:a 128k -ac 1 -payload_type 123 -f rtp udp://239.255.255.211:5500?pkt_size=652
......
Output #0, rtp, to 'udp://239.255.255.211:5500?pkt_size=652':
Metadata:
title : -----
artist : --------
album : -------
date : 2019
track : 1
encoder : Lavf58.20.100
Stream #0:0: Audio: pcm_s16be, 16000 Hz, mono, s16, 256 kb/s
Metadata:
encoder : Lavc58.35.100 pcm_s16be
SDP:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=GREATEST HITS (2) [1 HOUR 20 MINUTES LONG]
c=IN IP4 239.255.255.211/5
t=0 0
a=tool:libavformat 58.26.101
m=audio 5500 RTP/AVP 123
b=AS:256
a=rtpmap:97 L16/16000/1
a=rtpmap:123 L16/16000/1
a=control:streamid=
size= 833kB time=00:00:25.91 bitrate= 263.4kbits/s speed= 1xRECIEVER LOG :
./streamutil --mcast-addr=239.255.255.211 --recv-only --codec=L16/16000/1
...
...
17:05:05.178 strm0x55dee1537f48 Jitter buffer starts returning normal frames (after 1 empty/lost)
17:05:05.246 strm0x55dee1537f48 Jitter buffer empty (prefetch=0), plc invoked
17:05:05.266 strm0x55dee1537f48 Jitter buffer starts returning normal frames (after 1 empty/lost)
17:05:05.325 strm0x55dee1537f48 Jitter buffer empty (prefetch=0), plc invoked
17:05:05.344 strm0x55dee1537f48 Jitter buffer starts returning normal frames (after 1 empty/lost)
17:05:05.422 strm0x55dee1537f48 Jitter buffer empty (prefetch=0), plc invokedTried So far :
- set different payload_type
- set specific codec in streamutil as parameter
- all other parameters in FFmpeg ex. bitrate, clockrate, channels
Check working stream
I am facing no issue, if I use a *.sdp file to receive RTP stream in VLC.
SDP file :
v=0
o=- 0 0 IN IP4 127.0.0.1
s=GREATEST HITS (2) [1 HOUR 20 MINUTES LONG]
c=IN IP4 239.255.255.211/5
t=0 0
a=tool:libavformat 58.26.101
m=audio 5500 RTP/AVP 123
b=AS:256
a=rtpmap:97 PCMU/8000/1
a=rtpmap:123 PCMU/8000/1
a=control:streamid=I have googled a lot but stuck now at this problem.
So finally my question is that,
How can I get the same Output via Pjsip without this Jitter Buffer logging and dropped sound ?Any help would be greatly appreciated.!