Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques Duplicated keyframe

  • Duplicated keyframe

    Posted by Alejandro Alves on April 27, 2011 at 9:19 am

    Hello,
    After changing the bitrate of a video with the two pass I get a duplitace keyframe…I get two 0 timestamps…
    The commands that I use is:

    ffmpeg -i $1 -an -pass 1 -passlogfile $2 -vcodec libx264 -vpre slow_firstpass -b 120000 -threads 0 $3 -v 0 2>&1

    ffmpeg -i $1 -acodec libfaac -ab 128k -pass 2 -passlogfile $2 -vcodec libx264 -vpre slow -b 120000 -threads 0 -y $3 -v 0 2>&1

    What could I do to erase this duplicate

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

    May 5, 2011 at 12:33 am

    [alejandro alves] “After changing the bitrate of a video with the two pass I get a duplitace keyframe…I get two 0 timestamps…

    Can you post a sample of the terminal output showing this?

    [alejandro alves] “ffmpeg -i $1 -an -pass 1 -passlogfile $2 -vcodec libx264 -vpre slow_firstpass -b 120000 -threads 0 $3 -v 0 2>&1

    You shouldn’t need the passlogfile when using x264 as it generates one itself. Maybe try to remove this…..

    Michael

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