[FFmpeg-devel] [PATCH] add hds demuxer
Steven Liu
lingjiujianke at gmail.com
Fri Oct 14 19:24:21 EEST 2016
2016-10-15 0:10 GMT+08:00 Steven Liu <lingjiujianke at gmail.com>:
>
>
> 2016-10-15 0:04 GMT+08:00 Ricardo Constantino <wiiaboo at gmail.com>:
>
>>
>> On 2016-10-14 14:53, Steven Liu wrote:
>> > @@ -295,6 +295,7 @@ External library support:
>> > on OSX if openssl and gnutls are not used
>> [autodetect]
>> > --enable-x11grab enable X11 grabbing (legacy) [no]
>> > --disable-xlib disable xlib [autodetect]
>> > + --enable-xml2 disable XML parsing using the C library
>> libxml2 [no]
>> "enable XML parsing" here.
>> > --disable-zlib disable zlib [autodetect]
>> >
>> > The following libraries provide various hardware acceleration
>> features:
>> > @@ -1552,6 +1553,7 @@ EXTERNAL_LIBRARY_LIST="
>> > videotoolbox
>> > x11grab
>> > xlib
>> > + xml2
>> > zlib
>> > "
>> >
>> > @@ -2854,6 +2856,7 @@ eac3_demuxer_select="ac3_parser"
>> > f4v_muxer_select="mov_muxer"
>> > fifo_muxer_deps="threads"
>> > flac_demuxer_select="flac_parser"
>> > +hds_demuxer_deps="xml2"
>> > hds_muxer_select="flv_muxer"
>> > hls_muxer_select="mpegts_muxer"
>> > image2_alias_pix_demuxer_select="image2_demuxer"
>> > @@ -5675,6 +5678,7 @@ enabled jni && { [ $target_os =
>> "android" ] && check_header jni.h
>> > check_lib2 "dlfcn.h" dlopen -ldl; }
>> > enabled ladspa && { check_header ladspa.h || die "ERROR:
>> ladspa.h header not found"; }
>> > enabled libiec61883 && require libiec61883
>> libiec61883/iec61883.h iec61883_cmp_connect -lraw1394 -lavc1394 -lrom1394
>> -liec61883
>> > +enabled xml2 && { require_pkg_config libxml-2.0
>> libxml2/libxml/xmlversion.h xmlCheckVersion || disabled-xml2; }
>> Just leave the require_pkg_config. If the user enabled xml2 and it wasn't
>> detected then configure is supposed to fail.
>>
> ok let me test it
>
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>>
>
>
[root at iZ62asjbo9rZ include]# rm -rf libxml2
[root at iZ62asjbo9rZ include]#
[root at iZ62asjbo9rZ include]#
[root at iZ62asjbo9rZ include]#
[root at iZ62asjbo9rZ include]# exit
exit
[git at iZ62asjbo9rZ include]$
[git at iZ62asjbo9rZ include]$ cd ~/FFmpeg_down/linux/
[git at iZ62asjbo9rZ linux]$ ../configure --disable-everything
--enable-demuxer=hds --disable-yasm --enable-protocol=file
--enable-decoder=h264 --enable-decoder=aac --enable-xml2
ERROR: libxml-2.0 not found using pkg-config
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.
the above is:
+enabled xml2 && { require_pkg_config libxml-2.0
libxml2/libxml/xmlversion.h xmlCheckVersion; }
[git at iZ62asjbo9rZ linux]$ vim 。。、^C
[git at iZ62asjbo9rZ linux]$
[git at iZ62asjbo9rZ linux]$ vim ../configure
[git at iZ62asjbo9rZ linux]$ ../configure --disable-everything
--enable-demuxer=hds --disable-yasm --enable-protocol=file
--enable-decoder=h264 --enable-decoder=aac --enable-xml2
ERROR: libxml-2.0 not found using pkg-config
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.
[git at iZ62asjbo9rZ linux]$
the above is:
+enabled xml2 && { require_pkg_config libxml-2.0
libxml2/libxml/xmlversion.h xmlCheckVersion || disabled xml2; }
this is reference:
enabled avfoundation_indev && { check_header_objcc
AVFoundation/AVFoundation.h || disable avfoundation_indev; }
More information about the ffmpeg-devel
mailing list