Recherche avancée

Médias (0)

Mot : - Tags -/latitude

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (79)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (12515)

  • dashenc : Write segment timelines properly if the timeline has gaps

    28 novembre 2014, par Martin Storsjö
    dashenc : Write segment timelines properly if the timeline has gaps
    

    Write a new start time if the duration of the previous segment
    didn’t match the start of the next one. Check that segments
    actually are continuous before writing a repeat count.

    This makes sure timestamps deduced from the timeline actually
    match the real start timestamp as written in filenames (if
    using a template containing $Time$).

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavformat/dashenc.c
  • How can I sync the frames of multiple videos from a multi-camera capture system using FFMPEG

    9 février 2023, par user9114146

    I have a multi-camera capture setup with 2 canon cameras. Each of these cameras have a tentacle sync e timecode generator connected to them.

    &#xA;

    After a video capture with these 2 cameras, the generated timecode (SMPTE format) is stored in the video files metadata.

    &#xA;

    It looks like this 00:00:53;30

    &#xA;

    Is there a bash script that uses FFmpeg to trim the start time of the video that started earlier (based on timecode) to match the other and then trim the end time of the video that ended last to match the one that ended first ?

    &#xA;

    The two trimmed output videos should be synced based on the timecode and have the same duration.

    &#xA;

    So far, my bash script looks like this :

    &#xA;

    file1="A001C002_220101EB_CANON.MXF"&#xA;file2="A001C002_220101US_CANON.MXF"&#xA;&#xA;# Get the SMPTE timecodes of the two files&#xA;timecode1=$(ffmpeg -i "$file1" 2>&amp;1 | sed -n &#x27;s/timecode.*: \(.*\)/\1/p&#x27;)&#xA;timecode2=$(ffmpeg -i "$file2" 2>&amp;1 | sed -n &#x27;s/timecode.*: \(.*\)/\1/p&#x27;)&#xA;&#xA;# Convert the SMPTE timecode to start time in seconds&#xA;start_time_1=$(echo "$timecode1" | awk -F &#x27;:&#x27; &#x27;{print 3600*$1 &#x2B; 60*$2 &#x2B; $3}&#x27;)&#xA;start_time_2=$(echo "$timecode2" | awk -F &#x27;:&#x27; &#x27;{print 3600*$1 &#x2B; 60*$2 &#x2B; $3}&#x27;)&#xA;&#xA;# Trim the start of the video with the earlier start timecode so that both videos have the same start time&#xA;if [ "$start_time_1" -lt "$start_time_2" ]; then&#xA;  ffmpeg -i "$file1" -ss "$start_time_2" -c:v libx264 -crf 18 -preset veryfast trimmed_file1.mp4&#xA;  ffmpeg -i "$file2" -c:v libx264 -crf 18 -preset veryfast trimmed_file2.mp4&#xA;else&#xA;  ffmpeg -i "$file2" -ss "$start_time_1" -c:v libx264 -crf 18 -preset veryfast trimmed_file2.mp4&#xA;  ffmpeg -i "$file1" -c:v libx264 -crf 18 -preset veryfast trimmed_file1.mp4&#xA;fi&#xA;&#xA;# Get the duration of both files&#xA;duration_1=$(ffmpeg -i trimmed_file1.mp4 2>&amp;1 | grep "Duration" | cut -d &#x27; &#x27; -f 4 | sed s/,//)&#xA;duration_2=$(ffmpeg -i trimmed_file2.mp4 2>&amp;1 | grep "Duration" | cut -d &#x27; &#x27; -f 4 | sed s/,//)&#xA;&#xA;# Convert the duration to seconds&#xA;duration_1_secs=$(echo $duration_1 | awk -F: &#x27;{ print ($1 * 3600) &#x2B; ($2 * 60) &#x2B; $3 }&#x27;)&#xA;duration_2_secs=$(echo $duration_2 | awk -F: &#x27;{ print ($1 * 3600) &#x2B; ($2 * 60) &#x2B; $3 }&#x27;)&#xA;&#xA;# Trim the end time of the video that ended last to match the one that ended first&#xA;if [ "$duration_1_secs" -gt "$duration_2_secs" ]; then&#xA;  echo "Trimming end time of file1 to match file2"&#xA;  ffmpeg -i trimmed_file1.mp4 -t "$duration_2" -c:v libx264 -c:a aac trimmed_file1.mp4&#xA;else&#xA;  echo "Trimming end time of file2 to match file1"&#xA;  ffmpeg -i trimmed_file2.mp4 -t "$duration_1" -c:v libx264 -c:a aac trimmed_file2.mp4&#xA;fi&#xA;

    &#xA;

    But this does not make the videos have matching frames.

    &#xA;

    Thanks !

    &#xA;

  • Downloading and Uploading FFmpeg [closed]

    24 décembre 2011, par user705339

    I have a Windows OS for development, and a Linux server. I downloaded ffmpeg on my Windows, configured everything, and uploaded the application. The video conversion didn't work. After extensive hours figuring out the culprit, I realized that I downloaded the ffmpeg for Windows, and need to download the Linux version. That seemed harder than downloading the Windows version. I have scoured the net, and have come up with squat

    So, my 2 questions are :

    1. Is there an easy way to download/install the linux version of ffmpeg ? OR
    2. Is there an easier way to install it straight on the server ?

    If it matters, I also have a Linux OS development, but found it hard to install ffmpeg on it anyway.

    Update : After trying apt-get install ffmpeg on my Ubuntu Linux OS, it says it has already been installed. How do I locate what folder it's located ?