Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (24)

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

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (4317)

  • ffmpeg Video Scan Progress during Frame Extarction

    5 avril 2013, par Isantipov

    I scan input video to extract certain frames using ffmpeg's select filter. The selection is based on a complex creteria and the number of extracted frames can't be predicted (I'm doing scene detection, but this can be something different - e.g. selecting all the I frames, etc).

    What I need is to display the percentage of scanned (decoded) video (e.g. 10% or 90%).


    I tried several ways to do this parsing console output as people usually do when dealing with encoding, but it doesn't help with the progress of scanning (e.g. Can ffmpeg show a progress bar ? or ffmpeg Progress Bar - Encoding Percentage in PHP)

    ffmpeg -progress sceneProgr.txt -i input.wmv -vsync passthrough -an -vf select='gt(scene\,0.2)',showinfo scene%%05d.png

    The output this produces is as follows :

    <..>    
    frame=    0 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A    
    n:0 pts:16550 pts_time:16.55 pos:4205325 fmt:rgb24 sar:0/1 s:640x480 i:P iskey:1 type:I checksum:95895BC9 plane_checksum:[95895BC9]
    frame=    1 fps=0.7 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A    
    n:1 pts:24591 pts_time:24.591 pos:6685325 fmt:rgb24 sar:0/1 s:640x480 i:P iskey:0 type:P checksum:FF4CC015 plane_checksum:[FF4CC015]
    'frame=...' and 'n:...' lines are repeated for each of the extracted frames.

    Both frame=... and n:... lines refer to the numbers in the output and therefore can't be used to calculate progress the way people usually do this (as I can't predict how many frames will be found beforehead and besides, they are not uniformly spread across the input video).


    If I specify -progress progress.txt parameter, the progress.txt file is as follows :

    frame=5
    fps=1.2
    stream_0_0_q=0.0
    total_size=N/A
    out_time_ms=43209833
    out_time=00:00:43.209833
    dup_frames=0
    drop_frames=0
    progress=continue


    frame=6
    fps=1.3
    stream_0_0_q=0.0
    total_size=N/A
    out_time_ms=52252200
    out_time=00:00:52.252200
    dup_frames=0
    drop_frames=0
    progress=continue

    frame=6
    fps=1.2
    stream_0_0_q=0.0
    total_size=N/A
    out_time_ms=52252200
    out_time=00:00:52.252200
    dup_frames=0
    drop_frames=0
    progress=continue

    New portion is written approximately every second and refers to the last extracted frame.
    Which is somewhat helpful as out_time refers to the last extracted frames' position in the input video, so I can calculate the progress of the scan from it as

    progress = out_time_ms/total_input_time

    But this is not ideal as it will be updated only when the new frame which matches the select criteria is extracted. So, If I have a large portion of video with no matching frames, the progress won't change for a lot of time.


    Wrapping-up :

    I am looking for a way to calculate the progress of video scanning when using select filter.

    Any ideas are strongly appreciated.

  • ffmpeg is deleting id3 tags

    25 septembre 2012, par payal

    I'm using below code for converting MP3 files using FFmpeg.

    All id3 tags are deleted in the converted file.

    exec('ffmpeg  -i 01.mp3  -acodec libmp3lame  -ab 128k -map_meta_data 0:0 -ac 1 1.mp3 '))

    What am I doing wrong ? I tried this code as well but same result – I'm getting all id3 tags deleted.

    exec('ffmpeg  -i 01.mp3  -acodec libmp3lame  -ab 128k **-map_metadata 0:0** -ac 1 1.mp3 '))

    here is the ouytput

    plase find the command line output

       ffmpeg version N-44715-g10c00f7-syslint Copyright (c) 2000-2012 the FFmpeg developers
       built on Sep 24 2012 03:18:19 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
       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      51. 73.101 / 51. 73.101
        libavcodec     54. 58.100 / 54. 58.100
     libavformat    54. 28.100 / 54. 28.100
     libavdevice    54.  2.101 / 54.  2.101
    libavfilter     3. 17.100 /  3. 17.100
     libswscale      2.  1.101 /  2.  1.101
     libswresample   0. 15.100 /  0. 15.100
     libpostproc    52.  0.100 / 52.  0.100
    [mp3 @ 0x1a76240] max_analyze_duration 5000000 reached at 5015510
    Input #0, mp3, from '/home/xxxxxxx/public_html/xxxx/01.mp3':
    Metadata:
    title           : dheere dheere
    genre           : www.Mp3pk.com
    artist          : www.Mp3pk.com
    album           : AASHIQUI
    Duration: 00:05:28.77, start: 0.000000, bitrate: 146 kb/s
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 112 kb/s
    Output #0, mp3, to '/home/xxxxxx/public_html/xxxx/1.mp3':
    Metadata:
    TIT2            : dheere dheere
    TCON            : www.Mp3pk.com
    TPE1            : www.Mp3pk.com
    TALB            : AASHIQUI
    TSSE            : Lavf54.28.100
    Stream #0:0: Audio: mp3, 22050 Hz, mono, s16, 16 kb/s
    Stream mapping:
    Stream #0:0 -> #0:0 (mp3 -> libmp3lame)
    Press [q] to stop, [?] for help
    size=     642kB time=00:05:28.75 bitrate=  16.0kbits/s    
    video:0kB audio:642kB subtitle:0 global headers:0kB muxing overhead 0.043491%
  • FFMPEG to Youtube Live

    12 juin 2020, par Vishnu Prassad

    I have an audio stream, im using ffmpeg to stream it to youtube live with an image as background with following command,

    



    ffmpeg -loop 1 -i x.jpg -i  http://xxx.xxx.xxx.xxxx:5305/stream -c:a aac -s 1280x720 -ab 128k -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/xxxxx

    



    But im getting the following message on youtube,

    



    
YouTube is not receiving enough video to maintain smooth streaming. As such, viewers will experience buffering

this cause buffering in the output stream.

    



    Any one know how to fix it ?

    



    Helps would be appreciated.