[FFmpeg-user] why ffplay cannot decode a sequence that can be decoded by ffmpeg

mohammed bey ahmed khernache mohbeyinfo at gmail.com
Mon Jun 11 13:47:58 EEST 2018


Hello again,
I tried to run *ffplay* without "-*nodisp*" option, where being connected
to my board via *Remote Desktop Connection*.
Unfortunately, ffplay couldn't play it.
Below is the output:
---------------------------------- output of ffplay
-------------------------------------------------
root at odroid:~/HEVC# ffplay jellyfish-10-mbps-hd-hevc.mkv
ffplay version N-91111-g380ca1bc Copyright (c) 2003-2018 the FFmpeg
developers
  built with gcc 4.8 (Ubuntu/Linaro 4.8.2-19ubuntu1)
  configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
--extra-cflags=-I/root/ffmpeg_build/include
--extra-ldflags=-L/root/ffmpeg_build/lib --extra-libs='-lpthread -lm'
--bindir=/root/bin --enable-gpl --enable-libass --enable-libfdk-aac
--enable-libfreetype --enable-libmp3lame --enable-libopus
--enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libx265 --arch=arm --arch=arm --enable-neon --enable-thumb
--enable-optimizations --enable-pthreads --enable-gray --enable-version3
--enable-postproc --enable-libxcb --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libdc1394 --enable-libgsm
--enable-libopenjpeg --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-libxvid --enable-yasm --enable-nonfree
  libavutil      56. 18.102 / 56. 18.102
  libavcodec     58. 19.102 / 58. 19.102
  libavformat    58. 13.102 / 58. 13.102
  libavdevice    58.  4.100 / 58.  4.100
  libavfilter     7. 23.100 /  7. 23.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
Input #0, matroska,webm, from 'jellyfish-10-mbps-hd-hevc.mkv':0/0
  Metadata:
    COMPATIBLE_BRANDS: iso4hvc1iso6
    MAJOR_BRAND     : iso4
    MINOR_VERSION   : 1
    ENCODER         : Lavf56.3.100
  Duration: 00:00:30.10, start: 0.067000, bitrate: 9978 kb/s
    Stream #0:0(und): Video: hevc (Main), yuv420p(tv), 1920x1080 [SAR 1:1
DAR 16:9], 29.97 fps, 29.97 tbr, 1k tbn, 29.97 tbc (default)
    Metadata:
      CREATION_TIME   : 2016-02-04 22:41:00
      LANGUAGE        : und
      HANDLER_NAME    : hevc at GPAC0.5.2-DEV-rev565-g71748d7-ab-suite
[swscaler @ 0xab3e7360] No accelerated colorspace conversion found from
yuv420p to bgra.
X Error of failed request:  GLXBadRenderRequestKB sq=    0B f=0/0
  Major opcode of failed request:  148 (GLX)
  Minor opcode of failed request:  1 (X_GLXRender)
  Serial number of failed request:  311
  Current serial number in output stream:  313
--------------------------------------------------------------------------------------------------

Best regards

On Sun, Jun 10, 2018 at 2:25 AM Moritz Barsnick <barsnick at gmx.net> wrote:

> On Sat, Jun 09, 2018 at 21:44:28 +0200, Carl Eugen Hoyos wrote:
> > ffmpeg (the application) supports several audio output
> > devices like alsa, pulse and oss. They may be what
> > you need.
>
> But Mohammed's input video didn't even have an audio stream?
>
> I'm still convinced it's either an ffplay bug, or it's intended.
> "The file contains only audio, and '-an' is given, so refuse to play."
> "The file contains only video, and '-vn'/'-nodisp' is given, so refuse to
> play."
> "The file contains audio and video, and at least one of them isn't
> disabled, so go ahead with decoding."
>
> I'm not sure the video decoder is used with '-vn'/'-nodisp', so perhaps
> running ffplay like this doesn't fulfill Mohammed's cause.
> "ffmpeg -i ... -f null -" may be more effective.
>
> $ ffmpeg -f lavfi -i testsrc -t 10 test.vid.mp4
> $ ffmpeg -f lavfi -i sine -t 10 test.aud.mp4
> $ ffmpeg -f lavfi -i testsrc -f lavfi -i sine -t 10 test.vid+aud.mp4
> $ ffplay -nodisp test.vid+aud.mp4
> $ ffplay -nodisp test.aud.mp4
> $ ffplay -nodisp test.vid.mp4
>
> The last one fails with said error. So does
> $ ffplay -an test.aud.mp4
>
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list