Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (54)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (5998)

  • How can I remove "original display aspect ratio" from a mp4 file using ffmpeg ?

    21 juin 2020, par aveceux

    I wish to remove the "original display aspect ratio" entry from the video section.

    



    Video
ID                             : 1
Format                         : AVC
Format/Info                    : Advanced Video Codec
Format profile                 : High@L4
Format settings                : CABAC / 4 Ref Frames
Format settings, CABAC         : Yes
Format settings, ReFrames      : 4 frames
Codec ID                       : avc1
Codec ID/Info                  : Advanced Video Coding
Duration                       : 44 min 29 s
Bit rate                       : 5 001 kb/s
Width                          : 1 920 pixels
Height                         : 1 072 pixels
Display aspect ratio           : 16:9
Original display aspect ratio  : 16:9
Frame rate mode                : Constant
Frame rate                     : 25.000 FPS
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Scan type                      : Progressive
Bits/(Pixel*Frame)             : 0.097
Stream size                    : 1.55 GiB (97%)


    



    I tried the following commands,

    



    ffmpeg -i input.mp4 -map_metadata -1 -c copy output.mp4

    



    ffmpeg -i input.mp4 -metadata original_display_aspect_ratio=0 -c copy output.mp4

    



    but none of them worked.

    



    If I want to remove the "original display aspect ratio" entry completely, what ffmpeg command can I use to achieve that ?

    



    Thank you.

    



    EDIT :
The result of mediainfo -f :

    



    General
Count                                    : 331
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : General
Stream identifier                        : 0
Count of video streams                   : 1
Count of audio streams                   : 1
Video_Format_List                        : AVC
Video_Format_WithHint_List               : AVC
Codecs Video                             : AVC
Audio_Format_List                        : AAC LC
Audio_Format_WithHint_List               : AAC LC
Audio codecs                             : AAC LC
Complete name                            : Downloads/3.mp4
File name                                : Downloads/3.mp4
File name                                : Downloads/3
File extension                           : mp4
Format                                   : MPEG-4
Format                                   : MPEG-4
Format/Extensions usually used           : mov mp4 m4v m4a m4b m4p 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v
Commercial name                          : MPEG-4
Format profile                           : Base Media
Internet media type                      : video/mp4
Codec ID                                 : isom
Codec ID                                 : isom (isom/iso2/avc1/mp41/letv)
Codec ID/Url                             : http://www.apple.com/quicktime/download/standalone.html
CodecID_Compatible                       : isom/iso2/avc1/mp41/letv
File size                                : 1715744367
File size                                : 1.60 GiB
File size                                : 2 GiB
File size                                : 1.6 GiB
File size                                : 1.60 GiB
File size                                : 1.598 GiB
Duration                                 : 2670080
Duration                                 : 44 min 30 s
Duration                                 : 44 min 30 s 80 ms
Duration                                 : 44 min 30 s
Duration                                 : 00:44:30.080
Duration                                 : 00:44:29:24
Duration                                 : 00:44:30.080 (00:44:29:24)
Overall bit rate                         : 5140653
Overall bit rate                         : 5 141 kb/s
Frame rate                               : 25.000
Frame rate                               : 25.000 FPS
Frame count                              : 66749
Stream size                              : 3988740
Stream size                              : 3.80 MiB (0%)
Stream size                              : 4 MiB
Stream size                              : 3.8 MiB
Stream size                              : 3.80 MiB
Stream size                              : 3.804 MiB
Stream size                              : 3.80 MiB (0%)
Proportion of this stream                : 0.00232
HeaderSize                               : 1510470
DataSize                                 : 1711755635
FooterSize                               : 2478262
IsStreamable                             : Yes
File creation date                       : UTC 2019-02-20 11:24:46.448
File creation date (local)               : 2019-02-20 19:24:46.448
File last modification date              : UTC 2017-05-26 00:00:00.000
File last modification date (local)      : 2017-05-26 08:00:00.000
Writing application                      : Lavf56.15.102
Writing application                      : Lavf56.15.102

Video
Count                                    : 348
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 1
ID                                       : 1
Format                                   : AVC
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format/Url                               : http://developers.videolan.org/x264.html
Commercial name                          : AVC
Format profile                           : High@L4
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4
Format settings, ReFrames                : 4 frames
Internet media type                      : video/H264
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 2669960
Duration                                 : 44 min 29 s
Duration                                 : 44 min 29 s 960 ms
Duration                                 : 44 min 29 s
Duration                                 : 00:44:29.960
Duration                                 : 00:44:29:24
Duration                                 : 00:44:29.960 (00:44:29:24)
Bit rate                                 : 5000927
Bit rate                                 : 5 001 kb/s
Width                                    : 1920
Width                                    : 1 920 pixels
Height                                   : 1072
Height                                   : 1 072 pixels
Sampled_Width                            : 1920
Sampled_Height                           : 1072
Pixel aspect ratio                       : 0.993
Display aspect ratio                     : 1.779
Display aspect ratio                     : 16:9
Original display aspect ratio            : 1.778
Original display aspect ratio            : 16:9
Rotation                                 : 0.000
Frame rate mode                          : CFR
Frame rate mode                          : Constant
FrameRate_Mode_Original                  : VFR
Frame rate                               : 25.000
Frame rate                               : 25.000 FPS
Frame count                              : 66749
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Chroma subsampling                       : 4:2:0
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.097
Stream size                              : 1669034254
Stream size                              : 1.55 GiB (97%)
Stream size                              : 2 GiB
Stream size                              : 1.6 GiB
Stream size                              : 1.55 GiB
Stream size                              : 1.554 GiB
Stream size                              : 1.55 GiB (97%)
Proportion of this stream                : 0.97278
Codec configuration box                  : avcC

Audio
Count                                    : 277
Count of stream of this kind             : 1
Kind of stream                           : Audio
Kind of stream                           : Audio
Stream identifier                        : 0
StreamOrder                              : 1
ID                                       : 2
ID                                       : 2
Format                                   : AAC
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Commercial name                          : AAC
Format_AdditionalFeatures                : LC
Codec ID                                 : mp4a-40-2
Duration                                 : 2670080
Duration                                 : 44 min 30 s
Duration                                 : 44 min 30 s 80 ms
Duration                                 : 44 min 30 s
Duration                                 : 00:44:30.080
Duration                                 : 00:44:34:09
Duration                                 : 00:44:30.080 (00:44:34:09)
Bit rate mode                            : CBR
Bit rate mode                            : Constant
Bit rate                                 : 128000
Bit rate                                 : 128 kb/s
Channel(s)                               : 2
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Channel positions                        : 2/0/0
Channel layout                           : L R
Samples per frame                        : 1024
Sampling rate                            : 44100
Sampling rate                            : 44.1 kHz
Samples count                            : 117750528
Frame rate                               : 43.066
Frame rate                               : 43.066 FPS (1024 SPF)
Frame count                              : 114991
Compression mode                         : Lossy
Compression mode                         : Lossy
Stream size                              : 42721373
Stream size                              : 40.7 MiB (2%)
Stream size                              : 41 MiB
Stream size                              : 41 MiB
Stream size                              : 40.7 MiB
Stream size                              : 40.74 MiB
Stream size                              : 40.7 MiB (2%)
Proportion of this stream                : 0.02490
Default                                  : Yes
Default                                  : Yes
Alternate group                          : 1
Alternate group                          : 1


    


  • FFMPEG Incorrect Stream Index Matching with -var_stream_map

    28 décembre 2018, par Hugo

    I am using a bash script to run an FFMPEG command to turn an input file called Awoo.mkv into three HLS playlists each with a different resolution, video and audio bitrate.

    This is the script :

    name=gw

    rm /tmp/hls/*

    ./ffmpeg -y \
       -stream_loop -1 -re \
       -i Awoo.mkv \
       -b:v:0 4000k -b:a:0 512k -s:0 1920x1080 -r:0 30 -g:0 90 -preset:0 superfast -tune:0 zerolatency -profile:v:0 high -level:v:0 4 \
       -b:v:1 2500k -b:a:1 256k -s:1 1280x720 -r:1 30 -g:1 90 -preset:1 superfast -tune:1 zerolatency -profile:v:1 high -level:v:1 4 \
       -b:v:2 800k -b:a:2 255k -s:2 960x540 -r:2 30 -g:2 90 -preset:2 superfast -tune:2 zerolatency -profile:v:2 high -level:v:2 4 \
       -hls_time 6 \
       -hls_list_size 2 \
       -hls_flags delete_segments \
       -map 0:v -map 0:a -map 0:v -map 0:a -map 0:v -map 0:a \
       -var_stream_map "v:0,a:0 v:1,a:1 v:2,a:2" \
       -f hls -master_pl_name "${name}.m3u8" \
       -hls_segment_filename "/tmp/hls/${name}_-%d-%v.ts" \
       "/tmp/hls/${name}_%v.m3u8"

    This almost works great, but the output is slightly off...

    If you look at these two lines :

    -b:v:1 2500k -b:a:1 256k -s:1 1280x720 -r:1 30 -g:1 90 -preset:1 superfast -tune:1 zerolatency -profile:v:1 high -level:v:1 4 \
    -b:v:2 800k -b:a:2 255k -s:2 960x540 -r:2 30 -g:2 90 -preset:2 superfast -tune:2 zerolatency -profile:v:2 high -level:v:2 4 \

    A resolution of 1280x720 should have a bitrate of 2500k, a resolution of 960x540 should have a bitrate of 800k.

    This is the relevant output from FFMPEG :

    Stream #0:2(und): Video: h264 (libx264), yuv420p(progressive), 960x540 [SAR 1:1 DAR 16:9], q=-1--1, 2500 kb/s, 30 fps, 90k tbn, 30 tbc (default)
    Metadata:
     CREATION_TIME   : 2017-01-27 05:02:53
     LANGUAGE        : und
     HANDLER_NAME    : VideoHandler
     DURATION        : 00:02:24.310000000
     encoder         : Lavc58.18.100 libx264
    Side data:
     cpb: bitrate max/min/avg: 0/0/2500000 buffer size: 0 vbv_delay: -1
    Stream #0:3(eng): Audio: aac (LC), 44100 Hz, stereo, fltp, 256 kb/s (default)
    Metadata:
     LANGUAGE        : eng
     DURATION        : 00:02:24.348000000
     encoder         : Lavc58.18.100 aac
    Stream #0:4(und): Video: h264 (libx264), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 800 kb/s, 29 fps, 90k tbn, 29 tbc (default)
    Metadata:
     CREATION_TIME   : 2017-01-27 05:02:53
     LANGUAGE        : und
     HANDLER_NAME    : VideoHandler
     DURATION        : 00:02:24.310000000
     encoder         : Lavc58.18.100 libx264
    Side data:
     cpb: bitrate max/min/avg: 0/0/800000 buffer size: 0 vbv_delay: -1
    Stream #0:5(eng): Audio: aac (LC), 44100 Hz, stereo, fltp, 255 kb/s (default)
    Metadata:
     LANGUAGE        : eng
     DURATION        : 00:02:24.348000000
     encoder         : Lavc58.18.100 aac

    Stream #0:2 is given the wrong resolution of 960x540, and therefore also the wrong bitrate of 2500. This should be the resolution of 1280x720, but this is below matched with the bitrate of 800.

    From what I know, the resolutions are showing in the wrong order, if 720 was first and 540 after then everything would match up fine. I’m not sure what’s causing this, I am new to the -var_stream_map.

    If it is relevant, the entire output from FFMPEG is below :

    ffmpeg version 4.0.3-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
     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-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-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg
     libavutil      56. 14.100 / 56. 14.100
     libavcodec     58. 18.100 / 58. 18.100
     libavformat    58. 12.100 / 58. 12.100
     libavdevice    58.  3.100 / 58.  3.100
     libavfilter     7. 16.100 /  7. 16.100
     libswscale      5.  1.100 /  5.  1.100
     libswresample   3.  1.100 /  3.  1.100
     libpostproc    55.  1.100 / 55.  1.100
    Input #0, matroska,webm, from 'Awoo.mkv':
     Metadata:
       COMPATIBLE_BRANDS: iso6avc1mp41
       MAJOR_BRAND     : dash
       MINOR_VERSION   : 0
       ENCODER         : Lavf56.40.101
     Duration: 00:02:24.35, start: 0.000000, bitrate: 1114 kb/s
       Stream #0:0(und): Video: h264 (Main), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 29 fps, 29 tbr, 1k tbn, 58 tbc (default)
       Metadata:
         CREATION_TIME   : 2017-01-27 05:02:53
         LANGUAGE        : und
         HANDLER_NAME    : VideoHandler
         DURATION        : 00:02:24.310000000
       Stream #0:1(eng): Audio: vorbis, 44100 Hz, stereo, fltp (default)
       Metadata:
         LANGUAGE        : eng
         DURATION        : 00:02:24.348000000
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
     Stream #0:1 -> #0:1 (vorbis (native) -> aac (native))
     Stream #0:0 -> #0:2 (h264 (native) -> h264 (libx264))
     Stream #0:1 -> #0:3 (vorbis (native) -> aac (native))
     Stream #0:0 -> #0:4 (h264 (native) -> h264 (libx264))
     Stream #0:1 -> #0:5 (vorbis (native) -> aac (native))
    Press [q] to stop, [?] for help
    [libx264 @ 0x664d1c0] using SAR=1/1
    [libx264 @ 0x664d1c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x664d1c0] profile High, level 4.0, 4:2:0, 8-bit
    [libx264 @ 0x664d1c0] 264 - core 157 r2935 545de2f - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x3 me=dia subme=1 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4 lookahead_threads=4 sliced_threads=1 slices=4 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=1 keyint=90 keyint_min=9 scenecut=40 intra_refresh=0 rc=abr mbtree=0 bitrate=4000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    [libx264 @ 0x664f080] using SAR=1/1
    [libx264 @ 0x664f080] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x664f080] profile High, level 4.0, 4:2:0, 8-bit
    [libx264 @ 0x664f080] 264 - core 157 r2935 545de2f - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x3 me=dia subme=1 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4 lookahead_threads=4 sliced_threads=1 slices=4 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=1 keyint=90 keyint_min=9 scenecut=40 intra_refresh=0 rc=abr mbtree=0 bitrate=2500 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    [libx264 @ 0x6680b80] using SAR=1/1
    [libx264 @ 0x6680b80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x6680b80] profile High, level 4.0, 4:2:0, 8-bit
    [libx264 @ 0x6680b80] 264 - core 157 r2935 545de2f - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - 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=6 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=abr mbtree=1 bitrate=800 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    [hls @ 0x6650000] Opening '/tmp/hls/gw_-0-0.ts' for writing
    [hls @ 0x6650000] Opening '/tmp/hls/gw_-0-1.ts' for writing
    [hls @ 0x6650000] Opening '/tmp/hls/gw_-0-2.ts' for writing
    Output #0, hls, to '/tmp/hls/gw_%v.m3u8':
     Metadata:
       COMPATIBLE_BRANDS: iso6avc1mp41
       MAJOR_BRAND     : dash
       MINOR_VERSION   : 0
       encoder         : Lavf58.12.100
       Stream #0:0(und): Video: h264 (libx264), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 4000 kb/s, 30 fps, 90k tbn, 30 tbc (default)
       Metadata:
         CREATION_TIME   : 2017-01-27 05:02:53
         LANGUAGE        : und
         HANDLER_NAME    : VideoHandler
         DURATION        : 00:02:24.310000000
         encoder         : Lavc58.18.100 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/4000000 buffer size: 0 vbv_delay: -1
       Stream #0:1(eng): Audio: aac (LC), 44100 Hz, stereo, fltp, 512 kb/s (default)
       Metadata:
         LANGUAGE        : eng
         DURATION        : 00:02:24.348000000
         encoder         : Lavc58.18.100 aac
       Stream #0:2(und): Video: h264 (libx264), yuv420p(progressive), 960x540 [SAR 1:1 DAR 16:9], q=-1--1, 2500 kb/s, 30 fps, 90k tbn, 30 tbc (default)
       Metadata:
         CREATION_TIME   : 2017-01-27 05:02:53
         LANGUAGE        : und
         HANDLER_NAME    : VideoHandler
         DURATION        : 00:02:24.310000000
         encoder         : Lavc58.18.100 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/2500000 buffer size: 0 vbv_delay: -1
       Stream #0:3(eng): Audio: aac (LC), 44100 Hz, stereo, fltp, 256 kb/s (default)
       Metadata:
         LANGUAGE        : eng
         DURATION        : 00:02:24.348000000
         encoder         : Lavc58.18.100 aac
       Stream #0:4(und): Video: h264 (libx264), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 800 kb/s, 29 fps, 90k tbn, 29 tbc (default)
       Metadata:
         CREATION_TIME   : 2017-01-27 05:02:53
         LANGUAGE        : und
         HANDLER_NAME    : VideoHandler
         DURATION        : 00:02:24.310000000
         encoder         : Lavc58.18.100 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/800000 buffer size: 0 vbv_delay: -1
       Stream #0:5(eng): Audio: aac (LC), 44100 Hz, stereo, fltp, 255 kb/s (default)
       Metadata:
         LANGUAGE        : eng
         DURATION        : 00:02:24.348000000
         encoder         : Lavc58.18.100 aac
    [hls @ 0x6650000] Opening '/tmp/hls/gw_0.m3u8.tmp' for writing6.50 bitrate=N/A dup=12 drop=0 speed=0.965x    
    [hls @ 0x6650000] Opening '/tmp/hls/gw_1.m3u8.tmp' for writing
    [hls @ 0x6650000] Opening '/tmp/hls/gw_2.m3u8.tmp' for writing
    [hls @ 0x6650000] Opening '/tmp/hls/gw.m3u8' for writing
  • ffmpeg UDP stream error (subtitles)

    18 février 2017, par Peca

    I have HTTP stream which I like to convert to UDP :

    http://192.168.1.44:8001/1:0:1:1F8:1B:2C0:E080000:0:0:0:

    The Video, Audio and Subtitle work perfectly If I try to open this stream in VLC n Ubuntu.
    so far, so good

    Here is otput of FFPROBE

       ffprobe -i http://192.168.1.44:8001/1:0:1:1F8:1B:2C0:E080000:0:0:0:
    ffprobe version git-2017-01-22-f1214ad Copyright (c) 2007-2017 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
     configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab --enable-libwavpack --enable-nvenc
     libavutil      55. 44.100 / 55. 44.100
     libavcodec     57. 75.100 / 57. 75.100
     libavformat    57. 63.100 / 57. 63.100
     libavdevice    57.  2.100 / 57.  2.100
     libavfilter     6. 69.100 /  6. 69.100
     libavresample   3.  2.  0 /  3.  2.  0
     libswscale      4.  3.101 /  4.  3.101
     libswresample   2.  4.100 /  2.  4.100
     libpostproc    54.  2.100 / 54.  2.100
    [mpeg2video @ 0xa56fde0] Invalid frame dimensions 0x0.
       Last message repeated 2 times
    Input #0, mpegts, from 'ht tp://192.168.1.44:8001/1:0:1:1F8:1B:2C0:E080000:0:0:0:':                                                                                                        
     Duration: N/A, start: 35782.514200, bitrate: N/A                                                                                                                                        
     Program 501                                                                                                                                                                            
     Program 502                                                                                                                                                                            
     Program 503                                                                                                                                                                            
     Program 504                                                                                                                                                                            
       Stream #0:0[0x13b1]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc                          
       Stream #0:1[0x13b2]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s                                                                                            
       Stream #0:2[0x1541](srp): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)                                                                                                              
       Stream #0:3[0x1542](slv): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)                                                                                                              
       Stream #0:4[0x1543](hrv): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)                                                                                                              
       Stream #0:5[0x1544](cze): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)                                                                                                              
       Stream #0:6[0x1545](hun): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)                                                                                                              
       Stream #0:7[0x1546](ron): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)                                                                                                              
       Stream #0:8[0x1547](alb): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)                                                                                                              
       Stream #0:9[0x1548](bul): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)                                                                                                              
       Stream #0:10[0x13b9](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)                                                                                                            
     Program 505                                                                                                                                                                            
     Program 506
     Program 507
     Program 508
     Program 509
     Program 510
     Program 511
     Program 515
     Program 516
     Program 517
     Program 518
     Program 519
     Program 520
     Program 521
    Unsupported codec with id 94215 for input stream 10

    So I decide to use FFMPEG to stream to UDP, and filter out unwanted SUB’s

    Here is FFMPEG cmd

    ffmpeg -reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 2048 \
       -i "http://192.168.1.44:8001/1:0:1:1F8:1B:2C0:E080000:0:0:0:" \
       -map 0:0 -vcodec copy \
       -map 0:1 -acodec copy \
       -map 0:2 -map 0:6 -scodec copy \
       -f mpegts udp://239.0.10.3:40000?pkt_size=1316

    And the output is :

       Output #0, mpegts, to 'udp://239.0.10.3:40000?pkt_size=1316':
     Metadata:
       encoder         : Lavf57.63.100
       Stream #0:0: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 720x576 [SAR 64:45 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
       Stream #0:1: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s
       Stream #0:2(srp): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
       Stream #0:3(hun): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (copy)
     Stream #0:2 -> #0:2 (copy)
     Stream #0:6 -> #0:3 (copy)

    And the resulting stream is DISASTER ... audio is choppy, video fall apart etc etc

    If I try same thing WITHOUT sub’s (map 2 and 6) the video and audio is crystal clear and stream work well

    But I need this two sub’s.

    To narrow down the problem, if I try to capture incoming stream into file :

    ffmpeg -reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 2048 \
    -i "http://192.168.1.44:8001/1:0:1:1F8:1B:2C0:E080000:0:0:0:" \
    -map 0:0 -map 0:1 -map 0:2 -map 0:6 \
    -codec copy \
    -y -f mpegts /tmp/tst.ts

    The resulting file is playable, sound OK, video OK, subtitles OK.

    Looks like problem is with OUTPUT to UDP ???

    Any solution for this ?