Results 1 to 10 of 11
Maybe u think i'm not a human not to know it i don't really know.. I have running a tube web site, i'm using FFMPEG to convert my videos and ...
- 12-06-2010 #1Just Joined!
- Join Date
- Dec 2010
- Posts
- 21
Help a real newbie please..(ffmpeg)
Maybe u think i'm not a human not to know it i don't really know.. I have running a tube web site, i'm using FFMPEG to convert my videos and pull thumbnails out of them, its converting videos i guess but i can't get thumbnails, i tried everything, i have a video script to do the command stuff and here's an example to its commands,
/usr/bin/ffmpeg -i /home/adamsin/public_html/media/videos/flv/21.flv -f image2 -ss 1 -s 320x240 -vframes 2 -y /home/adamsin/public_html/tmp/
and here's what i get,
FFmpeg version SVN-r23100, Copyright (c) 2000-2010 the FFmpeg developers
built on Dec 4 2010 11:52:54 with gcc 4.1.2 20080704 (Red Hat 4.1.2-4
configuration: --prefix=/usr/local/cpffmpeg --enable-shared --enable-nonfree --enable-gpl --enable-pthreads --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --extra-cflags=-I/usr/local/cpffmpeg/include/ --extra-ldflags=-L/usr/local/cpffmpeg/lib --enable-decoder=ac3 --enable-decoder=asv1 --enable-decoder=asv2 --enable-decoder=flac --enable-decoder=wmv1 --enable-decoder=wmv2 --enable-decoder=wmv3 --enable-decoder=mpeg1video --enable-decoder=mpeg2video --enable-decoder=flv --enable-decoder=fraps --enable-decoder=h263 --enable-decoder=h264 --enable-decoder=libgsm --enable-decoder=mjpeg --enable-decoder=mpeg4 --enable-decoder=mpeg4aac --enable-decoder=mpegvideo --enable-decoder=mpeg4aac --enable-decoder=msmpeg4v1 --enable-decoder=msmpeg4v2 --enable-decoder=msmpeg4v3 --enable-decoder=pcm_alaw --enable-decoder=pcm_mulaw --enable-encoder=ac3 --enable-encoder=asv1 --enable-encoder=asv2 --enable-encoder=flac --enable-encoder=h263 --enable-encoder=flashsv --enable-encoder=flv --enable-encoder=libgsm --enable-encoder=mjpeg --enable-encoder=msmpeg4v3 --enable-encoder=pcm_alaw --enable-encoder=pcm_mulaw --enable-encoder=mpeg1video --enable-encoder=mpeg2video --enable-encoder=mpeg4 --enable-encoder=msmpeg4v1 --enable-encoder=msmpeg4v2 --enable-encoder=rv10 --enable-encoder=rv20 --enable-encoder=vorbis --enable-encoder=wmav1 --enable-encoder=wmav2 --enable-encoder=wmv1 --enable-encoder=wmv2 --disable-demuxer=v4l --disable-demuxer=v4l2 --enable-version3
libavutil 50.15. 2 / 50.15. 2
libavcodec 52.67. 0 / 52.67. 0
libavformat 52.62. 0 / 52.62. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.20. 0 / 1.20. 0
libswscale 0.10. 0 / 0.10. 0
[flv @ 0x1f2a0470]Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1)
Input #0, flv, from '/home/adamsin/public_html/media/videos/flv/21.flv':
Metadata:
hasKeyframes : true
hasMetadata : true
duration : 24
audiosamplerate : 22000
audiodatarate : 56
datasize : 1405439
framerate : 25
hasVideo : true
audiosamplesize : 16
stereo : false
canSeekToEnd : false
videocodecid : 4
lasttimestamp : 24
lastkeyframetimestamp: 24
audiosize : 180242
hasAudio : true
audiodelay : 0
videosize : 1224345
height : 576
filesize : 1411580
metadatacreator : inlet media FLVTool2 v1.0.6 - inlet media FLVTool2 – Flash video and meta data manipulation -
audiocodecid : 2
videodatarate : 403
hasCuePoints : false
width : 720
Duration: 00:00:24.20, start: 0.000000, bitrate: 468 kb/s
Stream #0.0: Video: vp6f, yuv420p, 720x576, 412 kb/s, 25 tbr, 1k tbn, 1k tbc
Stream #0.1: Audio: mp3, 22050 Hz, 1 channels, s16, 56 kb/s
[scale @ 0x1f319630]w:720 h:576 fmt:yuv420p -> w:320 h:240 fmt:yuvj420p flags:a0000004
Output #0, image2, to '/home/adamsin/public_html/tmp/thumbs/21/%08d.jpg':
Metadata:
encoder : Lavf52.62.0
Stream #0.0: Video: mjpeg, yuvj420p, 320x240, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
[buffer @ 0x1f324010]Buffering several frames is not supported. Please consume all available frames before adding a new one.
Segmentation fault
Please help me i'm not trying to be professional about it, i just want ffmpeg to take thumbnails out of my FLV videos, i tried anything and i got nothing, i have my root access, please someone help me i couldn't start my web page for a long time..Why do i get this error? I'm using CENTOS. I don't know why it happens, help a newbie i pray for u for this..Please help..
- 12-06-2010 #2
What file manager are you using in CentOS. I won't be of much help because I am a apt kind of guy with some puppy thrown in for good measure. Not a rpm runner.
That being said. Maybe if you are running thunar.
Debian User Forums • View topic - Post Your Thunar Custom Actions Here
Hope it helps ya. Rubberman is pretty good with CENTOS but won't be in till tomorrow (maybe) or Monday. Edit: My bad. He might see this tonight.
Happy Trails, RokLinux Registered User # 475019
Lead,Follow, or get the heck out of the way
AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
Open CourseWare for Linux Geeks
- 12-06-2010 #3Just Joined!
- Join Date
- Dec 2010
- Posts
- 21
Thanks for your response sir..actually i only use Ssh command line..With ip address root and pw.. Any help will be appreciated and paid if it needs..I know this is nothing for a Centos user, but it means a lot to me..
- 12-06-2010 #4
ffmpeg is segfaulting. How did you install it? Which version of CentOS are you running?
Updating ffmpeg to a newer version may resolve the problem.
- 12-06-2010 #5Just Joined!
- Join Date
- Dec 2010
- Posts
- 21
i'm sure its what u say..it needs to be updating but i don't know how to do it..CentOS 5 64-bit is my operation system..Can anyone do it for me if i give my root password..Please
- 12-06-2010 #6
The people here at LF are nice, but never, NEVER, *NEVER* give your root password to someone you dont know.
(Apart from good practices like: a) no direct root access, b) authorized keys for users)
Updating centos is done with yum
Code:yum update
You must always face the curtain with a bow.
- 12-06-2010 #7Just Joined!
- Join Date
- Dec 2010
- Posts
- 21
i'm not going to update Centos, i need to update ffmpeg, because technical staff of my hosting provider reinstalled it and then it didn't work..Maybe they installed in another path..I don't know maybe the wrong version,maybe corrupted binaries, maybe, maybe and maybe.. Only truth is i can't use ffmpeg to create thumbnails, but i managed it before..I think my host provider used SVN for that..
- 12-06-2010 #8
I just checked the centos standard and EPEL repo.
ffmpeg is not in there, that's probably why your provider installed it for you.
You mentioned svn.
So they compiled and installed ffmpeg from source on your box?
Imho, this is.. unprofessional.
They should have packaged it
Anyway, I dont know the contract details:
1) Did they install ffmpeg only on your request as a one shot solution?
If so, is there some kind of service level agreement to keep it in a functional state?
Kind of hindsight, I know: But software needs maintenance.
In the best case the distribution (centos/redhat/debian) does it for you.
If you need additional software, then *someone* needs to take care.
Anyway, in that case you need to open an additional request for them to fix that.
2) Is ffmpeg part of their standard offer?
Then you can write some nice mails first, and became a bit more nasty in the follow ups
You must always face the curtain with a bow.
- 12-06-2010 #9Just Joined!
- Join Date
- Dec 2010
- Posts
- 21
Firstly thanks for your response, it was installed but i wanted upgrade with x264 support, i even paid for it, and then i couldn't generate thumbnails, look at my first post every details version etc, stated above.I felt it was unprofessional so i agree with you.
I have a pending ticket them and i sent all the logs to them maybe they will take care about it.
I'm very nasty about follow ups, everyone knows me in their chat support, or every administrator u know, some says i remember u from yesterday u had problems with FFmpeg, and i say hell yeah i still have problems. And endless tickets pouring down =) I'm doing just as u say, but if their technical stuff doesn't solve my problem then here comes an important question. WHO?
- 12-06-2010 #10
Let's make sure it's not a package.
What does the output of this show?
ffmpeg is available via the 3rd party rpmfusion. This is a 3rd party repo, but probably one of the more trusted 3rd party repos for Centos/RHEL/Fedora.Code:rpm -qa | grep ffmpeg
To enable
Install ffmpegCode:su -c 'rpm -Uvh http://download1.rpmfusion.org/free/el/updates/testing/5/i386/rpmfusion-free-release-5-0.1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/testing/5/i386/rpmfusion-nonfree-release-5-0.1.noarch.rpm'
You'll want to remove the previous ffmpeg before doing this. Unfortunately, if it was installed from source and not packaged, this could be difficult to fully do.Code:su -c 'yum install ffmpeg'


Reply With Quote