[MEncoder-users] What is wrong with the last SVN Mencoder and ffmpeg?
littlebat
dashing.meng at gmail.com
Tue Sep 20 13:07:51 CEST 2011
Hi,
I am converting some videos with last SVN Mencoder and Ffmpeg in it(I
checkout them at Sep 17, 2011, ffmpeg version N-29930-g8096b7c,
MEncoder SVN-r34086-4.4.3), I compile them from source, but it always
get the wrong result video, or shorter time, or bad image, or simply
can't convert. But all these errors disappeared when I use Debian sid
version source(ffmpeg version 0.7.1, MEncoder SVN-r33713-4.4.3) with
the same configure options.
I think maybe there are somethings wrong with the newest Mencoder or
FFmpeg, or I made some mistakes. So, I need ask for help before I post
a bug report to Mencoder or FFmpeg.
This is my compile configure options for them:
<code>
########################################
ffmpeg configure options:
./configure --prefix=/usr/local --disable-static --enable-shared \
--enable-gpl --enable-version3--enable-postproc --disable-doc \
--disable-ffplay --disable-ffprobe --disable-ffserver \
--enable-libopencore-amrnb --enable-libopencore-amrwb \
--enable-libvo-aacenc --enable-libmp3lame --enable-pthreads
mencoder configure options:
./configure --prefix=/usr/local --disable-ffmpeg_a --charset=UTF-8
--language=zh_CN
######################################
</code>
This is my convert scripts:
<code>
##########################################
#/bin/bash
mkfifo ~/test.mkv
mencoder -noconfig all -ovc lavc -oac pcm \
-lavcopts vcodec=mpeg4:vbitrate=256 \
-vf crop=292:::,harddup,scale=176:144 -af volnorm \
-of lavf -ofps 15 -lavfopts format=mkv \
-o ~/test.mkv /mnt/hda1/samples/test.wmv &
ffmpeg -y -i ~/test.mkv -vcodec mpeg4 -b 256k \
-r 15 -s 176x144 -aspect 176:144 -acodec libvo_aacenc \
-ac 2 -ar 44100 -ab 128k -f mp4 \
/home/tc/niceday.wmv-0.mp4 </dev/null
rm ~/test.mkv
exit 0
############################################
</code>
The main error message like this when converting:
<code>
#####################
...
[matroska,webm @ 0x9d0aaa0] parser not found for codec pcm_s16le,
packets or times may be invalid.
...
[mpeg4 @ 0xb6e44120]Error, Invalid timestamp=162, last=206
[matroska @ 0xb752cfa0]Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 13733 >= 10800 Error while writing
frame.
...
####################
</code>
The sample video and detail message see the files in the attachment
ifbug.tar.gz.
the content is:
confoptions.txt: congiure options
debiansid.log: bebian sid version Mencoder and ffmpeg converting
message
svn.log: svn version Mencoder and ffmpeg converting message
test.sh: convert scripts
test.wmv: test sample video
Thanks.
---
littlebat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ifbug.tar.gz
Type: application/octet-stream
Size: 697313 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mencoder-users/attachments/20110920/85f1e197/attachment-0001.obj>
More information about the MEncoder-users
mailing list