Recherche avancée

Médias (91)

Autres articles (46)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (7458)

  • Force a vbscript to open command prompt in 64bit instead of 32bit

    26 juin 2015, par Arvo Bowen

    I have been trying to get this script to work all day !

    Here are some facts about my situation...

    • I have a program named "ffmpeg.exe" in my "C :\Windows\System32\" folder.
    • I DO NOT have that program in my "C :\Windows\SysWOW64\" folder.

    Currently this is the script I have...

    Option Explicit

    Dim oFSO, oShell, sCommand
    Dim sFilePath, sTempFilePath

    Set oFSO = CreateObject("Scripting.FileSystemObject")

    sFilePath = "C:\test\in_video.mkv"
    sTempFilePath = "C:\test\out_video.mp4"

    sCommand = "%comspec% /k ffmpeg -n -i """ + sFilePath + """ -c:v copy -c:a copy """ + sTempFilePath + """"
    WScript.Echo sCommand
    Set oShell = WScript.CreateObject("WScript.Shell")
    oShell.Run sCommand, 1, True
    Set oShell = Nothing

    Set oFSO = Nothing

    If I run this script manually at a command prompt then it seems to work just fine. But if I let another app run it (for example in this case uTorrent), it runs the script as expected but when it tries to process the oShell.Run command it runs that in a 32bit environment ! Then I get this...
    does_not_exist

    If I try to open up a new command prompt (nothing special) i seems to default to a 64bit environment and then I can type "ffmpeg" and it shows me the help content as expected.

    So for some reason I can’t get the script to run applications (specifically CMD) in the 64bit environment. Anyone know how I can achieve this ?


    Update

    Seems that my script is in fact being ran in 32bit mode ! Even though the script title bar says "C :\Windows\System32\cscript.exe", which is a 64bit environment !!

    I used the following script to determine that it was running in a 32bit environment...

    Dim WshShell
    Dim WshProcEnv
    Dim system_architecture
    Dim process_architecture

    Set WshShell =  CreateObject("WScript.Shell")
    Set WshProcEnv = WshShell.Environment("Process")

    process_architecture= WshProcEnv("PROCESSOR_ARCHITECTURE")

    If process_architecture = "x86" Then    
       system_architecture= WshProcEnv("PROCESSOR_ARCHITEW6432")

       If system_architecture = ""  Then    
           system_architecture = "x86"
       End if    
    Else    
       system_architecture = process_architecture    
    End If

    WScript.Echo "Running as a " & process_architecture & " process on a " _
       & system_architecture & " system."
  • file : Move win32 utf8->wchar open wrapper to libavutil

    8 août 2013, par Martin Storsjö
    file : Move win32 utf8->wchar open wrapper to libavutil
    

    When libavformat was changed to use the new avpriv_open function
    in 51eb213d001, this silently bypassed the existing wrapper for
    win32. Move the win32 wrapper into libavutil/file.c to make sure
    it gets called everywhere (not just in the libavformat case).

    This makes sure that non-ascii file names gets opened properly
    (where file names internally are stored as utf8, but they get
    converted to wchar_t and opened with _wsopen).

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavformat/os_support.c
    • [DH] libavformat/os_support.h
    • [DH] libavutil/file.c
  • I can find file in my computer , but it can't open

    12 septembre 2020, par Wendy Chen
     using FFMPEG&#xA; FFMPEG.exe("-i", "rtsp://......@.....", "-t" , "00:00:10","output.mp4")&#xA;

    &#xA;

    but it showed

    &#xA;

     [udp @ 00000265e8aa8c80] &#x27;circular_buffer_size&#x27; option was set but it is not &#xA; supported on this build (pthread support is required)&#xA; [udp @ 00000265e8ab8f80] &#x27;circular_buffer_size&#x27; option was set but it is not &#xA; supported on this build (pthread support is required)&#xA; [udp @ 00000265e8ac9800] &#x27;circular_buffer_size&#x27; option was set but it is not &#xA; supported on this build (pthread support is required)&#xA; [udp @ 00000265e8ad9ac0] &#x27;circular_buffer_size&#x27; option was set but it is not &#xA; supported on this build (pthread support is required)&#xA; [rtsp @ 00000265e8aa6200] UDP timeout, retrying with TCP&#xA; [rtsp @ 00000265e8aa6200] method PAUSE failed: 401 Unauthorized&#xA; [rtsp @ 00000265e8aa6200] Could not find codec parameters for stream 0 (Video: h264, &#xA; none): unspecified size&#xA;

    &#xA;

    I can find file in my computer , but it can't play.&#xA;What I need to add ?

    &#xA;