Recherche avancée

Médias (91)

Autres articles (94)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (7663)

  • What does the summary output of the coding with ffmpeg means

    12 novembre 2015, par Jai

    I am working with video comparison using ffmpeg. By Using ffmpeg command I can find the difference between 2 videos. But i want to find the percentage different in 2 videos.
    From the below ffmpeg output how can i found the percentage difference in two videos. Which attribute denote the difference.?

    TaskList: video:530kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.266679%
    TaskList: [libx264 @ 0000000002750b00] frame I:2     Avg QP:23.92  size: 29796
    TaskList: [libx264 @ 0000000002750b00] frame P:97    Avg QP:22.97  size:  4477
    TaskList: [libx264 @ 0000000002750b00] frame B:9     Avg QP:28.16  size:  5338
    TaskList: [libx264 @ 0000000002750b00] consecutive B-frames: 83.3% 16.7%  0.0%  0.0%
    TaskList: [libx264 @ 0000000002750b00] mb I  I16..4: 25.7% 37.8% 36.5%
    TaskList: [libx264 @ 0000000002750b00] mb P  I16..4:  1.9%  4.5%  1.0%  P16..4: 26.7%  8.8%  3.8%  0.0%  0.0%    skip:53.3%
    TaskList: [libx264 @ 0000000002750b00] mb B  I16..4:  0.7%  2.4%  2.7%  B16..8: 19.9%  8.8%  2.6%  direct: 4.7%  skip:58.2%  L0:32.3% L1:53.2% BI:14.4%
    TaskList: [libx264 @ 0000000002750b00] 8x8 transform intra:55.1% inter:69.5%
    TaskList: [libx264 @ 0000000002750b00] coded y,uvDC,uvAC intra: 55.6% 70.0% 24.2% inter: 19.8% 26.7% 2.5%
    TaskList: [libx264 @ 0000000002750b00] i16 v,h,dc,p: 25% 44%  5% 27%
    TaskList: [libx264 @ 0000000002750b00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 26% 17%  5%  5%  6%  5%  6%  6%
    TaskList: [libx264 @ 0000000002750b00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 29% 13%  5%  5%  6%  5%  6%  5%
    TaskList: [libx264 @ 0000000002750b00] i8c dc,h,v,p: 44% 30% 20%  5%
    TaskList: [libx264 @ 0000000002750b00] Weighted P-Frames: Y:6.2% UV:4.1%
    TaskList: [libx264 @ 0000000002750b00] ref P L0: 64.2% 28.5%  5.8%  1.3%  0.1%
    TaskList: [libx264 @ 0000000002750b00] ref B L0: 88.4% 11.6%
    TaskList: [libx264 @ 0000000002750b00] kb/s:1204.25
  • PowerShell and ffmpeg : No such file or directory

    8 juillet 2022, par Matt Wilson

    I'm trying to use the below command in a Python script, however I'm seeing that it's a PowerShell issue in that it can't seem to find the video file I'm pointing to.

    


    I have a video file on a cloud drive Z: at the following location (for reproducibility, change this to whatever path you want with a video file in it) :

    


    Z:\Udemy_And_Misc_Downloads\TensorFlow Developer Certificate in 2021 Zero to Mastery\3. Neural network regression with TensorFlow\18. Setting up TensorFlow modelling experiments part 2 (increasing complexity).mp4

    


    Notice the spaces and special characters in the filename in case that matters.

    


    What I'm trying to do is down-sample that video file to a smaller size with the following command :

    


    ffmpeg -i "Z:\Udemy_And_Misc_Downloads\TensorFlow Developer Certificate in 2021 Zero to Mastery\[TutsNode.com] - TensorFlow Developer Certificate in 2021 Zero to Mastery\3. Neural network regression with TensorFlow\18. Setting up TensorFlow modelling experiments part 2 (increasing complexity).mp4" -y -vcodec libx264 -acodec ac3 -threads 1 "Z:\Udemy_And_Misc_Downloads\TensorFlow Developer Certificate in 2021 Zero to Mastery\[TutsNode.com] - TensorFlow Developer Certificate in 2021 Zero to Mastery\3. Neural network regression with TensorFlow\18. Setting up TensorFlow modelling experiments part 2 (increasing complexity)DOWNSAMPLED.mp4"

    


    I know it's long as it's mostly consumed by the filenames, but the error I'm getting is :

    


    Z:\Udemy_And_Misc_Downloads\TensorFlow Developer Certificate in 2021 Zero to Mastery\[TutsNode.com] - TensorFlow  Developer Certificate in 2021 Zero to Mastery\3. Neural network regression with TensorFlow\18. Setting up TensorFlow  modelling experiments part 2 (increasing complexity).mp4: No such file or directory

    


    The path IS correct, as it's a direct copy paste from the folder's URL bar.

    


    The things I've tried include :

    


      

    • using quotes around filename
    • 


    • not using quotes around filename
    • 


    • prepending quoted filename with "r" (where I got message saying `did you mean file:r ?)
    • 


    • prepending quoted filename with "file:r"
    • 


    • used double slashes \ in filepaths
    • 


    


    Is there a powershell pro out there that can tell me why it can't "find" the file ?

    


    UPDATE
The command runs if I find a filename with :

    


    $oldvids = Get-ChildItem *.mp4, *mov, *wmv, *avi -Recurse
foreach ($oldvid in $oldvids) 
{
    $newvid = [io.path]::ChangeExtension($oldvid.FullName, '_.mp4')
    ffmpeg -i $oldvid.FullName -y -vcodec libx264 -acodec ac3 -threads 1 $newvid
}


    


    When I print the $oldvid.name and $oldvid.FullName, the paths/filenames look like this :

    


    Z:\Udemy_And_Misc_Downloads\TensorFlow Developer Certificate in 2021 Zero to Mastery\5. Computer Vision and Convolutional Neu
ral Networks in TensorFlow\35. Multi-class CNN's part 9 Making predictions with our model on custom images.mp4

35. Multi-class CNN's part 9 Making predictions with our model on custom images.mp4


    


    ...that first one being an exact copy of what I'm trying to use in my posted code. So what's the difference ??

    


    SECOND UPDATE
I think the issue lies in that the file is located on a drive other than C:. Just tested it by moving the file onto my computer and running the command, and it worked. So I guess, is there a way to tell PowerShell to use the Z: drive to find the file ?

    


  • How to improve this Powershell script ?

    3 janvier 2023, par Joan Venge

    I wrote a powershell script that merges go pro video files if they have multiple files. It works when the videos are at the root drive i.e. C :, but otherwise not. The mergevideos.txt file is not created if I run the script from a different directory. Or the txt is created but it's empty. Not sure what's going on when run from a different directory.

    


    So is there a way to fix these issues and refactor this code to make it better ? Ideally I want the script to automatically look at the directory it's in or allows me to specify the directory it should work in so I can just call it from the same location but the videos can be anywhere.

    


    $path = "C:/NewVideos/"
$oldvids = Get-ChildItem -Path $path *.mp4
foreach ($oldvid in $oldvids) {
    $curpath = $oldvid.DirectoryName

    $name = [System.IO.Path]::GetFileNameWithoutExtension($oldvid)
    $ext = [System.IO.Path]::GetExtension($oldvid)
    if ($name.StartsWith("GX01") -and !($name.EndsWith("_merged")))
    {
        $newvid = $curpath + $name + "_merged" + $ext
        if ([System.IO.File]::Exists($newvid))
        {
            Write-Output "$name | ALREADY MERGED"
            continue
        }

        $count = 1

        for ($num = 2; $num -lt 10; $num++)
        {
            $nextpart = $name.Replace("GX01", "GX0" + $num)
            if ([System.IO.File]::Exists($curpath + "/" + $nextpart + $ext))
            {
                $count = $num
            }
        }

        if ($count -eq 1)
        {
            Write-Output "$name | SINGLE VIDEO"
            continue
        }

        $mergefile = $curpath + "mergevideos.txt"
        if (!(Test-Path $mergefile))
        {
            New-Item -path $curpath -name mergevideos.txt -type "file"
        }

        Clear-Content $mergefile

        for ($num = 1; $num -le $count; $num++)
        {
            $nextpart = $name.Replace("GX01", "GX0" + $num)
            $videofilename = "file '" + $nextpart + $ext + "'"
            Add-Content $mergefile $videofilename
        }

         Write-Output "$name | MERGING  $count VIDEOS"
         ffmpeg -f concat -safe 0 -i $mergefile -c copy $newvid
    }
}