Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (73)

  • 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

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (10022)

  • How to make a MPEG-DASH MPD which starts the playback in the middle of the first segment ?

    18 septembre 2018, par ravin.wang

    Here are the reproduce steps :

    1. Normalize an H.264 video stream

      ffmpeg -i 2.h264 -c:v libx264 -intra -r 25 -vf scale=640x360,setdar=16:9 2@25fps@intra@640x360.h264

      (*) After that, I got an H.264 stream where all pictures are H.264 IDR frames, and fps is 25, resolution is 640x360, aspect-ratio is 16:9.

    2. Generate an MP4 file

      MP4Box -add 2@25fps@intra@640x360.h264:timescale=1000 -fps 25 2@25fps@intra@640x360.mp4

    3. Make dash MP4 fragmented content, including init mp4, .m4s files and one .mpd file

      MP4Box -dash 5000 -frag 5000 -dash-scale 1000 -frag-rap -segment-name ’seg_second$Number$’ -segment-timeline -profile live 2@25fps@intra@640x360.mp4

    4. Copy and publish all these files to a folder under one HTTPD server
    5. I want to play from 4s of the first segment, and don’t display any frames before 4s, so I changed the .MPD file to modify the fields "SegmentTemplate@presentationTimeOffset", "SegmentTimeline:S@d/t", like as :

      <?xml version="1.0"?>
      <mpd xmlns="urn:mpeg:dash:schema:mpd:2011" minbuffertime="PT1.500S" type="static" mediapresentationduration="PT0H0M26.000S" maxsegmentduration="PT0H0M5.000S" profiles="urn:mpeg:dash:profile:isoff-live:2011">
      <period duration="PT0H0M26.000S">
      <adaptationset segmentalignment="true" maxwidth="640" maxheight="360" maxframerate="25" par="16:9" lang="und">
       <segmenttemplate presentationtimeoffset="4000" media="seg_second$Number$.m4s" timescale="1000" startnumber="1" initialization="seg_secondinit.mp4">
         <segmenttimeline>
             <s d="1000" t="4000"></s>
             <s d="5000" r="4"></s>
         </segmenttimeline>
        </segmenttemplate>
      <representation mimetype="video/mp4" codecs="avc3.64101E" width="640" height="360" framerate="25" sar="1:1" startwithsap="1" bandwidth="2261831">
      </representation>
      </adaptationset>
      </period>
      </mpd>


    6. Play the MPD url from VLC player, or Edge browser, it always starts the the first frame of the first segment, the frames between 0s 4s are also displayed unexpectedly.

    What’s wrong with my steps ? Or any other options for it ?

  • avfilter/vf_bwdif_cuda : CUDA accelerated bwdif deinterlacer

    30 août 2019, par Philip Langdale
    avfilter/vf_bwdif_cuda : CUDA accelerated bwdif deinterlacer
    

    I've been sitting on this for 3 1/2 years now(!), and I finally got
    around to fixing the loose ends and convincing myself that it was
    correct. It follows the same basic structure as yadif_cuda, including
    leaving out the edge handling, to avoid expensive branching.

    • [DH] Changelog
    • [DH] configure
    • [DH] doc/filters.texi
    • [DH] libavcodec/version.h
    • [DH] libavfilter/Makefile
    • [DH] libavfilter/allfilters.c
    • [DH] libavfilter/vf_bwdif_cuda.c
    • [DH] libavfilter/vf_bwdif_cuda.cu
  • No video steam played with the ffmpeg script from avi to mp4 on Centos 8.2/ffmpeg 8 [duplicate]

    27 septembre 2020, par user27240

    The mp4 file that was transformed from the avi file with the script below running on Centos 8.2/ffmpeg gcc 8 does not play video stream and it only play audio on chrome/edge/firefox/opera and Windows10.&#xA;Could anyone please help me out ?

    &#xA;

    for i in /var/www/html/xxxxx/xxxxx/479.AVI; do ffmpeg -i "$i" -pix_fmt yuv420p -movflags &#x2B;faststart -ss 0.03 "/var/www/html/xxxxx/xxxxx/$(basename "$i" .avi).mp4"; done

    &#xA;

    The log for the ffmpeg transform script :

    &#xA;

    peg -i "$i" -pix_fmt yuv420p -movflags &#x2B;faststart -ss 0.03 "/var/www/html/xxxxx/xxxxx/$(basename "$i" .avi).mp4"; done&#xA;ffmpeg version N-99260-g6401a5d4b8 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 8 (GCC)&#xA;  configuration: --disable-x86asm&#xA;  libavutil      56. 59.100 / 56. 59.100&#xA;  libavcodec     58.106.100 / 58.106.100&#xA;  libavformat    58. 58.100 / 58. 58.100&#xA;  libavdevice    58. 11.102 / 58. 11.102&#xA;  libavfilter     7. 87.100 /  7. 87.100&#xA;  libswscale      5.  8.100 /  5.  8.100&#xA;  libswresample   3.  8.100 /  3.  8.100&#xA;Guessed Channel Layout for Input Stream #0.1 : mono&#xA;Input #0, avi, from &#x27;/var/www/html/xxxxx/xxxxx/479.AVI&#x27;:&#xA;  Metadata:&#xA;    creation_time   : 1980-01-01 00:00:18&#xA;    encoder         : CanonMVI06&#xA;  Duration: 00:00:04.63, start: 0.000000, bitrate: 15522 kb/s&#xA;    Stream #0:0: Video: mjpeg (Baseline) (MJPG / 0x47504A4D), yuvj422p(pc, bt470                                                                                                                                                             bg/unknown/unknown), 640x480, 14916 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc&#xA;    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, s16,                                                                                                                                                              705 kb/s&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (mjpeg (native) -> mpeg4 (native))&#xA;  Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (native))&#xA;Press [q] to stop, [?] for help&#xA;[swscaler @ 0x37e3c80] deprecated pixel format used, make sure you did set range                                                                                                                                                              correctly&#xA;Output #0, mp4, to &#x27;/var/www/html/xxxxx/xxxxx/479.AVI.mp4&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf58.58.100&#xA;    Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 640x480, q=2-31, 200                                                                                                                                                              kb/s, 30 fps, 65521 tbn, 30 tbc&#xA;    Metadata:&#xA;      encoder         : Lavc58.106.100 mpeg4&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A&#xA;    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 69 k                                                                                                                                                             b/s&#xA;    Metadata:&#xA;      encoder         : Lavc58.106.100 aac&#xA;frame=   61 fps=0.0 q=24.8 size=       0kB time=00:00:02.90 bitrate=   0.1kbits/                                                                                                                                                             frame=  126 fps=125 q=31.0 size=     256kB time=00:00:04.55 bitrate= 460.9kbits/                                                                                                                                                             [mp4 @ 0x376e700] Starting second pass: moving the moov atom to the beginning of                                                                                                                                                              the file&#xA;frame=  138 fps=125 q=31.0 Lsize=     379kB time=00:00:04.62 bitrate= 671.2kbits                                                                                                                                                             /s speed=4.17x&#xA;video:335kB audio:38kB subtitle:0kB other streams:0kB global headers:0kB muxing                                                                                                                                                              overhead: 1.401716%&#xA;[aac @ 0x377d2c0] Qavg: 2088.382&#xA;

    &#xA;

    ffmpeg version :

    &#xA;

    ffmpeg version N-99260-g6401a5d4b8 Copyright (c) 2000-2020 the FFmpeg developers&#xA;built with gcc 8 (GCC)&#xA;configuration: --disable-x86asm&#xA;libavutil      56. 59.100 / 56. 59.100&#xA;libavcodec     58.106.100 / 58.106.100&#xA;libavformat    58. 58.100 / 58. 58.100&#xA;libavdevice    58. 11.102 / 58. 11.102&#xA;libavfilter     7. 87.100 /  7. 87.100&#xA;libswscale      5.  8.100 /  5.  8.100&#xA;libswresample   3.  8.100 /  3.  8.100&#xA;

    &#xA;

    CentOS version :&#xA;CentOS Linux release 8.2.2004 (Core)

    &#xA;

    Clinet OS :&#xA;Windows10

    &#xA;

    Browsers :&#xA;Chrome, Edge, Firefox, Opera

    &#xA;

    ffprobe -loglevel error :

    &#xA;

    [root@xxxxxxx xxxxxxx]# ffprobe -loglevel error -show_streams 479.AVI.mp4                                                                                                                                                      &#xA;[STREAM]&#xA;index=0&#xA;codec_name=mpeg4&#xA;codec_long_name=MPEG-4 part 2&#xA;profile=Simple Profile&#xA;codec_type=video&#xA;codec_time_base=2184/65521&#xA;codec_tag_string=mp4v&#xA;codec_tag=0x7634706d&#xA;width=640&#xA;height=480&#xA;coded_width=640&#xA;coded_height=480&#xA;closed_captions=0&#xA;has_b_frames=0&#xA;sample_aspect_ratio=1:1&#xA;display_aspect_ratio=4:3&#xA;pix_fmt=yuv420p&#xA;level=1&#xA;color_range=unknown&#xA;color_space=unknown&#xA;color_transfer=unknown&#xA;color_primaries=unknown&#xA;chroma_location=left&#xA;field_order=unknown&#xA;timecode=N/A&#xA;refs=1&#xA;quarter_sample=false&#xA;divx_packed=false&#xA;id=N/A&#xA;r_frame_rate=65521/2184&#xA;avg_frame_rate=65521/2184&#xA;time_base=1/65521&#xA;start_pts=0&#xA;start_time=0.000000&#xA;duration_ts=301392&#xA;duration=4.599930&#xA;bit_rate=596840&#xA;max_bit_rate=596840&#xA;bits_per_raw_sample=N/A&#xA;nb_frames=138&#xA;nb_read_frames=N/A&#xA;nb_read_packets=N/A&#xA;DISPOSITION:default=1&#xA;DISPOSITION:dub=0&#xA;DISPOSITION:original=0&#xA;DISPOSITION:comment=0&#xA;DISPOSITION:lyrics=0&#xA;DISPOSITION:karaoke=0&#xA;DISPOSITION:forced=0&#xA;DISPOSITION:hearing_impaired=0&#xA;DISPOSITION:visual_impaired=0&#xA;DISPOSITION:clean_effects=0&#xA;DISPOSITION:attached_pic=0&#xA;DISPOSITION:timed_thumbnails=0&#xA;TAG:language=und&#xA;TAG:handler_name=VideoHandler&#xA;[/STREAM]&#xA;[STREAM]&#xA;index=1&#xA;codec_name=aac&#xA;codec_long_name=AAC (Advanced Audio Coding)&#xA;profile=LC&#xA;codec_type=audio&#xA;codec_time_base=1/44100&#xA;codec_tag_string=mp4a&#xA;codec_tag=0x6134706d&#xA;sample_fmt=fltp&#xA;sample_rate=44100&#xA;channels=1&#xA;channel_layout=mono&#xA;bits_per_sample=0&#xA;id=N/A&#xA;r_frame_rate=0/0&#xA;avg_frame_rate=0/0&#xA;time_base=1/44100&#xA;start_pts=0&#xA;start_time=0.000000&#xA;duration_ts=202992&#xA;duration=4.602993&#xA;bit_rate=67677&#xA;max_bit_rate=69000&#xA;bits_per_raw_sample=N/A&#xA;nb_frames=200&#xA;nb_read_frames=N/A&#xA;nb_read_packets=N/A&#xA;DISPOSITION:default=1&#xA;DISPOSITION:dub=0&#xA;DISPOSITION:original=0&#xA;DISPOSITION:comment=0&#xA;DISPOSITION:lyrics=0&#xA;DISPOSITION:karaoke=0&#xA;DISPOSITION:forced=0&#xA;DISPOSITION:hearing_impaired=0&#xA;DISPOSITION:visual_impaired=0&#xA;DISPOSITION:clean_effects=0&#xA;DISPOSITION:attached_pic=0&#xA;DISPOSITION:timed_thumbnails=0&#xA;TAG:language=und&#xA;TAG:handler_name=SoundHandler&#xA;[/STREAM]&#xA;

    &#xA;