Recherche avancée

Médias (0)

Mot : - Tags -/serveur

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

Autres articles (33)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

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

Sur d’autres sites (4685)

  • ffmpeg hls video recording timing inforamtion is inaccurate

    27 juin 2018, par Haris

    I am recording the rtsp stream in HLS format which is working fine with below command.

    ~/bin/ffmpeg -i rtsp://10.0.7.39:554/media/live/1/1 -c:a aac -c:v copy -hls_list_size 65535 -hls_time 2 live.m3u8

    But when I check the the duration of each ts file with live.m3u8 file content the value is not accurate.

    Here is the live.m3u8

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:2
    #EXT-X-MEDIA-SEQUENCE:0
    #EXTINF:2.000000,
    live0.ts
    #EXTINF:2.000000,
    live1.ts
    #EXTINF:1.200000,
    live2.ts
    #EXTINF:2.500000,
    live3.ts
    #EXTINF:2.000000,
    live4.ts
    #EXTINF:2.600000,
    live5.ts
    #EXTINF:1.700000,
    live6.ts
    #EXT-X-ENDLIST

    And when I check the timing information of the ts file live2.ts using the command,

     ~/bin/ffprobe -i live2.ts -show_entries format=duration -v quiet -of csv="p=0"

    I am getting the value 2.136000 where as in m3u8 file it is 1.20000.

    I have build the latest FFMPEG based on official guild https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu.

    OS : Ubuntu 12.04

    ffmpeg Version

    $~/bin//ffmpeg -version


    ffmpeg version N-91369-g4ac88ba Copyright (c) 2000-2018 the FFmpeg developers
    built with gcc 4.8 (Ubuntu 4.8.1-2ubuntu1~12.04)
    configuration: --prefix=/home/haris/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/haris/ffmpeg_build/include --extra-ldflags=-L/home/haris/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/haris/bin --enable-gpl --enable-libaom --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
    libavutil      56. 18.102 / 56. 18.102
    libavcodec     58. 20.104 / 58. 20.104
    libavformat    58. 17.101 / 58. 17.101
    libavdevice    58.  4.101 / 58.  4.101
    libavfilter     7. 25.100 /  7. 25.100
    libswscale      5.  2.100 /  5.  2.100
    libswresample   3.  2.100 /  3.  2.100
    libpostproc    55.  2.100 / 55.  2.100

    Note

    If I tested the same command in Ubuntu 16.04 where ffmpeg installed with apt-get every thing works fine.

    Here is the ffmpeg details

    $ ~/bin/ffmpeg -version
    ffmpeg version 2.8.14-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg developers
    built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609
    configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --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-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --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-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
    libavutil      54. 31.100 / 54. 31.100
    libavcodec     56. 60.100 / 56. 60.100
    libavformat    56. 40.101 / 56. 40.101
    libavdevice    56.  4.100 / 56.  4.100
    libavfilter     5. 40.101 /  5. 40.101
    libavresample   2.  1.  0 /  2.  1.  0
    libswscale      3.  1.101 /  3.  1.101
    libswresample   1.  2.101 /  1.  2.101
    libpostproc    53.  3.100 / 53.  3.100

    What could be the cause, any help will be appreciated.

  • Why the audio of my mp4 file is going out of async

    16 juillet 2018, par Dop

    I am having a problem converting a wmv file to mp4. I am using x264.exe this command to get the video stream

    x264 --output temporal.264 --fps 25 --preset slow --bitrate 2048 --vbv-maxrate 2048 --vbv-bufsize 9600 --min-keyint 48 --keyint 48 --scenecut 0 --no-scenecut --pass 1 --video-filter "resize:width=640,height=480" Original.wmv

    Then I use ffmpeg.exe to extract the audio stream with this line :

    ffmpeg -i .wmv -acodec libfdk_aac -b:a 32000 temporal.aac

    finally I use MP4Box to merges each stream with this line :

    MP4Box -add temporal.264 Final.mp4
    MP4Box -add temporal.aac Final.mp4

    The problem is that the final.mp4 audio is out of sync. It starts good but with time it goes out of sync with time.

    I run this command :

    MP4Box -info 010004470063PE-10022017083824-2_MultiMedia--1.mp4

    and I discover that the estimated time of both streams are different :

    output of command

    * Movie Info *
           Timescale 600 - 2 tracks
           Computed Duration 01:00:03.643 - Indicated Duration 01:00:03.643
           Fragmented File: no
           File suitable for progressive download (moov before mdat)
           File Brand isom - version 1
                   Compatible brands: isom avc1
           Created: GMT Wed Jun 27 16:31:44 2018
           Modified: GMT Wed Jun 27 16:31:44 2018
    File has root IOD (9 bytes)
    Scene PL 0xff - Graphics PL 0xff - OD PL 0xff
    Visual PL: AVC/H264 Profile (0x7f)
    Audio PL: AAC Profile @ Level 2 (0x29)
    No streams included in root OD
    Track # 1 Info - TrackID 1 - TimeScale 25000
    Media Duration 00:59:57.520 - Indicated Duration 00:59:57.520
    Track has 1 edit lists: track duration is 00:59:57.320
    Media Info: Language "Undetermined (und)" - Type "vide:avc1" - 89938 samples
    Visual Track layout: x=0 y=0 width=640 height=480
    MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21
    AVC/H264 Video - Visual Size 640 x 480
           AVC Info: 1 SPS - 1 PPS - Profile Main @ Level 3
           NAL Unit length bits: 32
           Chroma format YUV 4:2:0 - Luma bit depth 8 - chroma bit depth 8
           SPS#1 hash: 41EE779BEF2AA71A7131EAFD3C77C7E3BC95FD8E
           PPS#1 hash: 086E1D72A40A0E8CF35D102F34A9DF6CD44D6CEF
    Self-synchronized
           RFC6381 Codec Parameters: avc1.4D401E
           Average GOP length: 250 samples
    Track # 2 Info - TrackID 2 - TimeScale 44100
    Media Duration 01:00:03.644 - Indicated Duration 01:00:03.644
    Media Info: Language "Undetermined (und)" - Type "soun:mp4a" - 155196 samples
    MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
    MPEG-4 Audio AAC LC - 2 Channel(s) - SampleRate 44100
    Synchronized on stream 1
           RFC6381 Codec Parameters: mp4a.40.2
           All samples are sync

    I am not shore why this is happening, becar the original wmv is perfectly synchronize. Any help ?

  • ffmpeg couldn't process files uploaded via ajax C#

    27 juin 2018, par Yan Ge

    I’ve tried to extract one part from a mp4 file using ffmpeg but it returns an empty file, could you guys please help to check on this ?really drive me mad...a big thanks on advance !

    1.I tried to set the output file to another file(not self replace) and it works.
    2.I tried to post back the filename to client by ajax, video couldn’t been load but it can play on server(the ffmpeg generated file is not corrupted)
    3.I closed the localhost and re-launch it, the mp4 file could be loaded properly.

    —question
    1.is the file uploaded to server been occupied ?(I tried to delete it, it’s workable, and I already called dispose after generated the original file)

    2.why I restart localhost, it becomes workable ??what have been done during close localhost ??

    for C# code to save file,please refer to below
    HttpPostedFileWrapper video---param
    string extension = new FileInfo(video.FileName).Extension;
    string videoId = DateTime.Now.Ticks.ToString();
    string filePath =HttpContext.Current.Server.MapPath("~/video/" + videoId + extension);
    var videoFile = File.Create(filePath);
    video.InputStream.Seek(0, SeekOrigin.Begin);
    video.InputStream.CopyTo(videoFile);
    videoFile.Close();
    videoFile.Dispose();

    for ffmpeg please refer to below

    E:\tools\ticon\ffmpeg-20180619-a990184-win64-static\bin>ffmpeg -ss 1.67 -t 4.10 -i E:\MyMVCProj\MyMVCProj\MyMVCProj\video\7802334805.mp4 -vcodec copy -acodec copy E:\MyMVCProj\MyMVCProj\MyMVCProj\video\7802334805.mp4 -y
    ffmpeg version N-91330-ga990184007 Copyright (c) 2000-2018 the FFmpeg developers
    built with gcc 7.3.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-libopencore-amrnb --enable-libopencore-amrwb --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-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
    libavutil      56. 18.102 / 56. 18.102
    libavcodec     58. 20.103 / 58. 20.103
    libavformat    58. 17.100 / 58. 17.100
    libavdevice    58.  4.101 / 58.  4.101
    libavfilter     7. 25.100 /  7. 25.100
    libswscale      5.  2.100 /  5.  2.100
    libswresample   3.  2.100 /  3.  2.100
    libpostproc    55.  2.100 / 55.  2.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from      
    'E:\MyMVCProj\MyMVCProj\MyMVCProj\video\7802334805.mp4':
    Metadata:
    major_brand     : mp42
    minor_version   : 1
    compatible_brands: mp41mp42isom
    creation_time   : 2018-06-21T11:26:01.000000Z
    Duration: 00:00:09.80, start: 0.000000, bitrate: 1284 kb/s
    Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 62 kb/s (default)
    Metadata:
     creation_time   : 2018-06-21T11:26:01.000000Z
     handler_name    : Core Media Audio
    Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt709/bt709, progressive), 960x540, 1216 kb/s, 30 fps, 30 tbr, 600 tbn, 1200 tbc (default)

    Metadata:
       rotate          : 90
       creation_time   : 2018-06-21T11:26:01.000000Z
       handler_name    : Core Media Video
     Side data:
     displaymatrix: rotation of -90.00 degrees
    Output #0, mp4, to 'E:\MyMVCProj\MyMVCProj\MyMVCProj\video\7802334805.mp4':
    Metadata:
    major_brand     : mp42
    minor_version   : 1
    compatible_brands: mp41mp42isom
    encoder         : Lavf58.17.100
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt709/bt709, progressive), 960x540, q=2-31, 1216 kb/s, 30 fps, 30 tbr, 19200 tbn, 600 tbc (default)
    Metadata:
     rotate          : 90
     creation_time   : 2018-06-21T11:26:01.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, 62 kb/s (default)
    Metadata:
     creation_time   : 2018-06-21T11:26:01.000000Z
     handler_name    : Core Media Audio
    Stream mapping:
    Stream #0:1 -> #0:0 (copy)
    Stream #0:0 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    frame=    0 fps=0.0 q=-1.0 Lsize=       0kB time=00:00:00.00 bitrate=N/A speed=   0x
    video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown