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

burek burek021 at gmail.com
Mon Apr 16 03:05:02 EEST 2018


[06:24:37 CEST] <Anonrate> If I cross compile ffmpeg from linux for Windows, do I have to compile all the libs with for example mingw, or can I just use the ones that are installed on the system I'm compiling from (Debian)?
[08:17:57 CEST] <hiihiii> is there a filter for -video_track_timescale
[08:18:41 CEST] <hiihiii> something similar to -vf "fps=30" being the same as -r 30
[09:17:03 CEST] <hiihiii> I'm searching -video_track_timescale in docs but can't find it
[11:05:39 CEST] <Yukkuri> hi, could someone help me with RTMP audio(0x08)/video(0x09) packet structure? Is there any common documentation on their layout, fields and used constants?
[11:06:23 CEST] <Yukkuri> i know they are should be in FLV format, but when inspected, first bytes are not looking like valid MP4-box header
[11:06:48 CEST] <Yukkuri> i guess, some additional headers are in place, but have no idea of it's length and fields
[11:07:33 CEST] <Yukkuri> any documentation on topic would be very helpful
[11:18:13 CEST] <CheetahPixie> Alright lads and ladies. I have a question.
[11:18:31 CEST] <CheetahPixie> So I'm trying to render an MPEG2 file here, using Kdenlive. Goes through ffmpeg, at least it tells me. Figured I might ask here.
[11:19:00 CEST] <CheetahPixie> I've figured that something changes between video quality settings 9 and 6 that makes it incompatible with Rockbox's own mpegplayer.
[11:19:05 CEST] <CheetahPixie> This didn't happen some months back.
[11:19:22 CEST] <CheetahPixie> Gives me "unsupported format" on anything decently high quality.
[11:19:38 CEST] <Mavrik> Main vs. High profile perhaps?
[11:20:00 CEST] <Mavrik> *level
[11:20:53 CEST] <CheetahPixie> Maybe.
[11:20:55 CEST] <CheetahPixie> What I know is
[11:20:58 CEST] <CheetahPixie> is that this https://my.mixtape.moe/leqmpk.mpg
[11:21:03 CEST] <CheetahPixie> using the highest quality settings way back
[11:21:05 CEST] <CheetahPixie> works
[11:21:14 CEST] <CheetahPixie> https://my.mixtape.moe/qsszoy.mpg this does not
[11:21:22 CEST] <CheetahPixie> what is the difference in formats here, i wonder?
[11:21:34 CEST] <CheetahPixie> And is there anything I could possibly do?
[11:22:16 CEST] <CheetahPixie> f=mpeg does nothing. Did try to set the video and audio codecs manually, reading to royally trippy footage on PC and proper but missing audio on Rockbox.
[11:23:50 CEST] <CheetahPixie> Is there anything that changes, technically, from 9 to 6?
[11:24:48 CEST] <CheetahPixie> Queued render jobs for levels 7 and 8, gonna see how those turn out.
[11:25:47 CEST] <CheetahPixie> What I get for a hunch is the file size, so I mean I could try clamping on the segment per.
[11:25:50 CEST] <CheetahPixie> ...Not sure, though.
[11:26:12 CEST] <CheetahPixie> Good thing these render jobs don't take much time at all.
[11:41:53 CEST] <Yukkuri> found it. https://wwwimages2.adobe.com/content/dam/acom/en/devnet/flv/video_file_format_spec_v10_1.pdf page 72: section E.4.3.1 VIDEODATA.
[11:42:48 CEST] <Anonrate> Is this an error https://github.com/ffmpeg/ffmpeg/blob/master/compat/windows/makedef#L19 ?
[11:43:28 CEST] <Anonrate> Wrong channel..  SOrry.
[11:45:39 CEST] <CheetahPixie> And my hunch for block size was right; under 1MB test files play flawlessly.
[11:45:48 CEST] <CheetahPixie> At highest quality levels possible.
[11:48:35 CEST] <CheetahPixie> 1.5MB plays fine.
[11:55:13 CEST] <CheetahPixie> okay
[11:55:16 CEST] <CheetahPixie> 2 megabytes is the limit
[11:55:21 CEST] <CheetahPixie> everything above that is flat on its face
[14:01:53 CEST] <tokam> Hell
[14:01:55 CEST] <tokam> Hello
[14:01:57 CEST] <tokam> (sorry
[14:02:10 CEST] <tokam> what is a good video format for in a very low quality do a cheap recording?
[14:06:08 CEST] <BtbN> so your priority is speed? Or file size? Or quality?
[14:10:40 CEST] <tokam> my priority is file size
[14:10:46 CEST] <tokam> i want to record from a webcam
[14:10:55 CEST] <tokam> even if every 10 seconds I get an image this were fine
[14:10:57 CEST] <tokam> but I prefer video
[14:12:34 CEST] <tokam> I live together with students and a girl who with I had a love relationship. When I had an argument with her, an other sneaky guy who has no chance but lies and is a bastard took the role of her advisor. He wants her. I want to record my room, and set him a trap. Tell something about my diary or so and see if he is so stupid to go into my room while I am not there.
[14:14:26 CEST] <BtbN> Just get any security cam software that detects motion?
[14:14:40 CEST] <tokam> I have the software: motion
[14:14:44 CEST] <tokam> but I do not get how it works
[14:15:15 CEST] <tokam> ffmpeg is for now the simplest solution just not to have to lock my room.
[14:15:32 CEST] <tokam> which software do you recommend?
[15:18:07 CEST] <shtomik> Hello, guys, who knows, how to add AVPacket correctly to std::dequeue? Im always returned not allocation packet, hm...
[15:26:26 CEST] <Mavrik> Wrap it into a RAII container and make sure you properly reference/dereference in constructor/destructor
[15:33:51 CEST] <shtomik> @Mavrik RAII container?
[15:34:40 CEST] <shtomik> @Mavrik Can you give me some example, please?
[15:40:34 CEST] <Yukkuri> hi, i am implementing MP4 live streaming in (moov [moof mdat]+) layout and i am in doubt: what should i put into /moov/trak/mdia/minf/stbl/* boxes, namely stts, stss, stsc, stsz and stco? i don't know sample sizes in advance, since they are live streamed and should be described under the each of /moof box, should i specify /moov/*/stbl/* at all?
[15:41:31 CEST] <Yukkuri> if so, is sample entries number equal to zero (and empty list afterwards) will do in this case?
[16:36:50 CEST] <roxlu> Hey is there a way I can somehow influence what kind of packets ffmpeg sends when I output a RTP stream? I want to test a server and see if it handles mtap16/24/stapa/b correctly ?
[17:17:07 CEST] <shtomik> Guys, Why when I create new AVPacket in loop, AVPacket always pointer to the same memory ?
[17:17:44 CEST] <shtomik> How to create new AVPacket on iteration?
[17:21:26 CEST] <BtbN> Why though?
[17:21:40 CEST] <BtbN> Seems pointless waste of memory if the old one is available again
[17:25:43 CEST] <shtomik> @BtbN Hi! Thanks for your reply all time, thanks so much! I create AVPacket pkt; than init, than avcodec_receive_packet, and I need to save packet to buffer Im add ref and save, and all so good, but in next loop iteration, I rewrite already saved prev AVPacket...
[17:26:35 CEST] <shtomik> Maybe I need to clone packet or smth ?
[17:45:46 CEST] <BtbN> shtomik, if you create it on the stack, of course it's the same all the time
[17:45:57 CEST] <BtbN> I'm not sure if that's even supported.
[17:57:22 CEST] <shtomik> @BtbN Thanks, I solved my problem. av_packet_clone(&enc_packet) -> new alloc + ref and return new AVPacket, and thats work ;)
[17:57:45 CEST] <BtbN> you still shouldn't have your packet on the stack
[17:57:51 CEST] <BtbN> something might try to free it and explode
[17:58:11 CEST] <BtbN> Just alloc it properly, and ref/unref should work properly
[17:59:35 CEST] <shtomik> @BtbN Thanks, How to allo it prop? In all examples, in share folder, AVPacket packet; all in stack
[18:00:53 CEST] <BtbN> av_packet_alloc
[18:01:44 CEST] <shtomik> @BtbN Thanks!
[18:21:05 CEST] <roxlu> hmm it seems like ffmpeg sends NALs with type 31 when I stream h264/rtp which seems to be an undefined type for h264 over rtp. I'm sure the bug is on my side, but I'm wondering why ffmpeg sends nal type 31.
[18:30:17 CEST] <roxlu> Oh nvm me, it's probably a RTCP packet :#
[18:36:12 CEST] <roxlu> ... does ffmpeg multiplex rtcp/rtp ?
[19:02:47 CEST] <bodqhrohro> Why are av1, daala, 4gv, celt, ilbc, smv and voxware listed in `ffmpeg -codecs` without both decoding and encoding flag? What else can ffmpeg do with them?
[19:03:24 CEST] <BtbN> nothing, if you don't build with support for their de/encoders.
[21:17:32 CEST] <mosb3rgler> hey there everyone, im having a bit of difficulty using the http_proxy toggle with ffmpeg in ubuntu.
[21:18:29 CEST] <mosb3rgler> ffmpeg -http_proxy 'http://proxyip:8888" -i 'http://source.url.com/stream/details.m3u8'
[21:19:42 CEST] <mosb3rgler> this is the formating i have attempted to use and it appear to not reject the command as bad. but i have seen some reports that the error doesnt display when it fails to use it. I was able to use enviornmental variable for http_proxy and just set it generally but i dont want that honestly i would rather the os correctly uses the bandwidth as expected and doesnt only pass through the proxy for all traffic would be too slow for a de
[21:22:05 CEST] <mosb3rgler> additionally.. it would be a very good option for us to only parse the headers through the proxy to avoid data being run uselessly through a proxy. ultimately it just needs to generally sense the connection to the intitial location, then once thats made its fine authorization was made. this is a problem with a specific provider blocking all data centers i have been able to check. but all home connections i have checked will work f
[22:04:53 CEST] <jesopo> who's beats
[23:15:52 CEST] <Johnjay> weird
[23:15:59 CEST] <Johnjay> i have youtube on 144p and the stream it's on still lags
[23:16:03 CEST] <Johnjay> even though my internet isf ine
[23:18:07 CEST] <boobie> wake me up when 4.0 is here
[23:18:40 CEST] <JEEB> only distros care about releases anyways
[23:18:44 CEST] <JEEB> you can just fine use master
[23:18:59 CEST] <JEEB> because if you're basing on a distro it being released wouldn't help anyways
[23:19:07 CEST] <JEEB> they'd only take it in after days/weeks/months
[23:19:37 CEST] <boobie> for mpv though
[23:20:01 CEST] <JEEB> well same thing
[23:20:05 CEST] <JEEB> releases are for distros
[23:20:39 CEST] <boobie> hmm
[23:21:14 CEST] <JEEB> and lachs0r's builds I guess, since he chooses to only build releases for some reason
[23:22:33 CEST] <boobie> i can build it i'm just worried about conflicts on my system
[23:22:49 CEST] <JEEB> just build it with a static FFmpeg in some custom prefix?
[23:23:02 CEST] <JEEB> and don't install mpv into your system prefix I guess?
[23:23:17 CEST] <JEEB> I do that all the time with windows/linux/android builds of FFmpeg and mpv
[23:23:36 CEST] <boobie> ok that's like chinese for me i'm not that technical i just like films
[23:23:44 CEST] <boobie> lmao
[23:23:54 CEST] <JEEB> basically what mpv-build does as well.
[23:24:06 CEST] <JEEB> as long as you don't make a package and try to install that
[23:24:10 CEST] <JEEB> which is what the build scripts don't do
[23:24:22 CEST] <JEEB> you just get a binary under ./mpv/buildmpv
[23:24:29 CEST] <JEEB> *./mpv/build/mpv
[23:24:42 CEST] <boobie> the build script doesn't use ffmpeg that is installed?
[23:24:47 CEST] <JEEB> nope
[23:24:51 CEST] <boobie> oh right
[23:24:55 CEST] <JEEB> it builds its own FFmpeg
[23:24:58 CEST] <JEEB> statically
[23:24:58 CEST] <boobie> haven't thought of that
[23:25:04 CEST] <JEEB> into a prefix inside the mpv-build directory
[23:25:09 CEST] <JEEB> and then tells mpv to use that one
[23:25:10 CEST] <boobie> i see
[23:25:27 CEST] <Johnjay> what's a static build? static linking?
[23:25:39 CEST] <JEEB> yes
[23:25:55 CEST] <Johnjay> boobie: yes when i tried compiling mpv for my raspberry pi the people in #mpv laughed at me because ffmpeg wouldn't compile
[23:26:04 CEST] <Johnjay> it was all part of the buildmpv script
[23:26:04 CEST] <shtomik> Hi to all guys, Im trying to stream via rtmp and flv to youtube only sound, but stream on youtube doesnt start, I understood that I need 2 streams, right?
[23:26:55 CEST] <JEEB> Johnjay: yea I'm not sure if cross-compilation was what that thing was meant for although I have no idea of the context to be honest :P
[23:27:16 CEST] <Johnjay> not cross, i was literally on a raspbi with jessie trying to build it
[23:27:19 CEST] <boobie> ok so now i'll figure out how to make it use master
[23:27:58 CEST] <JEEB> boobie: there's a script litearlly for that although it's more on-topic @ #mpv
[23:27:59 CEST] <Johnjay> but i mean i'm not an expert. if they didn't care to debug it with me... not a lot I can do
[23:28:09 CEST] <boobie> ohh
[23:28:18 CEST] <Johnjay> maybe it was really an ffmpeg problem
[23:28:27 CEST] <JEEB> don't remember the context :P
[23:28:33 CEST] <Johnjay> it said it couldn't find libraries even though i manually checked every library it said
[00:00:00 CEST] --- Mon Apr 16 2018


More information about the Ffmpeg-devel-irc mailing list