Open wendao8469759 opened 5 years ago
F:\utils\jdk\jdk8\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:58979,suspend=y,server=n -javaagent:F:\utils\IDEA\lib\rt\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath F:\utils\jdk\jdk8\jre\lib\charsets.jar;F:\utils\jdk\jdk8\jre\lib\deploy.jar;F:\utils\jdk\jdk8\jre\lib\ext\access-bridge-64.jar;F:\utils\jdk\jdk8\jre\lib\ext\cldrdata.jar;F:\utils\jdk\jdk8\jre\lib\ext\dnsns.jar;F:\utils\jdk\jdk8\jre\lib\ext\jaccess.jar;F:\utils\jdk\jdk8\jre\lib\ext\jfxrt.jar;F:\utils\jdk\jdk8\jre\lib\ext\localedata.jar;F:\utils\jdk\jdk8\jre\lib\ext\nashorn.jar;F:\utils\jdk\jdk8\jre\lib\ext\sunec.jar;F:\utils\jdk\jdk8\jre\lib\ext\sunjce_provider.jar;F:\utils\jdk\jdk8\jre\lib\ext\sunmscapi.jar;F:\utils\jdk\jdk8\jre\lib\ext\sunpkcs11.jar;F:\utils\jdk\jdk8\jre\lib\ext\zipfs.jar;F:\utils\jdk\jdk8\jre\lib\javaws.jar;F:\utils\jdk\jdk8\jre\lib\jce.jar;F:\utils\jdk\jdk8\jre\lib\jfr.jar;F:\utils\jdk\jdk8\jre\lib\jfxswt.jar;F:\utils\jdk\jdk8\jre\lib\jsse.jar;F:\utils\jdk\jdk8\jre\lib\management-agent.jar;F:\utils\jdk\jdk8\jre\lib\plugin.jar;F:\utils\jdk\jdk8\jre\lib\resources.jar;F:\utils\jdk\jdk8\jre\lib\rt.jar;F:\workspace\pw-wangtao\target\classes;E:\m2localRepository\net\sf\json-lib\json-lib\2.4\json-lib-2.4-jdk15.jar;E:\m2localRepository\commons-beanutils\commons-beanutils\1.8.0\commons-beanutils-1.8.0.jar;E:\m2localRepository\commons-collections\commons-collections\3.2.1\commons-collections-3.2.1.jar;E:\m2localRepository\commons-lang\commons-lang\2.5\commons-lang-2.5.jar;E:\m2localRepository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;E:\m2localRepository\net\sf\ezmorph\ezmorph\1.0.6\ezmorph-1.0.6.jar;E:\m2localRepository\org\springframework\boot\spring-boot-starter-web\2.0.3.RELEASE\spring-boot-starter-web-2.0.3.RELEASE.jar;E:\m2localRepository\org\springframework\boot\spring-boot-starter\2.0.3.RELEASE\spring-boot-starter-2.0.3.RELEASE.jar;E:\m2localRepository\org\springframework\boot\spring-boot\2.0.3.RELEASE\spring-boot-2.0.3.RELEASE.jar;E:\m2localRepository\org\springframework\boot\spring-boot-autoconfigure\2.0.3.RELEASE\spring-boot-autoconfigure-2.0.3.RELEASE.jar;E:\m2localRepository\org\springframework\boot\spring-boot-starter-logging\2.0.3.RELEASE\spring-boot-starter-logging-2.0.3.RELEASE.jar;E:\m2localRepository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;E:\m2localRepository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;E:\m2localRepository\org\apache\logging\log4j\log4j-to-slf4j\2.10.0\log4j-to-slf4j-2.10.0.jar;E:\m2localRepository\org\apache\logging\log4j\log4j-api\2.10.0\log4j-api-2.10.0.jar;E:\m2localRepository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;E:\m2localRepository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;E:\m2localRepository\org\yaml\snakeyaml\1.19\snakeyaml-1.19.jar;E:\m2localRepository\org\springframework\boot\spring-boot-starter-json\2.0.3.RELEASE\spring-boot-starter-json-2.0.3.RELEASE.jar;E:\m2localRepository\com\fasterxml\jackson\core\jackson-databind\2.9.6\jackson-databind-2.9.6.jar;E:\m2localRepository\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;E:\m2localRepository\com\fasterxml\jackson\core\jackson-core\2.9.6\jackson-core-2.9.6.jar;E:\m2localRepository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.9.6\jackson-datatype-jdk8-2.9.6.jar;E:\m2localRepository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.6\jackson-datatype-jsr310-2.9.6.jar;E:\m2localRepository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.9.6\jackson-module-parameter-names-2.9.6.jar;E:\m2localRepository\org\springframework\boot\spring-boot-starter-tomcat\2.0.3.RELEASE\spring-boot-starter-tomcat-2.0.3.RELEASE.jar;E:\m2localRepository\org\apache\tomcat\embed\tomcat-embed-core\8.5.31\tomcat-embed-core-8.5.31.jar;E:\m2localRepository\org\apache\tomcat\embed\tomcat-embed-el\8.5.31\tomcat-embed-el-8.5.31.jar;E:\m2localRepository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.31\tomcat-embed-websocket-8.5.31.jar;E:\m2localRepository\org\hibernate\validator\hibernate-validator\6.0.10.Final\hibernate-validator-6.0.10.Final.jar;E:\m2localRepository\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;E:\m2localRepository\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;E:\m2localRepository\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar;E:\m2localRepository\org\springframework\spring-web\5.0.7.RELEASE\spring-web-5.0.7.RELEASE.jar;E:\m2localRepository\org\springframework\spring-beans\5.0.7.RELEASE\spring-beans-5.0.7.RELEASE.jar;E:\m2localRepository\org\springframework\spring-webmvc\5.0.7.RELEASE\spring-webmvc-5.0.7.RELEASE.jar;E:\m2localRepository\org\springframework\spring-aop\5.0.7.RELEASE\spring-aop-5.0.7.RELEASE.jar;E:\m2localRepository\org\springframework\spring-context\5.0.7.RELEASE\spring-context-5.0.7.RELEASE.jar;E:\m2localRepository\org\springframework\spring-expression\5.0.7.RELEASE\spring-expression-5.0.7.RELEASE.jar;E:\m2localRepository\org\springframework\boot\spring-boot-starter-data-redis\2.0.3.RELEASE\spring-boot-starter-data-redis-2.0.3.RELEASE.jar;E:\m2localRepository\org\springframework\data\spring-data-redis\2.0.8.RELEASE\spring-data-redis-2.0.8.RELEASE.jar;E:\m2localRepository\org\springframework\data\spring-data-keyvalue\2.0.8.RELEASE\spring-data-keyvalue-2.0.8.RELEASE.jar;E:\m2localRepository\org\springframework\data\spring-data-commons\2.0.8.RELEASE\spring-data-commons-2.0.8.RELEASE.jar;E:\m2localRepository\org\springframework\spring-tx\5.0.7.RELEASE\spring-tx-5.0.7.RELEASE.jar;E:\m2localRepository\org\springframework\spring-oxm\5.0.7.RELEASE\spring-oxm-5.0.7.RELEASE.jar;E:\m2localRepository\org\springframework\spring-context-support\5.0.7.RELEASE\spring-context-support-5.0.7.RELEASE.jar;E:\m2localRepository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;E:\m2localRepository\io\lettuce\lettuce-core\5.0.4.RELEASE\lettuce-core-5.0.4.RELEASE.jar;E:\m2localRepository\io\projectreactor\reactor-core\3.1.8.RELEASE\reactor-core-3.1.8.RELEASE.jar;E:\m2localRepository\org\reactivestreams\reactive-streams\1.0.2\reactive-streams-1.0.2.jar;E:\m2localRepository\io\netty\netty-common\4.1.25.Final\netty-common-4.1.25.Final.jar;E:\m2localRepository\io\netty\netty-transport\4.1.25.Final\netty-transport-4.1.25.Final.jar;E:\m2localRepository\io\netty\netty-buffer\4.1.25.Final\netty-buffer-4.1.25.Final.jar;E:\m2localRepository\io\netty\netty-resolver\4.1.25.Final\netty-resolver-4.1.25.Final.jar;E:\m2localRepository\io\netty\netty-handler\4.1.25.Final\netty-handler-4.1.25.Final.jar;E:\m2localRepository\io\netty\netty-codec\4.1.25.Final\netty-codec-4.1.25.Final.jar;E:\m2localRepository\org\springframework\spring-core\5.0.7.RELEASE\spring-core-5.0.7.RELEASE.jar;E:\m2localRepository\org\springframework\spring-jcl\5.0.7.RELEASE\spring-jcl-5.0.7.RELEASE.jar;F:\workspace\pw-wangtao\src\main\webapp\WEB-INF\lib\FFmpegCommandHandler.jar;E:\m2localRepository\net\sourceforge\javacsv\javacsv\2.0\javacsv-2.0.jar;F:\utils\IDEA\lib\idea_rt.jar pw.wangtao.core.rtspTortmp.RtspToRtmp Connected to the target VM, address: '127.0.0.1:58979', transport: 'socket' 尝试从web目录读取配置文件:/F:/workspace/pw-wangtao/target/classes/loadFFmpeg.properties 没找到配置文件,读取默认配置文件 读取默认配置文件:defaultFFmpegConfig.properties 加载配置文件... 加载配置文件完毕 读取的配置项:{path=E:/gitSrc/ffmpeg/ffmpeg-20181130-ba71ebb-win64-static/bin/, defaultpathEnable=true, debug=true, size=100, #ffmpegæ§è¡è·¯å¾ï¼ä¸è¬ä¸ºffmpegçå®è£ ç®å½ï¼è¯¥è·¯å¾åªè½æ¯ç®å½ï¼ä¸è½ä¸ºå ·ä½æ件路å¾ï¼å¦åä¼æ¥é=} 转换后的对象:FFmpegConfig [path=E:/gitSrc/ffmpeg/ffmpeg-20181130-ba71ebb-win64-static/bin/, debug=true, size=100] 执行命令:E:/gitSrc/ffmpeg/ffmpeg-20181130-ba71ebb-win64-static/bin/ffmpeg -i rtsp://admin:123456@117.22.211.163:554/Streaming/Channels/1 -vcodec h264 -f flv -an rtmp://192.168.1.170/live/test1231 test1231 test1231开始推流! test1231发生网络异常丢包,消息体:[rtsp @ 00000270b3f0a180] UDP timeout, retrying with TCP test1231发生网络异常丢包,消息体:[rtsp @ 00000270b3f0a180] method PAUSE failed: 551 Option not supported test1231发生网络异常丢包,消息体:[rtsp @ 00000270b3f0a180] UDP timeout, retrying with TCP test1231发生网络异常丢包,消息体:[rtsp @ 00000270b3f0a180] method PAUSE failed: 551 Option not supported test1231:frame= 0 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x test1231:frame= 0 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.00 bitrate=N/A speed= 0x Disconnected from the target VM, address: '127.0.0.1:58979', transport: 'socket'
Process finished with exit code 0
如果使用无效的视频源地址或者网络异常,就会出现这个问题,检查一下视频源是不是有效的
F:\utils\jdk\jdk8\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:58979,suspend=y,server=n -javaagent:F:\utils\IDEA\lib\rt\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath F:\utils\jdk\jdk8\jre\lib\charsets.jar;F:\utils\jdk\jdk8\jre\lib\deploy.jar;F:\utils\jdk\jdk8\jre\lib\ext\access-bridge-64.jar;F:\utils\jdk\jdk8\jre\lib\ext\cldrdata.jar;F:\utils\jdk\jdk8\jre\lib\ext\dnsns.jar;F:\utils\jdk\jdk8\jre\lib\ext\jaccess.jar;F:\utils\jdk\jdk8\jre\lib\ext\jfxrt.jar;F:\utils\jdk\jdk8\jre\lib\ext\localedata.jar;F:\utils\jdk\jdk8\jre\lib\ext\nashorn.jar;F:\utils\jdk\jdk8\jre\lib\ext\sunec.jar;F:\utils\jdk\jdk8\jre\lib\ext\sunjce_provider.jar;F:\utils\jdk\jdk8\jre\lib\ext\sunmscapi.jar;F:\utils\jdk\jdk8\jre\lib\ext\sunpkcs11.jar;F:\utils\jdk\jdk8\jre\lib\ext\zipfs.jar;F:\utils\jdk\jdk8\jre\lib\javaws.jar;F:\utils\jdk\jdk8\jre\lib\jce.jar;F:\utils\jdk\jdk8\jre\lib\jfr.jar;F:\utils\jdk\jdk8\jre\lib\jfxswt.jar;F:\utils\jdk\jdk8\jre\lib\jsse.jar;F:\utils\jdk\jdk8\jre\lib\management-agent.jar;F:\utils\jdk\jdk8\jre\lib\plugin.jar;F:\utils\jdk\jdk8\jre\lib\resources.jar;F:\utils\jdk\jdk8\jre\lib\rt.jar;F:\workspace\pw-wangtao\target\classes;E:\m2localRepository\net\sf\json-lib\json-lib\2.4\json-lib-2.4-jdk15.jar;E:\m2localRepository\commons-beanutils\commons-beanutils\1.8.0\commons-beanutils-1.8.0.jar;E:\m2localRepository\commons-collections\commons-collections\3.2.1\commons-collections-3.2.1.jar;E:\m2localRepository\commons-lang\commons-lang\2.5\commons-lang-2.5.jar;E:\m2localRepository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;E:\m2localRepository\net\sf\ezmorph\ezmorph\1.0.6\ezmorph-1.0.6.jar;E:\m2localRepository\org\springframework\boot\spring-boot-starter-web\2.0.3.RELEASE\spring-boot-starter-web-2.0.3.RELEASE.jar;E:\m2localRepository\org\springframework\boot\spring-boot-starter\2.0.3.RELEASE\spring-boot-starter-2.0.3.RELEASE.jar;E:\m2localRepository\org\springframework\boot\spring-boot\2.0.3.RELEASE\spring-boot-2.0.3.RELEASE.jar;E:\m2localRepository\org\springframework\boot\spring-boot-autoconfigure\2.0.3.RELEASE\spring-boot-autoconfigure-2.0.3.RELEASE.jar;E:\m2localRepository\org\springframework\boot\spring-boot-starter-logging\2.0.3.RELEASE\spring-boot-starter-logging-2.0.3.RELEASE.jar;E:\m2localRepository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;E:\m2localRepository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;E:\m2localRepository\org\apache\logging\log4j\log4j-to-slf4j\2.10.0\log4j-to-slf4j-2.10.0.jar;E:\m2localRepository\org\apache\logging\log4j\log4j-api\2.10.0\log4j-api-2.10.0.jar;E:\m2localRepository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;E:\m2localRepository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;E:\m2localRepository\org\yaml\snakeyaml\1.19\snakeyaml-1.19.jar;E:\m2localRepository\org\springframework\boot\spring-boot-starter-json\2.0.3.RELEASE\spring-boot-starter-json-2.0.3.RELEASE.jar;E:\m2localRepository\com\fasterxml\jackson\core\jackson-databind\2.9.6\jackson-databind-2.9.6.jar;E:\m2localRepository\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;E:\m2localRepository\com\fasterxml\jackson\core\jackson-core\2.9.6\jackson-core-2.9.6.jar;E:\m2localRepository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.9.6\jackson-datatype-jdk8-2.9.6.jar;E:\m2localRepository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.6\jackson-datatype-jsr310-2.9.6.jar;E:\m2localRepository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.9.6\jackson-module-parameter-names-2.9.6.jar;E:\m2localRepository\org\springframework\boot\spring-boot-starter-tomcat\2.0.3.RELEASE\spring-boot-starter-tomcat-2.0.3.RELEASE.jar;E:\m2localRepository\org\apache\tomcat\embed\tomcat-embed-core\8.5.31\tomcat-embed-core-8.5.31.jar;E:\m2localRepository\org\apache\tomcat\embed\tomcat-embed-el\8.5.31\tomcat-embed-el-8.5.31.jar;E:\m2localRepository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.31\tomcat-embed-websocket-8.5.31.jar;E:\m2localRepository\org\hibernate\validator\hibernate-validator\6.0.10.Final\hibernate-validator-6.0.10.Final.jar;E:\m2localRepository\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;E:\m2localRepository\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;E:\m2localRepository\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar;E:\m2localRepository\org\springframework\spring-web\5.0.7.RELEASE\spring-web-5.0.7.RELEASE.jar;E:\m2localRepository\org\springframework\spring-beans\5.0.7.RELEASE\spring-beans-5.0.7.RELEASE.jar;E:\m2localRepository\org\springframework\spring-webmvc\5.0.7.RELEASE\spring-webmvc-5.0.7.RELEASE.jar;E:\m2localRepository\org\springframework\spring-aop\5.0.7.RELEASE\spring-aop-5.0.7.RELEASE.jar;E:\m2localRepository\org\springframework\spring-context\5.0.7.RELEASE\spring-context-5.0.7.RELEASE.jar;E:\m2localRepository\org\springframework\spring-expression\5.0.7.RELEASE\spring-expression-5.0.7.RELEASE.jar;E:\m2localRepository\org\springframework\boot\spring-boot-starter-data-redis\2.0.3.RELEASE\spring-boot-starter-data-redis-2.0.3.RELEASE.jar;E:\m2localRepository\org\springframework\data\spring-data-redis\2.0.8.RELEASE\spring-data-redis-2.0.8.RELEASE.jar;E:\m2localRepository\org\springframework\data\spring-data-keyvalue\2.0.8.RELEASE\spring-data-keyvalue-2.0.8.RELEASE.jar;E:\m2localRepository\org\springframework\data\spring-data-commons\2.0.8.RELEASE\spring-data-commons-2.0.8.RELEASE.jar;E:\m2localRepository\org\springframework\spring-tx\5.0.7.RELEASE\spring-tx-5.0.7.RELEASE.jar;E:\m2localRepository\org\springframework\spring-oxm\5.0.7.RELEASE\spring-oxm-5.0.7.RELEASE.jar;E:\m2localRepository\org\springframework\spring-context-support\5.0.7.RELEASE\spring-context-support-5.0.7.RELEASE.jar;E:\m2localRepository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;E:\m2localRepository\io\lettuce\lettuce-core\5.0.4.RELEASE\lettuce-core-5.0.4.RELEASE.jar;E:\m2localRepository\io\projectreactor\reactor-core\3.1.8.RELEASE\reactor-core-3.1.8.RELEASE.jar;E:\m2localRepository\org\reactivestreams\reactive-streams\1.0.2\reactive-streams-1.0.2.jar;E:\m2localRepository\io\netty\netty-common\4.1.25.Final\netty-common-4.1.25.Final.jar;E:\m2localRepository\io\netty\netty-transport\4.1.25.Final\netty-transport-4.1.25.Final.jar;E:\m2localRepository\io\netty\netty-buffer\4.1.25.Final\netty-buffer-4.1.25.Final.jar;E:\m2localRepository\io\netty\netty-resolver\4.1.25.Final\netty-resolver-4.1.25.Final.jar;E:\m2localRepository\io\netty\netty-handler\4.1.25.Final\netty-handler-4.1.25.Final.jar;E:\m2localRepository\io\netty\netty-codec\4.1.25.Final\netty-codec-4.1.25.Final.jar;E:\m2localRepository\org\springframework\spring-core\5.0.7.RELEASE\spring-core-5.0.7.RELEASE.jar;E:\m2localRepository\org\springframework\spring-jcl\5.0.7.RELEASE\spring-jcl-5.0.7.RELEASE.jar;F:\workspace\pw-wangtao\src\main\webapp\WEB-INF\lib\FFmpegCommandHandler.jar;E:\m2localRepository\net\sourceforge\javacsv\javacsv\2.0\javacsv-2.0.jar;F:\utils\IDEA\lib\idea_rt.jar pw.wangtao.core.rtspTortmp.RtspToRtmp Connected to the target VM, address: '127.0.0.1:58979', transport: 'socket' 尝试从web目录读取配置文件:/F:/workspace/pw-wangtao/target/classes/loadFFmpeg.properties 没找到配置文件,读取默认配置文件 读取默认配置文件:defaultFFmpegConfig.properties 加载配置文件... 加载配置文件完毕 读取的配置项:{path=E:/gitSrc/ffmpeg/ffmpeg-20181130-ba71ebb-win64-static/bin/, defaultpathEnable=true, debug=true, size=100, #ffmpegæ§è¡è·¯å¾ï¼ä¸è¬ä¸ºffmpegçå®è£ ç®å½ï¼è¯¥è·¯å¾åªè½æ¯ç®å½ï¼ä¸è½ä¸ºå ·ä½æ件路å¾ï¼å¦åä¼æ¥é=} 转换后的对象:FFmpegConfig [path=E:/gitSrc/ffmpeg/ffmpeg-20181130-ba71ebb-win64-static/bin/, debug=true, size=100] 执行命令:E:/gitSrc/ffmpeg/ffmpeg-20181130-ba71ebb-win64-static/bin/ffmpeg -i rtsp://admin:123456@117.22.211.163:554/Streaming/Channels/1 -vcodec h264 -f flv -an rtmp://192.168.1.170/live/test1231 test1231 test1231开始推流! test1231发生网络异常丢包,消息体:[rtsp @ 00000270b3f0a180] UDP timeout, retrying with TCP test1231发生网络异常丢包,消息体:[rtsp @ 00000270b3f0a180] method PAUSE failed: 551 Option not supported test1231发生网络异常丢包,消息体:[rtsp @ 00000270b3f0a180] UDP timeout, retrying with TCP test1231发生网络异常丢包,消息体:[rtsp @ 00000270b3f0a180] method PAUSE failed: 551 Option not supported test1231:frame= 0 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
test1231:frame= 0 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
Disconnected from the target VM, address: '127.0.0.1:58979', transport: 'socket'
Process finished with exit code 0