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

burek burek021 at gmail.com
Sat Apr 13 02:05:01 CEST 2013


[00:12] <elkng> what is wrong with mkv container ? I have pentium 500 and it can run video 700xXXX without problem but if its video in mkv forman even if its less than 700xXXX something like 640x480 and it run slowly about 10 fps
[00:13] <elkng> s/forman/format
[00:13] <klaxa> are you using the same codecs?
[00:14] <klaxa> also what player are you using?
[00:14] <elkng> so I need to convert it into avi, and now same 640x480 run with 60-70% of CPU, wha is with mkv container that makes it load CPU ?
[00:14] <klaxa> <klaxa> are you using the same codecs?
[00:14] <elkng> not the same
[00:15] <klaxa> there's your problem
[00:15] <elkng> but I noticed it many times, video in mkv run slowly
[00:15] <klaxa> that's not the fault of mkv though
[00:16] <klaxa> i'm going to make a wild guess: the files in the .avi container will be xvid or mpeg4 part 2 with mp3 and the files in the mkv will be h264, probably main or high profile with probably aac as audio track, maybe even a subtitle track
[00:16] <elkng> I don't say fault, but is some overheads happens when playing video inside mkv container ?
[00:16] <klaxa> there shouldn't be much of a difference
[00:16] <klaxa> try putting the avi video into an mkv container and try again
[00:17] <elkng> can it be done using ffmpeg ?
[00:17] <klaxa> yes
[00:17] <klaxa> ffmpeg -i somefile.avi -c copy somefile.mkv
[00:18] <elkng> codec is h264 with aac audio and subtitle track
[00:18] <klaxa> i doubt that the avi will have those codecs
[00:18] <elkng> those are inside mkv video
[00:18] <klaxa> yes
[04:02] <Mista_D> can progressive scan video in x264 show "intelaced" in the header (mediainfo). Tried  -x264opts fake-interlaced"
[04:05] <Mista_D> and tried "-x264opts fake-interlaced=1"... still shows as "progressive"/
[04:05] <Mista_D> MBAFF wont do it, just PAFF interlace, dealing with older STB here.
[09:53] <bogdanp> I'm streaming mov files to rtmp and every now and then I get audio packets that have negative duration (which fail to send b/c dts doesn't increase monotonically in that case)
[09:54] <bogdanp> this causes delay between the audio and video streams, simply dropping those packets doesn't help. Is there anything else I could do to fix it? I'm using libav 0.9.
[09:55] <bogdanp> the mov files are h264 with AAC, generated by the native iOS encoder
[09:55] <bogdanp> I'm guessing this is due to "multiple edit list entries, a/v desync might occur" but I haven't been able to find any solutions by googling
[09:56] <relaxed> bogdanp: try #libav
[09:57] <bogdanp> relaxed, I will. I meant ffmpeg 0.9 above though :D.
[09:59] <relaxed> oh, then this is the right place
[10:02] <Mista_D> if I encode in FFmepg I get "variable" fps, if use x264 with "--fps 24" I get constant framrate of 24 (reported by MediaInfo). Anyway to get constant fps in FFmpeg?
[11:09] <arpu> hello @all
[11:09] <arpu> is it possible to stream all files in an directory without restarting ffmpeg ?
[11:10] <arpu> the output is rtmp
[11:21] <BtbN> Anyone else having problems with vaapi in recent ffmpeg versions? For me all applications using latest ffmpeg(1.2 + one fix i found and latest git) just crash
[11:21] <BtbN> I can't realy see what's causing this
[11:25] <diroots> hi all, anyone knows what means "avcodec encoder error: filling error on fillup" I think this is related to a problem giving me a black screen instead of the video
[11:26] <diroots> I don't find any reference in search engine, on this error
[11:33] <diroots> Hi fflogger this is an avcodec error when calling ffmpeg within vlc to transcode to either x264 or flv. I prepare the paste
[11:38] <diroots> fflogger:  http://pastebin.com/PBch1dMg line 298
[11:39] <ubitux> BtbN: https://www.ffmpeg.org/bugreports.html
[11:39] <BtbN> Well, i can't pin down what exactly the problem is. Just reporting "vaapi does not work" won't help much.
[11:40] <ubitux> if you are able to reproduce with latest git ffmpeg, that's enough
[11:40] <ubitux> (ffmpeg, ffplay or any other tool)
[11:41] <BtbN> all ff cli tools are not affected
[11:41] <BtbN> as they don't use any hw acceleration
[11:41] <BtbN> only hits libavcodec
[11:41] <BtbN> and apps that use it, like vlc or xbmc
[11:42] <diroots> durandal_1707:   http://pastebin.com/PBch1dMg line 298
[11:43] <ubitux> BtbN: we need a way to reproduce; maybe just open a ticket without much info, it's better than no ticket i guess
[11:44] <ubitux> ideally a test code should be provided, but if you're not one of the developer of those app, that might not be simple
[11:44] <durandal_1707> diroots: why you are reporting vlc issue on ffmpeg channel?
[11:44] <BtbN> I am, but it's still not simple as even a simple test-case would be multiple thousand lines
[11:45] <diroots> because my problem is an avcodec error
[11:45] <diroots> and avcodec is part of ffmpeg, no?
[11:45] <BtbN> It's not easy to reduce a full HW decoding and rendering pipeline to a simple testcase
[11:45] <BtbN> Best Test-Case ir propably vlc git master
[11:45] <BtbN> *is
[11:46] <durandal_1707> diroots: output is from vlc ....
[11:47] <diroots> durandal_1707: yes, vlc using ffmpeg / avcodec to transcode stream. If I ask to vlc, they'll tell me that's an avcodec problem,...
[11:48] <BtbN> "avcodec encoder error: filling error on fillup" it totaly a VLC error message. It's coming from the avcodec vlc plugin.
[11:49] <durandal_1707> diroots: your vlc really use ffmpeg? what version of libavcodec lib?
[11:50] <diroots> durandal_1707: as you can see in the paste, my vlc is compiled with '--enable-ffmpeg' option
[11:51] <durandal_1707> diroots: you are not helping yourself
[11:51] <durandal_1707> that switch means nothing to me
[11:51] <durandal_1707> i need exact lib version that is used
[11:52] <diroots> durandal_1707: as I understood, libavcodec is shipped with ffmpeg when you get ffmpeg from git, right?
[11:53] <BtbN> that  message does NOT come from libavcoded
[11:53] <BtbN> it comes from the vlc plugin that handles libavcodec
[11:54] <BtbN> So it's clearly a vlc issue, and you're much better off in the vlc channel
[11:54] <durandal_1707> diroots: do not repeat yourself you said that several times, and i did not said its incorrect
[11:57] <diroots> I did a git clone for ffmpeg this morning.
[11:59] <durandal_1707> that is much helpfull if vlc does not use that ffmpeg
[11:59] <durandal_1707> *not much helpfull....
[12:02] <ubitux> i remember it's quite a pain to make vlc link against the appropriate lib
[12:13] <xlinkz0> how does ffmpeg -i gets its stream info?
[13:04] <zap0> from the file header
[13:40] <bogdanp> is it normal when doing av_read_frame(oc, &packet) for the packet's duration to vary? (I'm seeing values like 85, 86 which I'm guessing is normal but I'm also seeing 152)
[13:41] <brontosaurusrex> what would be the lasest fashion quality based command for fdk_aac ?
[13:44] <lentferj> ubitux: I see you fixed the misleading syntax warnings.. thanks
[14:05] <thebuggz> Hi guys
[14:05] <thebuggz> i am looking for support in configuring ffmpeg for https.. any pointers  ?
[14:11] <thebuggz> compiled ffmped using http://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide but i can't run ffmpeg with https ulrs
[16:33] <Tabs> Hello
[16:34] <Tabs> I am struggling with an issue using ffmpeg timestamps, especially -vsynch and -copyts anyone could help ?
[16:35] <Tracerneo> Hello.
[16:35] <Tabs> The goal is to cut a video according to a give time and number of frames (i.e. from time t up to 19 frames after) but keeping the same times stamps (or at least the same non constant frame rate)
[16:36] <Tabs> here is the command I am currently using:
[16:36] <Tracerneo> How can i set audio stream language? There are options like -vlang (for video) and -slang (for subtitles), but I can't find any option for audio.
[16:36] <Tabs> ffmpeg -y -i inputVideo.asf -ss 353.035 -vcodec mpeg4 -vframes 100 -vsync 0 -copyts -vf showinfo outputVideob.avi 2> videoinfo.txt
[16:37] <Tabs> but still when I look at the PTS of the output using ffprobe I do not get the same timestamps (starting from 0 + the rate changes)
[16:38] <Tabs> For instance when I look at the first lines of the ffmpeg info filter output I get:
[16:39] <Tabs> n:0 pts:353035000 pts_time:353.035000 pos:156948836 fmt:yuv420p sar:0/1 s:1280x1024 i:P iskey:1 type:? checksum:13764275 plane_checksum:[F47E3FFC 6811D07D 1EC431ED 00000000]
[16:39] <Tabs> [showinfo @ 0xc9f3c0] n:1 pts:353161000 pts_time:353.161000 pos:156948836 fmt:yuv420p sar:0/1 s:1280x1024 i:P iskey:1 type:? checksum:0F8DFF59 plane_checksum:[484FE07F E077B316 DA056BB5 00000000]
[16:39] <Tabs> [showinfo @ 0xc9f3c0] n:2 pts:353236000 pts_time:353.236000 pos:157052836 fmt:yuv420p sar:0/1 s:1280x1024 i:P iskey:1 type:? checksum:E83B38CB plane_checksum:[23802B1D AAA6C229 F0374B76 00000000]
[16:39] <Tabs> [showinfo @ 0xc9f3c0] n:3 pts:353317000 pts_time:353.317000 pos:157068836 fmt:yuv420p sar:0/1 s:1280x1024 i:P iskey:1 type:? checksum:2C92157F plane_checksum:[5D2C0CB0 5CB2C00B BC8C48B5 00000000]
[16:39] <Tabs> But when I look at the ffprobe of the output I get as pts (no copying the whole thing):
[16:40] <Tabs> 0.000000 ; 0.134078 ; 0.201117
[16:40] <Tracerneo> Ok, I have found -metadata option. :)
[16:49] <Tabs> ok, I will post that on the mailing list I think
[16:49] <Tabs> cheers !
[17:03] <tmatth> if i have .avi files with arbitrary amounts of audio streams, what's the simplest way of extracting them all into separate files?
[17:04] <tmatth> i've used the -map option, but only by explicitly giving stream mappings.
[17:19] <diroots> __with_delay__ BtbN: ok, I understand, and right, this problem happened after I recompiled vlc. ----->[vlc] . durandal_1707 Thx.
[19:12] <langoliers> microsoft windows 0.1 in C !  http://pastebin.com/BsXquP4S
[19:13] <LithosLaptop> :)
[19:17] <klaxa> they couldn't even indent correctly
[19:22] <Magicking> LithosLaptop: not possible §
[19:31] <megaTherion> langoliers: Im sure they used while(1) { fork(); } too :D
[19:34] <klaxa> while(fork());
[19:34] <klaxa> not as fast, but shorter
[19:41] <langoliers> microsoft windows 0.2 in C !  http://pastebin.com/kdb5qJty
[19:41] <langoliers> better?
[20:10] <elkng> langoliers: https://www.kernel.org/pub/linux/kernel/Historic/linux-0.01.tar.gz
[20:11] <elkng> use it with wisdome
[20:43] <langoliers> :)
[20:44] <langoliers> elkng<= hehe, never even thinked about reading that
[20:54] <langoliers> somebody has a link to the serpent standard?
[20:54] <langoliers> i found some nice reading http://csrc.nist.gov/groups/ST/toolkit/block_ciphers.html
[22:08] <Iv0ry> Hi guys i streming musicvideos for a party from an usb hdd to an streming server with 720p works great but 1080p will stuck and laaaagggging any ideas? Thats my code: ffmpeg -re -i music.mp4 -vcodec copy -acodec aac -ab 256k -strict -2 -cutoff 15000 -f flv rtmp://192.168.1.10
[22:18] <elkng> Iv0ry: not enough bandwidth ?
[22:19] <elkng> or CPU power
[22:20] <Iv0ry> http://www.speedtest.net/result/2641715939.png
[22:21] <Iv0ry> And the CPU is an 	Intel Atom Processor 1.6 GHz
[22:25] <Iv0ry> bandwidth should be ok the cpu power i hope that is there a way to buffer it or something in ffmpeg?
[22:47] <_aeris_> hello everybody !
[22:48] <_aeris_> i need some quick help :D
[22:48] <_aeris_> i use ffmpeg on a very old project, for convert from jpeg2000 video to mpg video
[22:48] <_aeris_> recently, i try it on Windows 7, it crash&
[22:49] <_aeris_> what the first ffmpeg version compatible with 7 ?
[22:52] <klaxa> why can't you use a more recent version?
[22:52] <_aeris_> #define LIBAVCODEC_VERSION_MAJOR 52
[22:52] <_aeris_> #define LIBAVCODEC_VERSION_MINOR 36
[22:52] <_aeris_> #define LIBAVCODEC_VERSION_MICRO  0
[22:52] <_aeris_> &
[22:52] <_aeris_> VERY old ffmpeg
[22:52] <_aeris_> with JNI ><
[22:52] <_aeris_> a lot of work to port to the current API :(
[22:54] <_aeris_> a lot of deprecated, rename, modification&
[22:54] <_aeris_> (and not public API method usage >>>><<<<)
[23:06] <elkng> why developers make ffmpeg run on windows ? why not to make it unix-only ?
[23:06] <_aeris_> elkng > i let you say this to my customers :D
[23:07] <elkng> Iv0ry: are you from deutschland ?
[23:07] <Iv0ry> yes
[23:08] <elkng> Iv0ry: what does "na" means in german ?
[23:08] <Iv0ry> like "hi"
[23:09] <elkng> some kind of filler, without any translation ?
[23:09] <Iv0ry> no its a bit complicated "na und" = i dont care "na wie gehts" hi how are you ...
[23:10] <Iv0ry> ahh and its no word its more slang ^^
[00:00] --- Sat Apr 13 2013


More information about the Ffmpeg-devel-irc mailing list