Recherche avancée

Médias (91)

Autres articles (54)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

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

  • adaptives links for mpeg dash on wowza server not working, status error 404 Not Found

    12 août 2015, par jobin

    adaptives links for mpeg dash on wowza server not working with me, the following are the steps that I used to publish video on wowza :

    1. I install and configure Wowza server, and I tested it and it is working fine.
    2. Transcode this video using ffmepg (I bring these command from wowza documentation) :

      set inputFile="C :\video\sintel.mp4"
      set outputFile="C :\video\sintel"

      ffmpeg -y -i %inputFile% -s 320x180 -y -strict experimental -acodec aac -ab 64k -ac 2 -ar 48000 -vcodec libx264 -vprofile baseline -level 30 -g 48 -b 200000 -threads 64 %outputFile%_320p.mp4
      ffmpeg -y -i %inputFile% -s 640x360 -y -strict experimental -acodec aac -ab 128k -ac 2 -ar 48000 -vcodec libx264 -vprofile baseline -level 30 -g 48 -b 520000 -threads 64 %outputFile%_640p.mp4
      ffmpeg -y -i %inputFile% -s 320x180 -y -strict experimental -acodec aac -ab 64k -ac 2 -ar 48000 -vcodec libx264 -vprofile main -g 48 -b 270000 -threads 64 %outputFile%_400p.mp4
      ffmpeg -y -i %inputFile% -s 420x270 -y -strict experimental -acodec aac -ab 64k -ac 2 -ar 48000 -vcodec libx264 -vprofile main -g 48 -b 570000 -threads 64 %outputFile%_700p.mp4
      ffmpeg -y -i %inputFile% -s 720x406 -y -strict experimental -acodec aac -ab 128k -ac 2 -ar 48000 -vcodec libx264 -vprofile main -g 48 -b 1000000 -threads 64 %outputFile%_1100p.mp4
      ffmpeg -y -i %inputFile% -s 1024x576 -y -strict experimental -acodec aac -ab 128k -ac 2 -ar 48000 -vcodec libx264 -vprofile main -g 48 -b 1200000 -threads 64 %outputFile%_1300p.mp4
      ffmpeg -y -i %inputFile% -s 1080x608 -y -strict experimental -acodec aac -ab 128k -ac 2 -ar 48000 -vcodec libx264 -vprofile main -g 48 -b 1400000 -threads 64 %outputFile%_1500p.mp4

    3. I test the files and all of them workig fine then I moved these files to wowza content folder and create the smil file as following :

    enter image description here

    <?xml version="1.0" encoding="UTF-8"?>
    <smil title="sintel">
     
       <switch>
         <video width="320" height="180" src="sintel_320p.mp4" systemlanguage="eng">
           
           
         </video>
         <video width="640" height="360" src="sintel_640p.mp4" systemlanguage="eng">
           
           
         </video>
         <video width="320" height="180" src="sintel_400p.mp4" systemlanguage="eng">
           
           
         </video>
         <video width="420" height="270" src="sintel_700p.mp4" systemlanguage="eng">
           
           
         </video>
         <video width="720" height="406" src="sintel_1100p.mp4" systemlanguage="eng">
           
           
         </video>
         <video width="1024" height="576" src="sintel_1300p.mp4" systemlanguage="eng">
           
           
         </video>
         <video width="1080" height="608" src="sintel_1500p.mp4" systemlanguage="eng">
           
           
         </video>
       </switch>
     
    </smil>
    1. I use the mpd file (http://191.237.26.137:1935/vod/smil:sintel.smil/manifest.mpd) with http://www.jwplayer.com/innovation/roadmap/mpeg-dash/

    Result : the video work for first few seconds the stop

    enter image description here

  • How to use ffmpeg to encode mp4 to mov

    19 avril 2017, par user1526912

    I trying to use ffmpeg to encode a video for the first time. Can anyone tell me the exact command to encode a video in the following format :

    Music Video HD Source Profile

    ● Apple ProRes 422 (HQ)
    ● VBR expected at 220 Mbps
    ● HD encoded dimensions accepted to support square pixel aspect ratios (PASP) :
    Encoded PASP Converted to ProRes From
    1920 x 1080 1:1 HDCAM SR, D5, ATSC
    1280 x 720 1:1 ATSC progressive

    ● HD encoded dimensions accepted to support non-square pixel aspect ratios (this allows you to send HD video in the native dimensions of your best original source, for example in HD broadcast dimensions*) :

    Encoded PASP Converted to ProRes From
    1440 x 1080 1:1.33333 XDCAM-HD, HDCAM
    1280 x 1080 1:1.5 DVCProHD interlaced
    960 x 720 1:1.33333 DVCProHD progressive

    Native frame rate of original source :

    ● 29.97 interlaced frames per second for video sourced
    ● 24 or 25 progressive frames per second for film sourced
    ● 23.976 progressive frames for inverse telecine sourced from film
    ● Telecine materials will not be accepted

    ● HD source may be delivered matted : letterbox, pillarbox, or windowbox.

    Music Video Audio Source Profile

    Stereo
    ● MPEG-1 layer II stereo
    ● 384 kpbs
    ● 48Khz
    ● Included in the same file as the delivered video

  • ffmep merge multiple (N) mono audio channels of a MXF video to multiple (M) stereo channels of MP4 video

    13 février 2020, par Laura

    I have an MXF file with 16 audio mono streams and I need to recode it in a mp4 file with 2<=n<=16 channels merging input streams, e.g. input channels 1 and 2 on output channel 1 and 9 and 10 on output channel 2. This job will be done with ffmpeg. I read the documentation and found the amerge and amix filters that would be nice, but they output one channel only. Is there any solution for this problem ?

    Thanks,
    Laura

    Find below the output of ffprobe on mxf file :


    "streams" :[

    "index":0,
    "codec_name" :"mpeg2video",
    "codec_long_name" :"MPEG-2 video",
    "profile" :"4:2:2",
    "codec_type" :"video",
    "codec_time_base" :"1/25",
    "codec_tag_string" :"[0][0][0][0]",
    "codec_tag" :"0x0000",
    "width":1920,
    "height":1080,
    "coded_width":0,
    "coded_height":0,
    "has_b_frames":1,
    "sample_aspect_ratio" :"1:1",
    "display_aspect_ratio" :"16:9",
    "pix_fmt" :"yuv422p",
    "level":2,
    "color_range" :"tv",
    "color_space" :"bt709",
    "color_transfer" :"bt709",
    "color_primaries" :"bt709",
    "chroma_location" :"topleft",
    "field_order" :"tt",
    "refs":1,
    "r_frame_rate" :"25/1",
    "avg_frame_rate" :"25/1",
    "time_base" :"1/25",
    "start_pts":0,
    "start_time" :"0.000000",
    "duration_ts":448,
    "duration" :"17.920000",
    "bit_rate" :"50000000",
    "disposition" :
    "default":0,
    "dub":0,
    "original":0,
    "comment":0,
    "lyrics":0,
    "karaoke":0,
    "forced":0,
    "hearing_impaired":0,
    "visual_impaired":0,
    "clean_effects":0,
    "attached_pic":0,
    "timed_thumbnails":0
    ,
    "tags" :
    "file_package_umid" :"0x060A2B340101010501010D2313000000968F75C6B5B34D649967EEDD0076B989"

    ,

    "index":1,
    "codec_name" :"pcm_s24le",
    "codec_long_name" :"PCM signed 24-bit little-endian",
    "codec_type" :"audio",
    "codec_time_base" :"1/48000",
    "codec_tag_string" :"[0][0][0][0]",
    "codec_tag" :"0x0000",
    "sample_fmt" :"s32",
    "sample_rate" :"48000",
    "channels":1,
    "bits_per_sample":24,
    "r_frame_rate" :"0/0",
    "avg_frame_rate" :"0/0",
    "time_base" :"1/48000",
    "start_pts":0,
    "start_time" :"0.000000",
    "duration_ts":860160,
    "duration" :"17.920000",
    "bit_rate" :"1152000",
    "bits_per_raw_sample" :"24",
    "disposition" :
    "default":0,
    "dub":0,
    "original":0,
    "comment":0,
    "lyrics":0,
    "karaoke":0,
    "forced":0,
    "hearing_impaired":0,
    "visual_impaired":0,
    "clean_effects":0,
    "attached_pic":0,
    "timed_thumbnails":0
    ,
    "tags" :
    "file_package_umid" :"0x060A2B340101010501010D2313000000968F75C6B5B34D649967EEDD0076B989"

    ,

    "index":2,
    "codec_name" :"pcm_s24le",
    "codec_long_name" :"PCM signed 24-bit little-endian",
    "codec_type" :"audio",
    "codec_time_base" :"1/48000",
    "codec_tag_string" :"[0][0][0][0]",
    "codec_tag" :"0x0000",
    "sample_fmt" :"s32",
    "sample_rate" :"48000",
    "channels":1,
    "bits_per_sample":24,
    "r_frame_rate" :"0/0",
    "avg_frame_rate" :"0/0",
    "time_base" :"1/48000",
    "start_pts":0,
    "start_time" :"0.000000",
    "duration_ts":860160,
    "duration" :"17.920000",
    "bit_rate" :"1152000",
    "bits_per_raw_sample" :"24",
    "disposition" :
    "default":0,
    "dub":0,
    "original":0,
    "comment":0,
    "lyrics":0,
    "karaoke":0,
    "forced":0,
    "hearing_impaired":0,
    "visual_impaired":0,
    "clean_effects":0,
    "attached_pic":0,
    "timed_thumbnails":0
    ,
    "tags" :
    "file_package_umid" :"0x060A2B340101010501010D2313000000968F75C6B5B34D649967EEDD0076B989"

    ,

    "index":3,
    "codec_name" :"pcm_s24le",
    "codec_long_name" :"PCM signed 24-bit little-endian",
    "codec_type" :"audio",
    "codec_time_base" :"1/48000",
    "codec_tag_string" :"[0][0][0][0]",
    "codec_tag" :"0x0000",
    "sample_fmt" :"s32",
    "sample_rate" :"48000",
    "channels":1,
    "bits_per_sample":24,
    "r_frame_rate" :"0/0",
    "avg_frame_rate" :"0/0",
    "time_base" :"1/48000",
    "start_pts":0,
    "start_time" :"0.000000",
    "duration_ts":860160,
    "duration" :"17.920000",
    "bit_rate" :"1152000",
    "bits_per_raw_sample" :"24",
    "disposition" :
    "default":0,
    "dub":0,
    "original":0,
    "comment":0,
    "lyrics":0,
    "karaoke":0,
    "forced":0,
    "hearing_impaired":0,
    "visual_impaired":0,
    "clean_effects":0,
    "attached_pic":0,
    "timed_thumbnails":0
    ,
    "tags" :
    "file_package_umid" :"0x060A2B340101010501010D2313000000968F75C6B5B34D649967EEDD0076B989"

    ,

    "index":4,
    "codec_name" :"pcm_s24le",
    "codec_long_name" :"PCM signed 24-bit little-endian",
    "codec_type" :"audio",
    "codec_time_base" :"1/48000",
    "codec_tag_string" :"[0][0][0][0]",
    "codec_tag" :"0x0000",
    "sample_fmt" :"s32",
    "sample_rate" :"48000",
    "channels":1,
    "bits_per_sample":24,
    "r_frame_rate" :"0/0",
    "avg_frame_rate" :"0/0",
    "time_base" :"1/48000",
    "start_pts":0,
    "start_time" :"0.000000",
    "duration_ts":860160,
    "duration" :"17.920000",
    "bit_rate" :"1152000",
    "bits_per_raw_sample" :"24",
    "disposition" :
    "default":0,
    "dub":0,
    "original":0,
    "comment":0,
    "lyrics":0,
    "karaoke":0,
    "forced":0,
    "hearing_impaired":0,
    "visual_impaired":0,
    "clean_effects":0,
    "attached_pic":0,
    "timed_thumbnails":0
    ,
    "tags" :
    "file_package_umid" :"0x060A2B340101010501010D2313000000968F75C6B5B34D649967EEDD0076B989"

    ,

    "index":5,
    "codec_name" :"pcm_s24le",
    "codec_long_name" :"PCM signed 24-bit little-endian",
    "codec_type" :"audio",
    "codec_time_base" :"1/48000",
    "codec_tag_string" :"[0][0][0][0]",
    "codec_tag" :"0x0000",
    "sample_fmt" :"s32",
    "sample_rate" :"48000",
    "channels":1,
    "bits_per_sample":24,
    "r_frame_rate" :"0/0",
    "avg_frame_rate" :"0/0",
    "time_base" :"1/48000",
    "start_pts":0,
    "start_time" :"0.000000",
    "duration_ts":860160,
    "duration" :"17.920000",
    "bit_rate" :"1152000",
    "bits_per_raw_sample" :"24",
    "disposition" :
    "default":0,
    "dub":0,
    "original":0,
    "comment":0,
    "lyrics":0,
    "karaoke":0,
    "forced":0,
    "hearing_impaired":0,
    "visual_impaired":0,
    "clean_effects":0,
    "attached_pic":0,
    "timed_thumbnails":0
    ,
    "tags" :
    "file_package_umid" :"0x060A2B340101010501010D2313000000968F75C6B5B34D649967EEDD0076B989"

    ,

    "index":6,
    "codec_name" :"pcm_s24le",
    "codec_long_name" :"PCM signed 24-bit little-endian",
    "codec_type" :"audio",
    "codec_time_base" :"1/48000",
    "codec_tag_string" :"[0][0][0][0]",
    "codec_tag" :"0x0000",
    "sample_fmt" :"s32",
    "sample_rate" :"48000",
    "channels":1,
    "bits_per_sample":24,
    "r_frame_rate" :"0/0",
    "avg_frame_rate" :"0/0",
    "time_base" :"1/48000",
    "start_pts":0,
    "start_time" :"0.000000",
    "duration_ts":860160,
    "duration" :"17.920000",
    "bit_rate" :"1152000",
    "bits_per_raw_sample" :"24",
    "disposition" :
    "default":0,
    "dub":0,
    "original":0,
    "comment":0,
    "lyrics":0,
    "karaoke":0,
    "forced":0,
    "hearing_impaired":0,
    "visual_impaired":0,
    "clean_effects":0,
    "attached_pic":0,
    "timed_thumbnails":0
    ,
    "tags" :
    "file_package_umid" :"0x060A2B340101010501010D2313000000968F75C6B5B34D649967EEDD0076B989"

    ,

    "index":7,
    "codec_name" :"pcm_s24le",
    "codec_long_name" :"PCM signed 24-bit little-endian",
    "codec_type" :"audio",
    "codec_time_base" :"1/48000",
    "codec_tag_string" :"[0][0][0][0]",
    "codec_tag" :"0x0000",
    "sample_fmt" :"s32",
    "sample_rate" :"48000",
    "channels":1,
    "bits_per_sample":24,
    "r_frame_rate" :"0/0",
    "avg_frame_rate" :"0/0",
    "time_base" :"1/48000",
    "start_pts":0,
    "start_time" :"0.000000",
    "duration_ts":860160,
    "duration" :"17.920000",
    "bit_rate" :"1152000",
    "bits_per_raw_sample" :"24",
    "disposition" :
    "default":0,
    "dub":0,
    "original":0,
    "comment":0,
    "lyrics":0,
    "karaoke":0,
    "forced":0,
    "hearing_impaired":0,
    "visual_impaired":0,
    "clean_effects":0,
    "attached_pic":0,
    "timed_thumbnails":0
    ,
    "tags" :
    "file_package_umid" :"0x060A2B340101010501010D2313000000968F75C6B5B34D649967EEDD0076B989"

    ,

    "index":8,
    "codec_name" :"pcm_s24le",
    "codec_long_name" :"PCM signed 24-bit little-endian",
    "codec_type" :"audio",
    "codec_time_base" :"1/48000",
    "codec_tag_string" :"[0][0][0][0]",
    "codec_tag" :"0x0000",
    "sample_fmt" :"s32",
    "sample_rate" :"48000",
    "channels":1,
    "bits_per_sample":24,
    "r_frame_rate" :"0/0",
    "avg_frame_rate" :"0/0",
    "time_base" :"1/48000",
    "start_pts":0,
    "start_time" :"0.000000",
    "duration_ts":860160,
    "duration" :"17.920000",
    "bit_rate" :"1152000",
    "bits_per_raw_sample" :"24",
    "disposition" :
    "default":0,
    "dub":0,
    "original":0,
    "comment":0,
    "lyrics":0,
    "karaoke":0,
    "forced":0,
    "hearing_impaired":0,
    "visual_impaired":0,
    "clean_effects":0,
    "attached_pic":0,
    "timed_thumbnails":0
    ,
    "tags" :
    "file_package_umid" :"0x060A2B340101010501010D2313000000968F75C6B5B34D649967EEDD0076B989"


    ],
    "format" :
    "filename" :"/media-caches/video-essence/VIDEO/MXF-XDCAM_HD422@50Mbps1080i25_16Ch/941.mxf",
    "nb_streams":9,
    "nb_programs":0,
    "format_name" :"mxf",
    "format_long_name" :"MXF (Material eXchange Format)",
    "start_time" :"0.000000",
    "duration" :"17.920000",
    "size" :"135028296",
    "bit_rate" :"60280489",
    "probe_score":100,
    "tags" :
    "uid" :"0a9ef41a-36b4-4066-a8a3-b95f62299b6c",
    "generation_uid" :"e134647e-fea1-4673-91c1-afa277d13c00",
    "company_name" :"Sony",
    "product_name" :"MPC",
    "product_version" :"v1.0",
    "application_platform" :"Sony MXF Development Kit (Win32)",
    "product_uid" :"060e2b34-0401-0103-0e06-0120027f0200",
    "modification_date" :"2012-09-17T11:56:20.000000Z",
    "material_package_umid" :"0x060A2B340101010501010D231300000081C32F48A63347D4890F55D3ADC25B99",
    "timecode" :"00:35:30:08"