Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (62)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

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

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (8975)

  • How to run a ffmpeg command in Powershell and pass variables to it ?

    22 avril 2021, par lucullus

    I would like to run the following command in Powershell :
ffmpeg -i "VIDEO.mp4" -i "AUDIO.m4a" -c copy -map 0:v:0 -map 1:a:0 "OUTPUT VIDEO.mp4"

    


    But I would like to browse for the files. I have tried this :

    


    Add-Type -AssemblyName System.Windows.Forms 

$VideoBrowser = New-Object System.Windows.Forms.OpenFileDialog -Property @{ 
    InitialDirectory = $PSCommandPath
    Filter = 'Video file (*.mp4)|*.mp4|All files (*.*)|*.*'
    Title = 'Choose video file'
}
$null = $VideoBrowser.ShowDialog()
if (!($VideoBrowser.FileName))
{
    return
}

$AudioBrowser = New-Object System.Windows.Forms.OpenFileDialog -Property @{ 
    Filter = 'Video file (*.m4a)|*.m4a|All files (*.*)|*.*'
    Title = 'Choose audio file'
    RestoreDirectory = $true
}
$null = $AudioBrowser.ShowDialog()
if (!($AudioBrowser.FileName))
{
    return
}

$NewVideoBrowser = New-Object System.Windows.Forms.SaveFileDialog -Property @{ 
    Filter = 'Video file (*.mp4)|*.mp4|All files (*.*)|*.*'
    Title = 'Save new video file as'
    RestoreDirectory = $true
}
$null = $NewVideoBrowser.ShowDialog()
if (!($NewVideoBrowser.FileName))
{
    return
}


    


    And all these ways to run the command but all fail :

    


    $ArgumentList = '"{0}" -i "{1}" -c copy -map 0:v:0 -map 1:a:0 "{2}"' -f $VideoBrowser.FileName, $AudioBrowser.FileName, $NewVideoBrowser.FileName;
Start-Process -FilePath ffmpeg.exe -ArgumentList $ArgumentList -Wait -NoNewWindow


    


    OR

    


    $ArgumentList = '"' + $VideoBrowser.FileName + '" -i "' + $AudioBrowser.FileName + '" -c copy -map 0:v:0 -map 1:a:0 "' + $NewVideoBrowser.FileName + '"'
Start-Process -FilePath ffmpeg.exe -ArgumentList $ArgumentList -Wait -NoNewWindow


    


    OR
ffmpeg.exe $VideoBrowser.FileName -i $AudioBrowser.FileName -c copy -map 0:v:0 -map 1:a:0 $NewVideoBrowser.FileName

    


    What should I try ?

    


  • [MPV][FFMPEG] stack two videos to play them synchronously without re-encoding, but with a rotation (from metadata) applied to one of them

    10 juin 2022, par publicIDI

    I have 3 videos with the same resolution (1920x1080), but one of them has the rotation property set in the metadata while the two others are reencoded in the correct orientation.

    


    I would like to stack them horizontally to compare their quality without re-encoding.
I know how to dynamically stack and display them with MPV, but not when one of them has a rotation metadata property :

    


    Two videos in parallel

    


    mpv --lavfi-complex="[vid1][vid2]hstack[vo];[aid1][aid2]amix[ao]" "v1_metadata.mp4" --external-file="v2.mp4"


    


    Three videos in parallel

    


    mpv --lavfi-complex="[vid1][vid2][vid3]hstack=inputs=3[vo];[aid1][aid2][aid3]amix=inputs=3[ao]" "v1_metadata.mp4" --external-files="v2.mp4;v3.mp4"


    


    Precisions

    


    v1_metadata.mp4 : rotation in the metadata

    


    v1_metadata.mp4

    


    v2.mp4, v3.mp4 : no metadata rotation

    


    v2.mp4 and v3.mp4

    


    How can I "apply" the rotation to the first video (v1_metadata.mp4) in order to display it stacked with the others ?

    


    Thanks,

    


  • Capture CMOS video with FPGA, encode and send over Ethernet

    23 décembre 2015, par ya_urock

    I am planning a open source university project for my students based on Zynq Xilinx FPGA that will capture CMOS video, encode it into transport stream and send it over Ethernet to remote PC. Basically I want to design yet another IP camera. I have strong FPGA experience, but lack knowledge regarding encoding and transfering video data. Here is my plan :

    1. Connect CMOS camera to FPGA, recieve video frames and save them to external DDR memory, verify using HDMI output to monitor. I have no problems with that.

    2. I understand that I have to compress my video stream for example to H.264 format and put into transport stream. Here I have little knowledge and require some hints.

    3. After I form transport stream I can send it over network using UDP packets. I have working hardware solution that reads data from FIFO and sends it to remote PC as UDP papckets.

    4. And finally I plan to receive and play video using ffmpeg library.

      ffplay udp://localhost:5678

    My question is basically regarding 2 step. How do I convert pixel frames to transport stream ? My options are :

    1. Use commercial IP, like

    Here I doubt that they are free to use and we don’t have much funds.

    1. Use open cores like

      • http://sourceforge.net/projects/hardh264/ - here core generates only h264 output, but how to encapsulate it into transport stream ?
      • I have searched opencores.org but with no success on this topic
      • Maybe somebody knows some good open source relevant FPGA projects ?
    2. Develop harware encoder by myself using Vivado HLS (C Language). But here is the problem that I don’t know the algorithm. Maybe I could gig ffmpeg or Cisco openh264 library and find there a function that converts raw pixel frames to H.264 format and then puts it into transport stream ? Any help would be appriciated here also.

    Also I am worried about format compatibility of stream I might generate inside FPGA and the one expected at host by ffplay utility. Any help, hints, links and books are appriciated !