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

burek burek021 at gmail.com
Sat Aug 17 06:06:29 EEST 2019


[01:40:28 CEST] <barg> if i do ffmpeg -i myvideo.mp4 then i see it says rotate : 90  and   and displaymatrix: rotation of -90.00 degrees.  How do I get rid of that? I notice also when I upload it to youtube then it shows rotated.
[01:52:29 CEST] <nine_milli> blb
[04:30:00 CEST] Last message repeated 1 time(s).
[06:30:07 CEST] <barg> got it   ffmpeg -i input.mp4 -c copy -metadata:s:v:0 rotate=0 output.mp4
[06:32:02 CEST] <nine_milli> blb
[10:52:00 CEST] Last message repeated 1 time(s).
[13:43:48 CEST] <nikio_> how can i switch stdin input streams at will without breaking the ffmpeg outputstreams.
[13:44:12 CEST] <nikio_> Im streaming in audio from youtube and streaming it out as mpeg-dash
[13:45:02 CEST] <nikio_> ?
[16:45:29 CEST] <nikio_> anyone?
[16:46:12 CEST] <durandal_1707> simply said you can not do that
[16:46:16 CEST] <JEEB> nikio_: you need an API client that has that functionality
[16:46:35 CEST] <JEEB> the libraries let you do something like that, but you need a way to sticking it together that the ffmpeg.c command line client doesn't handle
[16:46:47 CEST] <nikio_> well i am using nodejs
[16:46:49 CEST] <nikio_> and streams
[16:46:53 CEST] <nikio_> i could do it myself?
[16:47:18 CEST] <nikio_> i have to add the right bytes or somethng
[16:47:37 CEST] <nikio_> concat the end of the stream and the beginning of the new one the right way?
[16:48:02 CEST] <JEEB> in some ways you might or might not be able to use ffmpeg.c and stitching, but not sure how well that'd work
[16:48:18 CEST] <nikio_> i just need some pointers into the rigth direction
[16:48:20 CEST] <JEEB> I've  yet to have time to check upipe for their dynamic input stuff
[16:48:29 CEST] <nikio_> i dont like using extra libraries and let them hide all that is going on
[16:48:42 CEST] <nikio_> id rather just learn the minimum amount of theory and understand why the stream breaks
[16:48:47 CEST] <nikio_> and add some code to make it work
[16:49:11 CEST] <nikio_> ive read that using named pipes is a solution somehow
[16:51:06 CEST] <DHE> mkfifo pipe1 pipe2 pipe3 [...]
[16:51:21 CEST] <nikio_> these days people rely too much on external libraries to do everythng for them, when often the problem that needs to be fixed istn even that hard once you dig into it a bit
[16:51:30 CEST] <nikio_> and then they end up working with 100 libraries, stuff breaking everywhere
[16:51:33 CEST] <nikio_> nobody understands why
[16:51:34 CEST] <DHE> one program writes to a file like "cmd ...  > pipe1"  and ffmpeg can read from it with "ffmpeg -i pipe1 ..."
[16:51:56 CEST] <DHE> I did something similar with mencoder with discrete audio and video pipes WAY back in the day
[16:53:03 CEST] <nikio_> yeah there is something with named pipes that supposably makes it work, i tried simply using nodejs
[16:53:10 CEST] <nikio_> unpiping a stream and then piping a new one
[16:53:17 CEST] <nikio_> but that just breaks it
[16:54:55 CEST] <DHE> you basically have two options. output each of your things to a discrete file descriptor, or have your application output in a streaming-friendly container format that ffmpeg can read
[16:56:25 CEST] <nikio_> thx I will keep that in mind. im gonna hang around here a bit while i work on my project.
[20:51:38 CEST] <kepstin> well, there's the third option, write your application in a language that can use C abi libraries, then directly use libav* instead of going through the ffmpeg cli wrapper :/
[20:55:02 CEST] <nikio_> hmm
[20:58:01 CEST] <nikio_> bbl, ill keep that in mind too, thx
[00:00:00 CEST] --- Mon Jul 29 2019


More information about the Ffmpeg-devel-irc mailing list