Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 07-05-2011, 02:10 PM
matrixxx matrixxx is offline
Junior Member
 
Join Date: Jul 2011
Posts: 10
matrixxx is on a distinguished road
Default

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.

Last edited by matrixxx : 07-05-2011 at 03:28 PM.
Reply With Quote
  #2  
Old 07-05-2011, 02:46 PM
bat999 bat999 is offline
Senior Member
 
Join Date: Apr 2011
Location: UK
Posts: 131
bat999 is on a distinguished road
Default

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


Hi
What happens if you change the command option to '-preset veryfast' instead of '-vpre veryfast'?
Reply With Quote
  #3  
Old 07-05-2011, 03:23 PM
matrixxx matrixxx is offline
Junior Member
 
Join Date: Jul 2011
Posts: 10
matrixxx is on a distinguished road
Default

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.
Reply With Quote
  #4  
Old 07-05-2011, 03:24 PM
matrixxx matrixxx is offline
Junior Member
 
Join Date: Jul 2011
Posts: 10
matrixxx is on a distinguished road
Default

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
Reply With Quote
  #5  
Old 07-05-2011, 03:27 PM
matrixxx matrixxx is offline
Junior Member
 
Join Date: Jul 2011
Posts: 10
matrixxx is on a distinguished road
Default

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


When replacing -vpre veryfast to -preset veryfast I get


ffmpeg: unrecognized option 'preset'
Reply With Quote
  #6  
Old 07-05-2011, 03:46 PM
bat999 bat999 is offline
Senior Member
 
Join Date: Apr 2011
Location: UK
Posts: 131
bat999 is on a distinguished road
Default

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


Quote:
Originally Posted by matrixxx View Post

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.
Reply With Quote
  #7  
Old 07-05-2011, 10:59 PM
matrixxx matrixxx is offline
Junior Member
 
Join Date: Jul 2011
Posts: 10
matrixxx is on a distinguished road
Default

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'
Reply With Quote
  #8  
Old 07-06-2011, 03:16 AM
bat999 bat999 is offline
Senior Member
 
Join Date: Apr 2011
Location: UK
Posts: 131
bat999 is on a distinguished road
Default

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


Show the output from this command:-
Code:
ls -1 /usr/local/share/ffmpeg
Reply With Quote
  #9  
Old 07-06-2011, 10:00 AM
matrixxx matrixxx is offline
Junior Member
 
Join Date: Jul 2011
Posts: 10
matrixxx is on a distinguished road
Default

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
Reply With Quote
  #10  
Old 07-06-2011, 10:13 AM
matrixxx matrixxx is offline
Junior Member
 
Join Date: Jul 2011
Posts: 10
matrixxx is on a distinguished road
Default

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


It now works..but the stream just oddly drops within 5 seconds.
Reply With Quote
Reply Post New Thread
Tags: , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons