解决ffmpeg报错Non-monotonous DTS in output stream 0:0;
最近使用ffmpeg合成mp4视频有了如下报错信息:
Non-monotonous DTS in output stream 0:0; previous: 21587350, current: 12740928; changing to 21587351. This may result in incorrect timestamps in the output file.
解决方法是如下:
1 for f in ./*.mp4; do ffmpeg -i $f -q 0 "${f%.*}.mts"; done 然后新建文本文档,可以用python新建
很简单,使用gcc即可,我们写如下程序:
pop eax 保存为文本文件,命名为test.s 然后使用gcc在32位的环境下编译
gcc test.s 结果会报错,为什么呢?
/usr/bin/ld: /tmp/ccj87S8M.o: relocation R_X86_64_32S against undefined >symbol eax' can not be used when making a PIE object; recompile with -fPIC …