[Ffmpeg-devel-irc] ffmpeg.log.20190818
burek
burek at teamnet.rs
Tue Sep 3 04:36:37 EEST 2019
[00:37:40 CEST] <Thomas_J> I am getting "Input/output error" and "cannot set channel count to 2" with an input device "hw:CARD=2,DEV=0. anybody, any ideas?
[00:39:08 CEST] <Thomas_J> This device us a USB extrnal heqdphone adaptor.
[00:43:41 CEST] <cehoyos> The external adaptor likely only supports mono
[00:49:50 CEST] <Thomas_J> true but shouldn't ffmpeg by default use 1 channel instead of 2?
[00:55:53 CEST] <Thomas_J> When I tried to set the input with -ac:1, I get "hw:CARD=Device,DEV=0: Protocol not found".
[00:57:28 CEST] <furq> it's -ac 1
[00:57:46 CEST] <Thomas_J> Aahhh
[00:58:48 CEST] <Thomas_J> that worked. Thanks.
[10:25:36 CEST] <snatcher> what's the difference between audio formats u8 s16 s32 s16p etc?
[10:31:44 CEST] <DHE> 's'=signed, 'u'=unsigned integers
[10:33:40 CEST] <snatcher> also there is u8p s16p s32p
[10:36:28 CEST] <DHE> planer
[10:36:36 CEST] <DHE> like yuv420 vs yuv420p
[16:10:22 CEST] <Didier_Spaier> Hello, here configuration of ffmpg 4.2 with the option --enable-libopencv (having opencv 4.1 installed) fails because opencv/cxcore.h is not found. If I am correct this file is part of a deprecated opencv API. Any update planned to be able to link against a recent opencv?
[16:12:01 CEST] <Mavrik> You'll probably have to write a patch yourself, there's probably not many OCV users
[16:13:53 CEST] <JEEB> Didier_Spaier: I think they removed the C API completely
[16:14:01 CEST] <JEEB> so you're left with a separate C++ one
[16:14:09 CEST] <JEEB> if I recall the related issue correctly
[16:14:52 CEST] <durandal_1707> why you need opencv at all?
[16:15:15 CEST] <JEEB> we might have some C++ code building in FFmpeg already, but genearlly we just use C APIs of C++ projects :P
[16:16:56 CEST] <Didier_Spaier> JEEB: so if I understand well, for now all I can do is downgrade opencv to have it linked to by ffmpeg?
[16:17:10 CEST] <JEEB> if you really need whatever the opencv thing provides, yes
[16:17:17 CEST] <JEEB> within FFmpeg that is
[16:17:56 CEST] <Didier_Spaier> So I will do that for now, thanks for the answer.
[16:20:30 CEST] <Didier_Spaier> durandal_1707: I don't personally need opencv, but as the maintainer of the Slint distribution http://slint.fr I want to package ffmpeg with as many features as I can, not knowing what features will be used by each Slint user.
[17:34:56 CEST] <AiNA_TE> if i need to delogo and crop a video at the same time
[17:35:18 CEST] <AiNA_TE> do i need to change my delogo co-ordinates to account for the crop applied
[17:36:04 CEST] <AiNA_TE> like if my delogo started at a width of 10, and i needed to crop 2 from the left, do i change delogo to start at width of 8?
[17:36:12 CEST] <AiNA_TE> or just leave it as it is
[17:39:00 CEST] <pink_mist> depends if you crop first or delogo first
[19:54:13 CEST] <Hackerpcs> I'm not sure if it's ontopic, but how could I get the direct URL for the flash player here? http://www.echoes.gr/el/player
[20:12:08 CEST] <DHE> flash player? most browsers don't do plugins anymore
[20:12:11 CEST] <DHE> also pretty sure that's off topic
[20:13:56 CEST] <Hackerpcs> Sorry. I found a solution if anyone wonders https://moshekaplanblog.wordpress.com/2014/10/23/downloading-an-rmtp-stream/
[20:14:38 CEST] <pink_mist> heh, that link is misspelling rtmp
[22:25:20 CEST] <Hackerpcs> Can I use the additional parameters (app, playpath) etc for rtmp input? https://ffmpeg.org/ffmpeg-protocols.html#rtmp
[22:27:46 CEST] <durandal_1707> its in documentation
[22:30:35 CEST] <Hackerpcs> https://pastebin.com/N5WZV6bx -- rtmpdump works but passing the same arguments to ffmpeg doesn't
[22:37:51 CEST] <durandal_1707> Post full uncut command line you used
[22:38:58 CEST] <Hackerpcs> it's on the pastebin above
[22:43:56 CEST] <durandal_1707> what error you get?
[22:45:29 CEST] <Hackerpcs> rtmp server sent error - rtmp server requested close - rtmp://85.17.75.147:1935/echoes_relay/: Unknown error occurred
[22:48:00 CEST] <durandal_1707> put options after -i ?
[22:49:23 CEST] <Hackerpcs> trying it on the build provided by ubuntu server's 19.04 (N-93748-g19f1eaa) gives me "[http @ 0x56373ca7d0c0] HTTP error 404 Not Found - [rtmp @ 0x56373ca7c380] Cannot open connection http://www.echoes.gr/index.swf/[[DYNAMIC]]/1/[[DYNAMIC]]/2. - rtmp://85.17.75.147:1935/echoes_relay/: Server returned 404 Not Found"
[22:50:06 CEST] <Hackerpcs> the error about the url with "DYNAMIC" in it is present also on rtmpdump but it doesn't matter there, it proceeds to download it
[22:50:48 CEST] <Hackerpcs> that argument doesn't seem to be needed at all, I can remove it from rtmpdump
[22:51:23 CEST] <Hackerpcs> Putting the -i before the options results the same and I'd guess the options aren't utilized at all that way because I don't get the error that way about the URL
[22:52:16 CEST] <durandal_1707> are you usinng librtmp with ffmpeg?
[22:52:28 CEST] <Hackerpcs> on ubuntu with the options after -i it results in "Server error: Connection failed: Application rejected connection." so the options are disregarded that way
[22:53:37 CEST] <Hackerpcs> on Windows yes, on Ubuntu the repo build doesn't use it
[22:58:57 CEST] <Hackerpcs> does it work for you with the systax from the pastebin?
[22:59:34 CEST] <durandal_1707> im on phone so cant test unti tommorow
[23:29:34 CEST] <Oldest> does 60fps video double size of 30fps of same content?
[23:30:02 CEST] <Oldest> does 60fps video create double file size of 30fps of same content?
[23:32:10 CEST] <durandal_1707> no
[23:32:20 CEST] <Oldest> why not
[23:32:23 CEST] <DHE> not unless it's uncompressed
[23:32:35 CEST] <Oldest> shouldn't it be doubled based on math
[23:32:46 CEST] <durandal_1707> no
[23:34:36 CEST] <Oldest> can 60fps video create similar file size as 30fps of same content then?
[23:36:37 CEST] <Mavrik> Depends.
[23:36:55 CEST] <DHE> compression is under user control. if you specifically request, say, 5 megabit video, the resulting video will be 5 megabits regardless of resolution or framerate (2 pass mode may be required for consistency)
[23:39:45 CEST] <kepstin> the closer frames are together in time (higher framerate), then they're usually more similar to each-other, which means the encoder can reuse more data from frame to frame. if set the gop size based on time, there'll be more frames per gop too
[23:40:05 CEST] <kepstin> which means for the same visual quality, a 60fps video will usually be less than twice the size of 30fps video
[00:00:00 CEST] --- Mon Aug 19 2019
More information about the Ffmpeg-devel-irc
mailing list