
Recherche avancée
Autres articles (19)
-
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...) -
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...) -
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)
Sur d’autres sites (3054)
-
Video concatenation puts sound out of sync
9 août 2019, par mmorin(Cross-posted from Video Production, where the question received no answers and may be more technical than usual video production.)
I have several
MOV
files from a DSLR camera. I concatenate them with directions from this thread :ffmpeg -safe 0 -f concat -i files_to_combine -vcodec copy -acodec copy temp.MOV
where
files_to_combine
is :file ./DSC_0013.MOV
...
file ./DSC_0019.MOVThe result has image and sound in sync for the first clip and is out of sync by fractions of a second in the second clip, and out of sync by around a second for the last clip. It is probably related to this error from the log :
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f82dd802200] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f82dd802200] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f82dd802200] Auto-inserting h264_mp4toannexb bitstream filterHow can I trim the frames to the available sound stream, then concatenate the two videos ?
The full log from the
ffmpeg
command is :ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
built with Apple LLVM version 10.0.1 (clang-1001.0.46.4)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1.3_1 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/adoptopenjdk-11.0.2.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/adoptopenjdk-11.0.2.jdk/Contents/Home/include/darwin' --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-libvorbis --enable-libvpx --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-videotoolbox --disable-libjack --disable-indev=jack --enable-libaom --enable-libsoxr
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f82dc00e000] Auto-inserting h264_mp4toannexb bitstream filter
Input #0, concat, from 'files_to_combine':
Duration: N/A, start: -0.592000, bitrate: 36888 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, smpte170m/bt709/bt470m), 1920x1080, 35352 kb/s, 50 fps, 50 tbr, 50k tbn, 100 tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s
Metadata:
handler_name : SoundHandler
Output #0, mov, to 'temp.MOV':
Metadata:
encoder : Lavf58.20.100
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, smpte170m/bt709/bt470m), 1920x1080, q=2-31, 35352 kb/s, 50 fps, 50 tbr, 50k tbn, 50k tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s
Metadata:
handler_name : SoundHandler
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f82dd802200] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f82dd802200] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f82dd802200] Auto-inserting h264_mp4toannexb bitstream filter
frame=41886 fps=547 q=-1.0 Lsize= 3789826kB time=00:13:58.75 bitrate=37014.8kbits/s speed=10.9x
video:3631879kB audio:157123kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.021759%Update (1 July 2019)
I thought that the files had a problem at the beginning or at the end, so I
trimmed one second from each end, but it still had the sound out of sync :FILES=files_to_combine
OUTPUT=show2.MOV
rm $FILES
for i in 3 4 5 6 7 8 9; do
rm ${i}.MOV
duration=$(ffprobe -v 0 -show_entries format=duration -of compact=p=0:nk=1 DSC_001${i}.MOV)
trimmed=$(echo $duration - 1 | bc)
ffmpeg -ss 1 -t $trimmed -i DSC_001${i}.MOV -vcodec copy -acodec copy ${i}.MOV
echo file ./${i}.MOV >> $FILES
done
rm $OUTPUT
ffmpeg -safe 0 -f concat -i $FILES -vcodec copy -acodec copy $OUTPUTWhen I trim a single file near the end, the sound and video do not seem out of sync :
ffmpeg -ss 00:09:20 -t 20 -i DSC_0014.MOV -vcodec copy -acodec copy end.MOV
When I concatenate only 30 seconds from each video, the result seems OK :
FILES=files_to_combine
OUTPUT=show2.MOV
rm $FILES
for i in 3 4 5 6 7 8 9; do
rm ${i}.MOV
duration=$(ffprobe -v 0 -show_entries format=duration -of compact=p=0:nk=1 DSC_001${i}.MOV)
start=$(echo $duration - 30 | bc)
end=$(echo $duration - 1 | bc)
ffmpeg -ss $start -t $end -i DSC_001${i}.MOV -vcodec copy -acodec copy ${i}.MOV
echo file ./${i}.MOV >> $FILES
done
rm $OUTPUT
ffmpeg -safe 0 -f concat -i $FILES -vcodec copy -acodec copy $OUTPUTThis last concatenation gives this error multiple times :
[mov @ 0x7fc3c7837400] Non-monotonous DTS in output stream 0:0; previous: 9080205, current: 9080200; changing to 9080206. This may result in incorrect timestamps in the output file.
So I am guessing that the problem is small differences in timestamps that
accumulate and become more noticeable with longer durations and the
concatenation of multiple files.For reference, the DSLR that shot these clips is a Nikon D3300 and the result
offfprobe
on one of the files is :$ ffprobe DSC_0017.MOV -hide_banner
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fab70003800] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fab70003800] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'DSC_0017.MOV':
Metadata:
major_brand : qt
minor_version : 537331968
compatible_brands: qt niko
creation_time : 2019-06-12T23:52:37.000000Z
Duration: 00:09:53.58, start: 0.000000, bitrate: 36843 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, smpte170m/bt709/bt470m), 1920x1080, 35300 kb/s, 50 fps, 50 tbr, 50k tbn, 100 tbc (default)
Metadata:
creation_time : 2019-06-12T23:52:37.000000Z
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 2 channels, s16, 1536 kb/s (default)
Metadata:
creation_time : 2019-06-12T23:52:37.000000ZUpdate (9 August 2019)
I concatenated the files in iMovie and the sound and image are not as out of sync as with FFMPEG. Maybe iMovie aligns the timestamps at the end of each clip instead of concatenating the audio and image streams separately.
I ran the concatenation again with the latest
ffmpeg 4.1.4_1
on these files and others from the same camera. The audio and image are in sync in one case (the results lasts 46 minutes) out of sync in another (the result lasts 48 minutes). -
Anomalie #3554 (Fermé) : Espace privé : le moteur de recherche ne retrouve pas les articles sur un...
25 septembre 2015suite à http://forum.spip.net/fr_262506.html
si un article possède un titre du type "vive mai 1968"
la recherche dans le partie privée sur "1968" ne renvoie rien
la rceherche dans la partie publique fonctionne sans problème.je reproduis en 3.0.20 et 3.1 dev
-
Replace lena.pnm
27 novembre 2014, par Reinhard TartlerReplace lena.pnm
The new reference.pnm is a freely licensed replacement. The photo has
been taken by Reinhard Tartler on August 28 2014, and is licensed under
the expat license as stated at http://www.jclark.com/xml/copying.txt- [DBH] tests/Makefile
- [DBH] tests/lena.pnm
- [DBH] tests/ref/seek/vsynth2-asv1
- [DBH] tests/ref/seek/vsynth2-asv2
- [DBH] tests/ref/seek/vsynth2-ffv1
- [DBH] tests/ref/seek/vsynth2-flashsv
- [DBH] tests/ref/seek/vsynth2-flv
- [DBH] tests/ref/seek/vsynth2-h261
- [DBH] tests/ref/seek/vsynth2-h263
- [DBH] tests/ref/seek/vsynth2-h263p
- [DBH] tests/ref/seek/vsynth2-huffyuv
- [DBH] tests/ref/seek/vsynth2-jpegls
- [DBH] tests/ref/seek/vsynth2-ljpeg
- [DBH] tests/ref/seek/vsynth2-mjpeg
- [DBH] tests/ref/seek/vsynth2-mpeg1
- [DBH] tests/ref/seek/vsynth2-mpeg1b
- [DBH] tests/ref/seek/vsynth2-mpeg2-422
- [DBH] tests/ref/seek/vsynth2-mpeg2-idct-int
- [DBH] tests/ref/seek/vsynth2-mpeg2-ilace
- [DBH] tests/ref/seek/vsynth2-mpeg2-ivlc-qprd
- [DBH] tests/ref/seek/vsynth2-mpeg2-thread
- [DBH] tests/ref/seek/vsynth2-mpeg2-thread-ivlc
- [DBH] tests/ref/seek/vsynth2-mpeg4
- [DBH] tests/ref/seek/vsynth2-mpeg4-adap
- [DBH] tests/ref/seek/vsynth2-mpeg4-adv
- [DBH] tests/ref/seek/vsynth2-mpeg4-error
- [DBH] tests/ref/seek/vsynth2-mpeg4-nr
- [DBH] tests/ref/seek/vsynth2-mpeg4-qpel
- [DBH] tests/ref/seek/vsynth2-mpeg4-qprd
- [DBH] tests/ref/seek/vsynth2-mpeg4-rc
- [DBH] tests/ref/seek/vsynth2-mpeg4-thread
- [DBH] tests/ref/seek/vsynth2-msmpeg4
- [DBH] tests/ref/seek/vsynth2-msmpeg4v2
- [DBH] tests/ref/seek/vsynth2-roqvideo
- [DBH] tests/ref/seek/vsynth2-rv10
- [DBH] tests/ref/seek/vsynth2-rv20
- [DBH] tests/ref/seek/vsynth2-svq1
- [DBH] tests/ref/seek/vsynth2-wmv1
- [DBH] tests/ref/seek/vsynth2-wmv2
- [DBH] tests/ref/vsynth/vsynth2-asv1
- [DBH] tests/ref/vsynth/vsynth2-asv2
- [DBH] tests/ref/vsynth/vsynth2-cljr
- [DBH] tests/ref/vsynth/vsynth2-dnxhd-1080i
- [DBH] tests/ref/vsynth/vsynth2-dnxhd-720p
- [DBH] tests/ref/vsynth/vsynth2-dnxhd-720p-10bit
- [DBH] tests/ref/vsynth/vsynth2-dnxhd-720p-rd
- [DBH] tests/ref/vsynth/vsynth2-dv
- [DBH] tests/ref/vsynth/vsynth2-dv-411
- [DBH] tests/ref/vsynth/vsynth2-dv-50
- [DBH] tests/ref/vsynth/vsynth2-ffv1
- [DBH] tests/ref/vsynth/vsynth2-ffvhuff
- [DBH] tests/ref/vsynth/vsynth2-flashsv
- [DBH] tests/ref/vsynth/vsynth2-flv
- [DBH] tests/ref/vsynth/vsynth2-h261
- [DBH] tests/ref/vsynth/vsynth2-h263
- [DBH] tests/ref/vsynth/vsynth2-h263-obmc
- [DBH] tests/ref/vsynth/vsynth2-h263p
- [DBH] tests/ref/vsynth/vsynth2-huffyuv
- [DBH] tests/ref/vsynth/vsynth2-jpegls
- [DBH] tests/ref/vsynth/vsynth2-ljpeg
- [DBH] tests/ref/vsynth/vsynth2-mjpeg
- [DBH] tests/ref/vsynth/vsynth2-mpeg1
- [DBH] tests/ref/vsynth/vsynth2-mpeg1b
- [DBH] tests/ref/vsynth/vsynth2-mpeg2
- [DBH] tests/ref/vsynth/vsynth2-mpeg2-422
- [DBH] tests/ref/vsynth/vsynth2-mpeg2-idct-int
- [DBH] tests/ref/vsynth/vsynth2-mpeg2-ilace
- [DBH] tests/ref/vsynth/vsynth2-mpeg2-ivlc-qprd
- [DBH] tests/ref/vsynth/vsynth2-mpeg2-thread
- [DBH] tests/ref/vsynth/vsynth2-mpeg2-thread-ivlc
- [DBH] tests/ref/vsynth/vsynth2-mpeg4
- [DBH] tests/ref/vsynth/vsynth2-mpeg4-adap
- [DBH] tests/ref/vsynth/vsynth2-mpeg4-adv
- [DBH] tests/ref/vsynth/vsynth2-mpeg4-error
- [DBH] tests/ref/vsynth/vsynth2-mpeg4-nr
- [DBH] tests/ref/vsynth/vsynth2-mpeg4-qpel
- [DBH] tests/ref/vsynth/vsynth2-mpeg4-qprd
- [DBH] tests/ref/vsynth/vsynth2-mpeg4-rc
- [DBH] tests/ref/vsynth/vsynth2-mpeg4-thread
- [DBH] tests/ref/vsynth/vsynth2-msmpeg4
- [DBH] tests/ref/vsynth/vsynth2-msmpeg4v2
- [DBH] tests/ref/vsynth/vsynth2-prores
- [DBH] tests/ref/vsynth/vsynth2-qtrle
- [DBH] tests/ref/vsynth/vsynth2-rgb
- [DBH] tests/ref/vsynth/vsynth2-roqvideo
- [DBH] tests/ref/vsynth/vsynth2-rv10
- [DBH] tests/ref/vsynth/vsynth2-rv20
- [DBH] tests/ref/vsynth/vsynth2-svq1
- [DBH] tests/ref/vsynth/vsynth2-v210
- [DBH] tests/ref/vsynth/vsynth2-wmv1
- [DBH] tests/ref/vsynth/vsynth2-wmv2
- [DBH] tests/ref/vsynth/vsynth2-yuv
- [DBH] tests/reference.pnm