[Ffmpeg-devel-irc] ffmpeg.log.20111230

burek burek021 at gmail.com
Sat Dec 31 02:07:21 CET 2011


[00:06] <codyrobbins> The FAQ says that I can write to standard output instead of a file by using '-' as a filename, but it doesn't work for me.
[00:06] <codyrobbins> I get the error "Unable to find a suitable output format for 'pipe:'"
[00:06] <codyrobbins> Trying to specify a format using -f mp4 produces the error "Could not write header for output file #0 (incorrect codec parameters ?)"
[00:06] <codyrobbins> How do I just get ffmpeg to send what it would normally write to a file to standard out instead?
[00:07] <Mavrik> would you mind pasting whole command line with output?
[00:07] <Mavrik> (to a pastebin)
[00:07] <codyrobbins> Sure, hold on.
[00:08] <codyrobbins> Mavrik: http://pastie.org/3092831
[00:09] <Mavrik> hmm, interesting...
[00:09] <Mavrik> saving to file works?
[00:09] <codyrobbins> Mavrik: Yeah, it works perfectly.
[00:09] <codyrobbins> I also tried using 'pipe:1' instead of '-', but that produces the same errors.
[00:10] <Mavrik> I guess it could be a bux in mp4 muxer... which version are you using?
[00:11] <codyrobbins> Hmm, my version says git-2011-12-08-ec8a3e2.
[00:11] <codyrobbins> Is that an actual release or the Git head?
[00:11] <codyrobbins> I installed ffmpeg via Homebrew...
[00:11] <Mavrik> I see.
[00:12] <Mavrik> codyrobbins, well this shouldn't happen, so maybe you should write to ffmpeg-users group... or report as a bug on the tracker
[00:12] <codyrobbins> Homebrew says it should be ffmpeg 0.8.7
[00:12] <codyrobbins> Mavrik: OK, I wanted to check that I wasn't doing something wrong first.
[00:12] <codyrobbins> Thanks!
[01:37] <teratorn> can anyone think why changing the time_base value on my AVCodecContext when encoding a stream changes the quality of the resulting video??? at (AVRational){1,30} the quality is good, at {1,3600} it's horrible.
[01:37] <teratorn> the video still plays at the same speed, because I scale the pts values according to the time_base's
[01:37] <teratorn> codec is webm
[01:41] <michaelni> teratorn, possibly effects of framerate/bitrate
[01:44] <teratorn> michaelni: If I go much finer grained than {1,30} the quality starts degrading rapidly... which is annoying, since I wanted timestamps with finer granularity
[03:05] <GorDonFreeMan> maybe someone can give a generalized formula for using FFMPEG recording a webcam/getting images? or example in C ?
[03:05] <magicblaze007> ffmpeg -i input -vn -acodec libmp3lame -aq 0 output.mp3 -- How can i tell what other audio codecs are installed and what other fileformats can i output?
[03:16] <relaxed> magicblaze007: "ffmpeg -codecs" and "ffmpeg -formats"
[03:20] <magicblaze007> relaxed: thanks. Is there  a table somewhere so that i can take my "input" file and convert it to high quality audio? like flac/wav/mp3/... ?
[03:20] <GorDonFreeMan> http://dranger.com/ffmpeg/
[03:20] <GorDonFreeMan> i have found this tutorial, i can compile none of the examples
[03:21] <magicblaze007> GorDonFreeMan: it says its out of date
[03:21] <GorDonFreeMan> yes
[03:23] <relaxed> magicblaze007: "ffmpeg -i input output.flac" "ffmpeg -i input output.wav"
[03:23] <GorDonFreeMan> so anyone made a working example using ffmpeg in C ?
[03:23] <GorDonFreeMan> and like displaying images from a webcam?
[03:24] <GorDonFreeMan> or maybe even recording video from webcam?
[03:24] <magicblaze007> relaxed: can -i input be an mp3 file?
[03:24] <magicblaze007> lemme try, thanks
[03:25] <relaxed> yes, ffmpeg can decode just about anything you can feed it.
[03:25] <magicblaze007> thanks
[03:39] <emerica> Im having sync problems making a ts stream that sync properly with ac3 audio , 2 channels , 48000hz 192kb/s, If i change to mp2 audio OR change the ar for ac3 to 44100 i get sync.(mp2 at 48000 syncs), Im going to update to latest git and try again. This is going out an asi card to a tandberg tt1260 
[03:39] <emerica> thinking maybe one of the tables in ac3enc.c could be off maybe?
[04:02] <GorDonFreeMan> get a realtime kernel
[04:02] <GorDonFreeMan> that eliminates your latencies, given you have fast enough cpu
[04:04] <emerica> for ar ? or an above comment?
[06:26] <pHcF> hi
[06:26] <pHcF> how do i speed up an audio using ffmpeg?
[06:26] <Big_Brother> is there a way to do multiple encodes- one after the other finishes?
[06:26] <pHcF> i mean, an m4a
[06:52] <firefly__> hi all, is anyone familiar with proper usage of libx264 encoding in mp4 container for ps3?
[06:53] <firefly__> tried many. many iterations over several days, always says data curropt
[06:54] <relaxed> pastebin an example of what you've tried
[06:55] <firefly__> okay will do... one minute
[07:00] <firefly__> done
[07:07] <firefly__> it is basically variants of different presets... the core command stays the same
[07:08] <relaxed> where is the pastebin link?
[07:12] <firefly__> 3WM3YfU1
[07:14] <relaxed> firefly__: ffmpeg -i input -t 10 -vcodec libx264 -threads 0 -profile high -preset slow -level 42 -crf 18 -acodec libvo_aacenc -ab 128k output.mp4
[07:15] <firefly__> thanks, will try now
[07:15] <relaxed> firefly__: The "-t 10" forces it to stop after 10 seconds so you can quickly test samples.
[07:15] <firefly__> yes, i read tfm... I have short clip to test on anywY
[07:18] <firefly__> undefined constant or missing '(' in 'high'
[07:19] <relaxed> change "-profile high" to "-profile:v high"
[07:20] <firefly__> failed to set value 'high' for option 'profile:v'
[07:22] <relaxed> You need to pastebin the command and all output. You can't just cherrypick lines for me.
[07:23] <firefly___> fair enough, I was on my tablet
[07:24] <firefly___> http://pastebin.com/B66UuuPM
[07:24] <firefly___> that is the command
[07:25] <firefly___> output: http://pastebin.com/q3Cd86bB
[07:26] <firefly___> ubuntu 11
[07:26] <firefly___> ffmpeg 0.7.2
[07:28] <relaxed> Try changing "-profile:v high -preset slow" to "-vpre high -vpre slow"
[07:28] <firefly___> looking at my presets, I don't have a high
[07:29] <firefly___> but slow exists
[07:29] <firefly___> would you like that pastebin'd?
[07:29] <firefly___> I have the ls
[07:29] <firefly___> http://pastebin.com/tYSUj1E0
[07:29] <firefly___> all my presets
[07:30] <firefly___> the ps3 is my own custom attempt
[07:30] <relaxed> yeah, only use slow
[07:32] <firefly___> k, that runs.
[07:32] <firefly___> I'll test on the PS3
[07:32] <relaxed> if it works you owe me a beer
[07:33] <firefly___> well I get in to run most times
[07:33] <relaxed> and not some cheap, watered down beer either.
[07:33] <firefly___> just that the PS3 says unsupported data
[07:33] <firefly___> don't worry, I'm a microbrew guy
[07:33] <firefly___> never touch the swill
[07:33] <firefly___> I think our types all are "different"
[07:34] <relaxed> ever had Bell's Two Hearted Ale?
[07:34] <firefly___> never
[07:34] <firefly___> I'm from New Brunswick, Canada
[07:35] <firefly___> we have Picaroon's
[07:35] <firefly___> winner to 4 national awards ;)
[07:35] <relaxed> Bell's is right across the bridge
[07:35] <firefly___> and they have the brewery in town
[07:35] <firefly___> I'll try it if I see it
[07:38] <firefly___> same deal
[07:38] <firefly___> data type is not supported
[07:38] <firefly___> meh
[07:39] <firefly___> I'll come back to it, or keep encoding in mp4
[07:39] <firefly___> mpeg layer 4
[07:39] <firefly___> too late to keep going now
[07:40] <firefly___> thanks for the effort
[08:37] <PeHaPe> hi
[08:40] <PeHaPe> Could anyone please help me. I run ffmpeg unter opensuse and want to encode videos via batch. The bash script looks into a directory and checks if there are any videos to encode. The while loop works, but i get a problem when more than one file is in the directory. Running the script it says: "Enter Command: <target> <time> <command>[ <argument>]". I think it is because of the not line-by-line out
[08:40] <PeHaPe> put of ffmpeg. Any ideas?
[08:43] <PeHaPe> It only encodes one Video. Even if there are more in the directory.
[09:04] <PeHaPe> seems it doesnt work like i wanted it
[09:05] <PeHaPe> I solved it with find [...] -exec ffmpeg [...]
[09:05] <PeHaPe> bye
[09:22] <JuanDaugherty> I take it the two forks are reasonably friendly?
[09:23] <JuanDaugherty> or at least sharing code/not really having a fundamental functional distinction
[09:24] <Tjoppen> well, there's no takeovers being attempted at least
[09:24] <Tjoppen> so far the forks seem to stay somewhat in sync ABI-wise
[09:24] <JuanDaugherty> there's more than 2?
[09:25] <Tjoppen> ah, no. well, technically yes if you count things like all github forks :)
[09:25] <JuanDaugherty> and technically this the original isn't a fork
[09:25] <Tjoppen> anyway: michael merge libav quite often and they cherry-pick stuff from ffmpeg
[09:25] <Tjoppen> *merges
[09:26] <Tjoppen> unfortunately it's hard to get features into both without double the work, much to my chagrin
[09:26] <JuanDaugherty> no, most of the github forks are by "entrepreneurs" whose main concern if shia le boeuf or j. timberlake will play them in the movie
[09:26] <JuanDaugherty> *is if
[09:27] <JuanDaugherty> michael's the libav lead?
[09:27] <JuanDaugherty> buildmaster, whatever
[09:29] <Tjoppen> no, other way around. libav is merged into ffmpeg
[09:30] <JuanDaugherty> you're saying the flow of work product is in that direction I take it since the fork was from here no?
[09:31] <JuanDaugherty> as far as the named thing is concerned
[09:31] <Tjoppen> in traditional parlance I guess the fork is now upstream
[09:31] <Tjoppen> they consider themselves as such at least
[09:33] <JuanDaugherty> the fork is whereever it always was, the main body of the orginal project moved into the other branch leaving the original name project as "the fork" of the formerly 
[09:33] <JuanDaugherty> authorittive project
[09:34] <JuanDaugherty> *authoritative
[09:34] <JuanDaugherty> and with the typical popularity split in such cases where the public/free/crowd thing is the more popular apparently
[09:35] <JuanDaugherty> (judging by the number in the two channels right now)
[09:35] <Tjoppen> or the amount of traffic on the lists
[12:53] <Guest23109> check_lib x264.h x264_encoder_encode -lx264
[12:53] <Guest23109> check_header x264.h
[12:53] <Guest23109> check_cpp
[12:53] <Guest23109> BEGIN /tmp/ffconf..MICROSOF-40BD7A.500.1396.c
[12:53] <Guest23109>     1	#include <x264.h>
[12:53] <Guest23109>     2	int x;
[12:53] <Guest23109> END /tmp/ffconf..MICROSOF-40BD7A.500.1396.c
[12:53] <Guest23109> gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U__STRICT_ANSI__ -std=c99 -fno-common -fomit-frame-pointer -E -o /tmp/ffconf..MICROSOF-40BD7A.500.1396.o /tmp/ffconf..MICROSOF-40BD7A.500.1396.c
[12:53] <Guest23109> In file included from C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ffconf..MICROSOF-40BD7A.500.1396.c:1:
[12:53] <Guest23109> c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/x264.h:36:4: warning: #warning You must include stdint.h or inttypes.h before x264.h
[12:53] <Guest23109> check_func x264_encoder_encode -lx264
[12:53] <Guest23109> check_ld cc -lx264
[12:53] <Guest23109> check_cc
[12:53] <Guest23109> BEGIN /tmp/ffconf..MICROSOF-40BD7A.500.1396.c
[12:53] <Guest23109>     1	extern int x264_encoder_encode();
[12:53] <Guest23109>     2	int main(void){ x264_encoder_encode(); }
[12:53] <Guest23109> END /tmp/ffconf..MICROSOF-40BD7A.500.1396.c
[12:53] <Guest23109> gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U__STRICT_ANSI__ -std=c99 -fno-common -fomit-frame-pointer -c -o /tmp/ffconf..MICROSOF-40BD7A.500.1396.o /tmp/ffconf..MICROSOF-40BD7A.500.1396.c
[12:53] <Guest23109> gcc -Wl,--as-needed -o /tmp/ffconf..MICROSOF-40BD7A.500.1396.exe /tmp/ffconf..MICROSOF-40BD7A.500.1396.o -lx264 -lm -lpthread -lbz2 -lz -lpsapi
[12:53] <Guest23109> c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/../../../libx264.a(analyse.o):(.text+0x830b): undefined reference to `__chkstk_ms'
[12:53] <Guest23109> c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/../../../libx264.a(analyse.o):(.text+0x978b): undefined reference to `__chkstk_ms'
[12:53] <Guest23109> c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/../../../libx264.a(analyse.o):(.text+0x1e9da): undefined reference to `__chkstk_ms'
[12:53] <Guest23109> c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/../../../libx264.a(analyse.o):(.text+0x1ff4a): undefined reference to `__chkstk_ms'
[12:53] <Guest23109> c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/../../../libx264.a(analyse.o):(.text+0x20f7a): undefined reference to `__chkstk_ms'
[12:53] <Guest23109> c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/../../../libx264.a(analyse.o):(.text+0x2240a): more undefined references to `__chkstk_ms' follow
[12:53] <Guest23109> collect2: ld returned 1 exit status
[12:53] <Guest23109> ERROR: libx264 not found
[12:53] <Guest23109> what's wrong with this?
[12:55] <Mavrik> the fact you didn't use a pastebin and spammed the channel.
[12:57] <Guest23109> pastebin
[12:58] <Guest23109> i don't know what's that,sorry
[13:01] <Guest23109> http://pastebin.com/VdKk328g
[13:10] <Guest69035> http://pastebin.com/HFbGwjib
[13:10] <Guest69035> link libx264 wrong
[13:15] <Mavrik> did you even compile and install libx264?
[13:18] <Guest69035> no ,just download it from http://oss.netfarm.it/mplayer-win32.php
[13:20] <Mavrik> well... duh :)
[13:21] <Mavrik> Guest69035, since it seems you don't really know what you're doing, download ffmpeg pre-built from here instead: http://ffmpeg.zeranoe.com/builds/
[13:22] <Guest69035> hehe
[13:38] <JEEB> also, just noting that gcc 4.2.x is most probably broken on mingw if not elsewhere as well so you should run away as far as possible from it
[13:43] <Mavrik> JEEB, 4.2 is still broken on mingw? I thought they fixed that by now :\
[13:43] <JEEB> well, I remember the Videolan project building libx264 with it for VLC
[13:44] <JEEB> ...until someone finally figured that it miscompiled libx264 BADLY
[13:44] <JEEB> so, uhm, stay away
[13:44] <JEEB> not to mention that 4.2.x hasn't been supported for ages
[13:44] <JEEB> even 4.3 has already been dropped
[13:44] <JEEB> leaving 4.4 the oldest gcc version still maintained
[13:45] <Mavrik> meh, last time I checked they broke whole MinGW/MSYS install process
[13:45] <Mavrik> and I stopped bothering with them
[13:45] <Guest69035> maybe i the problem ,  the libx264.a which i use ,is build by gcc 4.2.5 or 4.6.1
[13:45] <Guest69035> but i use 4.2.1 to link it,so...,sad
[13:46] <Guest69035> thanks a lot
[14:17] <knobo> Do I really need red5 or similar apps to do two way live streaming to a flash application, or can it be done with some scripting and ffmpeg?
[14:19] <knobo> And are there any examples and documentation of that?
[15:33] <firefly__> good morning from Canada
[15:33] <firefly__> I am returning with some question about ffmpeg encoding with libx264 that is compatible for a mediatomb delivered stream to PS3
[15:34] <firefly__> If anyone is up to the challenge... I've been through the manual and many days of googling and iterations
[15:35] <firefly__> I should mention that I have it configured such that mediatomb only delivers the content... no transcoding set
[15:35] <firefly__> running ffmpeg 0.7.2 on ubuntu 11
[15:37] <firefly__> always getting 'data type not supported' error on ps3
[15:44] <relaxed> firefly__: good morning
[15:47] <firefly__> pulling my hair out over this encoding
[15:51] <relaxed> firefly__: try this http://dl.dropbox.com/u/24633983/test.mp4
[16:07] <firefly__> that test file plays fine.
[16:07] <firefly__> note that I only have problems with my own encoding of my DSLR movies.
[16:07] <firefly__> they are shot in 1080p 24fps
[16:07] <cga> hi all, I need to make a script that extracts EXTINF from mp3 files. is it possible with ffmpeg to extract such info?
[16:08] <firefly__> but I very heavy in terms of storage... we're talking pcm sound and about 800M for a 2minute clip.
[16:08] <firefly__> so I'm trying to compress that, without much luck.
[16:17] <Mavrik> mm
[16:18] <Mavrik> firefly__, are you setting the right level, profile and container?
[16:18] <firefly__> tried level 41, 42 vpre from slow,slower,lossless variants... all in mp4 container with aac
[16:18] <firefly__> relaxed is currently helping me with it
[16:19] <Mavrik> those are presets, not profiles :)
[16:19] <Mavrik> did you disable b-pyramid an P4x4?
[16:19] <Mavrik> made sure your bitrate is low enough for PS3 to play?
[16:20] <Mavrik> oh... and update ffmpeg and x264 to something more recent (current version is 0.9)?
[17:00] <IchGucksLive> hi all "ffmpeg -i input.ogv -acodec libfaac -ab 128k -vcodec libx264 -preset slow -crf 22 output.mp4" is ther anything on the wikipedia page  on this from recormydesktop to mp4
[17:00] <Mavrik> ...
[17:39] <tomasm-> hi, anyone know if the ffmpeg-php module can do conversion? ie wma to mp3, etc.... all i see is basic meta information in the ffmpeg_movie class
[17:39] <tomasm-> or should I just use the command line version in php?
[17:40] <JEEB> tomasm-, ffmpeg-php is not related to ffmpeg
[17:41] <tomasm-> yeah i figured i could get more relevent help here, possibly... #php is usually general php... but i asked there too
[17:43] <JEEB> more like you should find the developers of the given module and ask at their place :P
[17:52] <magn0z> hey. trying to change container from AVI to MKV. used ffmpeg -i my.avi -vcodec copy -acodec copy my.mkv  .. which works, however, video framerate is all wrong in the resulting my.mkv. tried adding -r 24 to force output framerate, but seems to be ignored
[18:00] <magn0z> ffmpeg also prints some clues that might be related: Seems stream 0 codec frame rate differs from container frame rate: 23.98 (65535/2733) -> 23.98 (10000000/417083)
[18:00] <magn0z> but not sure if it matters, because both container and codec reports 23.98 fps (i guess??)
[18:01] <JEEB> note: pretty much only AVI has just a field that's called "frame rate", most if not everything else just has timestamps per frame
[18:01] <JEEB> matroska is basically "millisecond precision"
[18:01] <JEEB> (by default)
[18:04] <tomasm-> is ffmpeg suitable for encoding mp3 files (converting from wma)? or is that some other tool? i tried ffmpeg -i file.wma file.mp3, and it says "encoder (codec id 86017) not found for output stream #0.0
[18:06] <tomasm-> ffmpeg -formats DOES mention mp3 as encoder and decoder capability
[18:10] <tomasm-> wait, LAME wasnt installed.... but if all im doing is converting audio files. do i really even need ffmpeg, or will LAME suffice?
[18:12] <tomasm-> ok seems that ffmpeg understands wma, but lame doesnt
[19:04] <magn0z> JEEB, so, should not the playback occur at the correct rate if the timestamps are encapsulated within the video stream?
[19:06] <relaxed> tomasm-: yes
[20:10] <supernull> we need a .banana TLD for occasions like this.
[20:10] <supernull> maybe even properly spelled.
[20:17] <supernull> Hey guys, looking for an ideal implementation suggestion for .. a database that will only grow in size massively.. it will be containg our companys Call Detail Records. Ideally i would love this to be split up using some kind of sorcery by month or at least allow indexing much faster by month..
[20:19] <supernull> SOPA go through and i didnt know ?
[20:22] Action: supernull just realized this isnt #mysql.. derp
[21:10] <grap3_ap3> Anyone able to help me troubleshoot converting from .ogv to .avi? The output audio is good but the video is just a black/purple pixelated screen.
[21:12] <grap3_ap3> ffmpeg -i  out.ogv  -ar 22050  -ab 32k  -r 25  -s 1920x1080  -vcodec flv -qscale 9.5 output_file.avi << this is my command usage. creates the file fine, audio sounds good but the vid is useless. 
[21:21] <cbsrobot> grap3_ap3: pastebin the output
[21:29] <grap3_ap3> cbsrobot, output here: http://pastebin.com/uSTfFmqQ
[21:30] <fortress> ffmpegx on mac says "unrecognized" when pointed to an mkv file. is there a solution to this?
[21:31] <fortress> my goal is to convert the audio of the mkv file from AC-3 to mp3, and leave the video track as is
[21:32] <cbsrobot> grap3_ap3: first upgrade your ffmpeg: http://bit.ly/3xSE5
[21:34] <grap3_ap3> suppose that's my fault for installing via apt\
[21:34] <cbsrobot> imho it's nobodys fault - it's just a hint
[21:35] <grap3_ap3> upgrading now. 
[21:43] <E0F> hi
[21:43] <E0F> please, how can I specify the input codec of and audio file ? I have an input file with no headers but I know which codec was used and I'd like to transcode it
[21:55] <fortress> okay, i have extracted the h264 and ac3 files from the mkv container. how can i use ffmpeg to convert the ac3 audio to mp3 and add it to the h264 video file, without re-encoding the h264 video?
[21:56] <cbsrobot> fortress: no need to extract it first ....
[21:56] <fortress> cbsrobot: ffmpegx was not recognizing the mkv file: "unrecognized"
[21:57] <cbsrobot> fortress: use ffmpeg command line tool then
[21:57] <E0F> nobody's got an idea for my question ?
[21:58] <fortress> ah i see, thank you. where can i best learn to use the command line tool to convert the audio and leave the video untouched?
[21:58] <E0F> I'd like to transcode a file, problem is : the file has no headers, but I know what codec was used, how can I bypass that ?
[21:58] <E0F> fortress: I think the manpages are a good start :)
[21:59] <fortress> E0F, that was the politest RTFM i have ever received. thank you. lol
[21:59] <cbsrobot> fortress: use "-vcodec copy" for the video and specify all the audio parameters
[21:59] <fortress> cbsrobot, thanks a ton! i will try that now
[22:05] <E0F> fortress: you are welcome :)
[22:15] <grap3_ap3> cbsrobot, all updated and made some progress.. now the video looks better but the text is all munged. Here is command + output: http://pastebin.com/JMAa8tsi
[22:20] <cbsrobot> what text ?
[22:20] <cbsrobot> subtitle text ?
[22:23] <cbsrobot> grap3_ap3: ^
[22:23] <grap3_ap3> no
[22:23] <grap3_ap3> the video is a recodring of some command line operations. The terminal text is unreadable in the avi.
[22:23] <cbsrobot> ah ok
[22:24] <cbsrobot> well you use a horrible codec I guess
[22:24] <grap3_ap3> sorry for my lack of clarity, i'm a total n00b when it comes to anything video....
[22:24] <cbsrobot> what for do you need the video ?
[22:24] <grap3_ap3> -vcodec mpeg4 == horrible?
[22:25] <grap3_ap3> ideally I want to post to youtube.
[22:25] <cbsrobot> ok
[22:25] <cbsrobot> not sure about youtube reconverting it, but I suggest use x264
[22:26] <cbsrobot> at the end of the ubuntu compile guide you have some sample commands - try one of these.
[22:27] Action: grap3_ap3 trying now
[22:27] <cbsrobot> ah sorry - it's in the middle somewhere
[22:29] <cbsrobot> E0F: try to put the parameters in from of the "-i input" - but I guess if it's not rawaudio you have little chance it works
[22:31] <grap3_ap3> cbsrobot, still the same. Wondering if this could have to do with my recording at too high a res? Was recorded 1920*1080
[22:31] <cbsrobot> grap3_ap3: command did you use ?
[22:32] <grap3_ap3> -acodec libfaac -aq 100 -vcodec libx264 -preset slow -crf 22 output.avi
[22:32] <cbsrobot> try to lower the -crf value
[22:33] <cbsrobot> let's say 12
[22:33] <grap3_ap3> trying w/ 12
[22:35] <E0F> cbsrobot: like ffmpeg -acodec libspeex -i <file> ?
[22:35] <cbsrobot> E0F: well yes - but 0.1% chance it works
[22:35] <grap3_ap3> no change..
[22:36] <grap3_ap3> :(
[22:36] <grap3_ap3> ok .. well thanks for the help. This is all the time I have to spend on this now. I will try to re-record at a lower res and see if that helps. If not, I'm sure I'll be back. 
[22:36] <cbsrobot> grap3_ap3: but when playing the input file with ffplay or vlc you can read the text ?
[22:37] <grap3_ap3> cbsrobot, yes, that's correct. 
[22:37] <E0F> cbsrobot: i have already tried and it didn't work
[22:38] <cbsrobot> grap3_ap3: what about:
[22:38] <cbsrobot> ffmpeg -i input -vcodec libx264 -preset ultrafast -crf 0 -acodec copy output.avi
[22:38] <cbsrobot> or if you have a lot of time:
[22:39] <cbsrobot> ffmpeg -i input -vcodec libx264 -preset veryslow -crf 0 -acodec copy output.mkv
[22:39] <cbsrobot> grap3_ap3: for the first command use rather:
[22:39] <cbsrobot> ffmpeg -i input -vcodec libx264 -preset ultrafast -crf 0 -acodec copy output.mkv
[22:39] <grap3_ap3> OK.. trying now. 
[22:39] <grap3_ap3> thanks!
[22:39] <cbsrobot> avi kind of sucks
[22:55] <grap3_ap3> cbsrobot, no change in video and now the sound is screwed up too :(
[22:55] <grap3_ap3> tried w/ both ultrafast and veryslow
[22:56] <grap3_ap3> I'll re-record. That almost has to be the problem at  this point I think. 
[00:00] --- Sat Dec 31 2011


More information about the Ffmpeg-devel-irc mailing list