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

burek burek021 at gmail.com
Sat Jun 28 02:05:02 CEST 2014


[03:50] <kingsob_> can someone help me determine why the video and audio tracks are coming out in the opposite order I want, I need video track to be #0 and audio track to be #1  -->  http://pastebin.ca/2815952
[06:09] <rawrawree> Hey Everybody!
[06:10] <rawrawree> I'm running my head against a brick wall
[06:10] <rawrawree> anybody around?
[06:18] <rawrawree> I've got a command that's producing inconsistent results
[06:18] <rawrawree> sometimes it will convert a jpg to mpg
[06:18] <rawrawree> sometimes it won't
[06:58] <rawrawree> corrupted double-linked list: 0x0000000003583ec0
[06:58] <rawrawree> any idea on that?
[08:26] <anshul> Is there any way to play audio using ffplay without screen, only commandline
[08:29] <debianuser> anshul: https://ffmpeg.org/ffplay.html suggests option -nodisp
[08:29] <anshul> thanks
[12:18] <declan> have a question using the ffmpeg API, I hope this is the correct place
[12:18] <declan> i wonder if its possible to specify the size of the max_packet_size via the API
[12:19] <declan> i have large frame of 70K+, which get segement to sizes of 32768 bytes defined by the IO_BUFFER_SIZE
[12:19] <declan> is possible to increase the size of this buffer and secondly is it advisable
[12:19] <declan> thanks
[12:20] <declan> libavformat/aviobuf.c is the location for relevant source code
[13:10] <feliwir> hello, how can i make use of hardware acceleration in ffmpeg?
[13:11] <feliwir> i want my program to use the software decoder as fallback (already implemented) and use the hardware decoding when possible
[13:12] <feliwir> and the decoded frame should go into a glTexture without copying it back to the CPU, :) Help is appreciated
[13:27] <saste> feliwir, I don't think this is in general possible
[13:27] <debianuser> feliwir: klaxa|work wrote about that earlier, I'll quote:
[13:27] <debianuser> klaxa|work> there is some support for opencl i think
[13:27] <debianuser> klaxa|work> google for benchmarks, here is on with x264 http://forum.doom9.org/showthread.php?t=164960&page=11
[13:27] <debianuser> klaxa|work> although i'm not sure if this can be applied to ffmpeg
[13:27] <debianuser> klaxa|work> here is a mailing list thread http://ffmpeg-users.933282.n4.nabble.com/OpenCL-What-Effect-Does-It-Have-td4660469.html
[13:28] <saste> my understanding is that with H/W GPU acceleration the decoded frame is stored in the GPU memory
[13:28] <saste> so you need to move it to the CPU memory if you want to do something with that
[13:29] <saste> also see this: http://trac.ffmpeg.org/wiki/HWAccelIntro
[13:30] <saste> note: I'm the author of that text, feel free to improve/extend it in case you have reliable information
[13:32] <feliwir> thank you
[13:32] <Visual-Vincent> Hi! I have a question about using ffmpeg.exe with my application I am developing
[13:34] <Visual-Vincent> Am I allowed to include ffmpeg in my application's installer package so it can be used later by my application?
[13:35] <Visual-Vincent> My application is running ffmpeg.exe from command-line
[13:35] <saste> Visual-Vincent, http://ffmpeg.org/legal.html
[13:36] <feliwir> saste is there any usage example of this with ffmpeg?
[13:38] <saste> feliwir, yes, there is ffmpeg_vda/vdpau/dxv2.c
[13:38] <saste> it shows how to use ffmpeg API with H/W acceleration
[13:38] <Visual-Vincent> I've read /legal.html, but sadly I don't understand that much of it...
[13:39] <saste> feliwir, note that in that case from my memory the code is copying data from GPU to CPU
[13:39] <Visual-Vincent> I will not make any money on my application however
[13:39] <feliwir> okay
[13:39] <feliwir> where can i find the piece of code ?
[13:40] <saste> feliwir, but again, don't trust me and check it for yourself since I myself am relatively new to that stuff
[13:40] <saste> feliwir, i told you, they are .c files in the ffmpeg repository
[13:40] <feliwir> ffmpeg_vda/vdpau/dxv2.c that file isn't in the repository :-/
[13:40] <saste> Visual-Vincent, the usual restrictions about GPL/LGPL code apply
[13:41] <saste> feliwir, ffmpeg_vda.c ffmpeg_vdpau.c ffmpeg_dxv2.c
[13:41] <feliwir> ah okay
[13:44] <Visual-Vincent> Ok another question :P
[13:45] <Visual-Vincent> "Accompany it with the complete corresponding machine-readable source code" - Do I have to keep the source code with ffmpeg.exe even if I haven't modified it?
[13:45] <saste> Visual-Vincent, I think you're supposed to distribute it, yes
[13:46] <Visual-Vincent> Okay...
[13:47] <Visual-Vincent> Ah, yes I have to, it's written on /legal.html
[13:51] <Visual-Vincent> Okay thanks alot
[13:51] <Visual-Vincent> Bye
[13:53] <feliwir> saste a few more comment would be nice on that code :D
[14:23] <Visual-Vincent> Saste?
[14:44] <luc4> Hello! I read the h264 encoding guide, but it is unclear to me whether I can specify if I want a baseline, main profile etc... Is this possible?
[14:49] <debianuser> luc4: According to https://trac.ffmpeg.org/wiki/Encode/H.264 you can specify profile with -profile:v option, e.g.: -profile:v baseline -level 3.0
[14:52] <SmokeyD> hey all, I am tryingto increase the volume of a video file, without changing anything else to the video. I am trying to use the volume audio filter. But I get an error Unknown input format: 'volume=volume=1.0'
[14:53] <SmokeyD> this is the command I use (I have tried several different positions for the -f:a option: avconv  -i video1_habitat_insectas.avi -f:a "volume=volume=30db:precision=fixed" -b:a 192k -c:a ac3 -c:v copy  video1_habitat_insectas2.avi
[14:53] <sacarasc> The avconv channel is #libav
[14:53] <SmokeyD> ow, sorry
[14:53] <SmokeyD> I though ffmpg and libav is the same?
[14:53] <sacarasc> No, libav is a fork.
[14:53] <SmokeyD> ah, ok
[14:53] <SmokeyD> sorry, and thanks
[14:55] <luc4> debianuser: thanks, but it is unclear to me what relationship there is between profile:v and preset. Probably the profile decides when both are provided?
[14:56] <Hello71> it is codec-specific
[14:57] <Hello71> in h264, -preset, -tune, and -profile are orthogonal
[14:58] <luc4> So together they will find a setup? But assuming I set baseline, can I be sure that whatever other params I specify I'll get baseline?
[14:59] <luc4> I suppose yes as you say those are all orthogonal.
[17:37] <ajeesh> Hi
[17:38] <ajeesh> I am getting 1.wmv: Error while opening file while converting mwv files
[17:41] <ajeesh> ]# ffmpeg -i 1.wmv -f flv my-video.flv
[17:49] <ajeesh> okay .. iam sorry
[18:02] <feliwir> hm i just looked at ffmpeg_vdpau.c and that code is really hard to understand
[19:05] <brendanlong> Is there any reason reading frames from a source that FFMPEG can demux but can't decode wouldn't work (Kate subtitles in an Ogg file for example)? I don't need them decoded, I just want the raw demuxed data, but it seems like av_read_frame is returning errors (and I can't figure out why because I'm doing this in Chromium, which seems to remove ffmpeg's debug info)
[19:05] <brendanlong> I'm just wondering if this is possible and I'm just doing something wrong, or if it's not supposed to work
[19:43] <GyrosGeier> hi
[19:44] <GyrosGeier> is there an easy way to select multiple audio streams by language, leaving the automatic selection for highest quality for each language in place?
[19:45] <GyrosGeier> i.e. I have English 5.1, English 2.0 and German 2.0, and I'd like to selecxt English 5.1 and German 2.0
[19:45] <sfan5> I don't think you can do this
[19:47] <GyrosGeier> so I have to enumerate the substreams, and specify which ones I want by number?
[19:47] <sfan5> this is how I do it in the script I use to convert TV recordings
[19:49] <GyrosGeier> okay
[19:49] Action: GyrosGeier is in the process of reading all his DVDs to the NAS
[19:49] <GyrosGeier> so I don't have to get up to swap discs
[20:00] <GyrosGeier> hm
[20:00] <GyrosGeier> also, how do I specify which DVD track I want to encode?
[20:00] <GyrosGeier> wait
[20:01] Action: GyrosGeier googles first
[20:01] <sfan5> GyrosGeier: -map ?
[20:02] <GyrosGeier> as in, there are three episodes of that series on the DVD
[20:03] <GyrosGeier> and I'd like to select one
[20:03] <sfan5> I'm not sure whether you can do that with ffmpeg
[20:05] <GyrosGeier> hmm
[20:05] <GyrosGeier> how else?
[20:05] <GyrosGeier> I mean, mencoder can do that, but #mplayer told me that mencoder was deprecated
[20:05] <GyrosGeier> and I should use ffmpeg
[20:13] <GyrosGeier> ah
[20:13] <GyrosGeier> vobcopy
[00:00] --- Sat Jun 28 2014


More information about the Ffmpeg-devel-irc mailing list