
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 (64)
-
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
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 (...) -
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 (...)
Sur d’autres sites (10526)
-
What is the difference between "location" and "location-eng" metadata of a MP4 file ?
10 décembre 2020, par Weihang JianI am trying to retrieve GPS information from media files using
ffprobe
, for example :

$ ffprobe -v quiet -show_format sample.mp4
[FORMAT]
filename=sample.mp4
nb_streams=2
nb_programs=0
format_name=mov,mp4,m4a,3gp,3g2,mj2
format_long_name=QuickTime / MOV
start_time=0.000000
duration=4.293000
size=11888152
bit_rate=22153556
probe_score=100
TAG:major_brand=mp42
TAG:minor_version=0
TAG:compatible_brands=isommp42
TAG:creation_time=2020-09-20T11:33:49.000000Z
TAG:location=+25.0731+121.3663/
TAG:location-eng=+25.0731+121.3663/
TAG:com.android.version=10
TAG:com.android.manufacturer=Google
TAG:com.android.model=Pixel
[/FORMAT]



We can see that there are 2 tags that look like ISO6709 representations,
location
andlocation-eng
.

And here are my questions :


- 

- What is the difference between
location
andlocation-eng
? It looks like they are always the same. Why do we need 2 different keys with same the value ? - Are
location
andlocation-eng
really in ISO6709 representations ? Is there any specification or standard I can refer to ?






I would really appreciate your help.


- What is the difference between
-
Why console reports a lot of frame drops on my conversion ?
24 juin 2020, par SososlikI'm trying to convert a mp4 video file to another H265 mp4 video file. During conversion I'm applying crop, trim and a drawbox.

The result file looks good to the eye. But the question is why I see a lot of dropped frames on the console during conversion process ? (last line on the log, parameter "drop=").

I searched google, but it says that normal if you do framerate conversion, but I'm not doing that and don't want any framerate change, just apply my filters and convert to H265. What I'm doing wrong ?


D:\folder>ffmpeg -y -i "D:\folder\input.mp4" -c:v libx265 -crf 10 -c:a none -vf "drawbox=x=123:y=123:w=123:h=123:color=black:t=fill, crop=616:1192:52:4" -ss 00:06:53.00 -to 00:12:46.00 "D:\folder\output.mp4"
ffmpeg version N-92683-g32601fb821 Copyright (c) 2000-2018 the FFmpeg developers
 built with gcc 8.2.1 (GCC) 20181201
 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --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. 24.101 / 56. 24.101
 libavcodec 58. 42.100 / 58. 42.100
 libavformat 58. 24.100 / 58. 24.100
 libavdevice 58. 6.101 / 58. 6.101
 libavfilter 7. 46.101 / 7. 46.101
 libswscale 5. 4.100 / 5. 4.100
 libswresample 3. 4.100 / 3. 4.100
 libpostproc 55. 4.100 / 55. 4.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\folder\input.mp4':
 Metadata:
 major_brand : mp42
 minor_version : 0
 compatible_brands: isommp42
 creation_time : 2020-03-03T07:49:33.000000Z
 com.android.version: 9
 com.android.capture.fps: 25.000000
 Duration: 00:26:59.81, start: 0.000000, bitrate: 9590 kb/s
 Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 720x1280, 9587 kb/s, SAR 1:1 DAR 9:16, 30.80 fps, 90k tbr, 90k tbn, 180k tbc (default)
 Metadata:
 creation_time : 2020-03-03T07:49:33.000000Z
 handler_name : VideoHandle
Stream mapping:
 Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265))
Press [q] to stop, [?] for help
x265 [info]: HEVC encoder version 2.9+9-f74003e88622
x265 [info]: build info [Windows][GCC 8.2.1][64 bit] 8bit+10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x265 [info]: Main profile, Level-3.1 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 2 / wpp(19 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-10.0 / 0.60
x265 [info]: tools: rd=3 psy-rd=2.00 rskip signhide tmvp strong-intra-smoothing
x265 [info]: tools: lslices=7 deblock sao
Output #0, mp4, to 'D:\folder\output.mp4':
 Metadata:
 major_brand : mp42
 minor_version : 0
 compatible_brands: isommp42
 com.android.capture.fps: 25.000000
 com.android.version: 9
 encoder : Lavf58.24.100
 Stream #0:0(eng): Video: hevc (libx265) (hev1 / 0x31766568), yuv420p, 616x1192 [SAR 1:1 DAR 77:149], q=2-31, 30.80 fps, 512845807.00 tbn, 30.80 tbc (default)
 Metadata:
 creation_time : 2020-03-03T07:49:33.000000Z
 handler_name : VideoHandle
 encoder : Lavc58.42.100 libx265
frame= 9053 fps=4.7 q=-0.0 size= 119040kB time=00:04:52.93 bitrate=3329.0kbits/s dup=9 drop=1188 speed=0.151x



-
ffmpeg overlay timing issue
22 avril 2020, par Mario IannottaI'm trying to add a
png
as overlay to amov
video with ffmpeg (version 4.2.2) using the following command :


ffmpeg -i ./input.mov -i ./overlay.png -y -filter_complex "overlay=enable='between(t,1,4)'" ./output.mp4



Now my understanding of
overlay=enable='between(t,1,4)
is that the overlay will be added at one second and will be removed at 4 seconds since the begin of the video but the output is somehow different.


The overlay is added at roughly 2:66 and it is removed at 5:14.



Trying with different values result in even more confusing outputs.



eg :



- 

-
between(t,3,10)
—> 3:12 | 11:05 -
between(t,2,7)
—> 2:65 | 7:22 -
between(t,1,2)
—> the overlay is not added ad all









The metadata of the input video are the following



Metadata:
 major_brand : qt
 minor_version : 0
 compatible_brands: qt
 creation_time : 2020-04-19T08:09:00.000000Z
 Duration: 00:00:14.84, start: 0.053333, bitrate: 849 kb/s
 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt709/unknown), 828x1792 [SAR 1:1 DAR 207:448], 848 kb/s, 23.34 fps, 600 tbr, 600 tbn, 1200 tbc (default)
 Metadata:
 creation_time : 2020-04-19T08:09:00.000000Z
 handler_name : Core Media Video
 encoder : H.264




I also tried to convert the video to mp4 (with
ffmpeg -i input.mov -vcodec copy -acodec copy out.mp4
) before applying the overlay but the issue is still there.


Edit : I downloaded a test mp4 video and the command is working as expected so it is definitely something wrong with my input video. Any idea what it is ?



Edit 2 : Here's the output of ffmpeg command :



ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
 built with Apple clang version 11.0.0 (clang-1100.0.33.17)
 configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.2_2 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
 libavutil 56. 31.100 / 56. 31.100
 libavcodec 58. 54.100 / 58. 54.100
 libavformat 58. 29.100 / 58. 29.100
 libavdevice 58. 8.100 / 58. 8.100
 libavfilter 7. 57.100 / 7. 57.100
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 5.100 / 5. 5.100
 libswresample 3. 5.100 / 3. 5.100
 libpostproc 55. 5.100 / 55. 5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './input.mov':
 Metadata:
 major_brand : qt
 minor_version : 0
 compatible_brands: qt
 creation_time : 2020-04-22T07:49:31.000000Z
 Duration: 00:00:17.80, start: 0.051667, bitrate: 1097 kb/s
 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/unknown/unknown), 750x1334 [SAR 1:1 DAR 375:667], 1097 kb/s, 12.96 fps, 60 tbr, 600 tbn, 1200 tbc (default)
 Metadata:
 creation_time : 2020-04-22T07:49:31.000000Z
 handler_name : Core Media Video
 encoder : H.264
Input #1, png_pipe, from './overlay.png':
 Duration: N/A, bitrate: N/A
 Stream #1:0: Video: png, rgba(pc), 83x128, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
 Stream #0:0 (h264) -> overlay:main
 Stream #1:0 (png) -> overlay:overlay
 overlay -> Stream #0:0 (libx264)
Press [q] to stop, [?] for help
[libx264 @ 0x7fcad0001200] using SAR=1/1
[libx264 @ 0x7fcad0001200] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x7fcad0001200] profile High, level 4.0
[libx264 @ 0x7fcad0001200] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - 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=-2 threads=18 lookahead_threads=3 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=23.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:
 major_brand : qt
 minor_version : 0
 compatible_brands: qt
 encoder : Lavf58.29.100
 Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 750x1334 [SAR 1:1 DAR 375:667], q=-1--1, 60 fps, 15360 tbn, 60 tbc (default)
 Metadata:
 encoder : Lavc58.54.100 libx264
 Side data:
 cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame= 326 fps=0.0 q=31.0 size= 0kB time=00:00:04.35 bitrate= 0.1kbits/frame= 499 fps=461 q=31.0 size= 256kB time=00:00:07.23 bitrate= 290.0kbits/frame= 830 fps=494 q=31.0 size= 512kB time=00:00:12.75 bitrate= 329.0kbits/frame= 956 fps=491 q=-1.0 Lsize= 593kB time=00:00:15.88 bitrate= 306.0kbits/s dup=726 drop=0 speed=8.16x
video:581kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.030694%
[libx264 @ 0x7fcad0001200] frame I:6 Avg QP:18.73 size: 30783
[libx264 @ 0x7fcad0001200] frame P:288 Avg QP:21.57 size: 1150
[libx264 @ 0x7fcad0001200] frame B:662 Avg QP:30.94 size: 119
[libx264 @ 0x7fcad0001200] consecutive B-frames: 4.9% 6.9% 4.1% 84.1%
[libx264 @ 0x7fcad0001200] mb I I16..4: 19.1% 64.5% 16.4%
[libx264 @ 0x7fcad0001200] mb P I16..4: 0.8% 0.9% 0.5% P16..4: 2.4% 0.4% 0.1% 0.0% 0.0% skip:94.9%
[libx264 @ 0x7fcad0001200] mb B I16..4: 0.0% 0.1% 0.0% B16..8: 1.8% 0.0% 0.0% direct: 0.0% skip:98.0% L0:43.8% L1:55.9% BI: 0.3%
[libx264 @ 0x7fcad0001200] 8x8 transform intra:53.9% inter:64.1%
[libx264 @ 0x7fcad0001200] coded y,uvDC,uvAC intra: 18.2% 20.8% 13.9% inter: 0.1% 0.4% 0.1%
[libx264 @ 0x7fcad0001200] i16 v,h,dc,p: 35% 63% 1% 1%
[libx264 @ 0x7fcad0001200] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 48% 17% 29% 1% 1% 1% 1% 1% 1%
[libx264 @ 0x7fcad0001200] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 32% 15% 3% 4% 4% 3% 3% 3%
[libx264 @ 0x7fcad0001200] i8c dc,h,v,p: 71% 21% 7% 1%
[libx264 @ 0x7fcad0001200] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x7fcad0001200] ref P L0: 74.6% 4.0% 13.4% 8.0%
[libx264 @ 0x7fcad0001200] ref B L0: 80.0% 17.6% 2.3%
[libx264 @ 0x7fcad0001200] ref B L1: 97.6% 2.4%
[libx264 @ 0x7fcad0001200] kb/s:298.58



-