Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (48)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

Sur d’autres sites (9665)

  • ffmpeg wont encode h264 mp4 video with libx264 installed

    2 décembre 2014, par el producer

    I’m trying to do a simple encoding of an mp4 in h264 to mp4 but I keep getting the error :

    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    I’m using this command :

    ffmpeg -i qDqMvfoapXh6FO3KMuYiZCcG.mp4 out.mp4

    I have compiled and installed from the ffmpeginstaller 8.0 from http://ffmpeginstaller.com/

    This was working until i removed everything containing ffmpeg in the file name so that I can install libvpx and recompile ffmpeg. I used this command (as root) to remove all traces of ffmpeg from my system (redhat)

    find / | grep -w ffmpeg | xargs rm -r -f
    find / | grep -w cpffmpeg | xargs rm -r -f
    find / | grep -w ffmpegscript | xargs rm -r -f

    Then I installed libvpx successfully and installed ffmpeg again but have not been able to encode h264 mp4 files since. Since them I have removed ffmpeg completely and recompiled a few times but haven’t got it to work again.

    Complete ffmpeg output :

    ffmpeg version N-68141-g4280150-syslint Copyright (c) 2000-2014 the FFmpeg developers
    built on Dec  1 2014 20:24:46 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-11)
    configuration: --prefix=/usr/local/cpffmpeg --enable-shared --enable-nonfree --enable-gpl     --enable-pthreads --enable-libopencore-amrnb --enable-decoder=liba52 --enable-libopencore-  amrwb --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --extra-cflags=-I/usr/local/cpffmpeg/include/ --extra-ldflags=-L/usr/local/cpffmpeg/lib --enable-version3 --extra-version=syslint
    libavutil      54. 15.100 / 54. 15.100
    libavcodec     56. 13.100 / 56. 13.100
    libavformat    56. 15.101 / 56. 15.101
    libavdevice    56.  3.100 / 56.  3.100
    libavfilter     5.  2.103 /  5.  2.103
    libswscale      3.  1.101 /  3.  1.101
    libswresample   1.  1.100 /  1.  1.100
    libpostproc    53.  3.100 / 53.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'qDqMvfoapXh6FO3KMuYiZCcG.mp4':
    Metadata:
    major_brand     : isom
    minor_version   : 0
    compatible_brands: isom3gp4
    creation_time   : 2014-12-01 04:18:17
    Duration: 00:00:22.61, start: 0.000000, bitrate: 12028 kb/s
    Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1280x720, 11968 kb/s, 29.88 fps, 29.97 tbr, 90k tbn, 180k tbc (default)
    Metadata:
     rotate          : 90
     creation_time   : 2014-12-01 04:18:17
     handler_name    : VideoHandle
    Side data:
     displaymatrix: rotation of -90.00 degrees
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 121 kb/s (default)
    Metadata:
     creation_time   : 2014-12-01 04:18:17
     handler_name    : SoundHandle
    [libx264 @ 0x2505ee0] using cpu capabilities: none!
    Output #0, mp4, to 'out.mp4':
    Metadata:
    major_brand     : isom
    minor_version   : 0
    compatible_brands: isom3gp4
    Stream #0:0(eng): Video: h264, none, q=2-31, 128 kb/s, 29.97 fps (default)
    Metadata:
     rotate          : 90
     creation_time   : 2014-12-01 04:18:17
     handler_name    : VideoHandle
     encoder         : Lavc56.13.100 libx264
    Stream #0:1(eng): Audio: aac, 0 channels, 128 kb/s (default)
    Metadata:
     creation_time   : 2014-12-01 04:18:17
     handler_name    : SoundHandle
     encoder         : Lavc56.13.100 libfaac
    Stream mapping:
    Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
    Stream #0:1 -> #0:1 (aac (native) -> aac (libfaac))
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    Can someone explain why I keep getting this error now ?

  • ffmpeg wont encode h264 mp4 video with libx264 installed

    2 décembre 2014, par el producer

    I’m trying to do a simple encoding of an mp4 in h264 to mp4 but I keep getting the error :

    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    I’m using this command :

    ffmpeg -i qDqMvfoapXh6FO3KMuYiZCcG.mp4 out.mp4

    I have compiled and installed from the ffmpeginstaller 8.0 from http://ffmpeginstaller.com/

    This was working until i removed everything containing ffmpeg in the file name so that I can install libvpx and recompile ffmpeg. I used this command (as root) to remove all traces of ffmpeg from my system (redhat)

    find / | grep -w ffmpeg | xargs rm -r -f
    find / | grep -w cpffmpeg | xargs rm -r -f
    find / | grep -w ffmpegscript | xargs rm -r -f

    Then I installed libvpx successfully and installed ffmpeg again but have not been able to encode h264 mp4 files since. Since them I have removed ffmpeg completely and recompiled a few times but haven’t got it to work again.

    Complete ffmpeg output :

    ffmpeg version N-68141-g4280150-syslint Copyright (c) 2000-2014 the FFmpeg developers
    built on Dec  1 2014 20:24:46 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-11)
    configuration: --prefix=/usr/local/cpffmpeg --enable-shared --enable-nonfree --enable-gpl     --enable-pthreads --enable-libopencore-amrnb --enable-decoder=liba52 --enable-libopencore-  amrwb --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --extra-cflags=-I/usr/local/cpffmpeg/include/ --extra-ldflags=-L/usr/local/cpffmpeg/lib --enable-version3 --extra-version=syslint
    libavutil      54. 15.100 / 54. 15.100
    libavcodec     56. 13.100 / 56. 13.100
    libavformat    56. 15.101 / 56. 15.101
    libavdevice    56.  3.100 / 56.  3.100
    libavfilter     5.  2.103 /  5.  2.103
    libswscale      3.  1.101 /  3.  1.101
    libswresample   1.  1.100 /  1.  1.100
    libpostproc    53.  3.100 / 53.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'qDqMvfoapXh6FO3KMuYiZCcG.mp4':
    Metadata:
    major_brand     : isom
    minor_version   : 0
    compatible_brands: isom3gp4
    creation_time   : 2014-12-01 04:18:17
    Duration: 00:00:22.61, start: 0.000000, bitrate: 12028 kb/s
    Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1280x720, 11968 kb/s, 29.88 fps, 29.97 tbr, 90k tbn, 180k tbc (default)
    Metadata:
     rotate          : 90
     creation_time   : 2014-12-01 04:18:17
     handler_name    : VideoHandle
    Side data:
     displaymatrix: rotation of -90.00 degrees
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 121 kb/s (default)
    Metadata:
     creation_time   : 2014-12-01 04:18:17
     handler_name    : SoundHandle
    [libx264 @ 0x2505ee0] using cpu capabilities: none!
    Output #0, mp4, to 'out.mp4':
    Metadata:
    major_brand     : isom
    minor_version   : 0
    compatible_brands: isom3gp4
    Stream #0:0(eng): Video: h264, none, q=2-31, 128 kb/s, 29.97 fps (default)
    Metadata:
     rotate          : 90
     creation_time   : 2014-12-01 04:18:17
     handler_name    : VideoHandle
     encoder         : Lavc56.13.100 libx264
    Stream #0:1(eng): Audio: aac, 0 channels, 128 kb/s (default)
    Metadata:
     creation_time   : 2014-12-01 04:18:17
     handler_name    : SoundHandle
     encoder         : Lavc56.13.100 libfaac
    Stream mapping:
    Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
    Stream #0:1 -> #0:1 (aac (native) -> aac (libfaac))
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    Can someone explain why I keep getting this error now ?

  • Combining Audio and Video file in python [duplicate]

    8 juin 2020, par yso

    I'm trying to understand how to us ffmpeg to combine video and audio files in python. I want to combine a .avi file and a .wav file to create a final .avi file. Is this the right approach ? I'm confused by the ffmpeg syntax.
Any help would be great.

    



    I was looking through this for help :
https://wiki.libav.org/Snippets/avconv#Combine_audio_and_video_file

    



    import ffmpeg
import subprocess

cmd = 'ffmpeg -i inputvideo.avi -i inputaudio.wav -c:v copy -c:a aac output_video_and audio.avi'
subprocess.call(cmd, shell=True)                                     # "Muxing Done
print('Muxing Done')