[FFmpeg-user] strange preset file parse error on gentoo from on 10.0.7 and above in june
Füves Zoltán
zoleexfz at tanoda.suli.hu
Thu Jul 11 09:24:24 CEST 2013
Hi,
thanks for your reply and than here is the command line and the console
output
but what i said before these setting worked for me many times until that
strange and sunny summer day :)
ffmpeg -f video4linux2 -i /dev/video0 -f alsa -i pulse -async 1
http://*.*.*.1:8090/feed1.ffm
the preset file :
cat .ffmpeg/libx264-lossless_ultrafast.ffpreset
coder=0
flags=+loop
cmp=+chroma
partitions=-parti8x8-parti4x4-partp8x8-partp4x4-partb8x8
me_method=dia
subq=0
me_range=16
g=250
keyint_min=25
sc_threshold=40
i_qfactor=0.71
b_strategy=1
qcomp=0.6
qmin=10
qmax=51
qdiff=4
directpred=1
flags2=+fastpskip+mbtree
cqp=0
ffserver stream sets:
<Stream live> # Output stream URL definition
Feed feed1.ffm # Feed from which to receive video
Format flv
# Audio settings
AudioCodec aac
Strict -2
AudioBitRate 64
AudioChannels 1
AudioSampleRate 44100
# Video settings
VideoCodec libx264
VideoSize 720x576
VideoFrameRate 25
AVOptionVideo flags +global_header
AVPresetVideo lossless_ultrafast
AVOptionAudio flags +global_header
StartSendOnKey
VideoBitRate 700 # Video bitrate
</Stream>
and the ffserver output:
ffserver -f /*notpublic/FfserverTV
ffserver version 1.0.7 Copyright (c) 2000-2013 the FFmpeg developers
built on Jul 11 2013 09:15:01 with gcc 4.5.4 (Gentoo 4.5.4 p1.0,
pie-0.4.7)
configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib
--mandir=/usr/share/man --enable-shared --cc=i686-pc-linux-gnu-gcc
--cxx=i686-pc-linux-gnu-g++ --ar=i686-pc-linux-gnu-ar
--optflags='-march=native -Os -pipe' --extra-cflags='-march=native -Os
-pipe' --extra-cxxflags='-march=native -Os -pipe' --disable-static
--enable-gpl --enable-postproc --enable-avfilter --enable-avresample
--disable-stripping --disable-debug --disable-doc --disable-vdpau
--enable-libmp3lame --enable-libx264 --enable-libxvid --enable-libfaac
--enable-nonfree --disable-indev=oss --disable-indev=jack
--enable-x11grab --enable-libpulse --disable-outdev=oss
--enable-libfreetype --enable-libvorbis --enable-libvpx
--enable-libopenjpeg --disable-amd3dnow --disable-amd3dnowext
--disable-altivec --disable-avx --disable-mmxext --disable-ssse3
--disable-vis --disable-neon --cpu=host --enable-hardcoded-tables
libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[NULL @ 0xbf89c58c] [Eval @ 0xbf89aa98] Undefined constant or missing
'(' in 'fastpskip'
[NULL @ 0xbf89c58c] Unable to parse option value "fastpskip+mbtree"
/*notpublic/.ffmpeg/libx264-lossless_ultrafast.ffpreset: Invalid option
or argument: 'flags2=+fastpskip+mbtree', parsed as 'flags2' =
'+fastpskip+mbtree'
/*notpublic/FfserverTV:52: AVPreset error: lossless_ultrafast
Incorrect config file - exiting.
same results from the git repo:
ffserver version N-54624-g2e6338b Copyright (c) 2000-2013 the FFmpeg
developers
built on Jul 10 2013 16:51:26 with gcc 4.5.4 (Gentoo 4.5.4 p1.0,
pie-0.4.7)
configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib
--mandir=/usr/share/man --enable-shared --cc=i686-pc-linux-gnu-gcc
--cxx=i686-pc-linux-gnu-g++ --ar=i686-pc-linux-gnu-ar
--optflags='-march=native -Os -pipe' --extra-cflags='-march=native -Os
-pipe' --extra-cxxflags='-march=native -Os -pipe' --disable-static
--enable-gpl --enable-postproc --enable-avfilter --enable-avresample
--disable-stripping --enable-nonfree --disable-indev=oss
--disable-indev=jack --disable-outdev=oss --enable-bzlib
--enable-runtime-cpudetect --disable-debug --disable-doc
--disable-gnutls --enable-hardcoded-tables --enable-iconv
--enable-network --disable-openssl --enable-ffplay --enable-vaapi
--disable-vdpau --enable-zlib --disable-libvo-aacenc
--disable-libvo-amrwbenc --enable-libmp3lame --disable-libfdk-aac
--disable-libaacplus --enable-libfaac --disable-libtheora
--disable-libtwolame --disable-libwavpack --enable-libx264
--enable-libxvid --disable-libcdio --disable-libiec61883
--disable-libdc1394 --disable-libcaca libavutil 52. 39.100 / 52.
39.100
libavcodec 55. 18.102 / 55. 18.102
libavformat 55. 12.100 / 55. 12.100
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 80.100 / 3. 80.100
libavresample 1. 1. 0 / 1. 1. 0
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
[NULL @ 0xbfa66cf4] [Eval @ 0xbfa65208] Undefined constant or missing
'(' in 'fastpskip'
[NULL @ 0xbfa66cf4] Unable to parse option value "fastpskip+mbtree"
/*notpublic/.ffmpeg/libx264-lossless_ultrafast.ffpreset: Invalid option
or argument: 'flags2=+fastpskip+mbtree', parsed as 'flags2' =
'+fastpskip+mbtree'
/*notpublic/FfserverTV:52: AVPreset error: lossless_ultrafast
Incorrect config file - exiting.
Thanks again for your time and help
Have a nice day
Z.
2013.07.11. 8:42 keltezéssel, Carl Eugen Hoyos írta:
> Füves Zoltán <zoleexfz <at> tanoda.suli.hu> writes:
>
>> with this error:
>> Undefined constant or missing '(' in 'fastpskip'
> Command line and complete, uncut console output
> missing.
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
More information about the ffmpeg-user
mailing list