2016-12-06 1 views
0

내가 오류는 FFmpeg 지역 M3U8

[https @ 0x556ad6947520] Protocol not on whitelist 'file,crypto'! index.m3u8: Invalid argument

내가 인수를 추가 시도를

ffmpeg -y -map 0 -an -sn -f md5 - -i index.m3u8

을 FFMPEG하지만 점점이있는 M3U8의 MD5 출력을 얻기 위해 노력하고 있어요에서 MD5를 얻을 수 (here 문서화)

-protocol_whitelist file,http,https,tcp,tls

그러나 네트워크 m3u8 (http)을 사용하면 모든 결과가 예상대로 작동하지만 여전히 동일한 결과가 나타납니다.

$ /usr/bin/ffmpeg -protocol_whitelist file,http,https,tcp,tls -y -map 0:0 -an -sn -f md5 - -i index.m3u8 
ffmpeg version 3.2.1 Copyright (c) 2000-2016 the FFmpeg developers 
built with gcc 5.3.0 (Alpine 5.3.0) 
configuration: --prefix=/usr/local --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib --bindir=/usr/local/bin --disable-doc -- disable-static --enable-shared --disable-ffplay --extra-libs=-ldl --enable-version3 --enable-libfdk_aac --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-gpl --enable-avresample --enable-postproc --enable-nonfree --disable-debug --enable-small --enable-openssl 
libavutil  55. 34.100/55. 34.100 
libavcodec  57. 64.101/57. 64.101 
libavformat 57. 56.100/57. 56.100 
libavdevice 57. 1.100/57. 1.100 
libavfilter  6. 65.100/6. 65.100 
libavresample 3. 1. 0/3. 1. 0 
libswscale  4. 2.100/4. 2.100 
libswresample 2. 3.100/2. 3.100 
libpostproc 54. 1.100/54. 1.100 
[https @ 0x5589b5d435a0] Protocol not on whitelist 'file,crypto'! 
index.m3u8: Invalid argument 
+0

ffmpeg가 openssl 또는 gnutls로 컴파일되어 있습니까? – Mulvya

+0

@Mulvya - 가능 - openssl, 왜? 그것은 md5에 어떻게 든 영향을 줍니까? –

+0

https 입력에 필요합니다. 전체 명령 및 콘솔 출력을 표시하십시오. – Mulvya

답변

0

인수가 좋아, 그들은 단지 올바른 순서로 있어야합니다 : -i가 적용하기 전에

ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}... 

옵션 : 설명서와 도움말에 설명 된대로

ffmpeg -y -protocol_whitelist file,http,https,tcp,tls -i index.m3u8 -map 0 -an -sn -f md5 - 

그 입력. 입력 이후의 옵션이지만 출력 이름이나 파이프가 출력에 적용되기 전에