
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (98)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)
Sur d’autres sites (12357)
-
ffmpeg setpts apply uniform offset
19 novembre 2018, par VinayI have a series of videos that I’m converting from
.mov
to.ts
and then create an HLS playlist for. I’m able to figure out the ending pts for both the audio and video streams of any given video and am trying apply that ending (cumulative) offset when converting later videos in the sequence. For instance :- convert
0.mov -> 0.ts
- Get ending pts of audio stream and video stream for
0.ts
. - Apply ending video/audio stream as a
setpts
filter for converting1.mov -> 1.ts
- Repeat
As an example, I’m using the following command for the second video in the sequence :
ffmpeg -y -i 1.mov \
-filter:a "asetpts=PTS-STARTPTS+367534" \
-filter:v "setpts=PTS-STARTPTS+363000" \
-codec:v libx264 -crf 18 -preset veryfast \
-acodec aac -muxdelay 0 1.tsThe offset pts
367534
(audio) and363000
were grabbed from0.ts
converted before, however, when I do this,1.ts
ends up having a duration of58s
and an offset of8.31s
.This is how I’m grabbing the ending pts offset of
0.ts
(inspired by https://stackoverflow.com/a/53348545/696130) :ffprobe -v 0 \
-show_entries packet=pts,duration -of compact=p=0:nk=1 \
-select_streams a \
0.ts | | sed \'/^\s*$/d\' | tail -1 - convert
-
ffprobe get pts of last audio/video packet
17 novembre 2018, par VinayI have an
mov
file that I need to get the endingpts
for both the audio and video streams. I’m able to do this by doing the following (manually) :ffprobe -show_packets file.mov
Which gives me an output like (with many more packets of course) :
[PACKET]
codec_type=audio
stream_index=0
pts=221184
pts_time=5.015510
dts=221184
dts_time=5.015510
duration=580
duration_time=0.013152
convergence_duration=N/A
convergence_duration_time=N/A
size=304
pos=4833575
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=1
pts=29800
pts_time=4.966667
dts=29400
dts_time=4.900000
duration=200
duration_time=0.033333
convergence_duration=N/A
convergence_duration_time=N/A
size=20707
pos=4837376
flags=__
[/PACKET]In the scenario above, the ending pts is
221764
for audio and30000
for video (pts + duration
).I was wondering if there was an easy way to either get the final audio/video packet pts directly via ffprobe flags or by intelligently parsing the output.
-
Segment Broadcast WAVE file with FFMPEG
4 octobre 2018, par yekootmadaI have a Broadcast WAV file that is duration 4 hours with a timecode track starting at 00:00:00 and ending at 04:00:00 (obviously).
I need to extract a section of the file, for example from 01:45:00 to 03:55:00 whilst maintaining the original timecode data for that section of the file.
When i run this FFMPEG script, I get the correction section of the file in "out.wav", however the start timecode of the file is always 00:00:00, and not 01:45:00 as you would expect.
Here is my current code :
ffmpeg -ss 01:45:00 -i in.wav -to 03:55:00 -c copy -write_bext 1 out.wav
How do you tell ffmpeg to take the timecode data from the section of the file and not copy it from the beginning ?
Thanks a lot, hope that is clear.