Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (59)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

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

  • Cutting with ffmpeg a video (recorded with Kodi) gives no image

    1er octobre 2017, par Laure

    I am trying to cut videos I get from a IPTV add-on in Kodi. The original video can be watched with VLC, Mplayer, xine, etc, but after being copied there is no image. According to mediainfo there is a video stream but nothing can be seen. The command I use is :

    ffmpeg -y -i test-1.mpeg  -scodec copy -vcodec copy -c:a copy -map 0 -ss 00:00:10.000 -t 00:00:10.000 test-1-cut.mpeg

    I suppose there is something wrong with the original videos recorded by Kodi, but they give no problem with any player. A short example video is this one :

    https://drive.google.com/open?id=0B0WC80aT-4WrSDNENzhxRUxkOXc

    The output with the -report option is this one :

    ffmpeg started on 2017-09-10 at 02:27:38
    Report written to "ffmpeg-20170910-022738.log"
    Command line:
    ffmpeg -y -report -i test-1.mpeg -scodec copy -vcodec copy -c:a copy -map 0 -ss 00:00:10.000 -t 00:00:10.000 test-1-cut.mpeg
    ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
     configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/i386-linux-gnu --incdir=/usr/include/i386-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enabl  libavutil      54. 31.100 / 54. 31.100
     libavcodec     56. 60.100 / 56. 60.100
     libavformat    56. 40.101 / 56. 40.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 40.101 /  5. 40.101
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.101 /  1.  2.101
     libpostproc    53.  3.100 / 53.  3.100
    Splitting the commandline.
    Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
    Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
    Reading option '-i' ... matched as input url with argument 'test-1.mpeg'.
    Reading option '-scodec' ... matched as option 'scodec' (force subtitle codec ('copy' to copy stream)) with argument 'copy'.
    Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'copy'.
    Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'copy'.
    Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0'.
    Reading option '-ss' ... matched as option 'ss' (set the start time offset) with argument '00:00:10.000'.
    Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '00:00:10.000'.
    Reading option 'test-1-cut.mpeg' ... matched as output url.
    Finished splitting the commandline.
    Parsing a group of options: global .
    Applying option y (overwrite output files) with argument 1.
    Applying option report (generate a report) with argument 1.
    Successfully parsed a group of options.
    Parsing a group of options: input url test-1.mpeg.
    Successfully parsed a group of options.
    Opening an input file: test-1.mpeg.
    [mpegts @ 0x8292960] Format mpegts probed with size=2048 and score=100
    [mpegts @ 0x8292960] stream=0 stream_type=1b pid=65 prog_reg_desc=
    [mpegts @ 0x8292960] stream=1 stream_type=3 pid=c9 prog_reg_desc=
    [mpegts @ 0x8292960] stream=2 stream_type=3 pid=ca prog_reg_desc=
    [mpegts @ 0x8292960] stream=3 stream_type=6 pid=191 prog_reg_desc=
    [mpegts @ 0x8292960] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 8 got 14
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 8 got 14
    [h264 @ 0x8296880] Frame num gap 190 185
    [h264 @ 0x8296880] Frame num gap 190 186
    [h264 @ 0x8296880] Frame num gap 190 187
    [h264 @ 0x8296880] Frame num gap 190 188
    [h264 @ 0x8296880] mmco: unref short failure
    [h264 @ 0x8296880] no picture ooo
    [h264 @ 0x8296880] Increasing reorder buffer to 2
    [h264 @ 0x8296880] no picture ooo
    [h264 @ 0x8296880] Increasing reorder buffer to 3
    [h264 @ 0x8296880] no picture ooo
    [h264 @ 0x8296880] no picture ooo
    [h264 @ 0x8296880] no picture ooo
    [h264 @ 0x8296880] no picture ooo
    [h264 @ 0x8296880] no picture ooo
    [h264 @ 0x8296880] no picture
    [h264 @ 0x8296880] mmco: unref short failure
    [h264 @ 0x8296880] no picture
    [h264 @ 0x8296880] no picture
    [mpegts @ 0x8292960] max_analyze_duration 5000000 reached at 5000000 microseconds st:0
    [NULL @ 0x8298500] start time for stream 3 is not set in estimate_timings_from_pts
    [mpegts @ 0x8292960] PES packet size mismatch
    [mpegts @ 0x8292960] After avformat_find_stream_info() pos: 0 bytes read:4378768 seeks:2 frames:529
    Input #0, mpegts, from 'test-1.mpeg':
     Duration: 00:01:21.19, start: 74380.458944, bitrate: 6510 kb/s
     Program 3102
       Stream #0:0[0x65], 127, 1/90000: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
       Stream #0:1[0xc9](esp), 204, 1/90000: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s (clean effects)
       Stream #0:2[0xca](vo), 198, 1/90000: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s (clean effects)
       Stream #0:3[0x191](esp), 0, 1/90000: Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
    Successfully opened the file.
    Parsing a group of options: output url test-1-cut.mpeg.
    Applying option scodec (force subtitle codec ('copy' to copy stream)) with argument copy.
    Applying option vcodec (force video codec ('copy' to copy stream)) with argument copy.
    Applying option c:a (codec name) with argument copy.
    Applying option map (set input stream mapping) with argument 0.
    Applying option ss (set the start time offset) with argument 00:00:10.000.
    Applying option t (record or transcode "duration" seconds of audio/video) with argument 00:00:10.000.
    Successfully parsed a group of options.
    Opening an output file: test-1-cut.mpeg.
    Successfully opened the file.
    [mpeg @ 0x829a0e0] VBV buffer size not set, using default size of 130KB
    If you want the mpeg file to be compliant to some specification
    Like DVD, VCD or others, make sure you set the correct buffer size
    Output #0, mpeg, to 'test-1-cut.mpeg':
     Metadata:
       encoder         : Lavf56.40.101
       Stream #0:0, 0, 1/90000: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 25 tbc
       Stream #0:1(esp), 0, 1/90000: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, 192 kb/s (clean effects)
       Stream #0:2(vo), 0, 1/90000: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, 128 kb/s (clean effects)
       Stream #0:3(esp), 0, 1/90000: 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:3 -> #0:3 (copy)
    Press [q] to stop, [?] for help
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 8 got 14
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 8 got 14
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 1 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 1 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 8 got 1
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 8 got 1
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 5 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 5 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 8 got 5
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 8 got 5
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 10 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 10 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 8 got 10
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 8 got 10
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 5 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 5 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 8 got 5
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 8 got 5
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 1 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 1 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 8 got 1
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 8 got 1
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 3 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 3 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 8 got 3
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 8 got 3
    frame=  231 fps=0.0 q=-1.0 size=       0kB time=00:00:10.03 bitrate=   0.0kbits/s    
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 13 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 13 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 8 got 13
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 8 got 13
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 0 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 0 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 8 got 0
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 8 got 0
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 10 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 9 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 8 got 9
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 8 got 10
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 6 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 6 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 8 got 6
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 8 got 6
    frame=  231 fps=231 q=-1.0 size=       0kB time=00:00:10.03 bitrate=   0.0kbits/s    
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 0 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 0 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 8 got 0
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 8 got 0
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 2 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 1 got 7
    [mpegts @ 0x8292960] Continuity check failed for pid 100 expected 8 got 1
    [mpegts @ 0x8292960] Continuity check failed for pid 0 expected 8 got 2
    [mpegts @ 0x8292960] PES packet size mismatch
    No more output streams to write to, finishing.
    [mpeg @ 0x829a0e0] First SCR: 0 First DTS: 45000
    frame=  231 fps=149 q=-1.0 Lsize=    7344kB time=00:00:10.03 bitrate=5995.5kbits/s    
    video:6918kB audio:391kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.483494%
    Input file #0 (test-1.mpeg):
     Input stream #0:0 (video): 2016 packets read (60807549 bytes);
     Input stream #0:1 (audio): 3360 packets read (1935360 bytes);
     Input stream #0:2 (audio): 3363 packets read (1291096 bytes);
     Input stream #0:3 (subtitle): 0 packets read (0 bytes);
     Total: 8739 packets (64034005 bytes) demuxed
    Output file #0 (test-1-cut.mpeg):
     Output stream #0:0 (video): 231 packets muxed (7083751 bytes);
     Output stream #0:1 (audio): 417 packets muxed (240192 bytes);
     Output stream #0:2 (audio): 417 packets muxed (160128 bytes);
     Output stream #0:3 (subtitle): 0 packets muxed (0 bytes);
     Total: 1065 packets (7484071 bytes) muxed
    0 frames successfully decoded, 0 decoding errors
    [AVIOContext @ 0x82f9860] Statistics: 0 seeks, 3672 writeouts
    [AVIOContext @ 0x829b1a0] Statistics: 70457008 bytes read, 2 seeks

    Following a suggestion from a comment, I have tried a static build of the last version of ffmpeg. The resulting file again has a video stream but the player cannot play it. The log is the following :

    ffmpeg started on 2017-09-18 at 00:14:22
    Report written to "ffmpeg-20170918-001422.log"
    Command line:
    ./ffmpeg -y -report -i test-1.mpeg -scodec copy -vcodec copy -c:a copy -map 0 -ss 00:00:10.000 -t 00:00:10.000 test-1-cut.mpeg
    ffmpeg version N-87286-g6ce4a635ed-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 6.4.0 (Debian 6.4.0-4) 20170820
     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-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg
     libavutil      55. 74.100 / 55. 74.100
     libavcodec     57.105.100 / 57.105.100
     libavformat    57. 82.100 / 57. 82.100
     libavdevice    57.  8.100 / 57.  8.100
     libavfilter     6.105.100 /  6.105.100
     libswscale      4.  7.103 /  4.  7.103
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100
    Splitting the commandline.
    Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
    Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
    Reading option '-i' ... matched as input url with argument 'test-1.mpeg'.
    Reading option '-scodec' ... matched as option 'scodec' (force subtitle codec ('copy' to copy stream)) with argument 'copy'.
    Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'copy'.
    Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'copy'.
    Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0'.
    Reading option '-ss' ... matched as option 'ss' (set the start time offset) with argument '00:00:10.000'.
    Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '00:00:10.000'.
    Reading option 'test-1-cut.mpeg' ... matched as output url.
    Finished splitting the commandline.
    Parsing a group of options: global .
    Applying option y (overwrite output files) with argument 1.
    Applying option report (generate a report) with argument 1.
    Successfully parsed a group of options.
    Parsing a group of options: input url test-1.mpeg.
    Successfully parsed a group of options.
    Opening an input file: test-1.mpeg.
    [NULL @ 0x4e6d900] Opening 'test-1.mpeg' for reading
    [file @ 0x4e6e1a0] Setting default whitelist 'file,crypto'
    [mpegts @ 0x4e6d900] Format mpegts probed with size=2048 and score=50
    [mpegts @ 0x4e6d900] stream=0 stream_type=1b pid=65 prog_reg_desc=
    [mpegts @ 0x4e6d900] stream=1 stream_type=3 pid=c9 prog_reg_desc=
    [mpegts @ 0x4e6d900] stream=2 stream_type=3 pid=ca prog_reg_desc=
    [mpegts @ 0x4e6d900] stream=3 stream_type=6 pid=191 prog_reg_desc=
    [mpegts @ 0x4e6d900] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0 nb_streams:4
    [mpegts @ 0x4e6d900] Continuity check failed for pid 0 expected 8 got 14
    [mpegts @ 0x4e6d900] Continuity check failed for pid 100 expected 8 got 14
    [h264 @ 0x4e72500] ct_type:0 pic_struct:3
    [AVBSFContext @ 0x4f23c80] nal_unit_type: 9, nal_ref_idc: 0
    [AVBSFContext @ 0x4f23c80] nal_unit_type: 7, nal_ref_idc: 3
    [AVBSFContext @ 0x4f23c80] nal_unit_type: 8, nal_ref_idc: 3
    [AVBSFContext @ 0x4f23c80] nal_unit_type: 6, nal_ref_idc: 0
    [AVBSFContext @ 0x4f23c80] nal_unit_type: 1, nal_ref_idc: 2
    [h264 @ 0x4e72500] nal_unit_type: 9, nal_ref_idc: 0
    [h264 @ 0x4e72500] nal_unit_type: 7, nal_ref_idc: 3
    [h264 @ 0x4e72500] nal_unit_type: 8, nal_ref_idc: 3
    [h264 @ 0x4e72500] nal_unit_type: 6, nal_ref_idc: 0
    [h264 @ 0x4e72500] nal_unit_type: 1, nal_ref_idc: 2
    [h264 @ 0x4e72500] ct_type:0 pic_struct:3
    [h264 @ 0x4e72500] Reinit context to 1920x1088, pix_fmt: yuv420p
    [h264 @ 0x4e72500] Frame num gap 190 185
    [h264 @ 0x4e72500] Frame num gap 190 186
    [h264 @ 0x4e72500] Frame num gap 190 187
    [h264 @ 0x4e72500] Frame num gap 190 188
    [h264 @ 0x4e72500] mmco: unref short failure
    [h264 @ 0x4e72500] ct_type:0 pic_struct:3
    [h264 @ 0x4e72500] nal_unit_type: 9, nal_ref_idc: 0
    [h264 @ 0x4e72500] nal_unit_type: 6, nal_ref_idc: 0
    [h264 @ 0x4e72500] nal_unit_type: 1, nal_ref_idc: 2
    [h264 @ 0x4e72500] ct_type:0 pic_struct:3
    [h264 @ 0x4e72500] no picture ooo
    [h264 @ 0x4e72500] ct_type:0 pic_struct:3
    [h264 @ 0x4e72500] nal_unit_type: 9, nal_ref_idc: 0
    [h264 @ 0x4e72500] nal_unit_type: 8, nal_ref_idc: 3
    [h264 @ 0x4e72500] nal_unit_type: 6, nal_ref_idc: 0
    [h264 @ 0x4e72500] nal_unit_type: 1, nal_ref_idc: 2
    [h264 @ 0x4e72500] ct_type:0 pic_struct:3
    [h264 @ 0x4e72500] Increasing reorder buffer to 2
    [h264 @ 0x4e72500] no picture ooo
    [h264 @ 0x4e72500] ct_type:0 pic_struct:3
    [h264 @ 0x4e72500] nal_unit_type: 9, nal_ref_idc: 0
    [h264 @ 0x4e72500] nal_unit_type: 8, nal_ref_idc: 3
    [h264 @ 0x4e72500] nal_unit_type: 6, nal_ref_idc: 0
    [h264 @ 0x4e72500] nal_unit_type: 1, nal_ref_idc: 0
    [h264 @ 0x4e72500] ct_type:0 pic_struct:3
    [h264 @ 0x4e72500] Increasing reorder buffer to 3
    [h264 @ 0x4e72500] no picture ooo
    [h264 @ 0x4e72500] ct_type:0 pic_struct:3
    [h264 @ 0x4e72500] nal_unit_type: 9, nal_ref_idc: 0
    [h264 @ 0x4e72500] nal_unit_type: 8, nal_ref_idc: 3
    [h264 @ 0x4e72500] nal_unit_type: 6, nal_ref_idc: 0
    [h264 @ 0x4e72500] nal_unit_type: 1, nal_ref_idc: 2
    [h264 @ 0x4e72500] ct_type:0 pic_struct:3
    [h264 @ 0x4e72500] no picture ooo
    [h264 @ 0x4e72500] ct_type:0 pic_struct:3
    [h264 @ 0x4e72500] nal_unit_type: 9, nal_ref_idc: 0
    [h264 @ 0x4e72500] nal_unit_type: 6, nal_ref_idc: 0
    ................. a lot of similar lines .......................
    [h264 @ 0x4e72500] nal_unit_type: 9, nal_ref_idc: 0
    [h264 @ 0x4e72500] nal_unit_type: 8, nal_ref_idc: 3
    [h264 @ 0x4e72500] nal_unit_type: 6, nal_ref_idc: 0
    [h264 @ 0x4e72500] nal_unit_type: 1, nal_ref_idc: 2
    [h264 @ 0x4e72500] ct_type:0 pic_struct:3
    [h264 @ 0x4e72500] ct_type:0 pic_struct:3
    [h264 @ 0x4e72500] nal_unit_type: 9, nal_ref_idc: 0
    [h264 @ 0x4e72500] nal_unit_type: 8, nal_ref_idc: 3
    [h264 @ 0x4e72500] nal_unit_type: 6, nal_ref_idc: 0
    [h264 @ 0x4e72500] nal_unit_type: 1, nal_ref_idc: 0
    [h264 @ 0x4e72500] ct_type:0 pic_struct:3
    [h264 @ 0x4e72500] ct_type:0 pic_struct:3
    .......... a lot of similar lines...........
    [h264 @ 0x4e72500] ct_type:0 pic_struct:3
    [mpegts @ 0x4e6d900] max_analyze_duration 5000000 reached at 5000000 microseconds st:0
    [mpegts @ 0x4e6d900] start time for stream 3 is not set in estimate_timings_from_pts
    [mpegts @ 0x4e6d900] PES packet size mismatch
    [mpegts @ 0x4e6d900] After avformat_find_stream_info() pos: 0 bytes read:4378768 seeks:2 frames:529
    Input #0, mpegts, from 'test-1.mpeg':
     Duration: 00:01:21.19, start: 74380.458944, bitrate: 6510 kb/s
     Program 3102
       Stream #0:0[0x65], 127, 1/90000: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
       Stream #0:1[0xc9](esp), 204, 1/90000: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s (clean effects)
       Stream #0:2[0xca](vo), 198, 1/90000: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s (clean effects)
       Stream #0:3[0x191](esp), 0, 1/90000: Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
    Successfully opened the file.
    Parsing a group of options: output url test-1-cut.mpeg.
    Applying option scodec (force subtitle codec ('copy' to copy stream)) with argument copy.
    Applying option vcodec (force video codec ('copy' to copy stream)) with argument copy.
    Applying option c:a (codec name) with argument copy.
    Applying option map (set input stream mapping) with argument 0.
    Applying option ss (set the start time offset) with argument 00:00:10.000.
    Applying option t (record or transcode "duration" seconds of audio/video) with argument 00:00:10.000.
    Successfully parsed a group of options.
    Opening an output file: test-1-cut.mpeg.
    [file @ 0x4eb6020] Setting default whitelist 'file,crypto'
    Successfully opened the file.
    [mpeg @ 0x4ea6560] VBV buffer size not set, using default size of 130KB
    If you want the mpeg file to be compliant to some specification
    Like DVD, VCD or others, make sure you set the correct buffer size
    Output #0, mpeg, to 'test-1-cut.mpeg':
     Metadata:
       encoder         : Lavf57.82.100
       Stream #0:0, 0, 1/90000: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 25 tbc
       Stream #0:1(esp), 0, 1/90000: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s (clean effects)
       Stream #0:2(vo), 0, 1/90000: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s (clean effects)
       Stream #0:3(esp), 0, 1/90000: 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:3 -> #0:3 (copy)
    Press [q] to stop, [?] for help
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    [NULL @ 0x4e72500] nal_unit_type: 7, nal_ref_idc: 3
    [NULL @ 0x4e72500] nal_unit_type: 8, nal_ref_idc: 3
    [mpegts @ 0x4e6d900] Continuity check failed for pid 0 expected 8 got 14
    [mpegts @ 0x4e6d900] Continuity check failed for pid 100 expected 8 got 14
    [NULL @ 0x4e72500] ct_type:0 pic_struct:3
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    [NULL @ 0x4e72500] ct_type:0 pic_struct:3
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    ........... a lot of similar lines .............
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    [NULL @ 0x4e72500] ct_type:0 pic_struct:3
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    [mpegts @ 0x4e6d900] PES packet size mismatch
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    [NULL @ 0x4e72500] ct_type:0 pic_struct:3
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    No more output streams to write to, finishing.
    [mpeg @ 0x4ea6560] First SCR: 0 First DTS: 45000
    frame=  231 fps=0.0 q=-1.0 Lsize=    7344kB time=00:00:09.99 bitrate=6019.5kbits/s speed=42.1x    
    video:6918kB audio:391kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.483494%
    Input file #0 (test-1.mpeg):
     Input stream #0:0 (video): 2016 packets read (60807549 bytes);
     Input stream #0:1 (audio): 3360 packets read (1935360 bytes);
     Input stream #0:2 (audio): 3363 packets read (1291096 bytes);
     Input stream #0:3 (subtitle): 0 packets read (0 bytes);
     Total: 8739 packets (64034005 bytes) demuxed
    Output file #0 (test-1-cut.mpeg):
     Output stream #0:0 (video): 231 packets muxed (7083751 bytes);
     Output stream #0:1 (audio): 417 packets muxed (240192 bytes);
     Output stream #0:2 (audio): 417 packets muxed (160128 bytes);
     Output stream #0:3 (subtitle): 0 packets muxed (0 bytes);
     Total: 1065 packets (7484071 bytes) muxed
    0 frames successfully decoded, 0 decoding errors
    [AVIOContext @ 0x4ef6300] Statistics: 0 seeks, 3672 writeouts
    [AVIOContext @ 0x4e6e040] Statistics: 70457008 bytes read, 2 seeks
  • Anomalie #4006 : "Fullscreen" demande la validation des champs obligatoires d’un formulaire

    28 septembre 2017, par b b

    Le mode plein écran affiche le même bloc de prévisu que l’onglet prévisualisation, le problème me semble donc bien être le même. De plus, le ticket que je citais en référence signale le même problème aussi lors de l’utilisation du plein écran (cf mail de jean marie), c’est pourquoi je pense que le ticket ici présent est un doublon :)

    Le seul truc qui m’étonne est que tu signales que ton site n’utilise pas HTML5, mais peut-être que saisies force aussi la validation des champs obligatoires en js si HTML5 n’est pas actif, à vérifier et discuter dans le premier ticket donc.

  • How to stream live-video display from a webcam using FFMPEG command on tcl version 8.0 and windows 7 ?

    27 juin 2019, par M. D. P

    I am working on project were i need to have the live video streaming.
    I am able to save the video using the command :

    proc a {}  {
    exec ffmpeg -f dshow -rtbufsize 64M -i "video=Integrated Webcam" -s 1280x720 -f sdl2 -
    }
    a

    this is the current error:
    ffmpeg started on 2017-11-17 at 15:24:45
    Report written to "ffmpeg-20171117-152445.log"
    Command line:
    ffmpeg -f dshow -report -rtbufsize 64M -i "video=Integrated Webcam" -s 1280x720 -f sdl2 -
    ffmpeg version N-87353-g183fd30 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 7.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib
     libavutil      55. 76.100 / 55. 76.100
     libavcodec     57.106.101 / 57.106.101
     libavformat    57. 82.101 / 57. 82.101
     libavdevice    57.  8.101 / 57.  8.101
     libavfilter     6.105.100 /  6.105.100
     libswscale      4.  7.103 /  4.  7.103
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100
    Splitting the commandline.
    Reading option '-f' ... matched as option 'f' (force format) with argument 'dshow'.
    Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
    Reading option '-rtbufsize' ... matched as AVOption 'rtbufsize' with argument '64M'.
    Reading option '-i' ... matched as input url with argument 'video=Integrated Webcam'.
    Reading option '-s' ... matched as option 's' (set frame size (WxH or abbreviation)) with argument '1280x720'.
    Reading option '-f' ... matched as option 'f' (force format) with argument 'sdl2'.
    Reading option '-' ... matched as output url.
    Finished splitting the commandline.
    Parsing a group of options: global .
    Applying option report (generate a report) with argument 1.
    Successfully parsed a group of options.
    Parsing a group of options: input url video=Integrated Webcam.
    Applying option f (force format) with argument dshow.
    Successfully parsed a group of options.
    Opening an input file: video=Integrated Webcam.
    [dshow @ 0000000000e06a40] Selecting pin Capture on video
    dshow passing through packet of type video size   614400 timestamp 5773900280000 orig timestamp 5773900274254 graph timestamp 5773900280000 diff 5746 Integrated Webcam
    [dshow @ 0000000000e06a40] All info found
    Input #0, dshow, from 'video=Integrated Webcam':
     Duration: N/A, start: 577390.028000, bitrate: N/A
       Stream #0:0, 1, 1/10000000: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 30 fps, 30 tbr, 10000k tbn, 10000k tbc
    Successfully opened the file.
    Parsing a group of options: output url -.
    Applying option s (set frame size (WxH or abbreviation)) with argument 1280x720.
    Applying option f (force format) with argument sdl2.
    Successfully parsed a group of options.
    Opening an output file: -.
    Successfully opened the file.
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo (native) -> rawvideo (native))
    Press [q] to stop, [?] for help
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    [rawvideo @ 0000000000d90be0] PACKET SIZE: 614400, STRIDE: 1280
    detected 4 logical cores
    dshow passing through packet of type video size   614400 timestamp 5773900600000 orig timestamp 5773900607587 graph timestamp 5773900600000 diff -7587 Integrated Webcam
    [graph 0 input from stream 0:0 @ 0000000000d96200] Setting 'video_size' to value '640x480'
    [graph 0 input from stream 0:0 @ 0000000000d96200] Setting 'pix_fmt' to value '1'
    [graph 0 input from stream 0:0 @ 0000000000d96200] Setting 'time_base' to value '1/10000000'
    [graph 0 input from stream 0:0 @ 0000000000d96200] Setting 'pixel_aspect' to value '0/1'
    [graph 0 input from stream 0:0 @ 0000000000d96200] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 0:0 @ 0000000000d96200] Setting 'frame_rate' to value '10000000/333333'
    [graph 0 input from stream 0:0 @ 0000000000d96200] w:640 h:480 pixfmt:yuyv422 tb:1/10000000 fr:10000000/333333 sar:0/1 sws_param:flags=2
    [scaler_out_0_0 @ 0000000000d967e0] Setting 'w' to value '1280'
    [scaler_out_0_0 @ 0000000000d967e0] Setting 'h' to value '720'
    [scaler_out_0_0 @ 0000000000d967e0] Setting 'flags' to value 'bicubic'
    [scaler_out_0_0 @ 0000000000d967e0] w:1280 h:720 flags:'bicubic' interl:0
    [AVFilterGraph @ 0000000000d94d40] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
    [scaler_out_0_0 @ 0000000000d967e0] w:640 h:480 fmt:yuyv422 sar:0/1 -> w:1280 h:720 fmt:yuyv422 sar:0/1 flags:0x4
    dshow passing through packet of type video size   614400 timestamp 5773900970000 orig timestamp 5773900940920 graph timestamp 5773900970000 diff 29080 Integrated Webcam
    dshow passing through packet of type video size   614400 timestamp 5773901240000 orig timestamp 5773901274253 graph timestamp 5773901240000 diff -34253 Integrated Webcam
    dshow passing through packet of type video size   614400 timestamp 5773901720000 orig timestamp 5773901607586 graph timestamp 5773901720000 diff 112414 Integrated Webcam
    dshow passing through packet of type video size   614400 timestamp 5773902040000 orig timestamp 5773901940919 graph timestamp 5773902040000 diff 99081 Integrated Webcam
    dshow passing through packet of type video size   614400 timestamp 5773902360000 orig timestamp 5773902274252 graph timestamp 5773902360000 diff 85748 Integrated Webcam
    dshow passing through packet of type video size   614400 timestamp 5773902680000 orig timestamp 5773902607585 graph timestamp 5773902680000 diff 72415 Integrated Webcam
    dshow passing through packet of type video size   614400 timestamp 5773903000000 orig timestamp 5773902940918 graph timestamp 5773903000000 diff 59082 Integrated Webcam
    dshow passing through packet of type video size   614400 timestamp 5773903320000 orig timestamp 5773903274251 graph timestamp 5773903320000 diff 45749 Integrated Webcam
    dshow passing through packet of type video size   614400 timestamp 5773903640000 orig timestamp 5773903607584 graph timestamp 5773903640000 diff 32416 Integrated Webcam
    [sdl,sdl2 @ 0000000000d911c0] w:1280 h:720 fmt:yuyv422 -> w:1280 h:720
    Output #0, sdl,sdl2, to 'pipe:':
     Metadata:
       encoder         : Lavf57.82.101
       Stream #0:0, 0, 333333/10000000: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 1280x720, q=2-31, 442368 kb/s, 30 fps, 30 tbn, 30 tbc
       Metadata:
         encoder         : Lavc57.106.101 rawvideo
    dshow passing through packet of type video size   614400 timestamp 5773903970000 orig timestamp 5773903940917 graph timestamp 5773903970000 diff 29083 Integrated Webcam
    dshow passing through packet of type video size   614400 timestamp 5773904280000 orig timestamp 5773904274250 graph timestamp 5773904280000 diff 5750 Integrated Webcam
    av_interleaved_write_frame(): Operation not permitted
    No more output streams to write to, finishing.
    dshow passing through packet of type video size   614400 timestamp 5773904660000 orig timestamp 5773904607583 graph timestamp 5773904660000 diff 52417 Integrated Webcam
    frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.03 bitrate=N/A speed=0.0797x    
    video:1800kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    Input file #0 (video=Integrated Webcam):
     Input stream #0:0 (video): 1 packets read (614400 bytes); 1 frames decoded;
     Total: 1 packets (614400 bytes) demuxed
    Output file #0 (pipe:):
     Output stream #0:0 (video): 1 frames encoded; 1 packets muxed (1843200 bytes);
     Total: 1 packets (1843200 bytes) muxed
    1 frames successfully decoded, 0 decoding errors
    dshow passing through packet of type video size        0 timestamp 5773907070000 orig timestamp 2644601806342528 graph timestamp 5773907070000 diff -2638827899272528 Integrated Webcam
    Conversion failed!
    % source c:/other/a/d.tcl
    couldn't execute "ffmpeg -f dshow -t 00:00:10 -i {video=Integrated Webcam} -b 5000k -s 1280x720 c:\test\sample-a.avi": no such file or directory
    % source c:/other/a/d.tcl
    invalid command name "ffmpeg"
    % source c:/other/a/d.tcl
    ffmpeg version N-87353-g183fd30 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 7.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib
     libavutil      55. 76.100 / 55. 76.100
     libavcodec     57.106.101 / 57.106.101
     libavformat    57. 82.101 / 57. 82.101
     libavdevice    57.  8.101 / 57.  8.101
     libavfilter     6.105.100 /  6.105.100
     libswscale      4.  7.103 /  4.  7.103
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100
    Input #0, dshow, from 'video=Integrated Webcam':
     Duration: N/A, start: 523220.045000, bitrate: N/A
       Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 30 fps, 30 tbr, 10000k tbn, 10000k tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo (native) -> rawvideo (native))
    Press [q] to stop, [?] for help
    Output #0, sdl,sdl2, to 'pipe:':
     Metadata:
       encoder         : Lavf57.82.101
       Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 1280x720, q=2-31, 442368 kb/s, 30 fps, 30 tbn, 30 tbc
       Metadata:
         encoder         : Lavc57.106.101 rawvideo
    av_interleaved_write_frame(): Operation not permitted
    frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.03 bitrate=N/A speed=0.0471x
    video:1800kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    Conversion failed!
    %

    But, the problem is i don’t want to save the video, I just want to have live video streaming.

    link : https://trac.ffmpeg.org/wiki/StreamingGuide, provide the command for live video streaming, but it want work, the webcem gets started, but live video streaming is not displayed on screen.

    so, can any one help me out to get right "FFMPEG" command or even any TCL script, to get the live video streaming displayed on on my windows 7.

    ffplay started on 2017-11-17 at 12:44:40
    Report written to "ffplay-20171117-124440.log"
    Command line:
    ffplay -report C:/test/sample.avi
    ffplay version N-87353-g183fd30 Copyright (c) 2003-2017 the FFmpeg developers
     built with gcc 7.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib
     libavutil      55. 76.100 / 55. 76.100
     libavcodec     57.106.101 / 57.106.101
     libavformat    57. 82.101 / 57. 82.101
     libavdevice    57.  8.101 / 57.  8.101
     libavfilter     6.105.100 /  6.105.100
     libswscale      4.  7.103 /  4.  7.103
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
    [NULL @ 0000000002aea040] Opening 'C:/test/sample.avi' for reading
    [file @ 0000000002ae9c80] Setting default whitelist 'file,crypto'
    [avi @ 0000000002aea040] Format avi probed with size=2048 and score=100
    [avi @ 0000000002af30c0] use odml:1
    [avi @ 0000000002aea040] Before avformat_find_stream_info() pos: 5678 bytes read:107912 seeks:4 nb_streams:1
    [avi @ 0000000002aea040] All info found
    [avi @ 0000000002aea040] After avformat_find_stream_info() pos: 33035 bytes read:107912 seeks:4 frames:1
    Input #0, avi, from 'C:/test/sample.avi':
     Metadata:
       encoder         : Lavf57.82.101
     Duration: 00:00:10.00, start: 0.000000, bitrate: 5072 kb/s
       Stream #0:0, 1, 1/30: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 5078 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc
    detected 4 logical cores
       nan M-V:    nan fd=   0 aq=    0KB vq=  595KB sq=    0B f=0/0  
    Video frame changed from size:0x0 format:none serial:-1 to size:1280x720 format:yuv420p serial:1
    [ffplay_buffer @ 0000000003a17ee0] Setting 'video_size' to value '1280x720'
    [ffplay_buffer @ 0000000003a17ee0] Setting 'pix_fmt' to value '0'
    [ffplay_buffer @ 0000000003a17ee0] Setting 'time_base' to value '1/30'
    [ffplay_buffer @ 0000000003a17ee0] Setting 'pixel_aspect' to value '1/1'
    [ffplay_buffer @ 0000000003a17ee0] Setting 'frame_rate' to value '30/1'
    [ffplay_buffer @ 0000000003a17ee0] w:1280 h:720 pixfmt:yuv420p tb:1/30 fr:30/1 sar:1/1 sws_param:
    [AVFilterGraph @ 0000000002b14fc0] query_formats: 2 queried, 1 merged, 0 already done, 0 delayed