-
vocdc copy with mpegts format
Hi,
I am accessing H.264 stream using ffmpeg on windows.I want to use -vcodec copy and -f mpegts and save output in a file.This is my requirement.For example:
ffmpeg.exe -i rtsp://username:password@192.168.0.102:7070 -v
codec copy -vbsf h264_mp4toannexb -f mpegts -b 30k -s 320×240 -bt 10k -maxrate 100k oo.tsWhen I start this command it give me below message on commandline.
Press [q] to stop encoding
[mpegts @ 01de0050]h264 bitstream malformated, no startcode found, use -vbsf h264_mp4toannexb
av_interleaved_write_frame(): Operation not permittedPlease guide me.
Thanks,
NBK