
Recherche avancée
Médias (91)
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (24)
-
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...) -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...) -
Création définitive du canal
12 mars 2010, parLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)
Sur d’autres sites (3514)
-
How to convert mp4 file so that it can allow timeline drag in html5 video tag ?
21 août 2019, par sgon00I generated a mp4 file by ffmpeg. And then correct the index by
qt-faststart
. But now, there is still one problem. In chrome browser, the video timeline can not be dragged. I tried another online video with the same video tag code. (for instance : http://www.w3schools.com/html/movie.mp4). The timeline dragging works fine. Can anyone please teach me how to enable timeine drag for this video ? How can I convert the mp4 file to make it right ? Thanks a lot.Updated :
I kinda found the problem and fixed it. My debug http server is picky. So when I use nginx server, the mp4 video timeline can be draggable.
But the weird part is the timeline of the movie.mp4 from w3schools.com works in my debug http server. So I don’t know the true cause, but changing to production http server solved the problem.
- ffmpeg command and output :
$ ffmpeg -i movie.mp4 -vf yadif=1:tff,zscale=w=320:h=240:f=spline36:r=full,unsharp=luma_msize_x=3:luma_msize_y=3:luma_amount=0.8,interlace notworking.mp4
ffmpeg version N-93939-g819ed1df94-tessus https://evermeet.cx/ffmpeg/ Copyright (c) 2000-2019 the FFmpeg developers
built with Apple LLVM version 10.0.1 (clang-1001.0.46.4)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
libavutil 56. 28.100 / 56. 28.100
libavcodec 58. 52.102 / 58. 52.102
libavformat 58. 27.103 / 58. 27.103
libavdevice 58. 7.100 / 58. 7.100
libavfilter 7. 54.101 / 7. 54.101
libswscale 5. 4.101 / 5. 4.101
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'movie.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42isomavc1
creation_time : 2010-05-11T10:32:06.000000Z
encoder : HandBrake 0.9.4 2009112300
Duration: 00:00:12.61, start: 0.000000, bitrate: 202 kb/s
Chapter #0:0: start 0.000000, end 12.612000
Metadata:
title :
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 320x240, 80 kb/s, 29.65 fps, 29.97 tbr, 90k tbn, 59.31 tbc (default)
Metadata:
creation_time : 2010-05-11T10:32:06.000000Z
encoder : JVT/AVC Coding
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 115 kb/s (default)
Metadata:
creation_time : 2010-05-11T10:32:06.000000Z
Stream #0:2(und): Data: bin_data (text / 0x74786574), 0 kb/s
Metadata:
creation_time : 2010-05-11T10:32:06.000000Z
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0x7faa5400a800] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x7faa5400a800] profile Progressive High, level 1.3, 4:2:0, 8-bit
[libx264 @ 0x7faa5400a800] 264 - core 157 r2969 d4099dd - 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=-2 threads=6 lookahead_threads=1 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 'notworking.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42isomavc1
encoder : Lavf58.27.103
Chapter #0:0: start 0.000000, end 12.612000
Metadata:
title :
Stream #0:0(und): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 320x240, q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc (default)
Metadata:
creation_time : 2010-05-11T10:32:06.000000Z
encoder : Lavc58.52.102 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
creation_time : 2010-05-11T10:32:06.000000Z
encoder : Lavc58.52.102 aac
frame= 378 fps=229 q=-1.0 Lsize= 603kB time=00:00:12.60 bitrate= 391.5kbits/s dup=4 drop=0 speed=7.63x
video:388kB audio:199kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.604359%
[libx264 @ 0x7faa5400a800] frame I:2 Avg QP:22.49 size: 11066
[libx264 @ 0x7faa5400a800] frame P:117 Avg QP:24.98 size: 2340
[libx264 @ 0x7faa5400a800] frame B:259 Avg QP:29.82 size: 390
[libx264 @ 0x7faa5400a800] consecutive B-frames: 3.7% 10.1% 14.3% 72.0%
[libx264 @ 0x7faa5400a800] mb I I16..4: 1.3% 47.0% 51.7%
[libx264 @ 0x7faa5400a800] mb P I16..4: 0.1% 1.7% 1.2% P16..4: 49.5% 18.7% 10.5% 0.0% 0.0% skip:18.3%
[libx264 @ 0x7faa5400a800] mb B I16..4: 0.0% 0.0% 0.1% B16..8: 51.6% 5.8% 1.5% direct: 0.9% skip:40.1% L0:52.8% L1:43.7% BI: 3.5%
[libx264 @ 0x7faa5400a800] 8x8 transform intra:51.8% inter:50.8%
[libx264 @ 0x7faa5400a800] coded y,uvDC,uvAC intra: 95.0% 53.2% 17.0% inter: 14.1% 3.7% 0.0%
[libx264 @ 0x7faa5400a800] i16 v,h,dc,p: 8% 75% 2% 15%
[libx264 @ 0x7faa5400a800] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 7% 42% 10% 5% 4% 3% 10% 4% 14%
[libx264 @ 0x7faa5400a800] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 9% 36% 13% 5% 6% 5% 11% 4% 11%
[libx264 @ 0x7faa5400a800] i8c dc,h,v,p: 62% 24% 9% 5%
[libx264 @ 0x7faa5400a800] Weighted P-Frames: Y:0.9% UV:0.9%
[libx264 @ 0x7faa5400a800] ref P L0: 72.8% 9.6% 15.4% 2.2% 0.0%
[libx264 @ 0x7faa5400a800] ref B L0: 92.4% 7.1% 0.5%
[libx264 @ 0x7faa5400a800] ref B L1: 97.7% 2.3%
[libx264 @ 0x7faa5400a800] kb/s:251.81
[aac @ 0x7faa5500b200] Qavg: 826.560 -
Convert chapters from xml to ffmetadata ?
3 février 2021, par Soul SparkI wanted to add chapters to my encoded mkvs, but I get
*.xml
files when I download it from online. So is there any way to convert it toFFMETADATAFILE
so that when I encode it using ffmpeg I can add chapters to my mkv ??


Sample Input



<?xml version="1.0"?>



-<chapters>


-<editionentry>

<editionflagdefault>1</editionflagdefault>

<editionflaghidden>0</editionflaghidden>


-<chapteratom>

<chapteruid>95534594</chapteruid>

<chaptertimestart>00:00:00.000000000</chaptertimestart>

<chaptertimeend>00:01:30.000000000</chaptertimeend>

<chapterflaghidden>0</chapterflaghidden>

<chapterflagenabled>1</chapterflagenabled>


-<chapterdisplay>

<chapterstring>Chapter 1</chapterstring>

<chapterlanguage>und</chapterlanguage>

</chapterdisplay>

</chapteratom>



</editionentry>

</chapters>




Sample Output



;FFMETADATA1
title=bike\\shed
;this is a comment
artist=FFmpeg troll team

[CHAPTER]
TIMEBASE=1/1000
START=0
#chapter ends at 0:01:00
END=60000
title=chapter \#1
[STREAM]
title=multi\
line




By the way I use ffmpeg in cli mode only.


-
What ffmpeg command line will force the last frame to be a key frame ?
21 décembre 2019, par ChrisJJWhen converting .JPGs to .MP4 with the default encoder, What ffmpeg command line will force the last frame to be a key frame, regardless of the duration ?
I’ve seen the ffmpg option for controlling key frames -force_key_frames (below) but cannot see how it can deliver this result.
-force_key_frames[:stream_specifier] time[,time...] (output,per-stream)
-force_key_frames[:stream_specifier] expr:expr (output,per-stream)
Force key frames at the specified timestamps, more precisely at the first frames after each specified time.
If the argument is prefixed with expr:, the string expr is interpreted like an expression and is evaluated for each frame. A key frame is forced in case the evaluation is non-zero.
If one of the times is "chapters[delta]", it is expanded into the time of the beginning of all chapters in the file, shifted by delta, expressed as a time in seconds. This option can be useful to ensure that a seek point is present at a chapter mark or any other designated place in the output file.
For example, to insert a key frame at 5 minutes, plus key frames 0.1 second before the beginning of every chapter:
-force_key_frames 0:05:00,chapters-0.1
The expression in expr can contain the following constants:
n
the number of current processed frame, starting from 0
n_forced
the number of forced frames
prev_forced_n
the number of the previous forced frame, it is NAN when no keyframe was forced yet
prev_forced_t
the time of the previous forced frame, it is NAN when no keyframe was forced yet
t
the time of the current processed frame
For example to force a key frame every 5 seconds, you can specify:
-force_key_frames expr:gte(t,n_forced*5)
To force a key frame 5 seconds after the time of the last forced one, starting from second 13:
-force_key_frames expr:if(isnan(prev_forced_t),gte(t,13),gte(t,prev_forced_t+5))
Note that forcing too many keyframes is very harmful for the lookahead algorithms of certain encoders: using fixed-GOP options or similar would be more efficient.