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

2016-08-08 Thread Carl Eugen Hoyos
2016-08-09 2:48 GMT+02:00 ssshukla26 :
> 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.

It is probably much easier to answer this question if you provide
your decoder patch.
Did you look into isom.c? This is used to map codecs to the mp4
format.

Carl Eugen
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


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

2016-08-08 Thread ssshukla26
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
  libavformat57. 41.100 / 57. 41.100
  libavdevice57.  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
  libpostproc54.  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.00, 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.
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


[Libav-user] Metadata injection

2016-08-08 Thread Tali Harash
Hi;


I'm a new user of ffmpeg.

I would like to know how can I inject metadata to h264 video file which is 
built of single image files. Each image file has its own metadata.

I need to embed the metadata so that when the file is played, the metadata can 
be extracted from the video file, and the user can perform searches in the the 
video file according to the metadata that was extracted before.


Many thanks,


Tali.
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user