Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (57)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

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

Sur d’autres sites (7423)

  • Duration of source video and subtracted audio are different

    22 avril 2018, par zpc

    The duration of source video and subtracted wav audio is different , why ?

    I’m recorgnizing subtitle from audio, and I need to add subtitle back to video. So I want the duration of audio and video the same.

    ffmpeg -i http://cdn.live.360.cn/huikan_news/vod-media/_XW_203286B417B7C6466B3B_20160627185953.m3u8 -vn test.wav -y

    My CLI :

    [zhangpengcheng@mobiledev03v ifly]$ ffprobe http://cdn.live.360.cn/huikan_news/vod-media/_XW_203286B417B7C6466B3B_20160627185953.m3u8 2>&1 | grep Duration
     Duration: 00:06:51.99, start: 1.400000, bitrate: 0 kb/s


    [zhangpengcheng@mobiledev03v ifly]$ ffmpeg -i http://cdn.live.360.cn/huikan_news/vod-media/_XW_203286B417B7C6466B3B_20160627185953.m3u8 -vn test.wav -y
    ffmpeg version 3.1.3 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-17)
     configuration: --prefix=./build/ --enable-shared --enable-static --enable-libx264 --enable-avisynth --enable-libass --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libopencv --enable-librtmp --enable-gpl --enable-nonfree
     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, hls,applehttp, from 'http://cdn.live.360.cn/huikan_news/vod-media/_XW_203286B417B7C6466B3B_20160627185953.m3u8':
     Duration: 00:06:51.99, start: 1.400000, bitrate: 0 kb/s
     Program 0
       Metadata:
         variant_bitrate : 0
       Stream #0:0: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv, smpte170m/bt709/bt709), 668x376, 15 tbr, 90k tbn, 180k tbc
       Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, mono, fltp, 65 kb/s
    [wav @ 0x10182e0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Output #0, wav, to 'test.wav':
     Metadata:
       ISFT            : Lavf57.41.100
       Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, s16, 705 kb/s
       Metadata:
         encoder         : Lavc57.48.101 pcm_s16le
    Stream mapping:
     Stream #0:1 -> #0:0 (aac (native) -> pcm_s16le (native))
    Press [q] to stop, [?] for help
    size=   31904kB time=00:06:51.84 bitrate= 634.6kbits/s speed= 146x    
    video:0kB audio:31904kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000239%


    [zhangpengcheng@mobiledev03v ifly]$ ffprobe test.wav 2>&1 | grep Duration
     Duration: 00:06:10.40, bitrate: 705 kb/s
  • Not able to change the program number for the video

    17 mai 2018, par C.B. Akshay Kumar

    I have been trying to change the program number of a particular .ts file using FFmpeg without any success. I saw the documentation and it mentions to use the -program option. But, I am not able to add the streams as I desire. Here’s the program information for the stream that I possess currently :

    Input #0, mpegts, from 'output_2_without_pgm_num.ts':
     Duration: 00:01:49.92, start: 1.400000, bitrate: 1816 kb/s
     Program 1
       Metadata:
     service_name    : Service01
     service_provider: FFmpeg
    Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, progressive), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x101](ger): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 384 kb/s (clean effects)
    Stream #0:2[0x102](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 384 kb/s (clean effects)
    Stream #0:3[0x103](ger): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)

    Now, I want to change the program number from 1 to 22. Any idea how I could do that ? I have tried using -program option, but I can’t add streams 2 and 3 to the newly created .ts file.

    Thanks in advance !

  • Converting MP4 to HLS via ffmpeg producing stream with start delay

    24 mai 2018, par Eugene Alexeev

    I’m trying to convert mp4 to hls via this FFMpeg command :

    ffmpeg -i 1.mp4 -vcodec copy -q:v 5 -hls_time 5 -hls_list_size 0 -f hls 1.m3u8

    Command is working fine, without any errors whatsoever. BUT, when I’m trying to play brand-new HLS stream locally I noticed that it has a fixed start delay. I checked metadata of stream with ffprobe 1.m3u8 And that’s what I got :

    Input #0, hls,applehttp, from '1.m3u8':
     Duration: 00:00:11.17, start: 1.400000, bitrate: 0 kb/s
     Program 0
       Metadata:
         variant_bitrate : 0
       Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, smpte170m/bt709/bt709), 720x1280, 30 fps, 30 tbr, 90k tbn, 180k tbc
       Metadata:
         variant_bitrate : 0

    As you can see, parameter start has value of 1.400000 and I believe that’s the reason of this annoying start delay. My question is - how can I get rid of that ?

    I tried to set start time with -ss flag but it doesn’t affect an output at all. Also input is perfectly fine, I tried to convert it with the same command but to .mp4 and I got correct results. Am I missing something here ? I would be very appreciated for any help. Thanks.