[FFmpeg-user] How to determine which decoder is used in ffmpeg pipe ?

ssshukla26 ssshukla26 at gmail.com
Mon Jul 4 16:03:24 CEST 2016


Thanks.

Attaching the console output as below. 

*ffplay -f h264 -i test.h264 *
ffplay version N-80283-g84efdab Copyright (c) 2003-2016 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
  libavutil      55. 24.100 / 55. 24.100
  libavcodec     57. 46.100 / 57. 46.100
  libavformat    57. 37.101 / 57. 37.101
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 46.101 /  6. 46.101
  libavresample   3.  0.  0 /  3.  0.  0
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, h264, from 'test.h264':0KB sq=    0B f=0/0   
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264 (High), yuv420p, 1280x720 [SAR 1:1 DAR 16:9],
30 fps, 30 tbr, 1200k tbn, 60 tbc
    nan M-V:    nan fd=   0 aq=    0KB vq=    5KB sq=    0B f=0/0

----------------------------------------------------------------------------------------------------------------------    
    
*ffmpeg -f h264 -i input.h264 -vcodec rawvideo -pix_fmt nv12 -s 1920x1080 -r
30 output.yuv *
ffmpeg version N-79688-g3cb3ddd Copyright (c) 2000-2016 the FFmpeg
developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.1)
  configuration: --enable-nonfree --enable-pic --enable-shared --enable-gpl
--enable-libx264
  libavutil      55. 23.100 / 55. 23.100
  libavcodec     57. 38.100 / 57. 38.100
  libavformat    57. 34.103 / 57. 34.103
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 44.100 /  6. 44.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, h264, from 'input.h264':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9],
25 fps, 30 tbr, 1200k tbn
File 'output.yuv' already exists. Overwrite ? [y/N] y
[rawvideo @ 0xdac420] Using AVStream.codec to pass codec parameters to
muxers is deprecated, use AVStream.codecpar instead.
Output #0, rawvideo, to 'output.yuv':
  Metadata:
    encoder         : Lavf57.34.103
    Stream #0:0: Video: rawvideo (NV12 / 0x3231564E), nv12, 1920x1080 [SAR
1:1 DAR 16:9], q=2-31, 200 kb/s, 30 fps, 30 tbn
    Metadata:
      encoder         : Lavc57.38.100 rawvideo
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
frame=  450 fps= 26 q=-0.0 Lsize= 1366875kB time=00:00:15.00
bitrate=746496.0kbits/s speed=0.855x    
video:1366875kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.000000%

----------------------------------------------------------------------------------------------------------------------

One more thing so I can force command line to use a different decoder using
*-c:v* option ?



--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/How-to-determine-which-decoder-is-used-in-ffmpeg-pipe-tp4676570p4676572.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list