Recherche avancée

Médias (0)

Mot : - Tags -/publication

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

Autres articles (57)

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

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (7679)

  • ffmpeg unable to convert vhs-captured .ts files [closed]

    4 avril, par fredko

    I'm digitizing vhs tapes with a Hauppauge Colossus capture card and Mediaportal on windows 7. They're captured as .ts files and the .ts files play well, with no sign of corruption.

    


    But I'd like to convert them to .mkv (losslessly from the .ts), and ffmpeg (version 2023-08-28-git-b5273c619d-essentials_build-www.gyan.dev) fails at this. I use

    


    ffmpeg.exe -i test.ts -c copy test.mkv


    


    and get these errors repeated many times

    


    [mpegts @ 00000000003d6d40] Packet corrupt (stream = 0, dts = 46105).
[mpegts @ 00000000003d6d40] Packet corrupt (stream = 0, dts = 49107).
[h264 @ 00000000003fc580] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 00000000003fc580] decode_slice_header error
[h264 @ 00000000003fc580] no frame!
...etc...
[in#0/mpegts @ 00000000003d6b80] corrupt input packet in stream 0
[mpegts @ 00000000003d6d40] Packet corrupt (stream = 0, dts = 247305).
...etc...


    


    The resulting mkv file is much smaller than the .ts, and displays solid black in mpc-hc. Ffprobe gives the same errors and ends with

    


    Input #0, mpegts, from 'test.ts':
  Duration: 00:24:26.80, start: 0.099956, bitrate: 4486 kb/s
  Program 137 
  Stream #0:0[0x30]: Video: h264 (Main) (HDMV / 0x564D4448), yuv420p(top first),
 720x480 [SAR 10:11 DAR 15:11], 29.97 fps, 29.97 tbr, 90k tbn
  Stream #0:1[0x40]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo,
 fltp, 188 kb/s


    


    Ffmpeg seems to be complaining about corruption, though again the .ts files play fine. Is there some way to use ffmpeg to convert these files to mkv ? Or is the problem with the capture setup ?

    


  • PHP-FFMPEG Waveform is a little noisy, how to fix that ?

    18 avril 2023, par Kranchi

    I made a waveform through sample code :

    


    $waveform = $audio->waveform(2000, 500, array('#FFA500'));
$waveform->save('waveform.png');


    


    But result has some noise in top & bottom of edges :
https://gcdnb.pbrd.co/images/80v6Up6etCrD.png?o=1

    


    So I made a tiny change in line 140 of src\FFMpeg\Media\Waveform.php :

    


    //'showwavespic=colors='.$this->compileColors().':s='.$this->width.'x'.$this->height,
'showwavespic=draw=full:colors='.$this->compileColors().':s='.$this->width.'x'.$this->height,


    


    And problem fixed :
https://gcdnb.pbrd.co/images/KsCFsOujmJ9W.png?o=1

    


    I'm not sure is this a bug or problem in FFMpeg dll file and my question :

    


    is it possible to send the new command or override save method to avoid hacking the original file ? (the save method is using some protected methods)

    


    https://github.com/PHP-FFMpeg/PHP-FFMpeg/blob/master/src/FFMpeg/Media/Waveform.php

    


    Thanks.

    



    


    PHP-FFMpeg : 23 | FFMpeg : 2023-02-27-git-891ed24f77 (Win X64) |
PHP : 8.2

    


  • ffmpeg conversion failed error while splitting a 1.57GB .tif file

    12 janvier 2023, par Minai

    I am running ffmpeg to split a large .tif image of dimensions 25966 * 64114 into grids 0f 256 * 256 pixels but am getting an error.

    


    I ran the ffmpeg command on an 1883 * 1361 pixel .jpg image named coral2

    


    Here is the image

    


    Using the following command :

    


    ffmpeg -i coral2.jpg -qscale:v 1 -vf "crop=256:256:0:256" coral2-0-256.jpg

    


    Here is the crop

    


    When I run the same command on a 1.57GB .tif image :

    


    image.tif -qscale:v 1 -vf "crop=256:256:0:256" image%01d.tif

    


    I get the following error :

    


    


    


    C :\Users\gwmin\Downloads\coral\southbayapal>ffmpeg -i image.tif -qscale:v 1 -vf "crop=256:256:0:256" image%01d.tif

    


    ffmpeg version 2023-01-12-git-fc263f073e-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 12.2.0 (Rev7, Built by MSYS2 project)

    


    configuration : —enable-gpl —enable-version3 —enable-static —disable-w32threads —disable-autodetect —enable-fontconfig —enable-iconv —enable-gnutls —enable-libxml2 —enable-gmp —enable-bzlib —enable-lzma —enable-libsnappy —enable-zlib —enable-librist —enable-libsrt —enable-libssh —enable-libzmq —enable-avisynth —enable-libbluray —enable-libcaca —enable-sdl2 —enable-libaribb24 —enable-libdav1d —enable-libdavs2 —enable-libuavs3d —enable-libzvbi —enable-librav1e —enable-libsvtav1 —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxavs2 —enable-libxvid —enable-libaom —enable-libjxl —enable-libopenjpeg —enable-libvpx —enable-mediafoundation —enable-libass —enable-frei0r —enable-libfreetype —enable-libfribidi —enable-liblensfun —enable-libvidstab —enable-libvmaf —enable-libzimg —enable-amf —enable-cuda-llvm —enable-cuvid —enable-ffnvcodec —enable-nvdec —enable-nvenc —enable-d3d11va —enable-dxva2 —enable-libvpl —enable-libshaderc —enable-vulkan —enable-libplacebo —enable-opencl —enable-libcdio —enable-libgme —enable-libmodplug —enable-libopenmpt —enable-libopencore-amrwb —enable-libmp3lame —enable-libshine —enable-libtheora —enable-libtwolame —enable-libvo-amrwbenc —enable-libilbc —enable-libgsm —enable-libopencore-amrnb —enable-libopus —enable-libspeex —enable-libvorbis —enable-ladspa —enable-libbs2b —enable-libflite —enable-libmysofa —enable-librubberband —enable-libsoxr —enable-chromaprint

    


    libavutil 57. 43.100 / 57. 43.100
libavcodec 59. 56.100 / 59. 56.100
libavformat 59. 35.100 / 59. 35.100
libavdevice 59. 8.101 / 59. 8.101
libavfilter 8. 53.100 / 8. 53.100
libswscale 6. 8.112 / 6. 8.112
libswresample 4. 9.100 / 4. 9.100
libpostproc 56. 7.100 / 56. 7.100

    


    [tiff @ 000002c4799b6b00] [IMGUTILS @ 000000e4045fed40] Picture size 25966x64115 is invalid

    


    [tiff_pipe @ 000002c4799a3700] Could not find codec parameters for stream 0 (Video : tiff, rgba) : unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, tiff_pipe, from 'SouthBayApal.tif' :
Duration : N/A, bitrate : N/A
Stream #0:0 : Video : tiff, rgba, 25 fps, 25 tbr, 25 tbn
Stream mapping :
Stream #0:0 -> #0:0 (tiff (native) -> tiff (native))
Press [q] to stop, [?] for help
[tiff @ 000002c4799a5d40] [IMGUTILS @ 000000e404dff650] Picture size 25966x64115 is invalid

    


    Error while decoding stream #0:0 : Invalid argument&#xA;[graph 0 input from stream 0:0 @ 000002c479e0cd00] Unable to parse option value "0x0" as image size&#xA;[graph 0 input from stream 0:0 @ 000002c479e0cd00] Error setting option video_size to value 0x0.&#xA;[graph 0 input from stream 0:0 @ 000002c479e0cd00] Error applying generic filter options.&#xA;Error reinitializing filters !&#xA;Error while filtering : Invalid argument&#xA;Finishing stream 0:0 without any data written to it.&#xA;[graph 0 input from stream 0:0 @ 000002c479e0c800] Unable to parse option value "0x0" as image size&#xA;[graph 0 input from stream 0:0 @ 000002c479e0c800] Error setting option video_size to value 0x0.&#xA;[graph 0 input from stream 0:0 @ 000002c479e0c800] Error applying generic filter options.&#xA;Error configuring filter graph&#xA;Conversion failed ! <

    &#xA;

    Please help. My code only works on splitting crops of small images but I cannot crop large .tif images. How can I split using ffmpeg ?

    &#xA;