Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (75)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (12431)

  • ffmpeg incorrect duration when converting video to HLS

    12 octobre 2016, par Julie Bsd

    I’m facing an issue using ffmpeg to convert video, precisely mp4 video => Http Live Streaming (HLS)

    Once converted to HLS, the .m3u8 file has a wrong duration (e.g : 20,1s instead of 20.00s), causing bugs when playing it with AVPlayer on iOS.
    Playing the video with Safari cause the same issue.

    Example :
    1) Open Safari
    2) Play this video that i’ve converted
    3) Look at the download progression, stopped at 98% cause of wrong duration.
    enter image description here
    4) When you slide between 98% and 100%, the video player can crash.


    EDIT 1 :

    I’ve edited the command line

    ffmpeg -i  video.mp4 \
    -codec copy \
    -acodec copy \
    -map 0 -f ssegment -g 60 -sc_threshold 0 \
    -segment_list playlist.m3u8 \
    -segment_list_flags +live \
    -segment_time 2 media%05d.ts \
     >./log_ffmpeg 2>./log_ffmpeg

    LOG :

    ffmpeg version 3.1.4-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 5.4.1 (Debian 5.4.1-2) 20160904
     configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --disable-indev=sndio --disable-outdev=sndio --enable-librtmp --enable-libzimg --cc=gcc-5 --disable-ffplay
     libavutil      55. 28.100 / 55. 28.100
     libavcodec     57. 48.101 / 57. 48.101
     libavformat    57. 41.100 / 57. 41.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 47.100 /  6. 47.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  1.100 /  2.  1.100
     libpostproc    54.  0.100 / 54.  0.100

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './Comptes/1/Photos/306/original_video.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 1
       compatible_brands: mp41mp42isom
       creation_time   : 2016-10-12 14:29:51
     Duration: 00:00:20.00, start: 0.000000, bitrate: 1673 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 540x960, 1563 kb/s, 30 fps, 30 tbr, 600 tbn, 1200 tbc (default)
       Metadata:
         creation_time   : 2016-10-12 14:29:51
         handler_name    : Core Media Video
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 101 kb/s (default)
       Metadata:
         creation_time   : 2016-10-12 14:29:51
         handler_name    : Core Media Audio
    [stream_segment,ssegment @ 0x652ed80] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
       Last message repeated 1 times

    Output #0, stream_segment,ssegment, to './Comptes/1/Photos/306/media%05d.ts':
     Metadata:
       major_brand     : mp42
       minor_version   : 1
       compatible_brands: mp41mp42isom
       encoder         : Lavf57.41.100
       Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709), 540x960, q=2-31, 1563 kb/s, 30 fps, 30 tbr, 90k tbn, 600 tbc (default)
       Metadata:
         creation_time   : 2016-10-12 14:29:51
         handler_name    : Core Media Video
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, 101 kb/s (default)
       Metadata:
         creation_time   : 2016-10-12 14:29:51
         handler_name    : Core Media Audio
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    frame=  601 fps=0.0 q=-1.0 Lsize=N/A time=00:00:20.10 bitrate=N/A speed= 917x    
    video:3823kB audio:249kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

    m3u8 file :

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-MEDIA-SEQUENCE:0
    #EXT-X-ALLOW-CACHE:YES
    #EXT-X-TARGETDURATION:3
    #EXTINF:2.033333,
    media00000.ts
    #EXTINF:2.000000,
    media00001.ts
    #EXTINF:2.000000,
    media00002.ts
    #EXTINF:2.000000,
    media00003.ts
    #EXTINF:2.000000,
    media00004.ts
    #EXTINF:2.000000,
    media00005.ts
    #EXTINF:2.000000,
    media00006.ts
    #EXTINF:2.000000,
    media00007.ts
    #EXTINF:2.000000,
    media00008.ts
    #EXTINF:2.000000,
    media00009.ts
    #EXTINF:0.033333,
    media00010.ts
    #EXT-X-ENDLIST

    As you can see input duration =/= output duration
    input duration : 20s
    output duration 20.1s

  • Custom video buffering from remote https url

    6 octobre 2022, par b.stevens.photo

    In the abstract, how does video buffering work ? Say I have a video file on a remote server that I want to download to a device and play, is there any way I could implement a custom buffering algorithm with just an https url ?

    


    I've been googling it and can't find anything technical on video buffering, I would assume most video players have a buffering algorithm built in but I'm not using a video player on this particular project.

    


    Any help or guidance is appreciated.

    


  • ffmpeg : error on large input file [duplicate]

    1er octobre 2016, par ingenious

    This question already has an answer here :

    I have a large Mov file with this info :

    enter image description here

    I want convert it to mp4 by this ffmpeg command :

    ffmpeg -i 57d5092f59418.mov -codec:v libx264 -profile:v high -preset slow
    -b:v 360k -maxrate 424k -bufsize 720k -vf scale=-1:360 -threads 0 -b:a 64k
    out.mov

    But I get this error :

    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    detail :

           ffmpeg version N-81784-g92de2c2 Copyright (c) 2000-2016 the FFmpeg developers
         built with gcc 5.4.0 (GCC)
         configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dx
       va2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-lib
       ebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --ena
       ble-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfree
       type --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enab
       le-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-lib
       openh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschr
       oedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheor
       a --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvo
       rbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --ena
       ble-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --e
       nable-decklink --enable-zlib
         libavutil      55. 30.100 / 55. 30.100
         libavcodec     57. 58.100 / 57. 58.100
         libavformat    57. 51.100 / 57. 51.100
         libavdevice    57.  0.102 / 57.  0.102
         libavfilter     6. 63.100 /  6. 63.100
         libswscale      4.  1.100 /  4.  1.100
         libswresample   2.  2.100 /  2.  2.100
         libpostproc    54.  0.100 / 54.  0.100
       Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '57d5092f59418.mov':
         Metadata:
           major_brand     : qt
           minor_version   : 537199360
           compatible_brands: qt
           creation_time   : 2016-02-09T07:33:27.000000Z
         Duration: 00:00:13.71, start: 0.000000, bitrate: 72247 kb/s
           Stream #0:0(eng): Video: qtrle (rle  / 0x20656C72), bgra, 1920x1080, 72242 k
       b/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc (default)
           Metadata:
             creation_time   : 2016-02-09T07:33:27.000000Z
             handler_name    : Apple Alias Data Handler
             encoder         : Animation
             timecode        : 00:00:08;17
           Stream #0:1(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
           Metadata:
             creation_time   : 2016-02-09T07:33:46.000000Z
             handler_name    : Apple Alias Data Handler
             timecode        : 00:00:08;17
       File 'out.mov' already exists. Overwrite ? [y/N] y
       No pixel format specified, yuv444p for H.264 encoding chosen.
       Use -pix_fmt yuv420p for compatibility with outdated media players.
       x264 [error]: high profile doesn't support 4:4:4
       [libx264 @ 00000000006f2f20] Error setting profile high.
       [libx264 @ 00000000006f2f20] Possible profiles: baseline main high high10 high42
       2 high444
       Output #0, mov, to 'out.mov':
         Metadata:
           major_brand     : qt
           minor_version   : 537199360
           compatible_brands: qt
           Stream #0:0(eng): Video: h264, none, q=2-31, SAR 1:1 DAR 0:0, 29.97 fps (def
       ault)
           Metadata:
             creation_time   : 2016-02-09T07:33:27.000000Z
             handler_name    : Apple Alias Data Handler
             timecode        : 00:00:08;17
             encoder         : Lavc57.58.100 libx264
       Stream mapping:
         Stream #0:0 -> #0:0 (qtrle (native) -> h264 (libx264))
       Error while opening encoder for output stream #0:0 - maybe incorrect parameters
       such as bit_rate, rate, width or height

    What shoud I do ?

    thanks