Skip to content

Commit 70c2dd3

Browse files
author
alickc
committed
RTSP support for ffmpeg
Added UDP and TCP protocols to "--enable-procol" to supporting RTSP streams over each. Added RTSP to "--enable-demuxer" to supporting RTSP with ffmpeg.
1 parent cdbee35 commit 70c2dd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pythonforandroid/recipes/ffmpeg/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def build_arch(self, arch):
8282
'--enable-parser=aac,ac3,h261,h264,mpegaudio,mpeg4video,mpegvideo,vc1',
8383
'--enable-decoder=aac,h264,mpeg4,mpegvideo',
8484
'--enable-muxer=h264,mov,mp4,mpeg2video',
85-
'--enable-demuxer=aac,h264,m4v,mov,mpegvideo,vc1',
85+
'--enable-demuxer=aac,h264,m4v,mov,mpegvideo,vc1,rtsp',
8686
]
8787

8888
# needed to prevent _ffmpeg.so: version node not found for symbol av_init_packet@LIBAVFORMAT_52
@@ -100,7 +100,7 @@ def build_arch(self, arch):
100100
# other flags:
101101
flags += [
102102
'--enable-filter=aresample,resample,crop,adelay,volume,scale',
103-
'--enable-protocol=file,http,hls',
103+
'--enable-protocol=file,http,hls,udp,tcp',
104104
'--enable-small',
105105
'--enable-hwaccels',
106106
'--enable-pic',

0 commit comments

Comments
 (0)