Recherche avancée

Médias (0)

Mot : - Tags -/tags

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (53)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (6561)

  • FFMPEG display video supported resolution formats only

    10 juillet 2014, par user3361920

    I am working on a site in which there is video listings display section. On click of a video the video detail page opens. In that detail page the video can be downloaded in the following resolutions :-

    4K RESOLUTION

    HD 1080P RESOLUTION

    HD 720P RESOLUTION

    SD 720 RESOLUTION

    640X360 WEB

    The user can select any one of these resolution format via radio button and video will be downloaded in that resolution after getting converted on the fly. I am using FFMPEG and h264 library for conversion. While uploading the original resolution is fetched using this same ffmpeg and is saved in the database.
    Now what I need is out of these resolutions only those resolutions should display on the detail page for a particular video which the video supports. For ex. if the video displaying on the page does not support HD 1080P Resolution (2nd one above) then it should not be displayed and hence will not be available for the video to be converted and downloaded in this resolution and similarly for other ones. Please let me know is it possible bcoz I am not a pro in php and especially to ffmpeg and not sure whether this is even possible or not and if yes then how ?. Any help will be most appreciated and thanks in advance.

  • How do you display things in the rails console for the user in Rails ?

    30 décembre 2014, par Swaathi K

    I am using Streamio-ffmpeg to process files. The gem shows the progress of the transcoding in the console. I want to display this progress to the user. Is there anyway of doing this ?

    This is my helper : (Where the transcoding is done)

    if myfile.filetype == "video"
           movie = FFMPEG::Movie.new(oldpath(myfile))
           movie.transcode(newpath(myfile),"-deadline realtime -aq 10 -qmax 25") { |progress| puts progress }

           FileUtils.rm_rf(oldpath(myfile))

    The { |progress| puts progress } is responsible for printing the progress to the console. Can I display this in my views instead ?

  • PowerShell progress bar won't display

    23 juillet 2014, par Brett

    I’m trying to write my first PowerShell GUI. Basically I’m trying to run a ffmpeg command which is fine and works, but I cannot get the progress bar to run. (I’m brand new to this.) Here is my attempt.

    cd C:\Users\brett\Documents\convert
    $cmd = 'ffmpeg.exe'
    $arg0 = '-i'
    $arg1 = 'MASH_01.ts'
    $arg2 = '-c:v'
    $arg3 = '-c:a'
    $arg4 = 'MASH_01.mp4'
    $cf = 'copy'
    $isFile = 'MASH_01.mp4'
    if (-not(Test-Path -Path $isFile) -eq $false) {
     echo "Shit Go"
     del $isFile

         & $cmd $arg0 $arg1 $arg2 $cf $arg3 $cf $arg4
       for ($i = 1; $i -le 100; $i++) {
       Start-Sleep -m 100
       Write-Progress -Activity 'Progress Of The Coversion' -Status "$i Percent Complete" -PercentComplete $i;
       }
    } else {
    & $cmd $arg0 $arg1 $arg2 $cf $arg3 $cf $arg4
       for ($i = 1; $i -le 100; $i++) {
       Start-Sleep -m 100
       Write-Progress -Activity 'Progress Of The Coversion' -Status "$i Percent Complete" -PercentComplete $i;
       }
    }

    Update : There is no error output I can see, but the progress bar runs after the file has been processed, not during.

    here is my latest attempt.. but now i get ffmpeg saying "m" is not a valid switch

    cd C:\Users\brett\Documents\convert
    $oldVideo = Get-ChildItem -Include @("*.ts")
    Write-Host -ForegroundColor Green -Object $ArgumentList;
    # Pause the script until user hits enter
    $isFile = 'MASH_01.mp4'
    if( -not(Test-Path -Path $isFile) -eq $false) {
     echo "Shit Go"
     del $isFile
     }a
     $tool = ffmpeg.exe
    $ArgumentList = '`-i'+' '+'MASH_01.ts'+' '+'-c:v'+' '+'copy'+' '+'-c:a'+' '+'copy'+' '+'MASH_01.mp4';
    Invoke-Expression $tool $ArgumentList
    for($i = 1; $i -le 100; $i++){
       ffmpeg $ArgumentList -m 100

       Write-Progress -Activity 'Progress Of The Coversion' -Status "$i Percent Complete" -PercentComplete $i
      `-SecondsRemaining $a -CurrentOperation
      "$i% complete" `

       }