Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

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

Autres articles (112)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • 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

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (8034)

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