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

burek burek021 at gmail.com
Fri Apr 19 02:05:01 CEST 2013


[03:29] <THoRIX_> hi, i've been working with dranger's ffmpeg tutorials (im building under win64 using zeranoe builds) and im noticing something strange. Depending on how many logical cores are detected the video sync timings seem to vary.  For example if i set the program affinity to a single core then the video frames match perfectly with the audio, the more cores i enable the more the video is off sync (always behind the audio).  I can replicate the behaviour by programmical
[03:29] <THoRIX_> ly setting the thread_count under AVCodecContext.  Can anyone shed any light on why this is happening?
[07:11] <newb2ee> what is diffrent between plane and channel?
[07:12] <newb2ee> 2 ch  audio has 2 plane, isnt it?
[07:45] <AzMoo> Hey, I'm having a bit of trouble with a 2 pass x264 encode. I'm trying to use -acodec aac but every time I use that audio codec it hangs at around frame 72 on the second pass and the CPU goes crazy. Has anybody seen that before?
[07:50] <newb2ee> can anyone teach me about planar sample format, or give me a example source of swresample
[08:55] <mks> Hi all, I'm trying to run ffmpeg as a video h264 client over udp network, my server is a gstreamer pipeline : gst-launch mfw_v4lsrc capture-width=720 capture-height=576 fps-n=25 ! queue ! mfw_vpuencoder bitrate=32767 ! video/x-h264,width=720,height=576 ! rtph264pay  ! udpsink port=5000 host=10.1.0.8
[08:57] <mks> I tried a VLC client and it works welll but with the ffmpeg I can't get video here is the ouptut http://pastebin.com/KuHK0hn5
[08:58] <mks> It seems there is something wrong with the parameters given to my ffmpeg command
[08:59] <mks> does anybody already dealed with that kind of issue ?
[09:07] <mks> what does "Could not find codec parameters for stream 0 (Video: h264)" means for the following command ffmpeg -re -f h264 -i udp://10.1.0.29:5000
[09:07] <mks> ?
[09:54] <newb2ee> somebody tell me about How planar sample fmt saves data ( sequence)...
[10:43] Last message repeated 1 time(s).
[10:58] Last message repeated 1 time(s).
[11:01] <divVerent> your question makes no sense, can you rephrase?
[11:02] <newb2ee> ok sorry    I want to know what planar pcm is
[11:03] <newb2ee> how can i convert  planar to interleaved
[11:44] <zap0> planar    L L L L L L L L L R R R R R R R R R R
[11:44] <zap0> interleaved L R  L R  L R  L R  L R  L R  L R  L R  L R  L R  L R  L R
[11:52] <JEEB> that is close but not an exactly matching view of planar, because depending on where the memory could be allocated, there's a rather big chance that the next plane will not be right after the previous
[11:52] <JEEB> so it could be LLLLL...L <a big big amount of memory space> RRRR...R
[12:13] <brontosaurusrex> how come r128 is returning -70 on a file without audio?
[12:13] <brontosaurusrex> LUFS
[12:14] <brontosaurusrex> should that be: "no audio data found, error" ?
[12:14] <brontosaurusrex> shouldn't
[12:29] <newb2ee> ..
[12:34] <ubitux> brontosaurusrex: check the dB scale
[12:35] <ubitux> -70dB means silence
[12:36] <brontosaurusrex> well, its not silence, its a file without audio track
[12:38] <ubitux> then the filter was likely open and closed right away
[12:38] <ubitux> and since it displays its report on close..
[12:38] <brontosaurusrex> yeah
[13:21] <jbermudes> I'm trying to use ffmpeg to record my webcam, but it doesn't seem to respect the v4l2-ucp settings that I give it.
[13:23] <jbermudes> If I change the brightness, then start up ffmpeg, it doesn't respect it, and trying the device in mplayer afterwards shows that indeed the setting was not merely ignored, but somehow reset
[15:32] <esing> hi
[15:32] <esing> I want to cut a video without rendering it, because it is already encoded in mpeg-2. The video is currently saved as an mpg. I cut it with avidemux, set the options 'copy' (means not to use any (trans)encodes, but export the original video) and now I have the last option to set the container. Since my original video is in mpg and I want to put the video additional later on dvd and play it also on older dvd players I selected 'mpeg' as container. After
[15:32] <esing> exporting it as mpeg the video is right, but I don't see any set times (timeline) in my video player. Using the container avi lets me see the time though. What could I be missing
[15:54] <lentferj> esing: did you choose MPEG TS or MPEG PS?
[15:55] <esing> lentferj, I chose just MPEG, I also tried MPEG TS (same issue as with just MPEG); just 5 minutes I tried MPEG PS and it didn't had the issue; so I'll be fine picking MPEG PS for my videos without having any quality lost? :)
[15:55] <esing> +ago
[15:56] <lentferj> yes, use mpeg program stream, check the "configure"  button that it is actually set to "DVD"
[15:58] <lentferj> esing: mpgeg ps + COPY for audio and video is good for DVD. But those are not actually ffmpeg questions ;)
[15:58] <esing> lentferj, Good to know, thanks. If I wanted to burn the mpeg-ps file to dvd I would just need to create an iso out of it first and then burn it, right?
[15:59] <divVerent> yes, the probably right tools here are dvdauthor and mkisofs
[15:59] <microchip_> esing: use dvdauthor to create DVD scructure from it, THEN make an ISO :)
[15:59] <esing> lentferj, Yes, it's rather offtopic, thanks for the info's, helped me a lot
[16:00] <lentferj> esing: http://en.wikipedia.org/wiki/Moving_Picture_Experts_Group
[16:00] <lentferj> if you'd like to know "why"
[16:01] <lentferj> esing: tools like devede or k3b can easy to process of creating a DVD from a vob or mpg file
[16:02] <lentferj> esing: well, and http://en.wikipedia.org/wiki/MPEG_transport_stream http://en.wikipedia.org/wiki/MPEG_program_stream
[16:03] <lentferj> wow... bad english... *can ease the process... I meant
[16:03] <esing> lentferj, Oh, I thought I would first create the iso with dvdauthor or similar and then k3b can process it
[16:08] <lentferj> iirc .. hmm, yeah maybe for k3b you actually need the vob file to places them in the DVD-Video structure yourself
[16:08] <lentferj> devede can create DVD-Video from files directly with menus etc
[16:09] <lentferj> if you don't want to fiddle with the command line too much
[16:10] <zimbatm> hello !
[16:10] <zimbatm> i'm trying to debug a video on android
[16:10] <zimbatm> anyone knows how to deactivate PAR/DAR ? I didn't find anything in the doc
[16:11] <zimbatm> there's one working sample who doesn't have that PAR/DAR so I'm suspecting that's the issue
[16:29] <zimbatm> the new metadata mapping seems to be the issue on android
[16:29] <zimbatm> now testing with a second failing video
[16:30] <zimbatm> yep
[18:29] <davidw> we're trying to debug something a bit odd.  On an older version of ffmpeg (versions forthcoming), kill PID works as expected
[18:29] <davidw> on a newer version (1.0.5 I think) kill PID does not kill it - only kill -9 works
[18:35] <zimbatm> davidw: it's hard to get support if you don't use the latest version
[18:35] <zimbatm> the guys fix things every day so it could be anything
[18:36] <davidw> zimbatm, in our case the older version is what I'd consider correct behaviour: it receives a SIGTERM and stops
[18:36] <zimbatm> yeah but "new version" needs to be master
[18:36] <davidw> behavior...ugh, I've been reading too much stuff from the UK
[18:36] <zimbatm> it's fine :)
[18:38] <zimbatm> did you try running strace to see if a syscall is hanging ?
[18:38] <zimbatm> gdb might also help
[18:39] <davidw> zimbatm, yeah, we straced it... it does some kind of restart jig....
[18:39] <zimbatm> also by experience, if you can pinpoint the exact commit that introduced the issue you'll get much more success notifying the developers
[18:40] <zimbatm> it's quite easy if you can reproduce the bug in a bash script
[18:40] <davidw> I'd guess that something like that did not just creep in
[18:40] <davidw> it's probably there for a reason
[18:41] <zimbatm> then you can use `git bisect`
[18:41] <zimbatm> davidw: what's the full command you're running ?
[18:41] <zimbatm> ffmpeg uses threads so you might have a deadlock somewhere
[18:42] <davidw> ok, 0.8.6 works, we're under deadline, so for the time being our answer is 'use the older version'
[18:42] <davidw> unless someone happens to recollect why the change was introduced
[19:27] <dodegkr> hi I have followed the guide here
[19:27] <dodegkr> https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide
[19:27] <dodegkr> but cannot compile vlc 2.0.6
[19:27] <dodegkr> as i get error configure: error: libavcodec versions 55 and later are not supported yet.
[19:27] <dodegkr> any way around this ?
[19:38] <klaxa> dodegkr: either get an older version of ffmpeg or a newer version of vlc
[19:38] <klaxa> the latter would be smarter unless you really need 2.0.6
[19:39] <dodegkr> the latter says *** Your FFMPEG installation is crippled.   ***
[19:40] <dodegkr> It seems your FFMPEG (libavcodec) installation lacks the following encoder:
[19:40] <dodegkr> H264 - MPEG-4 AVC (part 10).
[19:40] <dodegkr> so im a bit stuck
[19:42] <dodegkr> the version that complains is VLC media player 2.0.5 Twoflower
[23:20] <jacobs1> Hi, can image2pipe accept raw rgb images ?
[23:26] <durandal_1707> jacobs1: i dont think so, use rawvideo demuxer (assuming they all are of same size)
[00:00] --- Fri Apr 19 2013


More information about the Ffmpeg-devel-irc mailing list