[Libav-user] Need to understand where demuxer for mp4 is hooked with h264 decoder ?

ssshukla26 ssshukla26 at gmail.com
Tue Aug 9 03:48:36 EEST 2016


Hi,

I am decoding a *mp4 file* using *h264 decoder* (as follows), so where does
this demuxer for mp4 is hooked with h264 decoder in the source ? Please help
I want to hook the demuxer for mp4 with my own decoder.

# *ffmpeg -f mp4 -i no_mans_sky.mp4 out.yuv*

ffmpeg version N-80954-g58dc8bb Copyright (c) 2000-2016 the FFmpeg
developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
  configuration: --prefix=ffmpeg_4_this_pc/ --enable-shared --enable-nonfree
--enable-pic --enable-gpl
--extra-cflags=-I/home/sunny/ffmpeg/sdl/source/SDL-1.2.15/sdl_4_this_pc/include/SDL/
--extra-ldflags='-L/home/sunny/ffmpeg/sdl/source/SDL-1.2.15/sdl_4_this_pc/lib/
-lSDL'
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 50.100 / 57. 50.100
  libavformat    57. 41.100 / 57. 41.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 47.100 /  6. 47.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'no_mans_sky.mp4':
  Metadata:
    major_brand     : dash
    minor_version   : 0
    compatible_brands: iso6avc1mp41
    creation_time   : 2015-10-28 11:49:29
  Duration: 00:01:54.11, start: 0.000000, bitrate: 2810 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], 41 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94
tbc (default)
    Metadata:
      creation_time   : 2015-10-28 11:49:29
      handler_name    : VideoHandler
[rawvideo @ 0x793720] Using AVStream.codec to pass codec parameters to
muxers is deprecated, use AVStream.codecpar instead.
Output #0, rawvideo, to 'out.yuv':
  Metadata:
    major_brand     : dash
    minor_version   : 0
    compatible_brands: iso6avc1mp41
    encoder         : Lavf57.41.100
    Stream #0:0(und): Video: rawvideo (I420 / 0x30323449), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97
tbc (default)
    Metadata:
      creation_time   : 2015-10-28 11:49:29
      handler_name    : VideoHandler
      encoder         : Lavc57.50.100 rawvideo
Stream mapping:
  Stream #0:0 -> #0:0 (*h264 (native)* -> rawvideo (native))
Press [q] to stop, [?] for help
frame= 1833 fps= 40 q=-0.0 Lsize= 5567738kB time=00:01:01.16
bitrate=745750.2kbits/s speed=1.35x



--
View this message in context: http://libav-users.943685.n4.nabble.com/Libav-user-Need-to-understand-where-demuxer-for-mp4-is-hooked-with-h264-decoder-tp4662406.html
Sent from the libav-users mailing list archive at Nabble.com.


More information about the Libav-user mailing list