Umm - I don't get it.
What I have basically done is buy preinstalled Linux laptops from Linux Emporium - and iPlayer works.
What is this brokenness people talk about?
Umm - I don't get it.
What I have basically done is buy preinstalled Linux laptops from Linux Emporium - and iPlayer works.
What is this brokenness people talk about?
Hi all,
Thanks for this great tutorial.
I followed each and every step and I get this message after the last command :
bash: hash: ffmpeg: not found
I don't know it this is a problem or not since I'm a total noob to this. Tried googling around and searching the forum but got nowhere...
Any ideas ? Did I miss something ? Should I uninstall and try to reinstall the whole thing (that's probably what I'm gonna try to do in the meantime...).
Thanks in advance for the help.
Ubuntu Lucid Lynx fresh install on AMD64.
Hi again,
Just did what I said in my last post. Uninstalled and reinstalled and it all went smooooth (don't ask me what happened the first time...).
Well, I can now join the happy campers club here and say : Thanks a bunch, FakeOutdoorsman !!!!
Now, I'll get to work
Great. Really. Thanks!
Donny you're out of your element!
Hmm... I've followed all these instructions, but whenever I try to convert a PNG sequence to a movie file I get the message
"Error opening filters!"
What does this mean?
Hi mrfreen,
From ffmpeg faq:
3.2 How do I encode single pictures into movies?
First, rename your pictures to follow a numerical sequence. For example, img1.jpg, img2.jpg, img3.jpg,... Then you may run:
ffmpeg -f image2 -i img%d.jpg /tmp/a.mpg
Notice that `%d' is replaced by the image number.
`img%03d.jpg' means the sequence `img001.jpg', `img002.jpg', etc...
If you have large number of pictures to rename, you can use the following command to ease the burden. The command, using the bourne shell syntax, symbolically links all files in the current directory that match *jpg to the `/tmp' directory in the sequence of `img001.jpg', `img002.jpg' and so on.
x=1; for i in *jpg; do counter=$(printf %03d $x); ln "$i" /tmp/img"$counter".jpg; x=$(($x+1)); done
If you want to sequence them by oldest modified first, substitute $(ls -r -t *jpg) in place of *jpg.
Then run:
ffmpeg -f image2 -i /tmp/img%03d.jpg /tmp/a.mpg
The same logic is used for any image format that ffmpeg reads.
Thanks! I was trying to use wildcards (e.g. *.png instead of %04d.png).
Working now. Thanks again!
Hmmm... new problem...
Now it's segfaulting when I try to make an x264 file.
Here's what I'm sending it:
and here's what it's giving me:ffmpeg -y -shortest -r 24 -i PNG/480/%08d.png -i audio.wav -acodec libfaac -ab 128k -ac 2 -vcodec libx264 -vpre slow -crf 22 -threads 0 mp4/sintel_trailer-480p.mp4
When I remove the -vpre argument it says:FFmpeg version SVN-r23085, Copyright (c) 2000-2010 the FFmpeg developers
built on May 11 2010 14:30:24 with gcc 4.4.3
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libx264 --enable-libxvid --enable-x11grab
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
libpostproc 51. 2. 0 / 51. 2. 0
[image2 @ 0x143c470]MAX_READ_SIZE:5000000 reached
Input #0, image2, from 'PNG/480/%08d.png':
Duration: 00:00:52.20, start: 0.000000, bitrate: N/A
Stream #0.0: Video: png, rgb24, 854x480, 24 fps, 24 tbr, 24 tbn, 24 tbc
[wav @ 0x143df40]max_analyze_duration reached
[wav @ 0x143df40]Estimating duration from bitrate, this may be inaccurate
Input #1, wav, from 'audio.wav':
Duration: 00:00:54.07, bitrate: 1535 kb/s
Stream #1.0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[ffmpeg_output @ 0x14dcd70]auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 0x14e5fe0]w:854 h:480 fmt:rgb24 -> w:854 h:480 fmt:yuv420p flags:a0000004
[libx264 @ 0x14c3710]using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[libx264 @ 0x14c3710]profile High, level 3.0
[libx264 @ 0x14c3710]264 - core 94 r1583 7608d73 - H.264/MPEG-4 AVC codec - Copyleft 2003-2010 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x3:0x113 me=umh subme=8 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=crf mbtree=1 crf=22.0 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 ip_ratio=1.41 aq=1:1.00
Output #0, mp4, to 'mp4/sintel_trailer-480p.mp4':
Metadata:
encoder : Lavf52.62.0
Stream #0.0: Video: libx264, yuv420p, 854x480, q=10-51, 200 kb/s, 24 tbn, 24 tbc
Stream #0.1: Audio: aac, 48000 Hz, 2 channels, s16, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #1.0 -> #0.1
Press [q] to stop encoding
Segmentation fault
... and doesn't segfault, but doesn't do anything, either...[libx264 @ 0x23331c0]broken ffmpeg default settings detected
[libx264 @ 0x23331c0]use an encoding preset (vpre)
Last edited by mrfreen; May 11th, 2010 at 05:40 PM. Reason: More information
Bookmarks