[FFmpeg-user] "Packet header is not contained in global metadata" when segmenting and encoding x264

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Jul 23 12:42:40 CEST 2014

Werner Robitza <werner.robitza <at> gmail.com> writes:

> ffmpeg -y -i tmp/tmpPass2.mp4 -c:v libx264 -acodec copy 
> -map 0 -f segment -bsf h264_mp4toannexb -segment_time 5 
> -segment_format mpegts ./tsSegmentsDisplay/SRC04_Q1_%05d.ts

Why are you using a bitstream filter when re-encoding?
The normal usecase for a bitstream filter is remuxing.

Carl Eugen

More information about the ffmpeg-user mailing list