Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques vocdc copy with mpegts format

  • vocdc copy with mpegts format

    Posted by Nayan Kapadia on June 23, 2010 at 3:18 am

    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.ts

    When 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 permitted

    Please guide me.

    Thanks,
    NBK

    Michael Rampe replied 15 years, 11 months ago 2 Members · 1 Reply
  • 1 Reply
  • Michael Rampe

    June 23, 2010 at 10:57 am

    Try an intermediate step since it is streaming.

    stream —> file —> encode

    Michael

    “half-way to world domination A.K.A. the belligerent blue bike shed”

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy