Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (79)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (12277)

  • Suppress black margins on the sides of an animation

    26 avril 2018, par Clinton Winant

    I need to make an animation out of a collection of jpeg images. The image size, as given by display, is 1200x900. I can control the size of the jpg images with convert, but not sure what a good size would be. I use the following ffmpeg call :

    ffmpeg -f image2 -i img%04d.jpg -r 24  sound.avi

    In spite of a long string of warnings like

    Past duration 0.879997 too large

    sound.avi is produced, however the animation includes black right and left margins (see attached screen shot of the first frame)

    totem - frame 1

    that I need to suppress. I am under the impression that the 4x3 format of the jpg images is standard ? I view the animation with

    mplayer sound.avi

    The OS is Debian buster

    Further experiments suggest that the black margins disappear if the jpg files have an aspect ratio 16:9. Is that the only AR possible ?

    The output of

    ffmpeg -f image2 -i img%04d.jpg -vf cropdetect -vframes 5 -f null

    requested by @Gyan is

    ffmpeg version 3.4.2-2 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 7 (Debian 7.3.0-15)
     configuration: --prefix=/usr --extra-version=2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
     libavutil      55. 78.100 / 55. 78.100
     libavcodec     57.107.100 / 57.107.100
     libavformat    57. 83.100 / 57. 83.100
     libavdevice    57. 10.100 / 57. 10.100
     libavfilter     6.107.100 /  6.107.100
     libavresample   3.  7.  0 /  3.  7.  0
     libswscale      4.  8.100 /  4.  8.100
     libswresample   2.  9.100 /  2.  9.100
     libpostproc    54.  7.100 / 54.  7.100
    Trailing options were found on the commandline.
    Input #0, image2, from 'img%04d.jpg':
     Duration: 00:00:00.40, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1200x900 [SAR 150:150 DAR 4:3], 25 fps, 25 tbr, 25 tbn, 25 tbc
  • How to generate m3u8 file and list of TS segment files using ffmpeg for wmv and avi video files

    26 avril 2018, par Sat

    I am able to generate m3u8 and list of segment(.ts) files from mp4 video file using following ffmpeg command

    ffmpeg -i Bee_Free.mp4 -codec copy -vbsf h264_mp4toannexb -map 0 -f segment -segment_list free.m3u8 -segment_time 10 free%03d.ts

    I am using the same command to generate m3u8 and ts files from .wmv and .avi files

    command for .avi file

    ffmpeg -i PalivalaBadraVatakam.avi -codec copy -vbsf h264_mp4toannexb -map 0 -f segment -segment_list palivaala.m3u8 -segment_time 10 palivaala%03d.ts

    Error

    ffmpeg version N-89041-g91a565e20f Copyright (c) 2000-2017 the FFmpeg developers
    built with gcc 7.2.0 (GCC)
    configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-            
    libbluray --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-    
    libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-
    libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
    libavutil      56.  0.100 / 56.  0.100
    libavcodec     58.  3.101 / 58.  3.101
    libavformat    58.  2.100 / 58.  2.100
    libavdevice    58.  0.100 / 58.  0.100
    libavfilter     7.  0.101 /  7.  0.101
    libswscale      5.  0.101 /  5.  0.101
    libswresample   3.  0.101 /  3.  0.101
    libpostproc    55.  0.100 / 55.  0.100
    Guessed Channel Layout for Input Stream #0.1 : stereo
    Input #0, avi, from 'PalivalaBadraVatakam.avi':
    Metadata:
    date            : 2018-04-24T17:08:40+05:30
    encoder         : Adobe Premiere Pro CC 2018.1 (Windows)
    Duration: 00:00:53.19, start: 0.000000, bitrate: 30317 kb/s
    Stream #0:0: Video: dvvideo (dvsd / 0x64737664), yuv411p, 720x480 [SAR 8:9 DAR 4:3], 28789 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
    [AVBSFContext @ 000001e976f84080] Codec 'dvvideo' (24) is not supported by the bitstream filter 'h264_mp4toannexb'. Supported codecs are: h264 (27)
    Error initializing bitstream filter: h264_mp4toannexb
    Stream mapping:
    Stream #0:0 -> #0:0 (copy)
    Stream #0:1 -> #0:1 (copy)
    Last message repeated 1 times

    Command for .wmv file

    ffmpeg -i Palivaalaa.wmv -codec copy -vbsf h264_mp4toannexb -map 0 -f segment -segment_list palivaalaa.m3u8 -segment_time 10 palivaalaa%03d.ts

    Error

    ffmpeg version N-89041-g91a565e20f Copyright (c) 2000-2017 the FFmpeg developers
    built with gcc 7.2.0 (GCC)
    configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-
    libbluray --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-
    libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-
    libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
    libavutil      56.  0.100 / 56.  0.100
    libavcodec     58.  3.101 / 58.  3.101
    libavformat    58.  2.100 / 58.  2.100
    libavdevice    58.  0.100 / 58.  0.100
    libavfilter     7.  0.101 /  7.  0.101
    libswscale      5.  0.101 /  5.  0.101
    libswresample   3.  0.101 /  3.  0.101
    libpostproc    55.  0.100 / 55.  0.100
    [wmv3 @ 0000024020a04a40] Extra data: 8 bits left, value: 20
    Guessed Channel Layout for Input Stream #0.0 : stereo
    Input #0, asf, from 'Palivaalaa.wmv':
    Metadata:
    Application     : Windows Movie Maker 2.6.4037.0
    WMFSDKVersion   : 12.0.16299.248
    WMFSDKNeeded    : 0.0.0.0000
    artist          : Sathish
    IsVBR           : 0
    DeviceConformanceTemplate: MP@ML
    Duration: 00:01:00.10, start: 0.000000, bitrate: 571 kb/s
    Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, fltp, 96 kb/s
    Stream #0:1(eng): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 640x480, 768 kb/s, SAR 1:1 DAR 4:3, 25 fps, 25 tbr, 1k tbn, 1k tbc
    [AVBSFContext @ 0000024020a9b420] Codec 'wmv3' (71) is not supported by the bitstream filter 'h264_mp4toannexb'. Supported codecs are: h264 (27)
    Error initializing bitstream filter: h264_mp4toannexb
    Stream mapping:
    Stream #0:0 -> #0:0 (copy)
    Stream #0:1 -> #0:1 (copy)
    Last message repeated 1 times
  • Untiy VideoPlayer error - The byte stream type of the given URL is unsupported

    24 avril 2018, par Nika Kasradze

    I’m on Unity 2018.1.0b13 trying to play a video from a local server.
    I’ve transcoded the video myself with ffmpeg. This is the encoding of the streams (by running ffmpeg -i v1.mp4) :

    Stream #0:0(eng) : Video : h264 (Constrained Baseline) (avc1 / 0x31637661), yu v420p, 960x540, 1244 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)

    Stream #0:1(eng) : Audio : aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)

    In the folder of my v1.mp4 file I’m running http-server so that the file is available at http://127.0.0.1:8080/v1.mp4

    In unity I’m trying to play the video via this URL but I keep getting this same error, no matter what codec I try for encoding :

    WindowsVideoMedia error 0xc00d36c4 while reading http://127.0.0.1:8080/v1.mp4

    Context : MFCreateSourceReaderFromURL

    Error details : The byte stream type of the given URL is unsupported.

    Track types :

    The same video plays ok on Android so I’m guessing it’s just Media Foundation that’s messing me up, not Unity. Any suggestions on how can I make this work in Unity ?

    Thanks !