Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2011-09-02 12:46:05

Coscast
Member
From: Germany
Registered: 2010-10-03
Posts: 546

ffmpeg -vpre

Just a little advise:

If you use the lastest ffmpeg like me

ffmpeg version N-32290-g6fc1299, Copyright (c) 2000-2011 the FFmpeg developers
  built on Sep  2 2011 10:45:30 with gcc 4.4.5
  configuration: --prefix=/usr/local --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libx264 --enable-libxvid

You have first to add a preset named "libx264-slow.ffpreset" because that is the preset that ASP uses for x264 conversions, BUT this preset is not installed by default, IF you compile ffmpeg by yourself, for example with Adrians Tutorial in this Forum.

Content of this file:

coder=1
flags=+loop
cmp=+chroma
partitions=+parti8x8+parti4x4+partp8x8+partb8x8
me_method=umh
subq=8
me_range=16
g=250
keyint_min=25
sc_threshold=40
i_qfactor=0.71
b_strategy=2
qcomp=0.6
qmin=0
qmax=69
qdiff=4
bf=3
refs=5
directpred=3
trellis=1
flags2=+bpyramid+mixed_refs+wpred+dct8x8+fastpskip
wpredp=2
rc_lookahead=50

The presets are stored @ /usr/local/share/ffmpeg
02092011145130.png


Second one:

The latest ffmpeg changed the syntax, it is not anymore -vpre but -preset.
I found that, by looking into my conversion logs, throwing the following error:

Unrecognized option 'vpre'

Fix:
edit /libraries/framework/video.php
and replace -vpre with -preset
i did that by using a search and replace funktion in my editor.

With those two solutions above, i fixed two errors

Unrecognized option 'vpre'

and

/usr/local/bin/ffmpeg: failed to set value 'slow' for option 'vpre'

Remark: I noticed that "error" because i wondered why a video does not get converted to x264 whis HAS to be converted by the Script rules.

I hope this helps.

Last edited by Coscast (2011-09-02 12:55:44)


sgt-halfsize-banner.jpg

Offline

Board footer

Powered by FluxBB