Recherche avancée

Médias (91)

Autres articles (111)

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

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

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

Sur d’autres sites (10858)

  • FFMEPG crop : Invalid too big or non positive size for width '1920' or height '1040'

    12 février 2021, par NatePhysics

    I run into a strange issue with a particular file in FFMPEG. When I try and crop it down a little I get :

    


    [Parsed_crop_0 @ 000002ad60c27980] Invalid too big or non positive size for width '1920' or height '1040'
[Parsed_crop_0 @ 000002ad60c27980] Failed to configure input pad on Parsed_crop_0
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:37
Conversion failed!


    


    This is odd to me because you can even see from the stream metadata that the resolution is much higher :

    


    Metadata:
    encoder         : libebml v1.4.0 + libmatroska v1.6.2
    creation_time   : 2021-02-09T22:45:47.000000Z
  Duration: 02:17:48.93, start: 0.000000, bitrate: 8548 kb/s
    Stream #0:0: Video: h264 (High), yuv420p(progressive), **1920x1080** [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)


    


    There's only 1 video stream. I'm running the following command :

    


    ffmpeg -i "wedding.mkv" -filter:v "crop=1920:1040" -c:v libx264 -preset slow -tune film -profile:v high -level 4.1 -crf 19 -c:a copy -c:s copy -map 0 "wedding-cropped.mkv"


    


    I can preview the crop using the following command without any errors :

    


    ffplay -i "wedding.mkv" -vf "crop=1920:960"


    


    I've cropped a few files before without issue. I'm a bit confused as to why I'm getting a resolution error in this case when the video file is clearly higher resolution. I've also tested lowering the cropped resolution and even when I lower both by several hundred pixels it still spits out the same error. Any thoughts or suggestions ?

    


  • mkv video from raw png pictures16 bit depth using ffmpeg

    9 novembre 2023, par Jake

    I need to receive video with this output

    


    


    Stream #0:1(eng) : Video : rawvideo (b16g / 0x67363162), gray16be,
640x576, SAR 1:1 DAR 10:9, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
(default)

    


    private data :

    


    size 40(FourCC : 0x62313667 "b16g")

    


    


    I am trying to use :

    


    ffmpeg.exe -i depth%d.png -c:v rawvideo -vtag b16g -pix_fmt gray16be -r 30 -allow_raw_vfw 1 depth_out.mkv


    


    but i received video with those parametres :

    


    


    Stream #0:0 : Video : rawvideo, rgb555le, 640x576, SAR 1:1 DAR 10:9, 30
fps, 30 tbr, 1k tbn, 1k tbc (default)

    


    and with this private codec data :

    


    size 40(FourCC : 0x00000000 " ????" : Uncompressed)

    


    


    I would appreciate any advice or guesses, thanks !

    


    *update - full log :

    


    


    ffmpeg -framerate 30 -i depth\depth%04d.png -c:v rawvideo -vtag b16g -pix_fmt gray16be -allow_raw_vfw 1 out_video.mkv ffmpeg version n4.3.1-221-gd08bcbffff Copyright (c) 2000-2021 the FFmpeg developers
    
built with gcc 9.3-win32 (GCC) 20200320 configuration :
—prefix=/ffbuild/prefix —pkg-config-flags=—static —pkg-config=pkg-config —cross-prefix=x86_64-w64-mingw32- —arch=x86_64 —target-os=mingw32 —enable-gpl —enable-version3 —disable-debug —disable-w32threads —enable-pthreads —enable-iconv —enable-zlib —enable-libxml2 —enable-libfreetype —enable-libfribidi —enable-gmp —enable-lzma —enable-fontconfig —enable-opencl —enable-libvmaf —disable-vulkan —enable-libvorbis —enable-amf —enable-libaom —enable-avisynth —enable-libdav1d —enable-libdavs2 —enable-ffnvcodec —enable-cuda-llvm —disable-libglslang —enable-libass —enable-libbluray —enable-libmp3lame —enable-libopus —enable-libtheora —enable-libvpx —enable-libwebp —enable-libmfx —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-librav1e —enable-librubberband —enable-schannel —enable-sdl2 —enable-libsoxr —enable-libsrt —enable-libtwolame —enable-libvidstab —enable-libx264 —enable-libx265 —enable-libxavs2 —enable-libxvid —enable-libzimg —extra-cflags=-DLIBTWOLAME_STATIC —extra-cxxflags= —extra-ldflags=-pthread —extra-libs=-lgomp libavutil 56. 51.100 / 56. 51.100 libavcodec 58. 91.100 / 58. 91.100 libavformat 58. 45.100 / 58. 45.100 libavdevice 58. 10.100 /
58. 10.100 libavfilter 7. 85.100 / 7. 85.100 libswscale 5. 7.100 / 5. 7.100 libswresample 3. 7.100 / 3. 7.100 libpostproc 55. 7.100 / 55. 7.100 Input #0, image2, from
'depth\depth%04d.png' : Duration : 00:00:25.90, start : 0.000000,
bitrate : N/A

    


    Stream #0:0 : Video : png, gray16be(pc), 640x576 [SAR 1:1 DAR 10:9], 30 fps, 30 tbr, 30 tbn, 30 tbc

    


    Stream mapping : Stream #0:0 -> #0:0 (png (native) -> rawvideo
(native)) Press [q] to stop, [?] for help [matroska @
000001f25bb71dc0] codec rawvideo is not supported by this format
Output #0, matroska, to 'out_video.mkv' :
    
Metadata :
encoder : Lavf58.45.100
Stream #0:0 : Video : rawvideo, gray16be, 640x576 [SAR 1:1 DAR 10:9], q=2-31, 176947 kb/s, 30 fps, 1k tbn, 30 tbc
Metadata :
encoder : Lavc58.91.100 rawvideo frame= 777 fps=602 q=-0.0 Lsize= 559475kB time=00:00:25.86 bitrate=177177.1kbits/s
speed= 20x video:559440kB audio:0kB subtitle:0kB other streams:0kB
global headers:0kB muxing overhead : 0.006204%

    


    


  • AWS MediaConvert fails when transcoding a video created from an iOS Safari WebRTC

    18 février 2021, par Node.JS

    I am trying to transcode a video using MediaConvert and I get the following error :

    


    


    Error message Demuxer : [ReadPacketData File read failed - end of file
hit at length [1105924]. Is file truncated ?]

    


    


    When I try to run ffmpeg command to get information about the file I see this :

    


    


    non monotonically increasing dts to muxer in stream

    


    


    I am wondering is there a configuration in MediaConvert that can correct the time stamps ?

    


    ➜  Downloads ffmpeg -i 2254.webm -hide_banner -f null /dev/null

[h264 @ 0x7fce2c81d400] Increasing reorder buffer to 1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '2254.webm':
  Metadata:
    major_brand     : iso5
    minor_version   : 1
    compatible_brands: isomiso5hlsf
    creation_time   : 2021-02-17T19:33:56.000000Z
  Duration: 00:00:01.60, start: 0.000000, bitrate: 5535 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc), 1280x720, 5644 kb/s, 27.95 fps, 29.92 tbr, 600 tbn, 1200 tbc (default)
    Metadata:
      rotate          : 90
      creation_time   : 2021-02-17T19:33:56.000000Z
      handler_name    : Core Media Video
    Side data:
      displaymatrix: rotation of -90.00 degrees
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 187 kb/s (default)
    Metadata:
      creation_time   : 2021-02-17T19:33:56.000000Z
      handler_name    : Core Media Audio
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
  Stream #0:1 -> #0:1 (aac (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to '/dev/null':
  Metadata:
    major_brand     : iso5
    minor_version   : 1
    compatible_brands: isomiso5hlsf
    encoder         : Lavf58.45.100
    Stream #0:0(und): Video: wrapped_avframe, yuvj420p(progressive), 720x1280, q=2-31, 200 kb/s, 29.92 fps, 29.92 tbn, 29.92 tbc (default)
    Metadata:
      encoder         : Lavc58.91.100 wrapped_avframe
      creation_time   : 2021-02-17T19:33:56.000000Z
      handler_name    : Core Media Video
    Side data:
      displaymatrix: rotation of -0.00 degrees
    Stream #0:1(und): Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s (default)
    Metadata:
      creation_time   : 2021-02-17T19:33:56.000000Z
      handler_name    : Core Media Audio
      encoder         : Lavc58.91.100 pcm_s16le
[null @ 0x7fce2e008200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 8 >= 8
[null @ 0x7fce2e008200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 31 >= 31
frame=   41 fps=0.0 q=-0.0 Lsize=N/A time=00:00:01.57 bitrate=N/A speed=19.9x    
video:21kB audio:128kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown