Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (99)

  • 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 ;

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

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

Sur d’autres sites (11172)

  • cant upload a .webm file after recording

    14 octobre 2017, par Syed Abdur Rehman Kazmi

    I kinda seem to stuck on something. I am missing something i dont know. I have uploaded a lot of files but somehow when i recorded this file via my laptop camera browser and try to upload it.. it doesnt.. I am also using ffmpeg to convert it.

    Laravel 5.4
    vuejs
    ffmpeg

    These are the tools involved the error i am getting is the file doesnt exist in local temp folder. ( i have checked it IS NOT there i dont understand why )

    This is the code i am using :

           $input = $request->only('video' , 'url' , 'blob');
       $input['file'] =$request->file('blob');

       $ffmpeg = FFMpeg::create([
           'ffmpeg.binaries'  => 'C:/FFmpeg/bin/ffmpeg.exe',
           'ffprobe.binaries' => 'C:/FFmpeg/bin/ffprobe.exe'
       ]);
       $video = $ffmpeg->open($input['file']);
       $video
           ->filters()
           ->resize(new Dimension(320, 240))
           ->synchronize();
       $video
           ->frame(TimeCode::fromSeconds(10))
           ->save('frame.jpg');
       $video
           ->save(new Video\X264(), 'export-x264.mp4')
           ->save(new Video\WMV(), 'export-wmv.wmv')
           ->save(new Video\WebM(), 'export-webm.webm');

    This is the error :

    Unable to probe C :\Users\KAZMI\AppData\Local\Temp\php4155.tmp

    ffprobe failed to execute command "C :/FFmpeg/bin/ffprobe.exe" C :\Users\KAZMI\AppData\Local\Temp\php4155.tmp -show_streams -print_format json

    and this is the input data :

    array:4 [  "video" => "video_7192228.webm"  "url" => "blob:http://localhost:8080/c319e0bf-7217-4916-90b6-c9cba800b7da"  "blob" => UploadedFile {#421    -test: false    -originalName: "blob"    -mimeType: "video/webm"    -size: 0    -error: 0    #hashName: null    path: "C:\Users\KAZMI\AppData\Local\Temp"    filename: "php8B7D.tmp"    basename: "php8B7D.tmp"    pathname: "C:\Users\KAZMI\AppData\Local\Temp\php8B7D.tmp"    extension: "tmp"    realPath: "C:\Users\KAZMI\AppData\Local\Temp\php8B7D.tmp"    aTime: 2017-10-14 14:20:24    mTime: 2017-10-14 14:20:24    cTime: 2017-10-14 14:20:24    inode: 0    size: 0    perms: 0100666    owner: 0    group: 0    type: "file"    writable: true    readable: true    executable: false    file: true    dir: false    link: false    linkTarget: "C:\Users\KAZMI\AppData\Local\Temp\php8B7D.tmp"  }  "file" => UploadedFile {#421}]
  • Copy live stream without overwrite previous file

    2 février 2020, par Panagiotis

    When I login I automatically start a script, that downloads a radio stream with ffmpeg.

    ffmpeg -i \
    http://139.162.14.151:9090 \
    -c copy output.mp3

    But each time it is asking me to overwrite the file. I want it to automatically create a new file without overwriting the previous one.

  • FFMPEG resulting audio file is longer than input file

    26 septembre 2015, par D3_JMultiply

    A Foreword : I have looked at the topics on stackoverflow related to this topic. None of them answer the question or have anything to do with the issue.

    I make LP videos on YouTube. I recently started using .TS (Transport Stream) files to record with through the answer here. When extracting the second audio stream from the file through ffmpeg I end up with an audio file 7 seconds longer than the video file I used as input. The file used as input is 12:50 and the audio file is 12:57.

    I believe this is due to the fact that ffmpeg is changing the bitrate of the file. The source bitrate is 167 kb/s and according to the console output ffmpeg is saving it as 164.7 kb/s.

    I know I can manually define the bitrate to save as via -b:a:0 167k but I want this batch file to work with any file I give it, and the bitrate of the stream in question varies, as it’s the mic/aux stream. I am writing a utility in Batch so I can just drag and drop the file to extract the second audio stream, so I’d love to avoid reading the bitrate unless there’s an ffmpeg command that returns the bitrate for a specific stream in the input file that is easy to parse.

    For the codec you can use -c:a:0 copy, why can’t you use copy on the bitrate ? To me it makes no sense.

    The command I’m using to extract the audio :

    ffmpeg -i "%~1" -map 0:2 -c:a:0 copy "%~n1.aac"

    The entire batch file :

    @echo off

    REM This code checks to ensure the command-line variables have been properly set.

    if [%1]==[] goto ALERT
    if [%2]==[] (
       SET outpt="%~n1.aac"
       goto END_COMMENT
    )
    SET outpt="%~2"

    GOTO END_COMMENT

    ------------------------------------------

    The code below actually runs the extraction of the audio stream with the configured values

    ffmpeg -i  -map 0:2 -c:a:0 copy

    ffmpeg -i  -map
       The base command, map tells ffmpeg that we wish to define the order of streams
       we with to operate on

    0:2
       Defines the stream to work on, 0 is the input, so input 0 (the file) and 2 is the stream (0=video,1+=audio, last stream may be metadata)

    -c:a:0 copy
       Codec of audio stream 0 for output should be an exact copy of all applicable settings from input stream


       The name of the file to output. The extension should match the codec. For most intents this will be .aac

    ------------------------------------------

    :END_COMMENT

    echo %outpt%

    ffmpeg -i "%~1" -map 0:2 -c:a:0 copy %outpt%
    goto END

    :ALERT
    @echo Incorrect usage: At least 1 param is required
    @echo     ^ = Required
    @echo     [param] = Optional
    @echo(
    @echo     extract.bat ^ [output_file]

    :END
    pause

    At request the following file is the full output of -v 9 -loglevel 99 (I don’t see how 8 MB worth of [mpegts @ Address] is useful, but here you go : https://www.dropbox.com/s/0ous9hc6e2kbyvp/log.txt?dl=0