Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (27)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • 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

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (5032)

  • what codec to specify to accessing my HDMI-to-USB adaptor, under Linux ? [closed]

    14 mai 2022, par David

    A week or so ago,I bought a HDMI-to-USB adapter, to use to capture video
TV content from my TV's set-top box. (Xfinity, if it matters. Box generically is :
"XiD X1"...I have both the Pace and the Cisco models available here in this house.)

    


    Specifically, here's the adapter I bought,from Amazon :
https://www.amazon.com/gp/product/B09FLN63B3

    


    So, I'm fluent in both Windows (Win-11) and Linux (Debian 'Bullseye', on my chromebook).

    


    The adapter does not come with any recommendations for what software/drivers to (try to) use, but I was prepared for that.
After some google searches, I decided to first try using the cmd-line
'ffmpeg' program, because I'm
quite familiar with that (excellent !) piece of open-source software !

    


    So, after a day or two of (mostly) success recordings under Win-11, using
ffmpeg's Microsoft-based 'dshow' (aka 'DirectShow'), I decided to attempt to get
up to the same level of accomplishment on my Chromebook, under Linux, also
using 'ffmpeg'.

    


    [Ok...a very brief explanation of 'mostly' successful. I'll
post another separate question here, about the specifics of my glitches,
using 'dshow' on Windows. But, essentially, when I try to record to a MP4
file, I get 2 scenarios of glitch : #1 : Suddenly, dropped packets surges up,
and I get "1000 dropped' yellow msg #2 : On other trials, I get '...contains
no image...'.) So, I figured I should first give a Linux a chance,
before spending more effort trying to resolve the glitches on Windows.]

    


    My first snag, was learning that 'dshow' seems to be specific to 'Windows',
and thus ffmpeg is getting 'unknown' for my reference to 'dshow'. After more hours of 'guessing', I've finally learned/concluded that there are other things
(something call "DeckLink" is one such alternative ?) for Linux, but I'm unclear
what extra Linux packages might exist for ffmpeg support, or whether I will need to built a more complete 'ffmpeg' (e.g. from source code), to get things going under Linux ?

    


    Is my device able to be accessed from some tools other than 'ffmpeg' ?
(e.g. VLC or Handbrake or whatever ?) more easily, on the Linux platform ?

    


    [If I had to, I'd probably invest another $20-$50 in some other hardware
device that goes from HDMI-to-USB (USB-A/B), if it were ]

    


    All ideas are welcome...(TIA)

    


    — Dave

    


  • FFMPEG : How to mix different types of image sequence inputs when creating multiple streams

    9 août 2021, par chutlies

    I am using a piece of software that generates a .txt files with rendered images. The list within that txt files is printed with the word 'file' at the beginning of the file path.

    


    Ex : file 'file:C :/Users/User/Desktop/test/Test.0001.png'

    


    I am attempting to input another image sequence as an overlay. Everything works fine if I just overlay, scale, and render. So this works fine :

    


    ffmpeg -hide_banner -y -f concat -safe 0 -i C:/test/input.txt -i "C:/test/BALL.%04d.png" -filter_complex "overlay[4K_in];[4K_in]scale=1920:1080[hdOut]" -map [hdOut] hd.mp4


    


    But when I start to split the stream to create different outputs it will only render the overlayed stream [1:v] and not the composited image.

    


    ffmpeg -hide_banner -y -f concat -safe 0 -i C:/test/input.txt -i "C:/test/BALL.%04d.png" -filter_complex "overlay,split=3[mp4HD_in][mxf720_in][mov4K_in];[mp4HD_in]scale=1920:1080[mp4HD_out];[mxf720_in]scale=1280:720[mxf720_out];[mov4K_in]scale=3840:2160[mov4K_out]" -crf 16 -vcodec libx264 -map [mp4HD_out] C:/test/hdMP4.mp4 -vcodec prores -map [mov4K_out] C:/test/MOV4K.mov -vcodec dnxhd -pix_fmt yuv422p -b:v 75M -map [mxf720_out] C:test/MXF720.mxf


    


    If I remove 'file' from the frames file path in the .txt file it works.

    


    Ex : file 'C :/Users/User/Desktop/test/Test.0001.png'

    


    Unfortunately, I am unable to change this as it's being generated and run within a piece of software. Are there any flags or something that I need to add to get around this ? Any other possible techniques beyond starting another &&ffmpeg call to generate the streams over the overlay ?

    


    I do get this in the logs :&#xA;[concat @ 0000024a0eacf280] DTS -230584300921369 < 0 out of order&#xA;DTS -230584300921369, next:40000 st:0 invalid dropping&#xA;PTS -230584300921369, next:40000 invalid dropping st:0&#xA;DTS -230584300921369, next:40000 st:0 invalid dropping&#xA;PTS -230584300921369, next:40000 invalid dropping st:0&#xA;DTS -230584300921369, next:40000 st:0 invalid dropping&#xA;PTS -230584300921369, next:40000 invalid dropping st:0&#xA;DTS -230584300921369, next:40000 st:0 invalid dropping&#xA;PTS -230584300921369, next:40000 invalid dropping st:0&#xA;[image2 @ 0000024a0eadd140] Thread message queue blocking ; consider raising the thread_queue_size option (current value : 8)

    &#xA;

  • FFMPEG : Extract Audio with exact Timing despite corrupted intermediate audio chunks

    5 novembre 2020, par user2029101

    I have a full automated tool chain which first concatenate video chunks and adjusts user events to it.&#xA;This first step uses 3rd party software, I am not able to fix the problem there.&#xA;Later in the process I extract the audio from the video. Sometimes there are corrupted audio chunks inbetween. FFMPEG ignores the corrupted parts on extraction. So I got a mutch shorter audio (the linked events rely on the exact length of the org A/V). It wouldnt be a big issue if it would only happen at the end, I know how to pad it there, but at random poistions, I didnt find an option at the documentation doing the job.&#xA;The only solution that worked was (pretty dirty I know) to convert the video to another video container with removed video stream and rename the file to MP3/AAC. It was working at windows/Android but all Mac-Browser didnt play it.

    &#xA;

    The -filter_complex -discard looks promising but I didnt find any good example for the correct syntax.&#xA;I have found an Adobe Tool doing the job correctly so I hope there is a way to do with ffmpeg, too.

    &#xA;

    General&#xA;Complete name                  : C:\tmp123\video.mp4&#xA;Format                         : MPEG-4&#xA;Format profile                 : Base Media&#xA;Codec ID                       : isom (isom/iso2/avc1/mp41)&#xA;File size                      : 57.8 MiB&#xA;Duration                       : 6 min 51 s&#xA;Overall bit rate               : 1 177 kb/s&#xA;Writing application            : Lavf58.26.100&#xA;&#xA;Video&#xA;ID                             : 1&#xA;Format                         : AVC&#xA;Format/Info                    : Advanced Video Codec&#xA;Format profile                 : Baseline@L4&#xA;Format settings, CABAC         : No&#xA;Format settings, RefFrames     : 2 frames&#xA;Format settings, GOP           : M=1, N=30&#xA;Codec ID                       : avc1&#xA;Codec ID/Info                  : Advanced Video Coding&#xA;Duration                       : 6 min 51 s&#xA;Bit rate                       : 1 003 kb/s&#xA;Width                          : 1 920 pixels&#xA;Height                         : 1 080 pixels&#xA;Display aspect ratio           : 16:9&#xA;Frame rate mode                : Constant&#xA;Frame rate                     : 30.303 FPS&#xA;Color space                    : YUV&#xA;Chroma subsampling             : 4:2:0&#xA;Bit depth                      : 8 bits&#xA;Scan type                      : Progressive&#xA;Bits/(Pixel*Frame)             : 0.016&#xA;Stream size                    : 49.2 MiB (85%)&#xA;&#xA;Audio&#xA;ID                             : 2&#xA;Format                         : AAC&#xA;Format/Info                    : Advanced Audio Codec&#xA;Format profile                 : LC&#xA;Codec ID                       : 40&#xA;Duration                       : 6 min 51 s&#xA;Bit rate mode                  : Constant&#xA;Bit rate                       : 168 kb/s&#xA;Channel(s)                     : 2 channels&#xA;Channel positions              : Front: L R&#xA;Sampling rate                  : 44.1 kHz&#xA;Frame rate                     : 43.066 FPS (1024 SPF)&#xA;Compression mode               : Lossy&#xA;Stream size                    : 8.22 MiB (14%)&#xA;Default                        : Yes&#xA;Alternate group                : 1&#xA;

    &#xA;