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

burek burek021 at gmail.com
Thu Dec 8 03:05:01 EET 2016


[00:04:30 CET] <twtduck> Hey guys, I'm having trouble concatenating videos. I followed the directions on the site (https://trac.ffmpeg.org/wiki/Concatenate) but I get the following error:
[00:05:05 CET] <twtduck> [concat @ 0x5565ab090a60] Unsafe file name '/home/thomas/Videos/dcm/00001.mp4' mylist.txt: Operation not permitted
[00:10:52 CET] <c_14> put -safe 0 before -i
[00:12:35 CET] <twtduck> Okay
[00:16:59 CET] <twtduck> It just finished, and it seems to have broken the video
[00:17:52 CET] <twtduck> Is there a different approach? Or should I convert the videos to a different format before concatenating (in my experience, ffmpeg doesn't play nice with mp4 files)
[00:22:09 CET] <c_14> mpegts concatenates very easily
[01:53:23 CET] <Sashmo> can anyone help me with this command... it looks like a mess, but my overlay is not happening at all... I can see video, but there is no logo overlay.... any suggestions?
[02:25:09 CET] <blue_misfit> hey with the drawtext filter, how can I make fontsize relative to the video width?
[02:25:25 CET] <blue_misfit> like if I want to have text that will always be 90% of the width of the video for example
[05:18:47 CET] <Sashmo> can anyone help me with this command... it looks like a mess, but my overlay is not happening at all... I can see video, but there is no logo overlay.... any suggestions? http://pastebin.com/2SsvMeN3
[07:31:18 CET] <CwiH> where is that, securetransport at?
[10:04:54 CET] <benbro> is this live webcast using hls or dash?
[10:04:56 CET] <benbro> https://cloudwebinars.withgoogle.com/live/kubernetes-emea/watch/webcast
[10:04:58 CET] <benbro> how can I tell?
[10:10:38 CET] <ikevin> benbro, it seem's that youtube live streams don't support hls
[10:11:13 CET] <furq> youtube live streams support both as far as i can tell
[10:11:34 CET] <benbro> ikevin: I can see a new mp4 chunk every few seconds
[10:11:39 CET] <benbro> is it hls or dash?
[10:12:00 CET] <BtbN> Can be both.
[10:12:05 CET] <furq> http://vpaste.net/P134T
[10:12:07 CET] <superware> I need to embed "user data" per frame in h264, is this something ffmpeg (libavcodec) can do?
[10:12:23 CET] <furq> youtube-dl only shows hls streams, but in my browser network panel i'm getting mpd manifests and mp4 fragments
[10:12:36 CET] <furq> so i guess they're using both now
[10:12:47 CET] <BtbN> there is one mpd manifest, with all the other streams in it
[10:19:42 CET] <benbro> thanks
[10:23:45 CET] <superware> (or "unregistered data"...)
[15:31:05 CET] <JoshX> Hello :-) I have a file, mp4, h264, which reports the framerate to be 25/2 but actually is 25/1
[15:31:15 CET] <JoshX> the file reports to be 30 minutes and 22500 frames
[15:31:28 CET] <JoshX> but it is 15 minutes and 22500 frames -> 25 FPS
[15:31:38 CET] <JoshX> any way to fix the framerate and only the framerate?
[15:31:43 CET] <JoshX> without transcoding the whole file?
[15:35:38 CET] <furq> JoshX: not with ffmpeg, but mp4box can do it
[15:37:08 CET] <JoshX> ah let me google that cheers
[15:37:27 CET] <JEEB> one of the l-smash tools also lets you edit the timeline
[15:37:31 CET] <JEEB> timelineditor I think
[15:37:44 CET] <JoshX> is there a CLI tool that could do it?
[15:37:52 CET] <furq> mp4box has a cli
[15:37:54 CET] <JoshX> ah mp4box is cli
[15:37:58 CET] <JoshX> :-)
[15:38:06 CET] <furq> mp4box -add foo.h264:fps=25 -new foo.mp4
[15:38:15 CET] <furq> you'll need to demux the h264 stream first, which you can do with ffmpeg
[15:38:20 CET] <JEEB> huh
[15:38:26 CET] <JEEB> then you'd probably want to poke timelineeditor :)
[15:38:28 CET] <JEEB> from l-smash
[15:38:40 CET] <furq> if you can do that inplace then yeah, that sounds easier
[15:39:23 CET] <JoshX> its so strange.. i just saved an RTSP stream from the camera straight to disk.. and the framerate is 12.5 now.. and the duration is reported as 30 minutes but span 15 minutes in the 'real' world :)
[15:40:52 CET] <JEEB> always trust the actual PTS values rather than some average that ffmpeg comes up with ;)
[15:41:35 CET] <JoshX> well everything i play it with and analyze it with tells me 25/2 FPS and 1799.992seconds as duration
[15:42:04 CET] <JoshX> but it is half of that :)
[15:42:17 CET] <JoshX> and playing it as 200% is fine in mediaplayers
[15:42:42 CET] <JoshX> it was a chines camera.. perhaps some nasty h264 implementation ;)
[15:42:46 CET] <JoshX> chinese*
[15:48:03 CET] <JoshX> JEEB: i have the timelineeditor installed.. do you know how to use it? or is google my best friend in this?
[15:50:13 CET] <JoshX> JEEB: i find your name in relation to l-smash :-O on a japanese site?
[15:52:33 CET] <JEEB> --help is your best friend :)
[15:52:39 CET] <JEEB> and yeah, I've been kind of related to it :D
[15:53:07 CET] <JEEB> L-SMASH got nice adoption by some places, like twitter :D
[15:53:17 CET] <JEEB> as a liberally licensed ISOBMFF library
[15:53:31 CET] <JEEB> also another video site uses L-SMASH as well :)
[15:55:20 CET] <JoshX> well i did --help ofcourse
[15:56:00 CET] <JoshX> but then, what do i specify.. --media-timescale or --media-timebase
[15:56:19 CET] <JoshX> and then? a factor? or a precentage? or a fps?
[15:57:01 CET] <JoshX> the --skip and --delay options will be usefull for me too by the way, but that is not for now :-)
[15:59:33 CET] <JoshX> so a little hint would be nice ;)
[16:00:51 CET] <JoshX> or it is the timecode file option, but what would i need then?
[16:04:37 CET] <sardok> Hi i would like know complex_filter paramter's evaluation frequency. Is it evaluated per frame or is it periodically evaluated like every millisecond?
[16:07:28 CET] <Phi> ffmpeg -vcodec h264_qsv -rtsp_transport tcp -i "rtsp://user:pass@domain:554/h264/ch29/sub/av_stream" "X:\h264frames\testoutput.mp4" --> ffmpeg crash
[16:07:32 CET] <Phi> always fun
[16:10:44 CET] <Phi> appears it crashes when you use h264_qsv for input codec
[16:11:00 CET] <Phi> when you use it for output, you get "Selected ratecontrol mode is not supported by the QSV runtime. Choose a different mode."
[16:18:01 CET] <Phi> http://pastie.org/private/tbpjlnf4w877sqyr7skfa any help fellahs?
[16:21:45 CET] <jkqxz> Update.  libmfx/qsv was totally broken for a while earlier this year.
[16:23:24 CET] <Phi> When was it fixed?
[16:23:58 CET] <Phi> the ffmpeg exe I'm using for testing is from 18th July, but I'm using ffmpeg C++ statically that's from 8th Nov, same issues
[16:24:40 CET] <Phi> (although from memory I couldn't compile the ffmpeg EXE with the cmdl I used to produce a static lib)
[16:24:42 CET] <JoshX> JEEB: i don't get what to change ... --media-timescale <integer> or --media-timebase <integer> gives an error, no matter what integer i put there
[16:35:02 CET] <jkqxz> Phi:  Some time in November, I think.
[16:43:41 CET] <Phi> that's awkward
[16:43:55 CET] <Phi> I'll give Zeranoe's nightly build a try, see if that one works
[16:45:37 CET] <Phi> ...and for some reason it's downloading at 14kb/s
[16:47:54 CET] <Sashmo> can anyone help me with this command... it looks like a mess, but my overlay is not happening at all... I can see video, but there is no logo overlay.... any suggestions? http://pastebin.com/2SsvMeN3
[16:52:33 CET] <Phi> restarted the download, it was fast, and that ffmpeg works
[16:52:38 CET] <Phi> time to git pull
[16:55:35 CET] <JoshX> well the plot thickens
[16:55:42 CET] <JoshX> the MP4 container has a framerate of 25/2 but the demuxed h264 file (ffmpeg -i in.mp4 -vcodec copy -an -f h264 in.h264) has a framerate of 25/1
[16:55:46 CET] <JoshX> its so strange :-O
[17:11:33 CET] <JoshX> thanks for thinking about my problem, but it was really much simpler than i imagined :-)
[18:07:18 CET] <Phi> http://pastie.org/private/xvu1hfsrnfeg3jymh2fo5w okay, now I'm getting errors with h264
[18:07:25 CET] <Phi> while make'ng
[18:12:52 CET] <Phi> libavcodec/x86/h264_deblock_10bit.asm:1078: warning: (ASSERT:2) assertion ``8 <= 7'' failed
[18:18:10 CET] <durandal_1707> Phi: what Yasm version?
[18:43:40 CET] <Phi> yasm 1.3.0
[19:06:53 CET] <durandal_170> Phi: it works fine here
[19:07:08 CET] <Phi> hmm
[19:07:13 CET] <Phi> I'll post the configure I'm using then
[19:08:17 CET] <Phi> it's worth noting I'm compiling with mingw on Windows, using MSVC toolchain
[19:08:20 CET] <Phi> http://pastie.org/private/wptu9nj3gra8pl7xjb1ow
[19:10:02 CET] <Phi> the end result is static libraries, using RTSP -> file, MPEG4/MJPEG video codecs
[19:13:13 CET] <Phi> ...well, it should be anyway
[20:04:59 CET] <Phi> judging from old commits, it was James screwing up everything
[20:05:06 CET] <Phi> so I rolled back his commits
[20:22:42 CET] <Phi> yep, it was James
[20:22:45 CET] <Phi> dammit, James
[20:25:40 CET] <Phi> rolling back to 58ca2ef62e7c3e0b9f17d7ed3e435f996aa061fe fixed it
[20:56:19 CET] <durandal_1707> Phi: report/open bug report on our bug tracker
[20:58:59 CET] <J_Darnley> So I understand someone is having trouble with some assembly?
[21:00:05 CET] <durandal_1707> Phi: ^
[21:05:27 CET] <Phi> configure: http://pastie.org/private/wptu9nj3gra8pl7xjb1ow , make error is http://pastie.org/private/xvu1hfsrnfeg3jymh2fo5w
[21:05:58 CET] <Phi> using mingw64, Windows 10, VS 2015 MSVC
[21:06:25 CET] <Phi> rolling back to 58ca2ef62e7c3e0b9f17d7ed3e435f996aa061fe fixed it, it make'd as expected
[21:08:45 CET] <Phi> does that help J_Darnley :3
[21:09:45 CET] <Phi> well, the configure I pastie'd above doesn't make properly using the most recent commit
[21:32:21 CET] <J_Darnley> Phi: can you run the fate tests if I give you a patch?
[21:40:26 CET] <J_Darnley> Phi: even if you can't do that can you tell me whether this compiles?  http://pastebin.com/NhNEmnQ2
[21:50:46 CET] <Phi> if you give me an idiot's guide "just type this into mingw" then I could do whatcha want
[21:51:20 CET] <Phi> it does take my system about half an hour to configure/make, I'm not sure why as it's SSD i7 32GB RAM stuff
[21:52:18 CET] <Phi> I've not used fate and I'm not sure what to do with that second link
[21:55:21 CET] <J_Darnley> fork() is slow as hell on Windows making unix shell slow
[21:58:01 CET] <Phi> mkay
[21:58:50 CET] <J_Darnley> No need to test, this should be fine.  http://pastebin.com/DMSX5VBG
[21:59:34 CET] <Phi> so you want me to update to most recent and try config/make again?
[22:00:26 CET] <J_Darnley> You don't have to.  If you want to stick with a commit before my bug, that is fine.
[22:01:08 CET] <Phi> Whatever will help you, I have my libs already
[22:01:55 CET] <J_Darnley> Then yes, go back to latest, apply the patch, configure, make, report problems.
[22:03:46 CET] <Phi> on a side note, is there a better QSV example than the decoding VA-API one?
[22:04:22 CET] <J_Darnley> No idea here, sorry.
[22:05:19 CET] <Phi> rats
[22:09:22 CET] <J_Darnley> Oh, if you didn't know, the -j switch for make will run things in parallel.
[22:10:08 CET] <Phi> that might speed stuff up
[22:10:42 CET] <J_Darnley> Give an argument equal to the number of cores you have.  (Some suggest more)
[22:11:52 CET] <Phi> hyperthreading cores or "real" cores?
[22:12:13 CET] <J_Darnley> I don't know.  People don't benchmark it that carefully.
[22:14:45 CET] <J_Darnley> Phi: are you kindly testing the patch for me?
[22:16:51 CET] <Phi> I am
[22:17:23 CET] <Phi> For some reason whenever I run git pull, it deletes libmfx.lib from mingw
[22:17:23 CET] <J_Darnley> Thank you very much.
[22:17:32 CET] <Phi> so my first configure just failed
[22:18:07 CET] <Phi> I added it back in and now I'm running the configure again
[22:23:16 CET] <rage> hey, dont know if this has been reported but the windows builds download server seems down
[22:23:55 CET] <Phi> it was acting oddly earlier
[22:24:26 CET] <Phi> I have the static nightly win64 zip for today if you want it
[22:25:14 CET] <rage> nah, nothing urgent on my side, but thanks !
[22:25:30 CET] <Phi> alrighty, it was a long shot anyway
[22:30:50 CET] <Phi> configure done, making
[22:33:55 CET] <Phi> looks like "real" cores are the way to go
[22:34:45 CET] <Phi> yo Zeranoe
[22:35:17 CET] <Phi> same error J_Darnley, although output has changed a bit
[22:35:39 CET] <J_Darnley> Did you apply the second patch?
[22:35:49 CET] <Phi> I just updated to master, how do I check that?
[22:36:14 CET] <beo> hi, http://ffmpeg.zeranoe.com/builds/ this says "403 Forbidden"
[22:36:26 CET] <Zeranoe> I am aware
[22:37:13 CET] <J_Darnley> Are you using git, Phi?
[22:37:28 CET] <Phi> yeah
[22:37:41 CET] <J_Darnley> Download the patch http://pastebin.com/DMSX5VBG (the raw button)
[22:37:50 CET] <J_Darnley> then: git apply FILENAME
[22:37:59 CET] <beo> i need to download ffmpeg-20161204-1f5630a-win64-static.zip
[22:38:05 CET] <beo> no other download location?
[22:38:44 CET] <Phi> put it in the ffmpeg folder then J?
[22:38:57 CET] <J_Darnley> That does make it (a little) easier
[22:39:51 CET] <Phi> *puts it in system32*
[22:40:19 CET] <J_Darnley> /me is what you want there
[22:40:43 CET] Action: J_Darnley puts it in *the backdoor*
[22:40:52 CET] <Phi> fatal: corrupt patch at line 21
[22:41:35 CET] <J_Darnley> Thanks pastebin for trimming a blank line
[22:42:14 CET] <J_Darnley> echo '' >> FILENAME
[22:43:34 CET] <Phi> do line endings matter? I have CRLF
[22:43:42 CET] <Phi> the echo didn't seem to fix anything
[22:44:15 CET] <J_Darnley> try: dos2unix FILENAME
[22:46:04 CET] <Phi> dos2unix not found, but I converted in Notepad++
[22:46:19 CET] <Phi> okay, time to apply it again
[22:47:40 CET] <Phi> git apply worked, configuring again...
[22:47:44 CET] <J_Darnley> No.
[22:47:49 CET] <J_Darnley> Just run make again
[22:48:02 CET] <Phi> ....whoops
[22:48:11 CET] <J_Darnley> Abort it
[22:48:16 CET] <J_Darnley> then just run make
[22:49:23 CET] <Phi> alrighty, making
[22:59:40 CET] <Phi> works fine J_Darnley
[22:59:56 CET] <J_Darnley> Thanks.  Will push patch
[23:00:45 CET] <Phi> sorry for the delay
[23:00:54 CET] <J_Darnley> Its fine.
[23:01:03 CET] <J_Darnley> Sorry I wrote the bug in the first place.
[23:07:57 CET] <Sashmo> can anyone help me with this command... it looks like a mess, but my overlay is not happening at all... I can see video, but there is no logo overlay.... any suggestions? http://pastebin.com/2SsvMeN3
[23:08:58 CET] <Phi> looks like we both suck! *high fives*
[23:09:26 CET] <DHE> what's nvresize?
[23:11:19 CET] <Phi> nvidia resize?
[23:16:10 CET] <Sashmo> nah the overlay in filter complex
[23:16:17 CET] <Sashmo> cant get my overlays to come up
[23:16:20 CET] <Sashmo> all the videos are working fine
[23:16:24 CET] <Sashmo> just no overlay on top....
[23:21:58 CET] <jkqxz> That filter does sound very suspicious.  Does it work if you use split+scale instead?
[23:31:43 CET] <Phi> "h264_qsv : Error initializing the encoder"
[23:32:20 CET] <Phi> well don't give me TOO many details
[00:00:00 CET] --- Thu Dec  8 2016


More information about the Ffmpeg-devel-irc mailing list