Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (3)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

Sur d’autres sites (1850)

  • GStreamer qtdemux issue when start time is set

    17 décembre 2019, par user3157892

    I am using GStreamer to stream videos to RTSP and have problems with many of the videos I was given. I have thousands of videos that were recorded with FFMPEG to mp4. I can’t play any of the videos back as qtdemux reports the following error :

    qtdemux qtdemux.c:9129:qtdemux_parse_segments:<qtdemux0> Segment 0  extends to 4:57:00.937000000 past the end of the file duration 0:00:59.544000000 it will be truncated
    qtdemux qtdemux.c:9129:qtdemux_parse_segments:<qtdemux0> Segment 1  extends to 4:58:00.481000000 past the end of the file duration 4:57:00.937000000 it will be truncated</qtdemux0></qtdemux0>

    From what I can tell this is related to the start_pts of the video. Here is the output of ffprobe for the same video :

     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       title           : libRtspServer
       encoder         : Lavf58.20.100
     Duration: 00:00:59.07, start: 5461.268000, bitrate: 2749 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuvj420p(pc, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 2748 kb/s, 15.02 fps, 15 tbr, 90k tbn, 180k tbc (default)
       Metadata:
         handler_name    : VideoHandler
    [STREAM]
    index=0
    codec_name=h264
    codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    profile=Main
    codec_type=video
    codec_time_base=29533/887000
    codec_tag_string=avc1
    codec_tag=0x31637661
    width=1920
    height=1080
    coded_width=1920
    coded_height=1080
    has_b_frames=0
    sample_aspect_ratio=1:1
    display_aspect_ratio=16:9
    pix_fmt=yuvj420p
    level=41
    color_range=pc
    color_space=bt709
    color_transfer=bt709
    color_primaries=bt709
    chroma_location=center
    field_order=unknown
    timecode=N/A
    refs=1
    is_avc=true
    nal_length_size=4
    id=N/A
    r_frame_rate=15/1
    avg_frame_rate=443500/29533
    time_base=1/90000
    start_pts=491514120
    start_time=5461.268000
    duration_ts=496830060
    duration=5520.334000
    bit_rate=2748339
    max_bit_rate=N/A
    bits_per_raw_sample=8
    nb_frames=887
    nb_read_frames=N/A
    nb_read_packets=N/A
    DISPOSITION:default=1
    DISPOSITION:dub=0
    DISPOSITION:original=0
    DISPOSITION:comment=0
    DISPOSITION:lyrics=0
    DISPOSITION:karaoke=0
    DISPOSITION:forced=0
    DISPOSITION:hearing_impaired=0
    DISPOSITION:visual_impaired=0
    DISPOSITION:clean_effects=0
    DISPOSITION:attached_pic=0
    DISPOSITION:timed_thumbnails=0
    TAG:language=und
    TAG:handler_name=VideoHandler
    [/STREAM]

    Note the start time - start_time=5461.268000

    One possible solution is to remux all of the videos to have a start time of 0.00. This doesn’t really seem like the ideal solution.

    Is there a way to manipulate GStreamer into playing the video from time 0 instead of trying to seek to the start time ? It could be possible that the videos are just not written correctly.

  • Why is FFProbe (using fluent-ffmpeg) returning incomplete and inaccurate metadata ?

    18 avril 2024, par volume one

    I am returning metadata about a file using ffprobe. The file can be found here.

    &#xA;

    I am using fluent-ffmpeg in Node.js which shouldn't make any difference. Its just nicer to use than a command-line.

    &#xA;

    The code goes like this :

    &#xA;

    ffmpeg.ffprobe(&#x27;https://devxxx001.s3.amazonaws.com/vertical-hd_720_1280_30fps.mp4&#x27;), function (err, metadata) {&#xA; console.log(JSON.stringify(metadata));&#xA;});&#xA;

    &#xA;

    The metadata output I receive is this :

    &#xA;

    {&#xA;  "streams": [&#xA;    {&#xA;      "index": 0,&#xA;      "codec_name": "h264",&#xA;      "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",&#xA;      "profile": "High",&#xA;      "codec_type": "video",&#xA;      "codec_tag_string": "avc1",&#xA;      "codec_tag": "0x31637661",&#xA;      "width": 720,&#xA;      "height": 1280,&#xA;      "coded_width": 720,&#xA;      "coded_height": 1280,&#xA;      "closed_captions": 0,&#xA;      "film_grain": 0,&#xA;      "has_b_frames": 2,&#xA;      "sample_aspect_ratio": "N/A",&#xA;      "display_aspect_ratio": "N/A",&#xA;      "pix_fmt": "yuv420p",&#xA;      "level": 32,&#xA;      "color_range": "tv",&#xA;      "color_space": "bt709",&#xA;      "color_transfer": "bt709",&#xA;      "color_primaries": "bt709",&#xA;      "chroma_location": "left",&#xA;      "field_order": "progressive",&#xA;      "refs": 1,&#xA;      "is_avc": "true",&#xA;      "nal_length_size": 4,&#xA;      "id": "0x1",&#xA;      "r_frame_rate": "30/1",&#xA;      "avg_frame_rate": "30/1",&#xA;      "time_base": "1/30",&#xA;      "start_pts": 0,&#xA;      "start_time": 0,&#xA;      "duration_ts": 267,&#xA;      "duration": 8.9,&#xA;      "bit_rate": 2382497,&#xA;      "max_bit_rate": "N/A",&#xA;      "bits_per_raw_sample": 8,&#xA;      "nb_frames": 267,&#xA;      "nb_read_frames": "N/A",&#xA;      "nb_read_packets": "N/A",&#xA;      "extradata_size": 47,&#xA;      "tags": {&#xA;        "creation_time": "2020-05-19T10:09:46.000000Z",&#xA;        "language": "und",&#xA;        "handler_name": "L-SMASH Video Handler",&#xA;        "vendor_id": "[0][0][0][0]",&#xA;        "encoder": "AVC Coding"&#xA;      },&#xA;      "disposition": {&#xA;        "default": 1,&#xA;        "dub": 0,&#xA;        "original": 0,&#xA;        "comment": 0,&#xA;        "lyrics": 0,&#xA;        "karaoke": 0,&#xA;        "forced": 0,&#xA;        "hearing_impaired": 0,&#xA;        "visual_impaired": 0,&#xA;        "clean_effects": 0,&#xA;        "attached_pic": 0,&#xA;        "timed_thumbnails": 0,&#xA;        "captions": 0,&#xA;        "descriptions": 0,&#xA;        "metadata": 0,&#xA;        "dependent": 0,&#xA;        "still_image": 0&#xA;      }&#xA;    }&#xA;  ],&#xA;  "format": {&#xA;    "filename": "https:/devxxx001.s3.amazonaws.com/vertical-hd_720_1280_30fps.mp4",&#xA;    "nb_streams": 1,&#xA;    "nb_programs": 0,&#xA;    "format_name": "mov,mp4,m4a,3gp,3g2,mj2",&#xA;    "format_long_name": "QuickTime / MOV",&#xA;    "start_time": 0,&#xA;    "duration": 8.9,&#xA;    "size": 2654719,&#xA;    "bit_rate": 2386264,&#xA;    "probe_score": 100,&#xA;    "tags": {&#xA;      "major_brand": "mp42",&#xA;      "minor_version": "0",&#xA;      "compatible_brands": "mp42mp41isomavc1",&#xA;      "creation_time": "2020-05-19T10:09:46.000000Z"&#xA;    }&#xA;  },&#xA;  "chapters": []&#xA;}&#xA;

    &#xA;

    I need to know the aspect ratio of the video so that I can display it properly but ffprobe is returning "N/A" :

    &#xA;

     "sample_aspect_ratio": "N/A",&#xA; "display_aspect_ratio": "N/A",&#xA;

    &#xA;

    In addition, if I want to know the video container format (mp4 in this case), it is showing multiple formats instead of just one :

    &#xA;

     "format_name": "mov,mp4,m4a,3gp,3g2,mj2",&#xA; "format_long_name": "QuickTime / MOV",&#xA;

    &#xA;

    I believe it may be an issue with the ffprobe command but I am unable to pass it options like on the command-line. Even then I don't know what options need to be passed to get the correct metadata.

    &#xA;

  • recording live stream video from tv card using ffmpeg at window [on hold]

    6 décembre 2013, par user2688423

    I want to record live stream every 1 second from tv card(tv signal) using ffmpeg in window.

    first of all, to record live video from tv card, I tried below.

    1. First I tried this.

    ffmpeg -list_devices true -f dshow -i dummy

    then the result is

    " [dshow @ 000000000024e6fe0] DirectShow video devices
    [dshow @000000000024e6fe0] "SKYTV HD USB Maxx Video Capture"
    [dshow @
    000000000024e6fe0] DirectShow audio devices
    [dshow @
    000000000024e6fe0] "Analog Audio In(SKYTV HD USB Ma" "

    so I tried

    ffmpeg -f dshow -i video="SKYTV HD USB Maxx Video Capture" -r 20
    -threads 0 D ://test.mkv

    But it didn't work. the Error message is

    "[dshow@000000000034d920] Could not run filter
    video=SKYTV HD USB
    Maxx Video Capture : Input/output error"

    I use the device called 'SKYTV HD USB Maxx Video Capture' for getting tv signal(TV card).

    1. The First way deosn't work, I tried different way.

    ffmpeg -y -f vfwcap -i list

    then the result is
    "

    [dshow @ 00000000003fd760] Driver 0

    [dshow @ 00000000003fd760] Microsoft WDM Image Capture (Win32)
    [dshow @ 00000000003fd760] Version : 6.1.7601.17514 list : Input/output error

    "

    so I tried

    ffmpeg -y -f vfwcap -r 25 -i 0 D ://out.mp4

    then, there is some out.mp4 file in D drive but the file is nothing.
    (I think it is not TV signal)

    what should i do to record live video every 1 second from tv card(tv signal) using ffmpeg in window ? And How can I set channel at tvcard(Because I want to get tv signal, there are many channels).

    Please help..!