
Recherche avancée
Médias (1)
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (52)
-
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 -
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 -
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 (...)
Sur d’autres sites (8655)
-
FFmpeg concat creating corrupted video part (Media Info provided)
6 mai 2022, par krvI am using concat to join a list of video files with the following command


ffmpeg -f concat -safe 0 -i filesList.txt -c copy output.mp4 



The issue here is that there are a few files that were recorded in slow motion on my phone. The slow-motion files have the same frame rate as the other files.


But when concatenated the part where the slow-motion files are concatenated appears to be frozen / glitch (it does not play a single frame).


I am able to seek forward and backward the part that does not play. So the portion of the video that contained normal files plays and as soon as the slow-motion video comes, nothing plays, and when a normal file comes it starts playing again.


I am attaching the media Info of both files


Info of the slow motion file :


General
Complete name : I:\concate Test\VID20210727114100.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (isom/mp42)
File size : 27.6 MiB
Duration : 1 min 0 s
Overall bit rate : 3 825 kb/s
Encoded date : UTC 2021-07-27 06:11:08
Tagged date : UTC 2021-07-27 06:11:08
xyz : +21.6146+071.2342/
com.android.version : 11

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L3.1@Main
Codec ID : hvc1
Codec ID/Info : High Efficiency Video Coding
Duration : 1 min 0 s
Source duration : 1 min 0 s
Bit rate : 3 771 kb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 30.000 FPS
Minimum frame rate : 29.910 FPS
Maximum frame rate : 30.090 FPS
Real frame rate : 240.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.136
Stream size : 27.2 MiB (99%)
Source stream size : 27.2 MiB (99%)
Title : VideoHandle
Language : English
Encoded date : UTC 2021-07-27 06:11:08
Tagged date : UTC 2021-07-27 06:11:08
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
mdhd_Duration : 60524
Codec configuration box : hvcC



Info of the regular video file



General
Complete name : I:\concate Test\VID20210727113901.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (isom/mp42)
File size : 39.0 MiB
Duration : 37 s 930 ms
Overall bit rate : 8 615 kb/s
Encoded date : UTC 2021-07-27 06:09:40
Tagged date : UTC 2021-07-27 06:09:40
xyz : +21.6146+071.2342/
com.android.version : 11

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L4@Main
Codec ID : hvc1
Codec ID/Info : High Efficiency Video Coding
Duration : 37 s 930 ms
Source duration : 37 s 900 ms
Bit rate : 8 408 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 29.604 FPS
Minimum frame rate : 29.508 FPS
Maximum frame rate : 29.605 FPS
Real frame rate : 30.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.137
Stream size : 38.0 MiB (98%)
Source stream size : 38.0 MiB (98%)
Title : VideoHandle
Language : English
Encoded date : UTC 2021-07-27 06:09:40
Tagged date : UTC 2021-07-27 06:09:40
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
mdhd_Duration : 37930
Codec configuration box : hvcC

Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 37 s 909 ms
Bit rate mode : Constant
Bit rate : 128 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 592 KiB (1%)
Title : SoundHandle
Language : English
Encoded date : UTC 2021-07-27 06:09:40
Tagged date : UTC 2021-07-27 06:09:40





-
split mp4-videos with ffmpeg as acurate as possible
31 mai 2018, par atticusI’m trying to split a mp4-Video (Video-codec : h264 Audio-codec : mp3) with ffmpeg.
I know there are many other Threads here with similar issues but in my case I’m trying to be as accurate as possible. My first command wasffmpeg -ss <starttime> -i -to <duration> -c copy </duration></starttime>
As I lernt about the issue with the Keyframes I created a command like thisffmpeg -ss <starttime> -i -to <duration> -acodec copy -vcodec h264 </duration></starttime>
As I’ve seen in some Forums it is possible to handle the keyframe-issue by inserting manually Keyframes but I’ve found nothing about how exactly this could be done and weather it really helps.?
And how exact could it become if I re-encode the whole thing like in my second command and do I need to re-encode the audio Stream too ?EDIT : Or is it better to use the trim filter ?
PS.:As I’m new to this network I hope not to have created a duplicate and to have it sorted into the right section. (And apologize my English skills)
-
FFMpeg generating screenshots drop frames
6 octobre 2011, par MorganI'm using FFMpeg to extract frames from a video file, and for most videos it works flawlessly. But certain videos it seems to have to seek to the position that I want to take the screenshot from, and drops all the frames on the way there taking quite a while if the position i'm generating a screenshot from is near the end of the video. Here is the command I'm using to extract my screenshot.
ffmpeg -ss 60 -i input.mkv -vframes 1 -f image2 -an -r 1/5 output.jpg
and the output I receive
ffmpeg version 0.8.3, Copyright (c) 2000-2011 the FFmpeg developers
built on Sep 20 2011 00:46:47 with clang 2.1 (tags/Apple/clang-163.7.1)
configuration: --prefix=/Users/Morgan/Downloads/installed/ffmpeg --extra-libs=/Users/Morgan/Downloads/installed/lib/libfaac.a --enable-gpl --extra-cflags=-I/Users/Morgan/Downloads/installed/include --disable-ffplay --disable-ffserver --disable-shared --disable-debug --extra-ldflags=-L/Users/Morgan/Downloads/installed/lib --enable-libmp3lame --enable-libfaac --enable-libx264 --enable-nonfree --cc=clang
libavutil 51. 9. 1 / 51. 9. 1
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 4. 0 / 53. 4. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 23. 0 / 2. 23. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
[matroska,webm @ 0x7f9dd3007c00] Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 47.95 (500000/10427) -> 23.98 (24000/1001)
Input #0, matroska,webm, from 'input.mkv':
Duration: 01:01:36.16, start: 0.000000, bitrate: 576 kb/s
Stream #0.0(eng): Video: h264 (High), yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Metadata:
title : Input Video
Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s (default)
Metadata:
title : English Dolby Digital 5.1 AC3
Stream #0.2(eng): Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
Metadata:
title : Commentary
Stream #0.3(eng): Subtitle: [0][0][0][0] / 0x0000 (default)
Metadata:
title : English
Incompatible pixel format 'yuv420p' for codec 'mjpeg', auto-selecting format 'yuvj420p'
[buffer @ 0x106c10c00] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
[buffersink @ 0x106c10e40] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 0x106c11140] w:1280 h:720 fmt:yuv420p -> w:1280 h:720 fmt:yuvj420p flags:0x4
Output #0, image2, to 'output.jpg':
Metadata:
encoder : Lavf53.4.0
Stream #0.0(eng): Video: mjpeg, yuvj420p, 1280x720 [PAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 0.20 tbc (default)
Metadata:
title : Input Video
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop, [?] for help
frame= 0 fps= 0 q=0.0 Lsize= -0kB time=00:00:00.00 bitrate= 0.0kbits/s dup=0 drop=275
video:0kB audio:0kB global headers:0kB muxing overhead -inf%