[Ffmpeg-devel-irc] ffmpeg.log.20130709
burek
burek021 at gmail.com
Wed Jul 10 02:06:26 CEST 2013
[00:14] <semme> thanks got it running
[00:24] <semme> hmm strange enough, but i don't see anything weird in the boxdumper output
[00:31] <JEEBsv> even with the timestamp output?
[00:31] <JEEBsv> see the timescale as well as the values
[00:39] <semme> ohh i see it now
[00:40] <semme> DTS = 0, CTS = 42
[00:40] <semme> but i have no idea how this value is so smal
[00:41] <semme> *small
[00:42] <JEEBsv> uhh
[00:42] <JEEBsv> by itself just a small value says nothing
[00:42] <JEEBsv> as I said, look at the timescale as well
[00:47] <semme> Media timescale: 11776
[01:47] <semme> damn finally nailed it
[04:07] <h6w> This might be a slightly OT question, but I have a webcam that I can connect to with v4l2 and supposedly outputs a raw mpeg2 stream. I also have an mpeg2 hardware decoder that does decode correctly as I've tested it with a VOB.
[04:08] <h6w> However, when I try to pipe from one to the other, it tells me it sees the signal, but I just get a black screen.
[04:09] <h6w> I get "Video codec omx-mjpeg width 640 height 480 profile -99 fps 30.000000".
[04:36] <diegoviola> i tried to play a mkv file today in a home theater, and it didn't even read the file, so i converted it to avi, it read the file but told me "audio unsupported", so i converted the AAC audio to mp3, then it played the audio but not the video, so i converted the H.264 video to MPEG4, then it complained that the resolution was too big, then i just gave up
[04:37] <diegoviola> why are these "home theater" manufacturers selling hardware with such limitations is beyond me
[04:37] <diegoviola> maybe it's just some old device
[04:37] <diegoviola> sorry for the off-topic
[04:37] <klaxa> get a pi :X
[04:37] <klaxa> or use an old laptop like i do
[04:38] <klaxa> not too old though
[04:38] <klaxa> either one with hardware accelerated playback or enough CPU power to decode videos in software
[04:39] <diegoviola> i'll try with a pi, thanks :)
[04:42] <klaxa> omxplayer doesn't handle softsubs /very well/ though
[04:42] <klaxa> i think it handles them, but not so very well... something like that
[04:44] <diegoviola> that's fine
[04:44] <diegoviola> does mplayer or vlc runs fine on it?
[04:44] <klaxa> not... really
[04:44] <klaxa> only in software
[04:44] <klaxa> that's why there is omxplayer
[04:45] <diegoviola> oh..
[04:47] <diegoviola> ty
[04:48] <klaxa> well i think it's okay if you only have .srt subs, with .ass with karaoke, dunno
[04:49] <klaxa> hardware decoder decodes up to high profile of h264
[04:49] <klaxa> and if you buy the license MPEG2 too
[05:02] <h6w> Yeah, but apparently the MPEG2 hardware decoding is in omxplayer and not in the libs, so you have to use it to get the hardware decoding.
[05:02] <h6w> And omxplayer is almost completely undocumented.
[05:26] <h6w> Does anyone know of an mpeg2 demo rtsp stream online somewhere?
[05:56] <klaxa> how do i tell autoconf that i want to use a specific shared library for libx264 instead of the default one in /usr/lib ?
[05:56] <klaxa> compiling ffmpeg
[06:03] <relaxed> klaxa: --extra-cflags="-I/path/to/prefix/include" --extra-ldflags="-L/path/to/prefix/lib"
[06:04] <klaxa> and it will prefer those over the ones in /usr/lib?
[06:04] <relaxed> yes
[06:04] <klaxa> awesome, thanks
[06:17] <relaxed> klaxa: it will need to be in ld.so's search path or you can use LD_LIBRARY_PATH=/path/to/lib/dir
[06:18] <klaxa> ah right, thanks would have forgotten about that and wondered why it wouldn't work ;)
[06:21] <elkng> I use "ffmpeg version 1.2" and that command to convert file http://sprunge.us/VUUf and thats the output: http://sprunge.us/HigG, is something wrong with file ? I tryed mencoder, works without errors
[06:22] <klaxa> >VUUf not found
[06:24] <elkng> http://sprunge.us/JKKc that is what ffprobe tells about that video file
[06:24] <elkng> http://sprunge.us/UMBM thats the command I use, working link
[06:24] <elkng> klaxa:
[06:25] <klaxa> you must be doing something wrong... >JKKc not found
[06:26] <elkng> http://sprunge.us/SAaW that is what ffprobe tells about that video file, working link
[06:26] <elkng> klaxa:
[06:27] <klaxa> i... i'm sorry i tried with 2 browsers and wget but sprunge won't let me see that
[06:27] <elkng> http://sprunge.us/SCPQ that should work, contains ffprobe output
[06:27] <elkng> klaxa:
[06:27] <klaxa> hmmm well that looks rather simple
[06:28] <klaxa> oh wait
[06:28] <klaxa> VP6A
[06:28] <elkng> yes, what with that ?
[06:28] <elkng> video codec ?
[06:28] <klaxa> hmm...
[06:28] <klaxa> >Unknown/unsupported AVCodecID V_MS/VFW/FOURCC.
[06:28] <klaxa> can you run ffmpeg -codecs ?
[06:28] <klaxa> although that might be not ffmpeg related but maybe a matroska issue
[06:29] <elkng> klaxa: http://sprunge.us/XcQe output of "ffmpeg -codecs"
[06:30] <klaxa> mencoder worked without problems you say?
[06:32] <elkng> klaxa: yes, I use that command http://sprunge.us/QXEQ for mencoder
[06:32] <klaxa> hmm... sorry, no clue, file a bugreport with a sample file maybe?
[06:33] <elkng> I have mplayer-export-2012-04-22 and "mencoder --version" says: "MEncoder SVN-r34870-snapshot-4.4.4"
[07:43] <t4nk829> hi
[07:44] <t4nk829> Is it necessary to set format for ffmpeg when capture audio from usb sound card?
[07:44] <t4nk829> for example: if my usb sound card support format:S24_3LE, is it necessary to tell ffmpeg the format S24_3LE?
[07:46] <t4nk829> As I know the command :ffmpeg -f alsa -ac 1 -i hw:1 -f video4linux2 -i /dev/video0 /tmp/out.mpg
[07:46] <t4nk829> it does not tell the format of audio from usb sound card
[07:48] <klaxa> it does, it's alsa
[07:49] <t4nk829> ?
[07:49] <t4nk829> how ffmpeg know the format is S24_3LE?
[07:49] <klaxa> alsa is the sound format of the audio stream from hw:1, which presumably is your usb soundcard
[07:49] <t4nk829> yes,
[07:50] <klaxa> magic? i would guess it reads it from the alsa framework at some point
[07:50] <t4nk829> and in advance, how to set format in ffserver.conf?
[07:51] <t4nk829> AudioCodec
[07:51] <t4nk829> It seems AudioCodec can not set pcm_s24_3le
[07:54] <klaxa> i not familiar with ffserver, it is poorly documented (afaik? if someone has good docs, they would be appreciated) and i have barely played around with it
[07:56] <t4nk829> thanks, klaxa
[08:51] <t4nk829> hi
[08:52] <t4nk829> I got error when I try to open audio aound card
[08:52] <t4nk829> the ffmpeg command line:ffmpeg -loglevel debug -f alsa -i hw:0 -ar 48000 -ac 2 -acodec copy -f video4linux2 -r 30 -s 1280x720 -input_format h264 -i /dev/video1 -vcodec copy http://localhost:8090/feed1.ffm
[08:52] <t4nk829> the error is :cannot set sample format 0x10001 3 (Invalid argument) hw:0: Input/output error
[08:52] <t4nk829> does anyone have ida?
[08:53] <t4nk829> Is is necessary to assign format when I start ffmpeg?
[09:49] <t4nk829> hi
[09:49] <t4nk829> does anyone know how to set audio format for ffmpeg in command line?
[09:50] <t4nk829> for example:I would like to set audio format is PCM S24_LE
[09:50] <t4nk829> how to set the format in ffmpeg arguments?
[09:53] <relaxed> t4nk829: -c:a pcm_s24le
[09:54] <relaxed> `ffmpeg -codecs | less`
[09:54] <relaxed> -f s24le (look at -formats too)
[11:13] <Dheeraj_k> is it possible to pass duration to ffmpeg for how long it should record desktop?
[11:17] Last message repeated 1 time(s).
[11:44] <relaxed> Dheeraj_k: ffmpeg -i input -t $time ...
[11:46] <someone-noone> ffmpeg -i test.mp4 -c:v libx264 -c:a copy -g 12 out.mp4
[11:46] <someone-noone> ^ ffmpeg always freezes on '-g' option
[11:46] <someone-noone> what can it be?
[11:46] <someone-noone> if I remove it, reencoding is fine
[11:50] <mark4o> someone-noone: what version?
[11:51] <someone-noone> N-49352-gc46943e
[11:52] <mark4o> is it configured with git version of libvpx?
[11:53] <someone-noone> quite right you're
[11:53] <someone-noone> configuration: --enable-gpl --enable-libx264 --prefix=/usr --enable-libvpx --enable-libvorbis
[11:54] <mark4o> does ffmpeg -h full go into an infinite loop also? michaelni checked in a fix earlier today, try git head
[11:55] <someone-noone> ffmpeg -h works
[11:55] <mark4o> -h full
[11:55] <someone-noone> yes :)
[11:55] <someone-noone> infinite loop
[11:56] <someone-noone> is it fixed in yesterday version?
[11:56] <someone-noone> or it was fixed today?
[11:56] <mark4o> no, fixed 8 hours ago
[11:56] <someone-noone> ok. thanks
[12:16] <curfont> Hi guys, https://ffmpeg.org/trac/ffmpeg/ticket/2761#comment:4 - should I also open this bug for libav..?
[12:17] <durandal_1707> if you want ...
[12:18] <durandal_1707> and care it get fixed soner than later, but no promises...
[12:18] <curfont> I guess people using zoneminder on ubuntu or debian would have the same issue otherwise
[12:19] <durandal_1707> does it happens with libav too?
[12:20] <curfont> yes
[12:20] <curfont> "ffmpeg" in ubuntu is essentially libav now?
[12:21] <JEEB> yes, debian-based distros use libav
[13:38] <leandrosansilva> Hello. Is there in ffmpeg any tools which perform rgb/yuv -> hsl pixel conversion? I looked at ffmpeg source code but I couldn't find anything related.
[13:55] <Mavrik> leandrosansilva, pixel conversion is done by libswscale
[13:55] <Mavrik> check those calls.
[13:57] <leandrosansilva> Mavrik, It seems libswscale doesn't support hsl :-( At least I couldn't find anything in pixfmt.h
[13:58] <Mavrik> yeah, that would probably caused by non-existence of video formats supporting HSL.
[14:02] <leandrosansilva> Ok, thx. I'll need to convert by hand or using openCV... Thx :-)
[14:52] <mavetron> i am having trouble compiling ffmpeg from the compilation guide
[14:53] <mavetron> the configure part of ffmpeg is not wroking
[14:54] <mavetron> solved i just left out libopus
[16:18] <beginner> hey all, I have a question... im streaming, but the resolution may changes, is there a way to "re-crop" somehow, or I must halt and restart the streaming anyway?
[16:26] <beginner> then I ask in another way: can I stream video which automatic adapt the resoultion, even if it might changes?
[16:41] <durandal_1707> michaelni: i get segv if i press q before ffmpeg finish filtering
[16:42] <michaelni> durandal_1707, works fine here (even under valgrind)
[16:43] <michaelni> but the exit/atexit change might be related to such bug
[16:43] <durandal_1707> it happens with filter i work on, but not with apad
[16:50] <michaelni> ahh ok
[18:58] <DualC> Hi, i have a question.. i trie to compile ffmpeg on ubunto 11.04 after this explanation "http://trac.ffmpeg.org/wiki/UbuntuCompilationGuide". I have gone thru all the parts and starting with the configure script in ffmpeg dir, .. and it tells me it cant find OPUS, .. i can se the libopus.a / libopus.la files in ffmpeg_build/lib so what is wrong, ?? any ideas.
[19:01] <curfont> did you put the correct configure?
[19:03] <DualC> In ffmpeg u mean , .. sure i copyed it from the page..
[19:03] <DualC> guide*
[19:05] <curfont> if you are using latest ubuntu DualC, use the package
[19:05] <brontosaurusrex> relaxed, we have a problem.
[19:06] <DualC> i use 11.04
[19:06] <DualC> but libopus compile well ..
[19:07] <curfont> if all else fails install it to the normal place
[19:07] <curfont> instead of the prefix
[19:07] <curfont> :P
[19:09] <DualC> Ah i will trie, .. what... do i need opus anyway ??, . i should install ffmpeg under serviio..
[19:16] <brontosaurusrex> trying to compile ffmpeg with x264, but keep getting "/home/b/Linux.Encoding.install/build.logs/ffmpeg.configure.log"
[19:16] <brontosaurusrex> sorry, keep getting "ERROR: libx264 not found"
[19:17] <brontosaurusrex> there is nothing special in x264 logs
[19:18] <brontosaurusrex> and i've tryed at least 3 different approaches
[19:23] <sasha-> O hai
[19:23] <sasha-> Anyone know how to use ffmpeg to join two files together, transparently (no transcoding)? I tried ffmpeg -i File1.aac -i File2.mp4 copy FinalFile.mkv and it didn't work
[19:24] <brontosaurusrex> sasha-, perhaps read on concat protocol
[19:24] <Fjorgynn> perhaps do -c copy
[19:25] <durandal_1707> sasha-: there is concat demuxer
[19:25] <sasha-> http://pastebin.com/ZSnTRBJw
[19:26] <sasha-> ^ that's the error I get
[19:26] <durandal_1707> well first make sure that first file is not corrupted
[19:27] <sasha-> oops& just found my mistake
[19:28] <curfont> libavcodec/h264qpel.o is taking ages, is it suppose to?
[19:28] <durandal_1707> taking ages what?
[19:28] <sasha-> no, no, it's just that I exported the audio as mp4 and the video in aac
[19:28] <curfont> to link
[19:29] <durandal_1707> what os?
[19:29] <curfont> make was going a long fine and its frozen at that object file
[19:29] <curfont> ubuntu
[19:29] <durandal_1707> what ffmpeg version?
[19:30] <curfont> latest git
[19:32] <durandal_1707> well it builds fine here...
[19:32] <sasha-> Ok, I reextracted the audio and video files& still the same error
[19:32] <curfont> might be a memory thing, looks full and swap is disabled
[19:35] <curfont> there we go, stopped cassandra and its compliing now
[19:35] <curfont> dat memory hog :(
[19:35] <durandal_1707> cassandra?
[19:37] <curfont> its a database thing that uses a lot of memory
[19:38] <durandal_1707> database of what?
[19:41] <zap0> data
[19:42] Action: durandal_1707 *sigh
[19:44] <curfont> durandal_1707: unrelated to ffmpeg, it's where I store CCTV logs and other stuff
[19:50] <saste> ping on my doc/developer patch
[19:50] <durandal_1707> saste: i replied to that
[19:53] <tm512> does anyone know how to fix audio/video desyncs when recording with ffmpeg?
[19:54] <tm512> I'm trying to stream, so I can't fix them after the fact
[19:54] <tm512> -vsync, -async, -af aresample=async=1000, -copyts all do nothing
[20:19] <rager> howdy folkks
[20:19] <rager> is there a practical way to capture stderr off of some C that I'm running through NDK?
[20:21] <tm512> freopen ("stderr.txt", "w", stderr); should workd, but what does that have to do with ffmpeg?
[20:24] <rager> well, ffmpeg seems to be putting out progress data to stderr
[20:24] <rager> or at least, it's making it into the logcat output
[20:25] <johnsmith> Hi, I am having problems installing FFMPEG on CENTOS 5.9, and cannot work on CENTOS 6 for work related reasons, can anyone point me to the direction of how to install FFMPEG? http://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide is for CENTOS 6, I am hoping someone has the resource to give me a modified version of this for CENTOS 5.
[20:25] <rager> oh, poop
[20:25] <rager> wrong place
[20:25] <rager> johnsmith: ffmpeg is a nightmare on redhat-alikes
[20:25] <rager> but it should be in the repos for 5.9?
[20:25] <t4nk961> hi, i was trying to compile ffmpeg and x264 on mingw
[20:25] <johnsmith> Where should I look for those repos?
[20:26] <t4nk961> where exactly does ffmpeg look for x264 files
[20:26] <rager> if you set the prefix, while configuring, then do make install
[20:26] <t4nk961> i have my includes and libs in c/mingw/msys/1.0/local/
[20:26] <rager> and then set the prefix on ffmpeg, it should go to the given prefix to try to find dependencies
[20:27] <t4nk961> okay, you mean while configuring x264 i need to set prefix
[20:27] <t4nk961> and same the same prefix in ffmpeg configure right?
[20:28] <rager> yes - that prefix being the toolchain environment you're building into, I'd expect
[20:28] <rager> at least, that's my experience with android
[20:29] <t4nk961> ok
[20:30] <johnsmith> rager: Have you worked with RHEL5 FFMPEG before? Does FFMPEG for CENTOS 5 use the new methods (avcodec_open_input... etc)?
[20:30] <rager> I've installed ffmpeg on amazon linux
[20:30] <rager> both from centos 5.x repos and from source
[20:31] <johnsmith> Does it use the new or deprecated methods?
[20:31] <rager> I have no idea what those words mean in this context.
[20:31] <johnsmith> i want to use the method
[20:31] <rager> I'm missing an antecedent
[20:31] <johnsmith> avcodec_decode_audio4(...) but it doesn't exist in a certain FFMPEG I am using (yum install ffmpeg ffmpeg-devel)
[20:32] <johnsmith> Not sure if this is the most up to date version
[20:32] <johnsmith> for CENTOS 5.9
[20:33] <rager> are you sure you need the most up-to-date stuff, or do you just "need" it because some newer tutorial says something about it?
[20:33] <johnsmith> No, but I cannot find any previous iteration of avcodec_decode_audio4
[20:33] <rager> this is most of what I use to install ffmpeg
[20:33] <rager> http://hastebin.com/lipubecume.hs
[20:33] <rager> it probably wont work as is
[20:33] <rager> but it's a basic start
[20:34] <johnsmith> Seems to be the same as the centos compilation guide, but I'll give your script a run through
[20:34] <rager> it pretty much is the exact same as that guide
[20:34] <rager> and you're going to have to fix some pieces, I know for sure
[20:41] <humbolt> when I am receiving an RTMP stream (or other streaming protocols) via ffmpeg, how can I make it to try to reestablish a connection if it is lost and to survive lost packages?
[21:21] <llogan> johnsmith: http://git.videolan.org/?p=ffmpeg.git;a=blob;f=doc/APIchanges
[21:22] <llogan> have you tried the Centos ffmpeg guide? maybe it will work on 5 just fine.
[21:24] <llogan> rager: your script is not the same as the guide.
[21:37] <tm512> anyone know how to sync audio and video while streaming?
[21:37] <tm512> they seem to be out of sync at a random amount each time
[22:11] <Fjorgynn> :D
[22:13] <johnsmith> Does anyone know how to completely uninstall x264?
[22:26] <llogan> johnsmith: depends on how you installed it.
[22:26] <llogan> did you follow the Centos guide or that script from rager?
[22:26] <rager> I wrote that script
[22:27] <rager> after reading the centos guide
[22:28] <rager> this is my more up-to-date one
[22:28] <rager> http://hastebin.com/giyosuxebo.hs
[22:29] <llogan> yours installs to the system. the guide "installs" to the user's home directory. i'm not sure if johnsmith noted this difference.
[22:30] <llogan> also your old version was missing the --extra-libs="-ldl" which may have thwarted him
[22:31] <rager> johnsmith: new script I found
[22:31] <rager> bleh... just got done building for android
[22:31] <rager> I'd like to figure a way to cut it down to just what I need, but I'm not sure what "just what I need" quite entails
[22:31] <rager> since the app is now 30+mb
[22:32] <llogan> cut what down?
[22:35] <tm512> does anyone know how to stream with ffmpeg, without getting desyncs, or am I completely out of luck?
[22:37] <tm512> I'm using http://hastebin.com/jisidabuba
[23:14] <JodaZ> does anyone know a reasonably current (updated at least once or maybe twice a year xD) debian repo for a totally "unfree" ffmpeg ?
[23:16] <durandal_1707> unfree can not be distributed, as its not legal
[23:17] <durandal_1707> so you ask someone to distribute you undistributabel build on public channel
[23:17] <Mavrik> that would be illegal? :)
[23:17] <Mavrik> use static builds form download page for most current redistributable build
[23:18] <JodaZ> download page ?
[23:35] <beastd> http://ffmpeg.org/download.html
[23:46] <llogan> JodaZ: !dl static
[23:46] <llogan> duh...
[00:00] --- Wed Jul 10 2013
More information about the Ffmpeg-devel-irc
mailing list