Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

File for preset 'veryfast' not found error (ffmpeg, x264)

(http://stream-recorder.com/forum/showthread.php?t=9516)

matrixxx 07-05-2011 01:10 PM

File for preset 'veryfast' not found error (ffmpeg, x264)


 
rtmpdump --live -r "rtmp://live2.seeon.tv/edge/pk0jje65a5bk592" -p "http://www.seeon.tv/view/11089/ABC" -W "http://www.seeon.tv/jwplayer/player.swf" -q | ffmpeg -i - -re -isync -acodec libfaac -ab 128000 -ar 32000 -vcodec libx264 -vpre veryfast -b 600k -f flv "rtmp://localhost/live/abc"
FFmpeg version SVN-r21566-xuggle-3.4.843, Copyright (c) 2000-2010 Fabrice Bellard, et al.
built on Jan 31 2010 16:26:43 with gcc 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
configuration: --prefix=/usr/local --extra-version=xuggle-3.4.843 --extra-cflags=-I/home/hudson/slave/workspace/xuggle_xuggler_binary_build/jdk/JDK5/label/Linux_x86_64/build/native/x86_64-unknown-linux-gnu/captive/usr/local/include --extra-ldflags=-L/home/hudson/slave/workspace/xuggle_xuggler_binary_build/jdk/JDK5/label/Linux_x86_64/build/native/x86_64-unknown-linux-gnu/captive/usr/local/lib --enable-shared --enable-gpl --enable-nonfree --enable-version3 --enable-libx264 --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-pthreads
libavutil 50. 8. 0 / 50. 8. 0
libavcodec 52.49. 0 / 52.49. 0
libavformat 52.48. 0 / 52.48. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 9. 0 / 0. 9. 0
[flv @ 0x1da53c0]negative cts, previous timestamps might be wrong
Last message repeated 51 times
[flv @ 0x1da53c0]Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.33 (76/3)
Input #0, flv, from 'pipe:':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0.0: Video: h264, yuv420p, 512x288 [PAR 1:1 DAR 16:9], 50 fps, 25.33 tbr, 1k tbn, 50 tbc
Stream #0.1: Audio: aac, 24000 Hz, mono, s16
File for preset 'veryfast' not found


Not really that great with linux..am on LTS 10.04 and for some reason its not detecting the presets..not sure how to fix this.

bat999 07-05-2011 01:46 PM

Re: 'veryfast' not found error (Ffmeg, x264)


 
Hi
What happens if you change the command option to '-preset veryfast' instead of '-vpre veryfast'?

matrixxx 07-05-2011 02:23 PM

Re: 'veryfast' not found error (Ffmeg, x264)


 
I use -vpre ..

rtmpdump --live -r "rtmp://live2.seeon.tv/edge/pk0jje65a5bk592" -p "http://www.seeon.tv/view/11089/ABC" -W "http://www.seeon.tv/jwplayer/player.swf" -q | ffmpeg -i - -re -isync -acodec libfaac -ab 128000 -ar 32000 -vcodec libx264 -vpre veryfast -b 600k -f flv "rtmp://localhost/live/abc"

FFmpeg version SVN-r21566-xuggle-3.4.843, Copyright (c) 2000-2010 Fabrice Bellard, et al.
built on Jan 31 2010 16:26:43 with gcc 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
configuration: --prefix=/usr/local --extra-version=xuggle-3.4.843 --extra-cflags=-I/home/hudson/slave/workspace/xuggle_xuggler_binary_build/jdk/JDK5/label/Linux_x86_64/build/native/x86_64-unknown-linux-gnu/captive/usr/local/include --extra-ldflags=-L/home/hudson/slave/workspace/xuggle_xuggler_binary_build/jdk/JDK5/label/Linux_x86_64/build/native/x86_64-unknown-linux-gnu/captive/usr/local/lib --enable-shared --enable-gpl --enable-nonfree --enable-version3 --enable-libx264 --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-pthreads
libavutil 50. 8. 0 / 50. 8. 0
libavcodec 52.49. 0 / 52.49. 0
libavformat 52.48. 0 / 52.48. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 9. 0 / 0. 9. 0
[flv @ 0x1da53c0]negative cts, previous timestamps might be wrong
Last message repeated 51 times
[flv @ 0x1da53c0]Estimating duration from bitrate, this may be inaccurate


But i end up getting the File for preset 'veryfast' not found message.

matrixxx 07-05-2011 02:24 PM

Re: 'veryfast' not found error (Ffmeg, x264)


 
I use -vpre

rtmpdump --live -r "rtmp://live2.seeon.tv/edge/pk0jje65a5bk592" -p "http://www.seeon.tv/view/11089/ABC" -W "http://www.seeon.tv/jwplayer/player.swf" -q | ffmpeg -i - -re -isync -acodec libfaac -ab 128000 -ar 32000 -vcodec libx264 -vpre veryfast -b 600k -f flv "rtmp://localhost/live/abc"

but end up with the same error

File for preset 'veryfast' not found

matrixxx 07-05-2011 02:27 PM

Re: 'veryfast' not found error (Ffmeg, x264)


 
When replacing -vpre veryfast to -preset veryfast I get


ffmpeg: unrecognized option 'preset'

bat999 07-05-2011 02:46 PM

Re: File for preset 'veryfast' not found error (ffmpeg, x264)


 
Quote:

Originally Posted by matrixxx (Post 30722)

ffmpeg: unrecognized option 'preset'

OK
'-preset' option is used for very new versions of FFmpeg.
So you stay with '-vpre' as before.
(Yours is 'built on Jan 31 2010 16:26:43').

Look inside folder /usr/local/share/ffmpeg
That's where the presets are stored for FFmpeg.

Probably there is no 'veryfast' listed.
So choose a different preset from in there.

matrixxx 07-05-2011 09:59 PM

Re: 'veryfast' not found error (Ffmeg, x264)


 
I now get

/usr/local/share/ffmpeg/libx264-veryfast.ffpreset: Invalid option or argument: 'rc_lookahead=10', parsed as 'rc_lookahead' = '10'

bat999 07-06-2011 02:16 AM

Re: 'veryfast' not found error (Ffmeg, x264)


 
Show the output from this command:-
Code:

ls -1 /usr/local/share/ffmpeg

matrixxx 07-06-2011 09:00 AM

Re: 'veryfast' not found error (Ffmeg, x264)


 
libx264-lossless_medium.ffpreset
libx264-lossless_slow.ffpreset
libx264-lossless_slower.ffpreset
libx264-lossless_ultrafast.ffpreset
libx264-main.ffpreset
libx264-medium.ffpreset
libx264-medium_firstpass.ffpreset
libx264-placebo.ffpreset
libx264-placebo_firstpass.ffpreset
libx264-slow.ffpreset
libx264-slow_firstpass.ffpreset
libx264-slower.ffpreset
libx264-slower_firstpass.ffpreset
libx264-superfast.ffpreset
libx264-superfast_firstpass.ffpreset
libx264-ultrafast.ffpreset
libx264-ultrafast_firstpass.ffpreset
libx264-veryfast.ffpreset
libx264-veryfast_firstpass.ffpreset
libx264-veryslow.ffpreset
libx264-veryslow_firstpass.ffpreset

matrixxx 07-06-2011 09:13 AM

Re: File for preset 'veryfast' not found error (ffmpeg, x264)


 
It now works..but the stream just oddly drops within 5 seconds.


All times are GMT -6. The time now is 11:31 PM.