Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (81)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (7837)

  • Installing ffmpeg in ubuntu [closed]

    9 octobre 2023, par Sovan Bhakta

    Recently I tried to install ffmpeg in my ubuntu and I received an error saying broken packages.

    


    I already tried

    


    Sudo apt update && sudo apt install ffmpeg

    


    Sudo apt update && sudo apt upgrade

    


    

-hp:~$ sudo apt update && sudo apt install ffmpeg

Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease

Hit:2 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease

Hit:3 https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease

Hit:4 http://archive.ubuntu.com/ubuntu jammy InRelease

Hit:5 http://archive.ubuntu.com/ubuntu jammy-updates InRelease

Hit:6 http://archive.ubuntu.com/ubuntu jammy-security InRelease

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

All packages are up to date.

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

Some packages could not be installed. This may mean that you have

requested an impossible situation or if you are using the unstable

distribution that some required packages have not yet been created

or been moved out of Incoming.

The following information may help to resolve the situation:

The following packages have unmet dependencies:

 ffmpeg : Depends: libavcodec58 (= 7:4.4.2-0ubuntu0.22.04.1)

          Depends: libavdevice58 (= 7:4.4.2-0ubuntu0.22.04.1) but it is not going to be installed

          Depends: libavfilter7 (= 7:4.4.2-0ubuntu0.22.04.1)

          Depends: libavformat58 (= 7:4.4.2-0ubuntu0.22.04.1)

          Depends: libavutil56 (= 7:4.4.2-0ubuntu0.22.04.1) but 7:4.4.2-0ubuntu0.22.04.1+esm1 is to be installed

          Depends: libpostproc55 (= 7:4.4.2-0ubuntu0.22.04.1) but 7:4.4.2-0ubuntu0.22.04.1+esm1 is to be installed

          Depends: libswresample3 (= 7:4.4.2-0ubuntu0.22.04.1) but 7:4.4.2-0ubuntu0.22.04.1+esm1 is to be installed

          Depends: libswscale5 (= 7:4.4.2-0ubuntu0.22.04.1) but 7:4.4.2-0ubuntu0.22.04.1+esm1 is to be installed

E: Unable to correct problems, you have held broken package
s.


    


    I am unable to find the cause so please help me get it right

    


  • Combine TS files with inconsistent audio kb/s into one file with consistent audio

    13 juin 2022, par anjchang

    I need to merge approximately 200 ts files with inconsistent audio sampling (between 17kb/s and 30 kb/s) to become one file with smooth audio.

    


    It seems that although I can combine the files without re-encoding— I still get gaps. I used

    


    ffmpeg -f concat -safe "0" -i mylist.txt -c copy merge.ts

ffmpeg -i merge.ts -map 0 -c copy output.mp4


    


    In VLC, I can verify all the files contain an audio and video stream. When I put the files into adobe premiere pro, I see that some of the files have audio across the full duration of the file. Files with lower kbps have no audio (and I believe that Premiere doesn't know how to map the audio so it just says "no audio"). When I put the same files into ShotCut, all the files have audio at the front and silence at the end of each clip. Is there a way to "smooth out" the audio like Premiere is doing for all the ts clips, so that all the clips contain audio ? The goal is to sequence all the clips and export them as one continuous clip.

    


    Audio exists in all files, but adobe premiere

    


    Here's the background of the project, DLINK security camera footage : How to merge .ts files from a DLINK security camera losslessly ?

    


  • OpenCV - motion detection in large video files

    18 décembre 2023, par M9A

    I have large video files (over a few GB each) that I am trying detect motion on. I am using fairly basic OpenCV code in python with ROI to detect motion in a certain area of the video only. This works absolutely fine but takes absolutely ages to process large files. Is there any way to speed things up ? I am simply just checking to see which file has motion detected in it and will not be outputting a video. The moment the first motion is detected the rest of the file is not checked.

    


    import sys
import cv2

video_path = “video.mp4”

capture = cv2.VideoCapture(video_path)

# Set the first frame as the reference background
_, background = capture.read()

# Define the region of interest (ROI)
x, y, w, h = 1468, 1142, 412, 385
roi = (x, y, x + w, y + h)

while capture.isOpened():
    ret, frame = capture.read()

    if not ret:
        break

    # Extract the region of interest from the current frame
    frame_roi = frame[y:y + h, x:x + w]

    # Calculate the absolute difference between the ROI and the background
    diff = cv2.absdiff(background[y:y + h, x:x + w], frame_roi)
    gray = cv2.cvtColor(diff, cv2.COLOR_BGR2GRAY)
    _, thresh = cv2.threshold(gray, 30, 255, cv2.THRESH_BINARY)

    # Check if motion is detected in the ROI (adjust threshold as needed)
    if cv2.countNonZero(thresh) > 75:
        print("YES")
        break

# Release the video capture object
capture.release()