Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (61)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • 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 (8375)

  • change brew install directory

    23 juin 2018, par Addison Wu

    I used homebrew to install ffmpeg and it’s by default in /usr/local/Cellar.
    I have to run a matlab code, which tries to read ffmpeg from /usr/local/bin and returns error.

    Is there any way for me to change the path for brew install of ffmpeg ?

  • Subprocess doesn't return expected result

    8 avril 2023, par Gren Man

    Subprocess doesn't return expected result

    


    I have been trying getting info from video files using ffprobe

    


    But I stumbled upon unexpected results, here are some test I've done

    


    First test

    


    # ffprobe -v error -select_streams v:0 -show_entries stream=height,width -of csv=s=x:p=0 
proc = subprocess.Popen(['ffprobe', '-v', 'error', '-select_streams', 'v:0', '-show_entries', 
       'stream=height,width', '-of', 'csv=s=x:p=0 ', video_path],
       stdout=subprocess.PIPE, stdin=subprocess.PIPE)

# proc.stdout.read() Returns  b'widthXheightt\r\n'
v_resolution = proc.stdout.read().decode('utf-8').replace('\r', '').replace('\n', '')
# Result 'widthXheight'


    


    First test was successful.

    


    Second test

    


    # ffprobe -v error -select_streams v:0 -show_entries stream=display_aspect_ratio -of default=noprint_wrappers=1:nokey=1
proc = subprocess.Popen(['ffprobe', '-v', 'error', '-select_streams', 'v:0', '-show_entries',
       'stream=display_aspect_ratio','-of default=noprint_wrappers=1:nokey=1', video_path],
       stdout=subprocess.PIPE, stdin=subprocess.PIPE)

# proc.stdout.read() Returns b''
a_r = proc.stdout.read().decode('utf-8').replace('\r', '').replace('\n', '')
# Result ''


    


    Hmm, this doesn't sounds right I thought result should be e.g. 16:9

    


    I tried putting code to CMD which returned aforementioned result

    


    Third test

    


    # ffprobe -v error -select_streams v -of default=noprint_wrappers=1:nokey=1 -show_entries stream=r_frame_rate
proc = subprocess.Popen(['ffprobe', '-v', 'error', '-select_streams', 'v', '-of',
       'default=noprint_wrappers=1:nokey=1','-show_entries', 'stream=r_frame_rate',
       video_path], stdout=subprocess.PIPE, stdin=subprocess.PIPE)

# proc.stdout.read() Returns b'30/1'
fps = proc.stdout.read().decode('utf-8').replace('\r', '').replace('\n', '') + ' fps'
# Result 30/1 fps


    


    Just as expected this returned subarashi result

    


    But what happened in a second test ? Can somebody explain it to me ? I used stderr which returned :

    


    Failed to set value 'foo.mp4' for option 'of default=noprint_wrappers=1:nokey=1': Option not found


    


    Result of python code

    


    Result

    


  • Cannot find installation of real FFmpeg (which comes with ffprobe)

    29 mars 2023, par Asm Goni

    I was trying to fit a generator into a model and I got this error : 
AssertionError: Cannot find installation of real FFmpeg (which comes with ffprobe).

    



    I have looked over many of the solutions on GitHub and other questions on Stack Overflow but none of them worked for me.

    



    Here is one of the commands I ran :

    



    sudo add-apt-repository ppa:mc3man/trusty-media  
sudo apt-get update  
sudo apt-get install ffmpeg  
sudo apt-get install frei0r-plugins  


    



    pip list also indicates the presence of ffmpeg-1.4

    



    In addition, I tried force reinstalling and updating ffmpeg just in case any dependencies were not installed properly.

    



    I also set the skvideo's path for ffmpeg manually :

    



    skvideo.setFFmpegPath('/usr/local/lib/python3.6/dist-packages/ffmpeg/')


    



    This returns : /usr/local/lib/python3.6/dist-packages/skvideo/__init__.py:306: UserWarning: ffmpeg/ffprobe not found in path: /usr/local/lib/python3.6/dist-packages/ffmpeg/
  warnings.warn("ffmpeg/ffprobe not found in path: " + str(path), UserWarning)

    



    By the way, when I try installing, it also returns this error, I don't know what to do about this :

    



    Get:127 http://archive.ubuntu.com/ubuntu bionic/main amd64 vdpau-driver-all amd64 1.1.1-3ubuntu1 [4,674 B]
Fetched 60.4 MB in 7s (8,769 kB/s)
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/w/wavpack/libwavpack1_5.1.0-2ubuntu1.1_amd64.deb  404  Not Found [IP: 91.189.88.149 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


    



    I ran apt-get update --fix-missing and that didn't make anything better.

    



    Is there a solution to this ?