Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (58)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (12214)

  • FFMPEG Error while processing the decoded data for stream #0:1

    2 décembre 2020, par Michael Joseph Aubry

    When using the FFMPEG command in my Lambda function I am getting this issue (version 4.2.1). When using it on my local machine it works fine (4.3.1).

    


    Lambda Version Info

    


    {
  data: 'ffmpeg version 4.2.1-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers\n' +
    'built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516\n' +
    'configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg\n' +
    'libavutil      56. 31.100 / 56. 31.100\n' +
    'libavcodec     58. 54.100 / 58. 54.100\n' +
    'libavformat    58. 29.100 / 58. 29.100\n' +
    'libavdevice    58.  8.100 / 58.  8.100\n' +
    'libavfilter     7. 57.100 /  7. 57.100\n' +
    'libswscale      5.  5.100 /  5.  5.100\n' +
    'libswresample   3.  5.100 /  3.  5.100\n' +
    'libpostproc    55.  5.100 / 55.  5.100\n'
}


    


    Macbook Pro Version Info

    


    {
  data: 'ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
built with Apple clang version 11.0.0 (clang-1100.0.33.17)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.3.1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable- 
  libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable- 
  libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable- 
  librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable- 
  indev=jack
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100'
}


    


    My goal with this command is to generate a thumbnail sprite sheet.

    


    ffmpeg \
  -threads 8 \
  -ignore_editlist 1 \
  -i URL \
  -f image2 \
  -vf "select='not(mod(n,25))',setpts='N/(25*TB)',scale=180:180,tile=5x25" \  
  -pix_fmt yuvj420p \
  -an \
  -qscale:v 28 \
  -vsync 0 \
  -preset veryfast \
  pipe:1


    


    The same error occurs when I have a .jpg output on disk i.e /tmp/test.jpg

    


    This is the exact log from cloudwatch

    


    {&#xA;    "errorType": "Error",&#xA;    "errorMessage": "ffmpeg exited with code 1: Error reinitializing filters!\nFailed to inject frame into filter network: Invalid argument\nError while processing the decoded data for stream #0:1\nConversion failed!\n",&#xA;    "stack": [&#xA;        "Error: ffmpeg exited with code 1: Error reinitializing filters!",&#xA;        "Failed to inject frame into filter network: Invalid argument",&#xA;        "Error while processing the decoded data for stream #0:1",&#xA;        "Conversion failed!",&#xA;        "",&#xA;        "    at ChildProcess.<anonymous> (/var/task/node_modules/fluent-ffmpeg/lib/processor.js:182:22)",&#xA;        "    at ChildProcess.emit (events.js:314:20)",&#xA;        "    at ChildProcess.EventEmitter.emit (domain.js:483:12)",&#xA;        "    at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)"&#xA;    ]&#xA;}&#xA;</anonymous>

    &#xA;

    Here is the raw command using fluent-ffmpeg inside node.js

    &#xA;

        const passThrough = new stream.PassThrough();&#xA;    const fps = 25;&#xA;    const sWidth = 720 / 4;&#xA;    const sHeight = 1920 / 4;&#xA;&#xA;    ffmpeg(s3Url)&#xA;      .setFfmpegPath("/opt/ffmpeg")&#xA;      .inputOptions([`-threads`, "8", "-ignore_editlist", "1"])&#xA;      .outputOptions([&#xA;        "-f",&#xA;        "image2",&#xA;        "-vf",&#xA;        `"select=&#x27;not(mod(n,${fps}))&#x27;,setpts=&#x27;N/(${fps}*TB)&#x27;,scale=${sWidth}:${sHeight},tile=5x25"`,&#xA;        "-pix_fmt",&#xA;        "yuvj420p",&#xA;        "-an",&#xA;        "-qscale:v",&#xA;        "28",&#xA;        "-vsync",&#xA;        "0",&#xA;        "-preset",&#xA;        "veryfast"&#xA;      ])&#xA;      .output(passThrough)&#xA;      .on("start", (cmdline) => console.log(cmdline))&#xA;      .on("progress", (progress) => {&#xA;        console.log(progress);&#xA;      })&#xA;      .on("error", (err) => {&#xA;        console.log(err);&#xA;        reject(err);&#xA;      })&#xA;      .run();&#xA;

    &#xA;

    Additional log from cloudwatch

    &#xA;

    2020-12-02T18:42:55.023Z    2f334838-f748-4f2e-a639-15df0686ab4b    INFO    Error: ffmpeg exited with code 1: Error reinitializing filters!Failed to inject frame into filter network: Invalid argumentError while processing the decoded data for stream #0:1Conversion failed!    at ChildProcess.<anonymous> (/var/task/node_modules/fluent-ffmpeg/lib/processor.js:182:22)    at ChildProcess.emit (events.js:314:20)    at ChildProcess.EventEmitter.emit (domain.js:483:12)    at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)&#xA;</anonymous>

    &#xA;

  • FFMPEG concat 2 files of different resolution hangs

    6 octobre 2023, par knagode

    I am trying to concat 2 videos of different size and resize it to 426x240 :

    &#xA;

    ffmpeg -y -i video_1.mp4 -i video_2.mp4 -filter_complex &#x27;[0]scale=426:240:force_original_aspect_ratio=decrease,pad=426:240:(ow-iw)/2:(oh-ih)/2,setsar=1[v0];[1]scale=426:240:force_original_aspect_ratio=decrease,pad=426:240:(ow-iw)/2:(oh-ih)/2,setsar=1[v1];[v0][0:a:0][v1][1:a:0]concat=n=2:v=1:a=1[v][a]&#x27; -map &#x27;[v]&#x27; -map &#x27;[a]&#x27; concatenated_video.mp4&#xA;

    &#xA;

    In the output I see :

    &#xA;

    ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers&#xA;  built with Apple clang version 14.0.3 (clang-1403.0.22.14.1)&#xA;  configuration: --prefix=/usr/local/Cellar/ffmpeg/6.0_1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox&#xA;  libavutil      58.  2.100 / 58.  2.100&#xA;  libavcodec     60.  3.100 / 60.  3.100&#xA;  libavformat    60.  3.100 / 60.  3.100&#xA;  libavdevice    60.  1.100 / 60.  1.100&#xA;  libavfilter     9.  3.100 /  9.  3.100&#xA;  libswscale      7.  1.100 /  7.  1.100&#xA;  libswresample   4. 10.100 /  4. 10.100&#xA;  libpostproc    57.  1.100 / 57.  1.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;video_1.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf60.3.100&#xA;  Duration: 00:00:05.76, start: 0.000000, bitrate: 1582 kb/s&#xA;  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 640x360 [SAR 1:1 DAR 16:9], 1473 kb/s, 30 fps, 30 tbr, 15360 tbn (default)&#xA;    Metadata:&#xA;      handler_name    : ISO Media file produced by Google Inc. Created on: 08/17/2020.&#xA;      vendor_id       : [0][0][0][0]&#xA;      encoder         : Lavc60.3.100 libx264&#xA;  Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 112 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : ISO Media file produced by Google Inc. Created on: 08/17/2020.&#xA;      vendor_id       : [0][0][0][0]&#xA;Input #1, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;video_2.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf60.3.100&#xA;  Duration: 00:00:16.40, start: 0.000000, bitrate: 383 kb/s&#xA;  Stream #1:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 426x240 [SAR 640:639 DAR 16:9], 245 kb/s, 29.97 fps, 29.97 tbr, 30k tbn (default)&#xA;    Metadata:&#xA;      handler_name    : Core Media Video&#xA;      vendor_id       : [0][0][0][0]&#xA;      encoder         : Lavc60.3.100 libx264&#xA;  Stream #1:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : Core Media Audio&#xA;      vendor_id       : [0][0][0][0]&#xA;Stream mapping:&#xA;  Stream #0:0 (h264) -> scale:default&#xA;  Stream #0:1 (aac) -> concat&#xA;  Stream #1:0 (h264) -> scale:default&#xA;  Stream #1:1 (aac) -> concat&#xA;  concat -> Stream #0:0 (libx264)&#xA;  concat -> Stream #0:1 (aac)&#xA;Press [q] to stop, [?] for help&#xA;[vost#0:0/libx264 @ 0x7fc777006280] Frame rate very high for a muxer not efficiently supporting it.&#xA;Please consider specifying a lower framerate, a different muxer or setting vsync/fps_mode to vfr&#xA;[libx264 @ 0x7fc777006580] using SAR=1/1&#xA;[libx264 @ 0x7fc777006580] MB rate (405000000) > level limit (16711680)&#xA;[libx264 @ 0x7fc777006580] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2&#xA;[libx264 @ 0x7fc777006580] profile High, level 6.2, 4:2:0, 8-bit&#xA;[libx264 @ 0x7fc777006580] 264 - core 164 r3095 baee400 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=7 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00&#xA;Output #0, mp4, to &#x27;concatenated_video.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf60.3.100&#xA;  Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(tv, progressive), 426x240 [SAR 1:1 DAR 71:40], q=2-31, 1000k tbn&#xA;    Metadata:&#xA;      encoder         : Lavc60.3.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A&#xA;  Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s&#xA;    Metadata:&#xA;      encoder         : Lavc60.3.100 aac&#xA;[vost#0:0/libx264 @ 0x7fc777006280] More than 1000 frames duplicated  1.1kbits/s speed=4.94x&#xA;

    &#xA;

    Process hangs and I see that ffmpeg uses 500% of the CPU. Any idea how to fix (deal with) this ?

    &#xA;

    I can open both videos on my computer and play them.

    &#xA;

  • Live streaming Channel Multiview used ffmpeg X11grab and shaka packager

    18 août 2020, par jgkim0518

    I have been trying to live stream channel multiview used xvfb, firefox, vlc, ffmpeg and shaka packager.&#xA;1). Making virtual display used Xvfb.&#xA;2). Popping up a web page used fireforx on 1).&#xA;3). Drawing nine video(each channel) used vlc plugin on 2).&#xA;4). Capturing 2) used ffmpeg library, x11grab.&#xA;5). Transcoding 4) to FHD(HEVC)+10 Audio(each channel sound + dummy), FHD(H.264)+no sound, HD(H.264)+no sound, SD(H.264)+no sound, nHD(H.264)+no sound&#xA;6). packaging 5) used Shaka Packager

    &#xA;

    This is my command. shell script

    &#xA;

    function exec-xvfb () {&#xA;$XVFB :$display_port -br -noreset -nolisten tcp -screen 0 1920x1080x24 &amp;}&#xA;&#xA;function exec-firefox () {&#xA;    AUDIO_CTRL_PATH="$audio_ctrl_port:/TEST/vlcenv/.sync.dat" VLC_INFO_PATH=/TEST/vlcenv/vlc_info.dat AUDIO_SHARE_KEY="$AUDIO_SHARE_KEY" AUDIO_SHARE_PATH=/TEST/vlcenv/.share.shm MOSAIC_META_PATH=/TEST/meta_bin.dat DISPLAY=":$display_port" $FIREFOX --display=:$display_port --no remote --profile /TEST/browser -width 1920 -height 1080 http://127.0.0.1:8021/template/best_channel_9_1/page/index.html &amp;&#xA;}&#xA;&#xA;function transcoder () {&#xA;    AUDIO_CTRL_PATH="$audio_ctrl_port:/TEST/vlcenv/.sync.dat" VLC_INFO_PATH=/TEST/vlcenv/vlc_info.dat &#xA;AUDIO_SHARE_KEY="$AUDIO_SHARE_KEY" AUDIO_SHARE_PATH=/TEST/vlcenv/.share.shm &#xA;MOSAIC_META_PATH=/TEST/meta_bin.dat DISPLAY=":$display_port" &#xA;LD_LIBRARY_PATH=/transcoder/lib:/transcoder/lib/cuda /transcoder/gpu/transcoder -y -re \&#xA;    -analyzeduration 0 -f s16le -ar 48000 -ac 2 -pkt_size 128000 -i syc://@:$trc_sync_port?dummy=1 \&#xA;    -analyzeduration 0 -f s16le -ar 48000 -ac 2 -pkt_size 128000 -i syc://@:$(($trc_sync_port&#x2B;1)) \&#xA;    -analyzeduration 0 -f s16le -ar 48000 -ac 2 -pkt_size 128000 -i syc://@:$(($trc_sync_port&#x2B;2)) \&#xA;    -analyzeduration 0 -f s16le -ar 48000 -ac 2 -pkt_size 128000 -i syc://@:$(($trc_sync_port&#x2B;3)) \&#xA;    -analyzeduration 0 -f s16le -ar 48000 -ac 2 -pkt_size 128000 -i syc://@:$(($trc_sync_port&#x2B;4)) \&#xA;    -analyzeduration 0 -f s16le -ar 48000 -ac 2 -pkt_size 128000 -i syc://@:$(($trc_sync_port&#x2B;5)) \&#xA;    -analyzeduration 0 -f s16le -ar 48000 -ac 2 -pkt_size 128000 -i syc://@:$(($trc_sync_port&#x2B;6)) \&#xA;    -analyzeduration 0 -f s16le -ar 48000 -ac 2 -pkt_size 128000 -i syc://@:$(($trc_sync_port&#x2B;7)) \&#xA;    -analyzeduration 0 -f s16le -ar 48000 -ac 2 -pkt_size 128000 -i syc://@:$(($trc_sync_port&#x2B;8)) \&#xA;    -analyzeduration 0 -f s16le -ar 48000 -ac 2 -pkt_size 128000 -i syc://@:$(($trc_sync_port&#x2B;9)) \&#xA;    -analyzeduration 0 -f x11grab -draw_mouse 0 -video_size 1920x1080 -framerate 29.97 -i :$display_port.0&#x2B;0,0,nomouse \&#xA;    -c:a libfdk_aac -ar:a 48000 -ac:a 2 -b:a 128000 -vf hwupload_cuda=device=$gpu_no,scale_npp=1920:1080:format=yuv420p -gpu $gpu_no -c:v hevc_nvenc -preset:v fast -profile:v main -r 29.97 -g 15 -b:v 6000000 -bufsize 14000000 -maxrate 7000000 \&#xA;    -map 0:a -map 1:a -map 2:a -map 3:a -map 4:a -map 5:a -map 6:a -map 7:a -map 8:a -map 9:a -map 10:v -f mpegts udp://127.0.0.1:$trc_output_port?pkt_size=1316 \&#xA;    -an -vf hwupload_cuda=device=$gpu_no,scale_npp=1920:1080:format=yuv420p -gpu $gpu_no -c:v h264_nvenc -preset:v fast -profile:v main -r 29.97 -g 15 -b:v 4000000 -bufsize 8000000 -maxrate 4000000 -f mpegts udp://127.0.0.1:$(($trc_output_port&#x2B;1))?pkt_size=1316 \&#xA;    -an -vf hwupload_cuda=device=$gpu_no,scale_npp=1280:720:format=yuv420p -gpu $gpu_no -c:v h264_nvenc -preset:v fast -profile:v main -r 29.97 -g 15 -b:v 2000000 -bufsize 4000000 -maxrate 2000000 -f mpegts udp://127.0.0.1:$(($trc_output_port&#x2B;2))?pkt_size=1316 \&#xA;    -an -vf hwupload_cuda=device=$gpu_no,scale_npp=720:480:format=yuv420p -gpu $gpu_no -c:v h264_nvenc -preset:v fast -profile:v main -r 29.97 -g 15 -b:v 1500000 -bufsize 3000000 -maxrate 1500000 -f mpegts udp://127.0.0.1:$(($trc_output_port&#x2B;3))?pkt_size=1316 \&#xA;    -an -vf hwupload_cuda=device=$gpu_no,scale_npp=640:360:format=yuv420p -gpu $gpu_no -c:v h264_nvenc -preset:v fast -profile:v main -r 29.97 -g 15 -b:v 800000 -bufsize 1600000 -maxrate 800000 -f mpegts udp://127.0.0.1:$(($trc_output_port&#x2B;4))?pkt_size=1316 \main &amp;&#xA;}&#xA;&#xA;function packager () { &#xA;    rm -rf $OUTPUT/*&#xA;    /packager/packager \ &#xA;&#xA;    "in=udp://127.0.0.1:$trc_output_port,stream=0,init_segment=$OUTPUT/audio/0/audio_4.mp4,segment_template=$OUTPUT/audio/0/\$Time\$.m4s" \                 "in=udp://127.0.0.1:$trc_output_port,stream=1,init_segment=$OUTPUT/audio/1/audio_4.mp4,segment_template=$OUTPUT/audio/1/\$Time\$.m4s" \&#xA;    "in=udp://127.0.0.1:$trc_output_port,stream=2,init_segment=$OUTPUT/audio/2/audio_4.mp4,segment_template=$OUTPUT/audio/2/\$Time\$.m4s" \&#xA;    "in=udp://127.0.0.1:$trc_output_port,stream=3,init_segment=$OUTPUT/audio/3/audio_4.mp4,segment_template=$OUTPUT/audio/3/\$Time\$.m4s" \&#xA;    "in=udp://127.0.0.1:$trc_output_port,stream=4,init_segment=$OUTPUT/audio/4/audio_4.mp4,segment_template=$OUTPUT/audio/4/\$Time\$.m4s" \&#xA;    "in=udp://127.0.0.1:$trc_output_port,stream=5,init_segment=$OUTPUT/audio/5/audio_4.mp4,segment_template=$OUTPUT/audio/5/\$Time\$.m4s" \&#xA;    "in=udp://127.0.0.1:$trc_output_port,stream=6,init_segment=$OUTPUT/audio/6/audio_4.mp4,segment_template=$OUTPUT/audio/6/\$Time\$.m4s" \&#xA;    "in=udp://127.0.0.1:$trc_output_port,stream=7,init_segment=$OUTPUT/audio/7/audio_4.mp4,segment_template=$OUTPUT/audio/7/\$Time\$.m4s" \&#xA;    "in=udp://127.0.0.1:$trc_output_port,stream=8,init_segment=$OUTPUT/audio/8/audio_4.mp4,segment_template=$OUTPUT/audio/8/\$Time\$.m4s" \&#xA;    "in=udp://127.0.0.1:$trc_output_port,stream=9,init_segment=$OUTPUT/audio/9/audio_4.mp4,segment_template=$OUTPUT/audio/9/\$Time\$.m4s" \&#xA;    "in=udp://127.0.0.1:$trc_output_port,stream=video,init_segment=$OUTPUT/video/0/video_4.mp4,segment_template=$OUTPUT/video/0/\$Time\$.m4s" \&#xA;    "in=udp://127.0.0.1:$(($trc_output_port&#x2B;1)),stream=video,init_segment=$OUTPUT/video/1/video_4.mp4,segment_template=$OUTPUT/video/1/\$Time\$.m4s" \&#xA;    "in=udp://127.0.0.1:$(($trc_output_port&#x2B;2)),stream=video,init_segment=$OUTPUT/video/2/video_4.mp4,segment_template=$OUTPUT/video/2/\$Time\$.m4s" \&#xA;    "in=udp://127.0.0.1:$(($trc_output_port&#x2B;3)),stream=video,init_segment=$OUTPUT/video/3/video_4.mp4,segment_template=$OUTPUT/video/3/\$Time\$.m4s" \&#xA;    "in=udp://127.0.0.1:$(($trc_output_port&#x2B;4)),stream=video,init_segment=$OUTPUT/video/4/video_4.mp4,segment_template=$OUTPUT/video/4/\$Time\$.m4s" \&#xA;    --segment_duration 10 --fragment_duration 10 --minimum_update_period 10 --allow_codec_switching --preserved_segments_outside_live_window 24 --time_shift_buffer_depth 40 \&#xA;    --mpd_output $OUTPUT/$output_mpd.mpd&#xA;}&#xA;

    &#xA;

    vlc warning and error messages when duration 7

    &#xA;

    ...&#xA;adaptive debug: Timeline&#xA;adaptive debug: Element #1 d=669670 r=0 @t=6321195&#xA;adaptive debug: Element #2 d=576576 r=0 @t=6990865&#xA;adaptive debug: Element #3 d=669670 r=0 @t=7567441&#xA;adaptive debug: Element #4 d=672673 r=0 @t=8237111&#xA;adaptive debug: Element #5 d=561561 r=0 @t=8909784&#xA;adaptive debug: Element #6 d=654655 r=0 @t=9471345&#xA;adaptive debug: Element #7 d=630631 r=0 @t=10126000&#xA;adaptive debug: Updated MPD, next update in 7s&#xA;main warning: picture is too late to be displayed (missing 223 ms)&#xA;main warning: picture is too late to be displayed (missing 157 ms)&#xA;main warning: picture is too late to be displayed (missing 91 ms)&#xA;main warning: picture is too late to be displayed (missing 24 ms)&#xA;adaptive debug: Retrieving http://192.168.0.181:81/300/audio/5/9451440.m4s @0&#xA;adaptive debug: Retrieving http://192.168.0.181:81/300/video/0/9475185.m4s @0&#xA;adaptive debug: Retrieving http://192.168.0.181:81/300/300.mpd @0&#xA;main debug: creating access: http://192.168.0.181:81/300/300.mpd&#xA;main debug: (path: \\192.168.0.181:81\300\300.mpd)&#xA;main debug: looking for access module matching "http": 26 candidates&#xA;http debug: resolving 192.168.0.181 ...&#xA;http debug: outgoing request: GET /300/300.mpd HTTP/1.1 Host:192.168.0.181:81 Accept: */* Accept-Language: en_US User-Agent: VLC/3.0.11 LibVLC/3.0.11 Range: bytes=0- &#xA;http debug: incoming response: HTTP/1.1 206 Partial Content Server: nginx Date: Mon, 17 Aug 2020 09:10:08 GMT Content-Type: application/octet-stream Content-Length: 10406 Last-Modified: Mon, 17 Aug 2020 09:10:08 GMT Connection: keep-alive ETag: "5f3a4970-28a6" Content-Range: bytes 0-10405/10406 &#xA;main debug: using access module "access"&#xA;main debug: looking for stream_filter module matching "prefetch,cache_block": 24 candidates&#xA;prefetch debug: using 10406 bytes buffer, 10406 bytes read&#xA;main debug: using stream_filter module "prefetch"&#xA;main debug: looking for stream_filter module matching "any": 24 candidates&#xA;main debug: no stream_filter modules matched&#xA;main debug: looking for stream_filter module matching "inflate": 24 candidates&#xA;main debug: no stream_filter modules matched&#xA;prefetch debug: end of stream&#xA;main debug: removing module "prefetch"&#xA;main debug: removing module "access"&#xA;main debug: looking for xml reader module matching "any": 1 candidates&#xA;main debug: using xml reader module "xml"&#xA;adaptive debug: MPD profile=urn:mpeg:dash:profile:isoff-live:2011 mediaPresentationDuration=0 minBufferTime=2&#xA;adaptive debug: BaseUrl=http://192.168.0.181:81/300/&#xA;adaptive debug: Period&#xA;adaptive debug: BaseAdaptationSet 0&#xA;adaptive debug: Representation 0 [mp4a]&#xA;adaptive debug: InitSegmentTemplate #0 url=http://192.168.0.181:81/300/audio/0/audio_4.mp4 duration 0&#xA;adaptive debug: SegmentTemplate #12 url=http://192.168.0.181:81/300/audio/0/$Time$.m4s duration 0&#xA;adaptive debug: Timeline&#xA;adaptive debug: Element #1 d=629760 r=1 @t=6930480&#xA;adaptive debug: Element #3 d=631680 r=0 @t=8190000&#xA;adaptive debug: Element #4 d=629760 r=3 @t=8821680&#xA;adaptive debug: Representation 1 [mp4a]&#xA;adaptive debug: InitSegmentTemplate #0 url=http://192.168.0.181:81/300/audio/1/audio_4.mp4 duration 0&#xA;adaptive debug: SegmentTemplate #12 url=http://192.168.0.181:81/300/audio/1/$Time$.m4s duration 0&#xA;...&#xA;adaptive debug: Timeline&#xA;adaptive debug: Element #1 d=576576 r=0 @t=6990865&#xA;adaptive debug: Element #2 d=669670 r=0 @t=7567441&#xA;adaptive debug: Element #3 d=672673 r=0 @t=8237111&#xA;adaptive debug: Element #4 d=561561 r=0 @t=8909784&#xA;adaptive debug: Element #5 d=654655 r=0 @t=9471345&#xA;adaptive debug: Element #6 d=630631 r=0 @t=10126000&#xA;adaptive debug: Element #7 d=666666 r=0 @t=10756631&#xA;adaptive debug: Updated MPD, next update in 7s&#xA;main error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 2168 ms)&#xA;main debug: ES_OUT_RESET_PCR called&#xA;main debug: Buffering 0%&#xA;main debug: Buffering 1%&#xA;main debug: Buffering 2%&#xA;main debug: Received first picture&#xA;mmdevice debug: state changed: 0&#xA;main debug: Buffering 4%&#xA;...&#xA;main debug: Buffering 15%&#xA;wasapi debug: reset&#xA;main debug: Buffering 17%&#xA;...&#xA;main debug: Buffering 98%&#xA;main debug: Stream buffering done (2176 ms in 16 ms)&#xA;main debug: Decoder wait done in 0 ms&#xA;main warning: playback too early (-110003): down-sampling&#xA;mmdevice debug: state changed: 1&#xA;adaptive debug: Retrieving http://192.168.0.181:81/300/video/0/10129840.m4s @0&#xA;adaptive debug: Retrieving http://192.168.0.181:81/300/audio/5/10081200.m4s @0&#xA;adaptive debug: Retrieving http://192.168.0.181:81/300/300.mpd @0&#xA;main debug: creating access: http://192.168.0.181:81/300/300.mpd&#xA;main debug: (path: \\192.168.0.181:81\300\300.mpd)&#xA;main debug: looking for access module matching "http": 26 candidates&#xA;http debug: resolving 192.168.0.181 ...&#xA;http debug: outgoing request: GET /300/300.mpd HTTP/1.1 Host: 192.168.0.181:81 Accept: */* Accept-Language: en_US User-Agent: VLC/3.0.11 LibVLC/3.0.11 Range: bytes=0- &#xA;http debug: incoming response: HTTP/1.1 206 Partial Content Server: nginx Date: Mon, 17 Aug 2020 09:10:15 GMT Content-Type: application/octet-stream Content-Length: 10387 Last-Modified: Mon, 17 Aug 2020 09:10:15 GMT Connection: keep-alive ETag: "5f3a4977-2893" Content-Range: bytes 0-10386/10387 &#xA;main debug: using access module "access"&#xA;main debug: looking for stream_filter module matching "prefetch,cache_block": 24 candidates&#xA;prefetch debug: using 10387 bytes buffer, 10387 bytes read&#xA;main debug: using stream_filter module "prefetch"&#xA;main debug: looking for stream_filter module matching "any": 24 candidates&#xA;main debug: no stream_filter modules matched&#xA;main debug: looking for stream_filter module matching "inflate": 24 candidates&#xA;main debug: no stream_filter modules matched&#xA;prefetch debug: end of stream&#xA;main debug: removing module "prefetch"&#xA;main debug: removing module "access"&#xA;main debug: looking for xml reader module matching "any": 1 candidates&#xA;main debug: using xml reader module "xml"&#xA;adaptive debug: MPD profile=urn:mpeg:dash:profile:isoff-live:2011 mediaPresentationDuration=0 minBufferTime=2&#xA;adaptive debug: BaseUrl=http://192.168.0.181:81/300/&#xA;adaptive debug: Period&#xA;adaptive debug: BaseAdaptationSet 0&#xA;adaptive debug: Representation 0 [mp4a]&#xA;adaptive debug: InitSegmentTemplate #0 url=http://192.168.0.181:81/300/audio/0/audio_4.mp4 duration 0&#xA;adaptive debug: SegmentTemplate #13 url=http://192.168.0.181:81/300/audio/0/$Time$.m4s duration 0&#xA;...&#xA;

    &#xA;

    keep getting a similar message

    &#xA;

    vlc warning and error messages when duration 5

    &#xA;

    adaptive debug: Timeline&#xA;adaptive debug: Element #1 d=456457 r=0 @t=9501375&#xA;adaptive debug: Element #2 d=453453 r=0 @t=9957832&#xA;adaptive debug: Element #3 d=471472 r=0 @t=10411285&#xA;adaptive debug: Element #4 d=381381 r=0 @t=10882757&#xA;adaptive debug: Element #5 d=477478 r=0 @t=11264138&#xA;adaptive debug: Element #6 d=468468 r=0 @t=11741616&#xA;adaptive debug: Element #7 d=474475 r=0 @t=12210084&#xA;adaptive debug: Element #8 d=378378 r=0 @t=12684559&#xA;adaptive debug: Element #9 d=468468 r=0 @t=13062937&#xA;adaptive debug: Element #10 d=474475 r=0 @t=13531405&#xA;adaptive debug: Updated MPD, next update in 5s&#xA;adaptive debug: Retrieving http://192.168.0.181:81/300/audio/5/8101680.m4s @0&#xA;main error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 4794 ms)&#xA;main warning: buffer too late (-588333 us): dropped&#xA;main debug: ES_OUT_RESET_PCR called&#xA;main debug: Buffering 0%&#xA;main debug: Buffering 1%&#xA;main debug: Buffering 2%&#xA;main debug: Buffering 3%&#xA;...&#xA;main debug: Buffering 15%&#xA;main debug: Received first picture&#xA;main debug: Buffering 16%&#xA;...&#xA;main debug: Buffering 99%&#xA;main debug: Stream buffering done (4804 ms in 122 ms)&#xA;main debug: Decoder wait done in 0 ms&#xA;main debug: inserting 3246 zeroes&#xA;mmdevice debug: state changed: 0&#xA;wasapi debug: reset&#xA;main warning: playback too early (-85958): down-sampling&#xA;mmdevice debug: state changed: 1&#xA;adaptive debug: Retrieving http://192.168.0.181:81/300/video/0/8114825.m4s @0&#xA;adaptive debug: Retrieving http://192.168.0.181:81/300/300.mpd @0&#xA;main debug: creating access: http://192.168.0.181:81/300/300.mpd&#xA;main debug: (path: \\192.168.0.181:81\300\300.mpd)&#xA;main debug: looking for access module matching "http": 26 candidates&#xA;http debug: resolving 192.168.0.181 ...&#xA;http debug: outgoing request: GET /300/300.mpd HTTP/1.1 Host: 192.168.0.181:81 Accept: */* Accept-Language: en_US User-Agent: VLC/3.0.11 LibVLC/3.0.11 Range: bytes=0- &#xA;http debug: incoming response: HTTP/1.1 206 Partial Content Server: nginx Date: Mon, 17 Aug 2020 09:18:28 GMT Content-Type: application/octet-stream Content-Length: 12632 Last-Modified: Mon, 17 Aug 2020 09:18:28 GMT Connection: keep-alive ETag: "5f3a4b64-3158" Content-Range: bytes 0-12631/12632 &#xA;main debug: using access module "access"&#xA;main debug: looking for stream_filter module matching "prefetch,cache_block": 24 candidates&#xA;prefetch debug: using 12632 bytes buffer, 12632 bytes read&#xA;main debug: using stream_filter module "prefetch"&#xA;main debug: looking for stream_filter module matching "any": 24 candidates&#xA;main debug: no stream_filter modules matched&#xA;main debug: looking for stream_filter module matching "inflate": 24 candidates&#xA;main debug: no stream_filter modules matched&#xA;prefetch debug: end of stream&#xA;main debug: removing module "prefetch"&#xA;main debug: removing module "access"&#xA;main debug: looking for xml reader module matching "any": 1 candidates&#xA;main debug: using xml reader module "xml"&#xA;adaptive debug: MPD profile=urn:mpeg:dash:profile:isoff-live:2011 mediaPresentationDuration=0 minBufferTime=2&#xA;adaptive debug: BaseUrl=http://192.168.0.181:81/300/&#xA;adaptive debug: Period&#xA;adaptive debug: BaseAdaptationSet 0&#xA;adaptive debug: Representation 0 [mp4a]&#xA;adaptive debug: InitSegmentTemplate #0 url=http://192.168.0.181:81/300/audio/0/audio_4.mp4 duration 0&#xA;adaptive debug: SegmentTemplate #12 url=http://192.168.0.181:81/300/audio/0/$Time$.m4s duration 0&#xA;...&#xA;adaptive debug: Timeline&#xA;adaptive debug: Element #1 d=453453 r=0 @t=9957832&#xA;adaptive debug: Element #2 d=471472 r=0 @t=10411285&#xA;adaptive debug: Element #3 d=381381 r=0 @t=10882757&#xA;adaptive debug: Element #4 d=477478 r=0 @t=11264138&#xA;adaptive debug: Element #5 d=468468 r=0 @t=11741616&#xA;adaptive debug: Element #6 d=474475 r=0 @t=12210084&#xA;adaptive debug: Element #7 d=378378 r=0 @t=12684559&#xA;adaptive debug: Element #8 d=468468 r=0 @t=13062937&#xA;adaptive debug: Element #9 d=474475 r=0 @t=13531405&#xA;adaptive debug: Element #10 d=459459 r=0 @t=14005880&#xA;adaptive debug: Updated MPD, next update in 5s&#xA;adaptive debug: Retrieving http://192.168.0.181:81/300/audio/5/8550960.m4s @0&#xA;main warning: picture is too late to be displayed (missing 383 ms)&#xA;main warning: picture is too late to be displayed (missing 317 ms)&#xA;main warning: picture is too late to be displayed (missing 251 ms)&#xA;main warning: picture is too late to be displayed (missing 184 ms)&#xA;main warning: picture is too late to be displayed (missing 117 ms)&#xA;adaptive debug: Retrieving http://192.168.0.181:81/300/300.mpd @0&#xA;main debug: creating access: http://192.168.0.181:81/300/300.mpd&#xA;main debug: (path: \\192.168.0.181:81\300\300.mpd)&#xA;main debug: looking for access module matching "http": 26 candidates&#xA;http debug: resolving 192.168.0.181 ...&#xA;http debug: outgoing request: GET /300/300.mpd HTTP/1.1 Host: 192.168.0.181:81 Accept: */* Accept-Language: en_US User-Agent: VLC/3.0.11 LibVLC/3.0.11 Range: bytes=0- &#xA;http debug: incoming response: HTTP/1.1 206 Partial Content Server: nginx Date: Mon, 17 Aug 2020 09:18:33 GMT Content-Type: application/octet-stream Content-Length: 12596 Last-Modified: Mon, 17 Aug 2020 09:18:33 GMT Connection: keep-alive ETag: "5f3a4b69-3134" Content-Range: bytes 0-12595/12596 &#xA;main debug: using access module "access"&#xA;main debug: looking for stream_filter module matching "prefetch,cache_block": 24 candidates&#xA;prefetch debug: using 12596 bytes buffer, 12596 bytes read&#xA;main debug: using stream_filter module "prefetch"&#xA;main debug: looking for stream_filter module matching "any": 24 candidates&#xA;main debug: no stream_filter modules matched&#xA;main debug: looking for stream_filter module matching "inflate": 24 candidates&#xA;main debug: no stream_filter modules matched&#xA;prefetch debug: end of stream&#xA;main debug: removing module "prefetch"&#xA;main debug: removing module "access"&#xA;main debug: looking for xml reader module matching "any": 1 candidates&#xA;main debug: using xml reader module "xml"&#xA;adaptive debug: MPD profile=urn:mpeg:dash:profile:isoff-live:2011 mediaPresentationDuration=0 minBufferTime=2&#xA;adaptive debug: BaseUrl=http://192.168.0.181:81/300/&#xA;adaptive debug: Period&#xA;adaptive debug: BaseAdaptationSet 0&#xA;adaptive debug: Representation 0 [mp4a]&#xA;adaptive debug: InitSegmentTemplate #0 url=http://192.168.0.181:81/300/audio/0/audio_4.mp4 duration 0&#xA;adaptive debug: SegmentTemplate #13 url=http://192.168.0.181:81/300/audio/0/$Time$.m4s duration 0&#xA;...&#xA;

    &#xA;

    keep getting a similar message

    &#xA;

    This is played on vlc. this is duration 10 sec. but I want to live streaming duration 5 under.&#xA;cuda, framerate, GOP size and bitrate are fixed.

    &#xA;

    I know that is inefficient. but now, I have to live stream channel multiview duration 5 under. How can I achieve ? please help me.

    &#xA;