Recherche avancée

Médias (0)

Mot : - Tags -/protocoles

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

Autres articles (79)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (7324)

  • Synchronizing RTSP signals with FFMPEG

    3 décembre 2019, par Taits

    I have achieved to merge two RTSP signals in one with FFMPEG but in the resulting stream, the first input has a delay of between 2 and 5 seconds with respect to the second. And it is always the first input that is delayed compared to the second.

    The two RTSP signals come from the same camera model, same configuration, same room ...

    However, if I put the same RTSP signal (either of the two) as input 1 and input 2, the same thing happens. Despite being the same signal, the first input is delayed compared to the second one.

    How could I get them synchronized ?

    This is the command that I execute :

    ffmpeg -rtsp_transport tcp -thread_queue_size 512 -rtbufsize 50M -r 15
    -i rtsp://XXXX -rtsp_transport tcp -thread_queue_size 512 -rtbufsize 50M -r 15
    -c:a aac -i rtsp://YYYY -filter_complex "[0:v]pad=iw*2:ih,setpts=PTS-STARTPTS[bg];
    [1:v]setpts=PTS-STARTPTS[fg]; [bg][fg]overlay=w[out]" -map "[out]" -f hls
    -hls_time 2 -hls_list_size 5 -use_localtime 1 -use_localtime_mkdir 1
    -hls_segment_filename 'LIVE/file-%s.ts' -map a -ar 16000 -ac 1 -ab 64000 -c:a aac
    -y output.m3u8

    Here you have the process informationn :

    ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
    built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
    configuration: --prefix=/usr/local/Cellar/ffmpeg/3.4.2 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --disable-jack --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma
     libavutil      55. 78.100 / 55. 78.100
     libavcodec     57.107.100 / 57.107.100
     libavformat    57. 83.100 / 57. 83.100
     libavdevice    57. 10.100 / 57. 10.100
     libavfilter     6.107.100 /  6.107.100
     libavresample   3.  7.  0 /  3.  7.  0
     libswscale      4.  8.100 /  4.  8.100
     libswresample   2.  9.100 /  2.  9.100
     libpostproc    54.  7.100 / 54.  7.100
    [rtsp @ 0x7fe284000e00] Missing PPS in sprop-parameter-sets, ignoring
    Input #0, rtsp, from 'rtsp://XXXX':
     Metadata:
       title           : Media Presentation
     Duration: N/A, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: h264 (Main), yuv420p(progressive), 1280x720, 15 fps, 15 tbr, 90k tbn, 30 tbc
       Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp
    [rtsp @ 0x7fe28484de00] Missing PPS in sprop-parameter-sets, ignoring
    Input #1, rtsp, from 'rtsp://XXXX':
     Metadata:
       title           : Media Presentation
     Duration: N/A, start: 0.000000, bitrate: N/A
       Stream #1:0: Video: h264 (Main), yuv420p(progressive), 1280x720, 15 fps, 15 tbr, 90k tbn, 30 tbc
       Stream #1:1: Audio: aac (LC), 16000 Hz, mono, fltp
    Stream mapping:
     Stream #0:0 (h264) -> pad (graph 0)
     Stream #1:0 (h264) -> setpts (graph 0)
     overlay (graph 0) -> Stream #0:0 (libx264)
     Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    Press [q] to stop, [?] for help
    [libx264 @ 0x7fe286802000] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    [libx264 @ 0x7fe286802000] profile High, level 4.0
    [libx264 @ 0x7fe286802000] 264 - core 152 r2854 e9a5903 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - 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=12 lookahead_threads=2 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=1 weightp=2 keyint=250 keyint_min=15 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
    [hls @ 0x7fe286800000] Opening 'LIVE/file-1524728763.ts' for writing
    Output #0, hls, to 'output.m3u8':
     Metadata:
       title           : Media Presentation
       encoder         : Lavf57.83.100
       Stream #0:0: Video: h264 (libx264), yuv420p, 2560x720, q=-1--1, 15 fps, 90k tbn, 15 tbc (default)
       Metadata:
         encoder         : Lavc57.107.100 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
       Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp, 64 kb/s
       Metadata:
         encoder         : Lavc57.107.100 aac
    [hls @ 0x7fe286800000] Opening 'LIVE/file-1524728782.ts' for writinged=1.09x    
    [hls @ 0x7fe286800000] Opening 'output.m3u8.tmp' for writing
    [hls @ 0x7fe286800000] Opening 'output.m3u8.tmp' for writing=N/A speed=1.07x    
    frame=  396 fps= 15 q=-1.0 Lsize=N/A time=00:00:27.00 bitrate=N/A speed=1.05x    
    video:2946kB audio:147kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
  • Copy m3u8 segment files on a single mp4 format

    26 juin 2018, par parsa

    Hi I used below command for copy m3u8 segment files to a single mp4 file :
    I run this command on c# Process class.

       -y -i "D:\OtherProjects\ConvertProj\video\2018\4\1\m3u8\200p\out.m3u8"  
       -y -i "D:\OtherProjects\ConvertProj\video\2018\4\1\m3u8\360p\out.m3u8"  
       -y -i "D:\OtherProjects\ConvertProj\video\2018\4\1\m3u8\480p\out.m3u8"  
       -y -i "D:\OtherProjects\ConvertProj\video\2018\4\1\m3u8\720p\out.m3u8"
    -map 0 -c:v copy -c:a copy -threads 0 "D:\OtherProjects\ConvertProj\video\2018\4\1\1-200.mp4"
    -map 1 -c:v copy -c:a copy -threads 0 "D:\OtherProjects\ConvertProj\video\2018\4\1\1-360.mp4"
    -map 2 -c:v copy -c:a copy -threads 0 "D:\OtherProjects\ConvertProj\video\2018\4\1\1-480.mp4"
    -map 3 -c:v copy -c:a copy -threads 0 "D:\OtherProjects\ConvertProj\video\2018\4\1\1.mp4"

    I get this Error :

    [hls,applehttp @ 00000000047e3400] Failed to open segment of playlist 0
       Last message repeated 353 times
    [hls,applehttp @ 00000000047e3400] Error when loading first segment 'out0.ts'
    D:\OtherProjects\ConvertProj\video\2018\4\6208-3905956\m3u8\200p\out.m3u8: Invalid data found when processing input

    What is the problem ? Waht I must be do ? Is this a bug ?

  • ffmpeg : How to dowmix from 2 channels 5.1 to 2 stereo streams

    26 avril 2018, par spiceemeup

    I have a mov file with a video stream and several audio streams in two different languages. Here is the output of ffprobe :

    ffprobe version N-89525-gb178278 Copyright (c) 2007-2017 the FFmpeg developers
    built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
    configuration: --prefix=/home/ubuntu/ffmpeg_build --pkg-config-flags=--static
    --extra-cflags=-I/home/ubuntu/ffmpeg_build/include --extra-ldflags=-
    L/home/ubuntu/ffmpeg_build/lib --extra-libs='-lpthread -lm' --
    bindir=/home/ubuntu/bin --enable-gpl --enable-libass --enable-libtwolame --
    enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --
    enable-libvorbis --enable-libx264 --enable-nonfree
    libavutil      56.  6.100 / 56.  6.100
    libavcodec     58.  8.100 / 58.  8.100
    libavformat    58.  3.100 / 58.  3.100
    libavdevice    58.  0.100 / 58.  0.100
    libavfilter     7.  7.100 /  7.  7.100
    libswscale      5.  0.101 /  5.  0.101
    libswresample   3.  0.101 /  3.  0.101
    libpostproc    55.  0.100 / 55.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sony_trim2.mov':
    Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    creation_time   : 2018-04-24T11:15:52.000000Z
    com.apple.finalcutstudio.media.uuid: BEF32C67-F7C2-4D6C-B4AD-B79255E1414B
    Duration: 00:01:26.32, start: 0.000000, bitrate: 197731 kb/s
    Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le(bt709,
    progressive), 1920x1080, 179299 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
     encoder         : Apple ProRes 422 (HQ)
     timecode        : 00:58:32:15
    Stream #0:1(fra): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FL), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:2(fra): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FR), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:3(fra): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:4(fra): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (LFE), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:5(fra): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BL), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:6(fra): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BR), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:7(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FL), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:8(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FR), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:9(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:10(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (LFE), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:11(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BL), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:12(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BR), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:13(fra): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DL), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:14(fra): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DR), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:15(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DL), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:16(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DR), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:17(eng): Data: none (tmcd / 0x64636D74) (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
     timecode        : 00:58:32:15

    I’d like to downmix audio streams #0:1 -> #0:6 to one stereo stream and in the same time downmix audio streams #0:7 -> #0:12 to another stereo stream.
    I tried to map streams and use -ac 2 command but it didn’t work.

    ffmpeg -i myfile.mov -filter:v scale=854x480 -ac 2 -af "pan=stereo| FL < FL + 0.5*FC + 0.6*BL + 0.6*SL | FR < FR + 0.5*FC + 0.6*BR + 0.6*SR" -map 0:1 -map 0:2 -map 0:3 -map 0:4 -map 0:5 -map 0:6 -acodec libmp3lame -b:a 256k -ar 48000 -y -strict experimental -map 0:0 -x264opts bitrate=2000:vbv-maxrate=2000:vbv-bufsize=166 -vcodec libx264 -profile:v high -level:v 4.0 -pix_fmt yuv420p -aspect 16:9 -r 25 -g 50 -f mpegts -muxrate 2000K -y myfile.ts

    Any idea ?
    Thanks in advance for your help.