Help with FFMPEG script .bat for Windows
#1
i need convert this script in a .bat i try but show me error.i think is something with the location path.

ffmpeg -i http://192.168.6.238:9981/stream/channelid/5 -vcodec libx264 -preset superfast -tune zerolatency -threads 2 -s 640x480 -flags -global_header -map 0:0 -map 0:1 -f segment -segment_time 10 -segment_list Z:\live\2.m3u8 -segment_format mpegts -segment_wrap 10 -segment_list_size 6 -segment_list_flags live Z:\live\2%03d.ts

ERROR
[mpegts @ 04f90a20] Invalid segment filename template 'Z:\live\2C:\Users\user\Do
wnloads\ffmpeg\ff-2.bat3d.ts'
Output #0, segment, to 'Z:\live\2C:\Users\user\Downloads\ffmpeg\ff-2.bat3d.ts':
Metadata:
title : CAM
encoder : Lavf56.36.100
Stream #0:0(eng): Video: h264 (libx264), yuv420p, 640x480 [SAR 4:3 DAR 16:9]
, q=-1--1, 29.97 fps, 29.97 tbn, 29.97 tbc (default)
Metadata:
encoder : Lavc56.41.100 libx264
Stream #0:1(spa): Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s (default)
Metadata:
encoder : Lavc56.41.100 mp2
Stream mapping:
Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (ac3 (native) -> mp2 (native))
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Reply



Logout Mark Read Team Forum Stats Members Help
Help with FFMPEG script .bat for Windows0
This forum uses Lukasz Tkacz MyBB addons.