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

burek burek021 at gmail.com
Mon Apr 9 02:05:03 CEST 2012


[00:10] <CIA-17> ffmpeg: 03Stefano Sabatini 07master * rf0bb1a599c 10ffmpeg/ffprobe.c: 
[00:10] <CIA-17> ffmpeg: ffprobe: use avbprint API
[00:10] <CIA-17> ffmpeg: Simplify, increase robustness.
[00:17] <Daemon404> michaelni, ping
[00:17] <ubitux> saste: can't we use the bprint api to get rid of the fast_asprintf stuff too?
[00:17] <Daemon404> or someone who knows how to use av_seek_frame properly
[00:18] <saste> ubitux: possible
[00:19] <nevcairiel> whats there to do wrong with av_seek_frame?
[00:21] <Daemon404> nevcairiel, i cant figure out how to easily seek to teh last keyframe
[00:21] <Daemon404> based on duration
[00:21] <Daemon404> the format fo teh timestamp parameter confuses me
[00:21] <floater> hey
[00:22] <nevcairiel> seeking is generally rather volatile
[00:22] <nevcairiel> most formats dont have accurate seeks or even key-frame seeks
[00:22] <Daemon404> this is solely for mp4 files
[00:23] <Daemon404> which i believe should
[00:23] <nevcairiel> hm i dont think i ever read the seeking code for mp4, but at least its potentially possible to implement it properly because its fully indexed
[00:24] <Daemon404> im a bit confused how to get to the end given duration
[00:24] <Daemon404> tho
[00:25] <ubitux> the end of the iso base media specs describe a seek scenario iirc
[00:25] <nevcairiel> set flags to AVSEEK_FLAG_BACKWARD and just seek to the last known timestamp
[00:25] <nevcairiel> it should end up on the last keyframe then
[00:26] <Daemon404> yes but i dont know how to mangle stream->duratin
[00:26] <Daemon404> into  a format seek_Frame wont barf on
[00:26] <nevcairiel> you shouldnt need to
[00:26] <nevcairiel> specify a stream id to av_seek_frame
[00:26] <Daemon404> yeah
[00:27] <nevcairiel> if you specify an id, it means all times are in that streams time_base
[00:27] <nevcairiel> so just pass it st->start_time+st->duration
[00:27] <nevcairiel> or something like that
[00:28] <Daemon404> nevcairiel, that sure doesnt work
[00:28] <Daemon404> lol
[00:28] <Daemon404> i get some random frame
[00:30] <nevcairiel> are you sure st->duration is set properly?
[00:30] <Daemon404> lemme me doubt check
[00:30] <nevcairiel> maybe you need to use avfmtctx->duration
[00:31] <nevcairiel> which you need to rescale into the streams timebase
[00:31] <Daemon404> -1
[00:31] <Daemon404> for stream index
[00:31] <nevcairiel> or that, but i always prefer specifying one. ;)
[00:32] <Daemon404> AHA
[00:32] <Daemon404> im a retard
[00:32] <Daemon404> i forgot to change a hardcoded stream index of 1
[00:32] <Daemon404> ro i
[00:33] <Daemon404> to*
[00:33] <nevcairiel> heh
[00:34] <Daemon404> of course in order to get the decoded frame, i had to ignore an error
[00:34] <Daemon404> h264 spits out a buttload of nal errors, but decodes correctly after a few iterstions
[00:35] <nevcairiel> it always complains a lot, not always does it mean something is broke
[00:35] <Daemon404> ah
[00:36] <Daemon404> not i just need to master encode2
[00:36] <Daemon404> s/not/now/
[00:36] <nevcairiel> if you're only decoding one frame, you should make sure frame threading is turned off, it makes live a bit easier
[00:36] <Daemon404> oh
[00:37] <Daemon404> thats a good idea
[00:37] Action: Daemon404 reads doxy
[00:55] <burek> err.. :)) can I get a little help please :) http://pastebin.com/32xCVFKr
[00:56] <Daemon404> ... it is not clear what your problem is
[00:56] <burek> Unrecognized option 'h' :)
[01:51] <burek> +1 for -follow_mouse option :)
[02:39] <burek> is it possible to tell ffmpeg to write directly to the soundcard
[02:39] <burek> like to set the output to /dev/snd
[02:39] <burek> or something?
[02:39] <burek> the guy can't install ffplay for some reason, but can install ffmpeg
[02:40] <burek> to play his audio
[02:41] <Compn> uh
[02:41] <Compn> well you can pipe pcm audio to /dev/dsp
[02:41] <Compn> how you do that with ffmpeg ... dunno
[02:42] <Compn> mkfifo out.wav /dev/dsp
[02:42] <Compn> ffmpeg -i file.mp3 out.wav
[02:42] <Compn> dunno
[02:42] <burek> i see :)
[02:42] <burek> cool, let us try that :)
[02:43] <Compn> i'm not good with mkfifo so better read manual
[02:44] <burek> I will :) thanks a lot :)
[02:45] <CIA-17> ffmpeg: 03Reimar Döffinger 07master * rd506ef05a0 10ffmpeg/tests/lavf-regression.sh: 
[02:45] <CIA-17> ffmpeg: Fixes for third argument do_image_formats.
[02:45] <CIA-17> ffmpeg: Remove it from two places where it is useless, do not apply
[02:45] <CIA-17> ffmpeg: it to the encode command and make it apply to the output
[02:45] <CIA-17> ffmpeg: instead of the input of the decode command.
[02:45] <CIA-17> ffmpeg: Should fix the dpx test.
[02:45] <CIA-17> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
[02:45] <CIA-17> ffmpeg: 03Reimar Döffinger 07master * re9841505d2 10ffmpeg/libavcodec/options_table.h: 
[02:45] <CIA-17> ffmpeg: Allow setting CODEC_FLAG2_CHUNKS via the name "chunks".
[02:45] <CIA-17> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
[02:45] <CIA-17> ffmpeg: 03Reimar Döffinger 07master * r58c25724b7 10ffmpeg/tests/ (5 files in 3 dirs): 
[02:45] <CIA-17> ffmpeg: Add nellymoser "fuzzy" FATE test.
[02:45] <CIA-17> ffmpeg: Since we cannot specify decode parameters (and also because
[02:51] <burek> one more thing, is it possible to stretch/shrink audio with ffmpeg?
[02:51] <burek> like the stream that is 60 seconds long, to stretch to 70 seconds
[02:53] <Compn> mplayer can do it with -af scaletempo and -speed , but i dont know if ffmpeg has such feature. you should ask in #ffmpeg
[02:53] <burek> ok :)
[02:53] <burek> I'm helping a guy there in #ffmpeg :) that's why I'm asking here :)
[02:53] <Compn> ah
[02:54] <Compn> i come from mplayer world, and ffmpeg is quickly catching up with filters, so i dont know whats in yet :)
[02:54] <burek> I've seen once someone doing it something with PTS, but I forgot :/
[02:56] <burek> oh, finally I understood the difference between pts and dts :D maybe ffmpeg could include a few paragraphs from here in its documentation about pts/dts: http://dranger.com/ffmpeg/tutorial05.html
[02:56] <burek> :)
[03:02] <Compn> burek : want to make a small patch ? :)
[03:02] <burek> :D
[03:02] <burek> I would, but it's too complicated for me :S
[03:03] <Compn> but i agree, pts/dts is confusing
[03:03] <Compn> :)
[03:04] <burek> well, I was always wondering about it and now I feel like an idiot like "well the very name suggested what it is" :D
[12:55] <ubitux> !@#
[13:05] <CIA-17> ffmpeg: 03Thierry Foucu 07master * rcb93946820 10ffmpeg/libavformat/mpegtsenc.c: 
[13:05] <CIA-17> ffmpeg: mpegtsenc: Add support to mux s302 stream
[13:05] <CIA-17> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
[13:05] <CIA-17> ffmpeg: 03Michael Niedermayer 07master * r352a67e6f8 10ffmpeg/configure: 
[13:05] <CIA-17> ffmpeg: configure: fix - vs _ error
[13:05] <CIA-17> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
[13:06] <CIA-17> ffmpeg: 03Reimar Döffinger 07master * r069cf86d32 10ffmpeg/libavcodec/ (avcodec.h utils.c): 
[13:06] <CIA-17> ffmpeg: Fix side-data memleak also for audio.
[13:06] <CIA-17> ffmpeg: This uses the same code as in decode_video also in decode_audio.
[13:06] <CIA-17> ffmpeg: Should fix valgrind FATE failures for nellymoser encode test.
[13:06] <CIA-17> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
[15:42] <thumbnailer> Hi. I want to know more about the way FFMPEG seeks to a perticular time of a video
[16:35] <CIA-17> ffmpeg: 03Michael Niedermayer 07master * r5612359501 10ffmpeg/libavcodec/ffv1.c: 
[16:35] <CIA-17> ffmpeg: ffv1: add a minor version field beginning with ffv1.3
[16:35] <CIA-17> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
[16:35] <CIA-17> ffmpeg: 03Michael Niedermayer 07master * r1b295a17d7 10ffmpeg/libavcodec/ffv1.c: 
[16:35] <CIA-17> ffmpeg: ffv1: fix version=2 chroma handling
[16:35] <CIA-17> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
[17:19] <CIA-17> ffmpeg: 03Michael Niedermayer 07master * r8dfbc1c5cf 10ffmpeg/libavcodec/ffv1.c: 
[17:19] <CIA-17> ffmpeg: ffv1: allow enabling of version 2 by using some of its features.
[17:19] <CIA-17> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
[17:19] <CIA-17> ffmpeg: 03Michael Niedermayer 07master * r1d80c8db27 10ffmpeg/libavcodec/ffv1.c: 
[17:19] <CIA-17> ffmpeg: ffv1: set slice geometry based on user specified slices.
[17:19] <CIA-17> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
[20:01] <CIA-17> ffmpeg: 03Reimar Döffinger 07master * ra7b1420ca2 10ffmpeg/tests/ref/fate/wmv8-x8intra: 
[20:01] <CIA-17> ffmpeg: Update reference for disabled fate-wmv8-x8intra test to new format.
[20:01] <CIA-17> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
[20:26] <CIA-17> ffmpeg: 03Reimar Döffinger 07master * r03ef5047d1 10ffmpeg/libavcodec/nellymoserenc.c: 
[20:26] <CIA-17> ffmpeg: Fix nellymoser encoder crash with hardcoded tables.
[20:26] <CIA-17> ffmpeg: Use the correct init function to avoid crashes due to writing
[20:26] <CIA-17> ffmpeg: to a rodata location.
[20:26] <CIA-17> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
[20:28] <CIA-17> ffmpeg: 03Reimar Döffinger 07master * ra5efc8c9bf 10ffmpeg/tests/Makefile: 
[20:28] <CIA-17> ffmpeg: Allow manually running disabled FATE tests.
[20:28] <CIA-17> ffmpeg: This makes it easy to allow people to run tests that are disabled
[20:28] <CIA-17> ffmpeg: (e.g. because they are broken) without having to hack Makefiles
[20:28] <CIA-17> ffmpeg: by adding the test name to FATE_TESTS-no.
[20:28] <CIA-17> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
[20:28] <CIA-17> ffmpeg: 03Reimar Döffinger 07master * r4f043c8a11 10ffmpeg/tests/fate/microsoft.mak: 
[20:28] <CIA-17> ffmpeg: Allow running fate-wmv8-x8intra manually.
[20:28] <CIA-17> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
[20:48] <ubitux> http://prog21.dadgum.com/108.html
[20:49] Action: Daemon404 spots "Haskell"
[20:49] Action: Daemon404 shudders
[20:57] <ubitux> i like this kind of spirit; the whole blog is pretty interesting
[21:08] <CIA-17> ffmpeg: 03Martin Storsjö 07master * r62c3c8ca78 10ffmpeg/libavformat/rtsp.c: 
[21:08] <CIA-17> ffmpeg: rtsp: Don't use uninitialized data if there are no streams
[21:08] <CIA-17> ffmpeg: Signed-off-by: Martin Storsjö <martin at martin.st>
[21:08] <CIA-17> ffmpeg: 03Martin Storsjö 07master * r9294f538e9 10ffmpeg/libavformat/rtspdec.c: 
[21:08] <CIA-17> ffmpeg: rtsp: Don't use av_malloc(0) if there are no streams
[21:08] <CIA-17> ffmpeg: Signed-off-by: Martin Storsjö <martin at martin.st>
[21:08] <CIA-17> ffmpeg: 03Michael Niedermayer 07master * r5d6a40bc74 10ffmpeg/: (log message trimmed)
[21:08] <CIA-17> ffmpeg: Merge remote-tracking branch 'qatar/master'
[21:08] <CIA-17> ffmpeg: * qatar/master:
[21:08] <CIA-17> ffmpeg:  rtsp: Don't use av_malloc(0) if there are no streams
[21:08] <CIA-17> ffmpeg:  rtsp: Don't use uninitialized data if there are no streams
[21:08] <CIA-17> ffmpeg:  vaapi: mpeg2: fix slice_vertical_position calculation.
[21:08] <CIA-17> ffmpeg:  hwaccel: mpeg2: decode first field, if requested.
[21:08] <CIA-17> ffmpeg: 03Martin Storsjö 07master * r2ce7f4d4e6 10ffmpeg/libavformat/rtpdec_xiph.c: 
[21:09] <CIA-17> ffmpeg: decoder will correctly decode to the right line computed from the
[21:09] <CIA-17> ffmpeg: appropriate top_field_first and is_first_field flags.
[21:09] <CIA-17> ffmpeg: This patch aligns with DXVA's definition, which is what most HW and
[21:09] <CIA-17> ffmpeg: 03Martin Storsjö 07master * r456001486e 10ffmpeg/libavformat/ (8 files): 
[21:09] <CIA-17> ffmpeg: rtsp: Don't expose the MS-RTSP RTX data stream to the caller
[21:09] <CIA-17> ffmpeg: This avoids exposing a dummy AVStream which won't get any data
[21:09] <CIA-17> ffmpeg: and which will make avformat_find_stream_info wait for info about
[21:09] <CIA-17> ffmpeg: this stream.
[21:09] <CIA-17> ffmpeg: Signed-off-by: Martin Storsjö <martin at martin.st>
[21:19] <CIA-17> ffmpeg: 03Reinhard Tartler 07release/0.8 * r808686375d 10ffmpeg/Changelog: Update changelog for 0.7.5 release
[21:19] <CIA-17> ffmpeg: 03Michael Niedermayer 07release/0.8 * r4f85e7b6ec 10ffmpeg/: 
[21:19] <CIA-17> ffmpeg: Merge remote-tracking branch 'qatar/release/0.7' into release/0.8
[21:19] <CIA-17> ffmpeg: * qatar/release/0.7:
[21:19] <CIA-17> ffmpeg:  Update changelog for 0.7.5 release
[21:19] <CIA-17> ffmpeg: Merged-by: Michael Niedermayer <michaelni at gmx.at>
[00:00] --- Mon Apr  9 2012


More information about the Ffmpeg-devel-irc mailing list