Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffmpegsource x64: non-strictly-monotonic pts at frame n #63

Closed
tgoyne opened this issue Aug 19, 2013 · 2 comments
Closed

ffmpegsource x64: non-strictly-monotonic pts at frame n #63

tgoyne opened this issue Aug 19, 2013 · 2 comments

Comments

@tgoyne
Copy link
Member

tgoyne commented Aug 19, 2013

From d1mus1n on November 07, 2011 05:56:05

I'm using ffms-2.16-x64.7z from the download page, Windows 7 x64, 64bit 8bit-depth x264 from http://x264.nl/ , and the x64 Avisynth 2.5.8 MT build from http://forum.doom9.org/showthread.php?t=152800 Source files:
Video: Xvid 640x480 25.00fps [Stream 00]
Audio: MPEG Audio Layer 3 44100Hz stereo 128kbps [Stream 01]
Container: AVI

This is my encoding options:

@echo off
set A=%1
set B=%A:,-4%
set C=%B:
,-1%
md tmp
echo loadplugin("ffms2-x64.dll") >> .\tmp%C%.avs
echo FFVideoSource("..%C%.avi") >> .\tmp%C%.avs
echo BicubicResize(320,240) >> .\tmp%C%.avs
echo ConvertFPS(24) >> .\tmp%C%.avs
x264.exe --crf 27 --level 1.3 --keyint 250 --ref 1 --no-cabac --no-mixed-refs --merange 48 --bframes 0 --direct none --b-adapt 0 --b-pyramid none --no-weightb --weightp 0 --trellis 2 --no-fast-pskip --threads 4 --partitions p8x8,b8x8,i4x4,p4x4 --no-8x8dct --subme 9 --me umh --output .\tmp%C%.mp4 .\tmp%C%.avs
mp4box -add .\tmp%C%.mp4#video %C%_264.3gp
avi2raw -a %C%.avi .\tmp%C%.mp3
lame --decode .\tmp%C%.mp3 .\tmp%C%.wav
neroaacenc -hev2 -cbr 20000 -if .\tmp%C%.wav -of .\tmp%C%.m4a
mp4box -add .\tmp%C%.m4a %C%_264.3gp

I'm getting some warnings through x264 log:

x264 [warning]: non-strictly-monotonic pts at frame 1 (0 <= 0)
x264 [warning]: non-strictly-monotonic pts at frame 2 (0 <= 1)
x264 [warning]: non-strictly-monotonic pts at frame 2 (0 <= 2)
x264 [warning]: too many nonmonotonic pts warnings, suppressing further ones

The output file is OK, but this warnings look a bit strange... I also tried to use ffmpeg instead of x264, but in this case the output file is broken, video track contains only a still image with red text "Unable to load ffms2-x64.dll, line 1".

Original issue: http://code.google.com/p/ffmpegsource/issues/detail?id=63

@tgoyne
Copy link
Member Author

tgoyne commented Aug 19, 2013

From l4n9.th4n9 on November 07, 2011 06:41:50

Your problem may relate to this: http://forum.doom9.org/showthread.php?t=155922 About your other problem, I guess you're using 32-bit version of ffmpeg, right?

@tgoyne
Copy link
Member Author

tgoyne commented Aug 19, 2013

From kalle.blomster on November 08, 2011 05:21:10

Not a bug in FFMS2. avs64 is broken shit that violates the win64 ABI rules, don't use it. And don't use avs-MT either unless you really love mysterious crashes.

Status: SorryBro

@tgoyne tgoyne closed this as completed Aug 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant