Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (111)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (5857)

  • How can I remove “original display aspect ratio 16:9” from a mp4 file using ffmpeg ?

    21 juin 2020, par Михаил Бурд

    I wish to remove the Original display aspect ratio entry from the video section.

    


    Video
ID                                       : 2
Format                                   : DV
Format settings, wrapping mode           : Frame
Codec ID                                 : 0D01030102020201-0401020202010200
Duration                                 : 1 h 34 min
Bit rate mode                            : Constant
Bit rate                                 : 24.4 Mb/s
Width                                    : 720 pixels
Height                                   : 576 pixels
Display aspect ratio                     : 4:3
Original display aspect ratio            : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Bottom Field First
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 2.357
Time code of first frame                 : 00:00:00:01
Time code source                         : Subcode time code
Stream size                              : 16.1 GiB (76%)
Title                                    : Picture
Color range                              : Limited
Transfer characteristics                 : BT.601


    


    If I want to remove the Original display aspect ratio entry completely, what ffmpeg command can I use to achieve that ?
Thank you.

    


  • FFMPEG how to use https dynamic url as input for amovie filter

    2 juillet 2020, par Johny Sharma

    Basically what i am trying to do is to calling a dynamic php url which is generating a audio file for me and just want to use that file as an input for amovie filter.
I hope you have understand my question.

    


    What i have done so far ?

    


    I have a FFMPEG code which is :

    


    ffmpeg-y -i 'bg-file.mp3' -c copy -map 0:0 -map 1:0 -filter_complex "amovie='/auth.php?input=string&l=hi&f.mp3':loop=999[sc][mix];[0:a][sc]sidechaincompress=threshold=0.100:ratio=20,volume=10dB:precision=fixed[bg], [bg][mix]amix=duration=first"  -c:a libmp3lame -ac 2  "save.mp3"


    


    This line is calling my dynamic url for generating the required song.

    


    "amovie='/auth.php?input=string&l=hi&f.mp3'


    


    Everything is working if i check them apart. but when i use them together the ffmpeg is giving the following error.

    


    [22] => [Parsed_amovie_0 @ 0x1378140] Failed to avformat_open_input '/auth.php?input=string&l=hi&f.mp3':loop=999'
[23] => [AVFilterGraph @ 0x1368ca0] Error initializing filter 'amovie' with args '/auth.php?input=string&l=hi&f.mp3':loop=999'
[24] => Error initializing complex filters.
[25] => No such file or directory


    


    I dont know is it possible to put a dynamically generated url as an input for amovie filter or not ?
if i open my dynamic url in browser its works like a mp3 file and play similar to any mp3 file.

    


    using this code to play that mp3 :

    


    header('Content-Description: File Transfer');
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename='.basename($path));
header('Content-Transfer-Encoding: binary');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Pragma: public');
ob_clean();
flush();
readfile($path);
exit;


    


    This one looks similar to my query but slightly different and that's why i am still looking for a solution

    


    How to use https input with ffmpeg "amovie" filter ?

    


  • avcodec/v4l2_m2m_dec : remove redundant packet and fix double free

    16 juillet 2020, par Andriy Gelman
    avcodec/v4l2_m2m_dec : remove redundant packet and fix double free
    

    v4l2_receive_frame() uses two packets s->buf_pkt and avpkt. If avpkt
    cannot be enqueued, the packet is buffered in s->buf_pkt and enqueued in
    the next call. Currently the ownership transfer between the two packets
    is not properly handled. A double free occurs if
    ff_v4l2_context_enqueue_packet() returns EAGAIN and v4l2_try_start
    returns EINVAL.

    In fact, having two AVPackets is not needed and everything can be
    handled by s->buf_pkt.

    This commit removes the local avpkt from v4l2_receive_frame(), meaning
    that the ownership transfer doesn't need to be handled and the double
    free is fixed.

    Signed-off-by : Andriy Gelman <andriy.gelman@gmail.com>

    • [DH] libavcodec/v4l2_m2m_dec.c