Recherche avancée

Médias (91)

Autres articles (68)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

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

  • 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

Sur d’autres sites (6161)

  • getting errors from FFMpeg when spawned from .NET

    18 mars 2014, par Brannon

    When I run FFMpeg from the command line like this

    ffmpeg.exe -hwaccel auto -re -i "C:\Users\Public\Videos\Sample Videos\Wildlife.wmv" -an -sn -c:v bmp -pix_fmt bgr24 -f rawvideo - > junk.bin

    it works fine. However, when I spawn the exact same thing (minus > junk.bin) I get this nasty "bad header" error after a few seconds of playback. What is causing this ? I have trouble believing my process blocks the pipe longer than the filesystem does, but it should be able to block the pipe indefinitely without defeating the decoding. The truncated stderr is below. My code to spawn the thing is here.

    ffmpeg version N-60761-g916a792 Copyright (c) 2000-2014 the FFmpeg developers
     built on Feb 19 2014 21:57:22 with gcc 4.8.2 (GCC)
     configuration: --target-os=mingw32 --enable-shared --enable-runtime-cpudetect
     libavutil      52. 65.100 / 52. 65.100
     libavcodec     55. 52.102 / 55. 52.102
     libavformat    55. 33.100 / 55. 33.100
     libavdevice    55. 10.100 / 55. 10.100
     libavfilter     4.  1.103 /  4.  1.103
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
    cygwin warning:
     MS-DOS style path detected: C:\Users\Public\Videos\Sample Videos\Wildlife.wmv
     Preferred POSIX equivalent is: /cygdrive/c/Users/Public/Videos/Sample Videos/Wildlife.wmv
     CYGWIN environment variable option "nodosfilewarning" turns off this warning.
     Consult the user's guide for more details about POSIX paths:
       http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
    [asf @ 0x600059480] Stream #0: not enough frames to estimate rate; consider increasing probesize
    Guessed Channel Layout for  Input Stream #0.0 : stereo
    Input #0, asf, from 'C:\Users\Public\Videos\Sample Videos\Wildlife.wmv':
     Metadata:
       SfOriginalFPS   : 299700
       WMFSDKVersion   : 11.0.6001.7000
       WMFSDKNeeded    : 0.0.0.0000
       comment         : Footage: Small World Productions, Inc; Tourism New Zealand | Producer: Gary F. Spradling | Music: Steve Ball
       title           : Wildlife in HD
       copyright       : © 2008 Microsoft Corporation
       IsVBR           : 0
       DeviceConformanceTemplate: AP@L3
     Duration: 00:00:30.09, start: 0.000000, bitrate: 6977 kb/s
       Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, fltp, 192 kb/s
       Stream #0:1(eng): Video: vc1 (Advanced) (WVC1 / 0x31435657), yuv420p, 1280x720, 5942 kb/s, 29.97 tbr, 1k tbn, 1k tbc
    Output #0, rawvideo, to 'pipe:':
     Metadata:
       SfOriginalFPS   : 299700
       WMFSDKVersion   : 11.0.6001.7000
       WMFSDKNeeded    : 0.0.0.0000
       comment         : Footage: Small World Productions, Inc; Tourism New Zealand | Producer: Gary F. Spradling | Music: Steve Ball
       title           : Wildlife in HD
       copyright       : © 2008 Microsoft Corporation
       IsVBR           : 0
       DeviceConformanceTemplate: AP@L3
       encoder         : Lavf55.33.100
       Stream #0:0(eng): Video: bmp, bgr24, 1280x720, q=2-31, 200 kb/s, 90k tbn, 29.97 tbc
    Stream mapping:
     Stream #0:1 -> #0:0 (vc1 -> bmp)
    Press [q] to stop, [?] for help
    frame=    3 fps=0.0 q=0.0 size=    8100kB time=00:00:00.10 bitrate=662902.1kbits/s    
    frame=   29 fps= 26 q=0.0 size=   78302kB time=00:00:00.96 bitrate=662902.3kbits/s    
    frame=   50 fps= 30 q=0.0 size=  135003kB time=00:00:01.66 bitrate=662902.2kbits/s    
    frame=   65 fps= 30 q=0.0 size=  175503kB time=00:00:02.16 bitrate=662902.2kbits/s    
    frame=   80 fps= 30 q=0.0 size=  216004kB time=00:00:02.66 bitrate=662902.1kbits/s    
    frame=   95 fps= 30 q=0.0 size=  256505kB time=00:00:03.16 bitrate=662902.1kbits/s    
    [asf @ 0x600059480] ff asf bad header 74  at:5053733
    [asf @ 0x600059480] invalid packet_length -1908511255 at:5053740
    [asf @ 0x600059480] ff asf bad header d4  at:5053759
    [asf @ 0x600059480] ff asf skip 55629 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5181733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5189733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5197733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5205733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5213733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5221733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5229733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5237733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5245733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5357733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5365733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5373733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5381733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5493733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5501733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5509733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5517733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5629733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5637733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5645733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5653733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5701733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5709733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5717733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5725733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5805733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5813733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5821733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5829733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5877733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5885733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5893733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5901733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5949733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5957733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5965733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5973733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 15 times
    [asf @ 0x600059480] unexpected packet_replic_size of 2
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 7 times
    [asf @ 0x600059480] ff asf skip 2562 (unknown stream)
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 3 times
    [asf @ 0x600059480] ff asf skip 448 (unknown stream)
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 9 times
    [asf @ 0x600059480] unexpected packet_replic_size of 6
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 7 times
    [asf @ 0x600059480] packet_frag_size is invalid (1749-9)
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 13 times
    [asf @ 0x600059480] packet_frag_size is invalid (1749-9)
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 24 times
    [asf @ 0x600059480] unexpected packet_replic_size of 6
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 6 times
    [asf @ 0x600059480] unexpected packet_replic_size of 5
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 6 times
    [asf @ 0x600059480] packet_frag_size is invalid (1749-9)
    [asf @ 0x600059480] packet_obj_size invalid
    [asf @ 0x600059480] packet_frag_size is invalid (1749-9)
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 2 times
    [asf @ 0x600059480] unexpected packet_replic_size of 5
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 8 times
    [asf @ 0x600059480] unexpected packet_replic_size of 5
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 39 times
    [asf @ 0x600059480] packet_frag_size is invalid (1749-40)
  • Buffer overrun Blackmagic Intensity 4K as input to FFmpeg

    24 mai 2016, par colossus47

    I am trying to take direct video output from a 4k Sony Handycam, via HDMI directly into a Blackmagic Intensity Pro 4K. I can verify that the camera, Hdmi and blackmagic card are working as I can capture and view video using the provided "Media Express" program. When use ffmpeg I do get video output but I also get a buffer overrun.

    Here is the command :

    time ffmpeg -f decklink -i "Intensity Pro 4K@20" -c:v nvenc -b:v 100M -vf yadif=0:-1:0" -pix_fmt yuv420p -crf 29.97 -strict -2 output.mp4

    And I get the following output :

    ffmpeg version N-76538-gb83c849 Copyright (c) 2000-2015 the FFmpeg

    developers built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
    configuration: --enable-nonfree --enable-nvenc --enable-nvresize --extra-cflags=-I../cudautils --extra-ldflags=-L../cudautils --enable-gpl --enable-libx264 --enable-libx265 --enable-decklink --extra-cflags=-I/home/tristan/Downloads/BlackmagicDeckLinkSDK10.6.5/Linux/include --extra-ldflags=-L/home/tristan/Downloads/BlackmagicDeckLinkSDK10.6.5/Linux/include
    libavutil      55.  5.100 / 55.  5.100
    libavcodec     57. 15.100 / 57. 15.100
    libavformat    57. 14.100 / 57. 14.100
    libavdevice    57.  0.100 / 57.  0.100
    libavfilter     6. 15.100 /  6. 15.100
    libswscale      4.  0.100 /  4.  0.100
    libswresample   2.  0.101 /  2.  0.101
    libpostproc    54.  0.100 / 54.  0.100
    [decklink @ 0x1ccd6e0] Found Decklink mode 3840 x 2160 with rate 29.97
    [decklink @ 0x1ccd6e0] Stream #1: not enough frames to estimate rate; consider increasing probesize
    Guessed Channel Layout for  Input Stream #0.0 : stereo
    Input #0, decklink, from 'Intensity Pro 4K@20':
    Duration: N/A, start: 0.000000, bitrate: 1536 kb/s
    Stream #0:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    Stream #0:1: Video: rawvideo (UYVY / 0x59565955), uyvy422, 3840x2160, -5 kb/s, 29.97 tbr, 1000k tbn, 29.97 tbc
    Codec AVOption crf (Select the quality for constant quality mode) specified for output file #0 (output.mp4) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
    File 'output.mp4' already exists. Overwrite ? [y/N] y
    Output #0, mp4, to 'output.mp4':
    Metadata:
    encoder         : Lavf57.14.100
    Stream #0:0: Video: h264 (nvenc) ([33][0][0][0] / 0x0021), yuv420p, 3840x2160, q=-1--1, 100000 kb/s, 29.97 fps, 30k tbn, 29.97 tbc
    Metadata:
    encoder         : Lavc57.15.100 nvenc
    Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
    encoder         : Lavc57.15.100 aac
    Stream mapping:
    Stream #0:1 -> #0:0 (rawvideo (native) -> h264 (nvenc))
    Stream #0:0 -> #0:1 (pcm_s16le (native) -> aac (native))
    Press [q] to stop, [?] for help
    [decklink @ 0x1ccd6e0] Decklink input buffer overrun!:03.15 bitrate=70411.7kbits/s  
    Last message repeated 1 times
    [decklink @ 0x1ccd6e0] Decklink input buffer overrun!:03.54 bitrate=73110.9kbits/s  
    Last message repeated 20 times
    [decklink @ 0x1ccd6e0] Decklink input buffer overrun!:03.92 bitrate=76270.2kbits/s  
    Last message repeated 15 times
    [decklink @ 0x1ccd6e0] Decklink input buffer overrun!:04.28 bitrate=78367.6kbits/s  
    Last message repeated 61 times
    frame=  140 fps= 22 q=-0.0 Lsize=   57266kB time=00:00:04.67 bitrate=100425.2kbits/s  
    video:57187kB audio:72kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.009844%
    [decklink @ 0x1ccd6e0] Decklink input buffer overrun!
    Last message repeated 7 times
    [aac @ 0x1cd7020] Qavg: 215.556

    real   0m8.808s
    user   0m5.785s
    sys   0m1.749s

    Some sort of insight into this, be that just some commands that may fix it the issue, or otherwise.

  • Laggy video and longer duration than the original file

    11 janvier 2021, par jagvetinte

    I'm trying to convert a file with this output in ffmpeg :

    


    ffmpeg version 4.3.1-2021-01-01-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10.2.0 (Rev5, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  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
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
[mpeg2video @ 000002e8de943080] Invalid frame dimensions 0x0.
    Last message repeated 5 times
[s302m @ 000002e8de960780] S302 non PCM mode with data type 28 not supported
[mpeg2video @ 000002e8de943080] Invalid frame dimensions 0x0.
[s302m @ 000002e8de960780] S302 non PCM mode with data type 28 not supported
[mpeg2video @ 000002e8de943080] Invalid frame dimensions 0x0.
[s302m @ 000002e8de960780] S302 non PCM mode with data type 28 not supported
[mpeg2video @ 000002e8de943080] Invalid frame dimensions 0x0.
[s302m @ 000002e8de960780] S302 non PCM mode with data type 28 not supported
[mpeg2video @ 000002e8de943080] Invalid frame dimensions 0x0.
[s302m @ 000002e8de960780] S302 non PCM mode with data type 28 not supported
[mpeg2video @ 000002e8de943080] Invalid frame dimensions 0x0.
    Last message repeated 1 times
[s302m @ 000002e8de960780] S302 non PCM mode with data type 28 not supported
    Last message repeated 1 times
[mpeg2video @ 000002e8de943080] Invalid frame dimensions 0x0.
[s302m @ 000002e8de960780] S302 non PCM mode with data type 28 not supported
[mpeg2video @ 000002e8de943080] Invalid frame dimensions 0x0.
[s302m @ 000002e8de960780] S302 non PCM mode with data type 28 not supported
[mpeg2video @ 000002e8de943080] Invalid frame dimensions 0x0.
[s302m @ 000002e8de960780] S302 non PCM mode with data type 28 not supported
[mpeg2video @ 000002e8de943080] Invalid frame dimensions 0x0.
[s302m @ 000002e8de960780] S302 non PCM mode with data type 28 not supported
    Last message repeated 1 times
[mpeg2video @ 000002e8de943080] Invalid frame dimensions 0x0.
    Last message repeated 1 times
[s302m @ 000002e8de960780] S302 non PCM mode with data type 28 not supported
[mpeg2video @ 000002e8de943080] Invalid frame dimensions 0x0.
[s302m @ 000002e8de960780] S302 non PCM mode with data type 28 not supported
[mpeg2video @ 000002e8de943080] Invalid frame dimensions 0x0.
    Last message repeated 1 times
[s302m @ 000002e8de960780] S302 non PCM mode with data type 28 not supported
    Last message repeated 1 times
[mpeg2video @ 000002e8de943080] Invalid frame dimensions 0x0.
[s302m @ 000002e8de960780] S302 non PCM mode with data type 28 not supported
    Last message repeated 4 times
[mpegts @ 000002e8de93cbc0] decoding for stream 3 failed
[mpegts @ 000002e8de93cbc0] Could not find codec parameters for stream 3 (Audio: s302m (BSSD / 0x44535342), stereo, s32 (20 bit), 2304 kb/s): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'G:\test\test.ts':
  Duration: 03:27:29.61, start: 3.000000, bitrate: 39124 kb/s
  Program 1
    Stream #0:0[0x200]: Video: mpeg2video (4:2:2) ([2][0][0][0] / 0x0002), yuv422p(tv, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 450 tbr, 90k tbn, 50 tbc
    Side data:
      cpb: bitrate max/min/avg: 36898800/0/0 buffer size: 13271040 vbv_delay: N/A
    Stream #0:1[0x1010]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 384 kb/s
    Stream #0:2[0x1020]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 384 kb/s
    Stream #0:3[0x1030]: Audio: s302m (BSSD / 0x44535342), stereo, s32 (20 bit), 2304 kb/s


    


    But whatever setting i try the video ends up very laggy and the duration ends up much longer than the original file, even when I play it through VLC. It is a little hard to explain so I will provide a sample file here with the result after the conversion :

    


    https://drive.google.com/file/d/1ADPF2POSnBCiJkgMES2vOn2wznyBst6W/view?usp=sharing

    


    Is it something wrong with the file or with ffmpeg itself and how do I solve it ?

    


    Firstly I tried this command :

    


    ffmpeg -i "G:\test\test.ts" -map 0:0 -map 0:1 -vcodec libx265 -crf 23 -filter:v yadif=1 -acodec ac3 -ab 384k "C:\Users\User name\Videos\test.mkv"


    


    And then I tried this with the same result :

    


    ffmpeg -i "G:\test\test.ts" -map 0:0 -map 0:1 -vcodec copy -acodec copy "C:\Users\User name\Videos\test.mkv"


    


    The sample file is converted with the first command.