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

burek burek021 at gmail.com
Wed Sep 7 03:05:02 EEST 2016


[00:00:13 CEST] <spreeuw> but I need a number
[00:00:19 CEST] <spreeuw> since it defaults at 250
[00:00:24 CEST] <spreeuw> if you dont give one
[00:02:50 CEST] <klaxa> 10 seconds, first one 250, second one 375, third one 500, and so on, always add 125
[00:02:55 CEST] <klaxa> why? because you wanted numbers
[00:03:07 CEST] <klaxa> see which one with the lowest number is still of good quality
[00:04:22 CEST] <spreeuw> ok I will let my cat judge the image quality
[00:07:26 CEST] <klaxa> cats are never wrong
[01:17:16 CEST] <Kiicki> retard it seems like youtube only supports up to 128 kbps for mp3? Didn't realize that before now
[01:17:37 CEST] <Kiicki> Possible that it has changed but most of the songs out there is in 128
[01:19:07 CEST] <woodbeastz> hello I have been here a few times to ask for help to help setup FFmpeg on  my remote linux server
[01:21:35 CEST] <woodbeastz> I have  it  installed by  the techs where I host my server but they say  to have someone help me utilize how to use it
[01:30:30 CEST] <kepstin> Kiicki: most audio on youtube is probably aac not mp3, and 128kbit aac is quite reasonable.
[01:39:18 CEST] <Kiicki> kepstin when I converted, it says MPEG audio codec. Converted with a GUI software
[01:40:27 CEST] <Kiicki> tried an option that was called "Mp3 Original quality"
[01:41:33 CEST] <Kiicki> when choosing "AAC Original quality" I get AAC codec and container. Is that normal?
[01:41:41 CEST] <Kiicki> Never really used AAC as a container before
[01:43:10 CEST] <Kiicki> Doesn't seem like I can chose a Mp3 container with AAC codec
[01:43:52 CEST] <durandal_1707> thankfully
[01:45:27 CEST] <Kiicki> Also on the AAC file with AAC codec, holding the mouse over it, it shows 0 size. But it's really 4.11MB when going to properties. Really weird
[01:57:38 CEST] <jya> is there a way to make ffmpeg generates a webm so that the last sample is preceded by a BlockDuration so we don't have to estimate the duration of the last sample ?
[03:42:57 CEST] <ytan> good morning people
[05:23:48 CEST] <woodbeastz> ffmepg is being dis-continued?
[05:24:01 CEST] <woodbeastz> opps  Server version
[07:52:53 CEST] <retard> Kiicki: this is what i was telling you: youtube uses aac, not mp3. you will have to transcode manuallu
[07:53:26 CEST] <retard> the 0 size is probably just windows farting out about reading aac metadata or similar
[08:09:40 CEST] <furq> i don't think he's using youtube-dl so all bets are off
[08:38:47 CEST] <ricemuffinball> is it normal that seeking is really slow in .flv container
[09:04:49 CEST] <squ> depends on keyframes
[10:33:26 CEST] <Spring> Is there any way to get the height value from a video with ffplay/ffmpeg? I need to change the ffplay window size but setting the width only adds large black bars top/bottom (like twice the height). Using the scale filter works but doesn't re-scale to 1:1 size when entering fullscreen and instead stays at the fixed resolution set by the filter even if the original video resolution is larger.
[10:38:27 CEST] <Spring> guessing ffprobe is the only way
[11:13:00 CEST] <Mandevil> Spring: Is something wrong with ffprobe?
[11:13:43 CEST] <Mandevil> Oh I see.
[11:14:05 CEST] <Spring> Mandevil, no, it's just I'll need to inform people to also include it when using the script, just for this single thing.
[11:14:57 CEST] <Mandevil> Well, ffmpeg <input> will print information about the video.
[11:15:05 CEST] <Mandevil> Can you use that?
[11:17:14 CEST] <Spring> not sure, there's a lot that it spits out
[11:18:17 CEST] <Mandevil> The resolution is there.
[11:20:14 CEST] <Spring> yeah. Will have to see if it's possible with regex and batch.
[11:35:31 CEST] <yzT> a question related to video (but not to ffmpeg, but you may help with). Do you know of any website offering a full DRM example video stream to test player implementations? I have found a couple the other way around, offering a player and requesting the manifest and the license acquisition URLs, but not one that offers the video and the license url
[11:35:48 CEST] <yzT> also, do you know of any channel more related to video streaming, DRM, etc?
[11:45:39 CEST] <joao> Hi there guys!
[11:46:18 CEST] <joao> It is possible to create a video from a list of images that have their paths on a .txt file ?
[11:47:54 CEST] <durandal_1707> Try concat demuxer
[11:54:55 CEST] <Spring> so that video hosting site still hasn't responded about their incorrect upload requirements.
[11:55:08 CEST] <Spring> site: 'we answer every single email!'
[11:56:26 CEST] <Spring> probably run by a single person :p
[12:05:21 CEST] <joao> any clue if this will work ?
[12:05:21 CEST] <joao> ffmpeg -r 10 -f concat -i input.txt output.mp4
[12:35:00 CEST] <k_sze[work]> What does the FFALIGN macro do? I don't understand its intent.
[12:39:41 CEST] <DHE> rounds a number up to a multiple. so FFALIGN(x,16) will return x if it's a mutliple of 16, otherwise rounds up to 32, 48, 64,..
[12:47:22 CEST] <k_sze[work]> ok
[12:47:28 CEST] <k_sze[work]> Not sure if it's related.
[12:48:15 CEST] <k_sze[work]> But I'm getting a segfault when doing av_image_fill_arrays().
[12:48:26 CEST] <DHE> you need valgrind
[12:48:31 CEST] <DHE> if your platform supports it
[12:49:14 CEST] <k_sze[work]> eh. I don't know.
[12:49:25 CEST] <k_sze[work]> the segfault always happens at the first frame.
[12:56:08 CEST] <k_sze[work]> In fact, I don't even understand why it segfaults before outputting anything to stdout or stderr.
[13:07:17 CEST] <k_sze[work]> when doing av_image_fill_arrays, does my src need to be memory aligned?
[13:13:56 CEST] <k_sze[work]> Found out what the problem is: http://stackoverflow.com/questions/20253267/segmentation-fault-before-main
[13:22:57 CEST] <Spring> how can I map nothing to the audio part of a complex filter so I don't get the 'no filter defined' error?
[13:23:28 CEST] <Spring> eg: "[0:v]...videofilters...[v];[0:a][a]" -map "[v]" -map "[a]"
[13:23:58 CEST] <Spring> if I remove the [0:a][a] -map "[a]" bit altogether there's no audio
[13:26:30 CEST] <Spring> ah, it's the anull filter ( a° \– a°)
[13:42:31 CEST] <furq> Spring: just use -map 0:a
[14:16:31 CEST] <Spring> the curves psfile argument must be a path with forward slashes right? Trying to escape it like the FFREPORT variable but it's giving me an error invalid arguments. the option is set as:
[14:17:11 CEST] <Spring> curves=psfile='D\:/Videos/<longerpathhere>/video.acv'
[14:17:34 CEST] <Spring> escaping the drive letter and changing the backslashes to forwardslashes
[14:25:16 CEST] <Spring> it's choking on the spaces even though it's wrapped in single quotes
[14:52:33 CEST] <Spring> oh. my. goodness. So it was the /metadata/ tag I was adding that was causing ffmpeg to mistake the encoding settings into the tag (and psfile path just now added) as the actual commands, even though they were escaped (maybe inside double quotes they need an extra level of escaping? Not sure.
[15:01:50 CEST] <JEEB> if you need parse'able information I most definitely recommend just using ffprobe
[15:02:06 CEST] <JEEB> welp, was way up there in my IRC buffer
[15:38:48 CEST] <fred1807> is there a nice gui just to trim videos with ffmpeg?
[15:48:02 CEST] <fred1807> This is great but seems to be not working with .mkv from youtube, https://github.com/popmedic/PopMSplit
[16:00:07 CEST] <Fa1th> avanti?
[16:02:06 CEST] <fred1807> avanti sems nice, forogot to say O am looking for osx
[16:02:10 CEST] <Spring> IIRC there was a python script that did this
[16:09:52 CEST] <Spring> though the trim UI was only triggered after using the script so not particularly user friendly.
[16:14:00 CEST] <furq> i guess you could use avidemux
[16:15:20 CEST] <furq> it doesn't use the ffmpeg libs aside from some weird internal version of libavcodec
[16:15:32 CEST] <furq> so if you need obscure format/codec support you're probably out of luck
[16:16:37 CEST] <Spring> does Handbrake have a trim UI on OSX/macOS? Can remember it was better than the the Windows version at least.
[16:17:06 CEST] <Spring> though that's of course not ffmpeg but if only wanting h264 it would be decent
[16:44:58 CEST] <haagch> hi
[16:45:47 CEST] <haagch> i'm trying to encode something on linux with the radeon vce using vaapi like this: LIBVA_DRIVER_NAME=radeonsi ffmpeg -vaapi_device /dev/dri/renderD128 -i big_buck_bunny_720p_1mb.mp4 -profile 66 -vf 'format=nv12,hwupload' -c:v h264_vaapi output.mkv
[16:45:59 CEST] <haagch> but I get the error [AVHWFramesContext @ 0x55f7508e4880] Unsupported format: (null).
[16:46:51 CEST] <haagch> https://gist.github.com/ChristophHaag/e56c36177f0a8e9bb5f80ef1de2da118
[16:47:37 CEST] <haagch> that -profile 66 was just for testing, same happens without
[16:51:57 CEST] <furq> i don't think vce through vaapi is supported
[16:52:51 CEST] <furq> the last status report i heard about it was "it might work or it might set your house on fire"
[16:54:54 CEST] <haagch> unfortunate
[16:54:56 CEST] <jkqxz> What does vainfo show?  How about the output of ffmpeg with "-v debug"?
[16:56:59 CEST] <haagch> vainfo and ffmpeg -v debug: https://gist.github.com/ChristophHaag/5c6b9b47db564212902d288a0ff9266b
[16:58:04 CEST] <haagch> [AVHWDeviceContext @ 0x55d178868f60] Format 0x3231564e -> unknown. <-- should that show the supported formats? because I'm pretty sure it only really supports nv12
[16:58:10 CEST] <jkqxz> What is that, an RX4[678]0?
[16:58:16 CEST] <haagch> rx480
[16:59:23 CEST] <haagch> with gstreamer vaapi encoding works, but my goal is to live record screencasts and with gstreamer it stutters a lot, and I think it's mostly the audio muxing that's the problem there
[16:59:36 CEST] <haagch> I just wanted to see whether it's better with ffmpeg
[17:00:07 CEST] <jkqxz> I think you're running into the problem fixed here: <https://git.libav.org/?p=libav.git;a=commit;h=fe498ef5144d3712b887f44a0c5e654add99ead7>.
[17:01:08 CEST] <haagch> is it only fixed for avconv? because with avconv I get a different error: https://gist.github.com/ChristophHaag/52d899f75e7983c998761f0af32943f1
[17:02:13 CEST] <haagch> yea I also get different formats with avconv [AVHWDeviceContext @ 0x55ece8f567e0] Format 0x3231564e -> nv12.
[17:05:01 CEST] <jkqxz> I can't explain that error.  vaSyncSurface() doesn't have an associated context at all, so it doesn't make any sense.
[17:05:55 CEST] <jkqxz> You could try removing the goto at libavutil/hwcontext_vaapi.c:711 and see if it works anyway?
[17:07:27 CEST] <jkqxz> Also if you have something which is hardware decodable (any normal H.264 stream, hopefully?) you could see if it works in GPU-only transcode (hence avoiding the hwupload).
[17:08:00 CEST] <jkqxz> (Though I admit that doesn't help your actual use-case.)
[17:10:31 CEST] <haagch> this is without the goto: https://gist.github.com/ChristophHaag/05b761a327f6ff433122f4e54eb89051
[17:12:42 CEST] <Spring> single quotes escaping grrr. Tried all the provided escaping still isn't working.
[17:14:22 CEST] <jkqxz> So it can't sync on the reconstructed surfaces inside the encoder either; something looks weirdly broken.
[17:14:45 CEST] <haagch> could also be the driver. vaapi support is really new
[17:14:50 CEST] <haagch> for radeon
[17:15:48 CEST] <jkqxz> It worked for me when I last tried (a few weeks ago).  It might be something to do with being an RX480 (i.e. very recent), or mesa might have changed.
[17:17:38 CEST] <jkqxz> I'll try again later today (that will be an R7 360 which I have for testing this stuff).
[17:19:17 CEST] <haagch> cool, thanks
[17:20:06 CEST] <Spring> Special character escapes are like violence: if they're not solving your problem, you're not using enough. hehe
[17:22:45 CEST] <Spring> http://pastebin.com/MVZE3Tnn
[17:23:27 CEST] <Spring> can someone look at that ^ The second error lists the correct path but the first error has the single quotes in the filename stripped and I'm not sure where that error comes from
[17:40:37 CEST] <Spring> finally got it working with two different escapings: the initial \' then '\\\''
[17:40:56 CEST] <Spring> three slashes, two didn't cut it
[17:43:55 CEST] <Spring> ... not quite. Man I wish there was an easier way to escape these things with ffmpeg.
[17:47:36 CEST] <furq> the easiest way is to just move everything into pwd and rename it if necessary
[17:47:46 CEST] <furq> i call it the art of escaping without escaping
[17:53:43 CEST] <Spring> working now. Was the metadata tag that was the last step to re-escape.
[17:54:15 CEST] <c_14> furq: you've escaped the need to escape your stuff
[17:55:08 CEST] <Spring> I notice that ffplay has trouble with playback of certain timecodes. Sometimes it won't even launch the preview until like 20 seconds later where then the video has to 'catch up' with the playing audio. Other times the audio will play while the first frame is stuck.
[18:05:34 CEST] <Jeffool> Hey gang. Is it possible to play a video playlist on loop? (Trying to stream a video playlist on loop to Twitch, from a server. OBS requires a GPU, and I'm curious if it's feasible on a cheap, rented cloud server (Dreamhost) before I put in actual money.)
[18:05:40 CEST] <furq> is there a better way to have ffprobe hide metadata and disposition tags than -show_entries stream_tags=0:stream_disposition=0
[18:05:50 CEST] <furq> i assume that isn't reliable if there's a tag named "0"
[18:08:29 CEST] <furq> Jeffool: https://trac.ffmpeg.org/wiki/Concatenate
[18:09:19 CEST] <furq> i don't know of a way to loop over it
[18:09:43 CEST] <furq> other than cat list.txt >> list.txt
[18:11:26 CEST] <Jeffool> Y'know, I thought concatenate was to join files, not play them. Y'know, because "concatenate". But thanks furq. Apparently I should read a lot more.
[18:12:05 CEST] <furq> you're not playing them, you're transmitting them
[18:12:24 CEST] <Spring> does filter order make a difference? Tried moving Curves to the end but the ffplay playback bug thing stayed the same
[18:12:40 CEST] <Jeffool> Good point.
[18:12:49 CEST] <furq> Spring: depends, but probably yes
[18:22:23 CEST] <Spring> YOOOOO U+A789 you beautiful, beautiful unicode alternative colon you
[18:22:51 CEST] <Spring> I'd been using the full-width unicode for probably the last couple years and only now I find there are even more alternatives?
[18:23:21 CEST] <furq> ffs don't tell me about that now
[18:23:24 CEST] <Spring> now it actually looks like the regular colon in filenames. I'm going to have to do one hell of a search and replace on my system.
[18:24:06 CEST] <furq> see i just decided to remove the colon entirely so i'd have to go through 600+ directories
[18:24:29 CEST] <furq> also the real mission is a unicode / replacement
[18:24:43 CEST] <furq> they're all the wrong width
[18:24:54 CEST] <Spring> 
[18:25:01 CEST] <Spring> that's what I use, looks fine to me
[18:25:08 CEST] <furq> the kerning is all wrong on that
[18:25:40 CEST] <Spring> just a little, not as bad as full-width ones
[18:25:48 CEST] <furq> that is the one i normally use but i'm not happy about it
[18:27:01 CEST] <Spring> I like to add them so I can always replace them later. I have a vertical pipe one, the slash, the colon, and I normally use two single quotes for a doublequote (but there are better alternatives)
[18:29:18 CEST] <Spring> 00‰16‰25.727.mp4
[18:29:23 CEST] <Spring> :DDD
[18:30:38 CEST] <Spring> looks like I have 2916 files to replace. Welp.
[18:30:44 CEST] <Spring> *rename
[18:57:49 CEST] <Spring> furq what about this forwardslash: /
[18:57:54 CEST] <Spring> example/example
[18:58:12 CEST] <Spring> oh wait that's the regular one, lol
[19:02:17 CEST] <blue_misfit> hey everyone- I'm wondering if there are best practices surrounding live multicast UDP input?
[19:02:47 CEST] <blue_misfit> I'm trying to capture MPEG-TS over IP and write it to disk as MP4. This works, but the output is usually variable frame rate which is making me think I'm dropping frames sometimes
[19:03:06 CEST] <blue_misfit> source is an Ateme broadcast encoder that I'm fairly certain is producing a CFR stream
[19:49:06 CEST] <jkqxz> haagch:  Ok, it fails for me as well.  (Using mesa git head, in both transcode and hwupload cases.)  I think that means something has changed in mesa.
[19:52:57 CEST] <jkqxz> haagch:  Looks like <https://cgit.freedesktop.org/mesa/mesa/commit/?id=c59628d11b134fc016388a170880f7646e100d6f> is the relevant change.  Given that, I guess it might work if you just remove all of the vaSyncSurface() calls...
[20:19:09 CEST] <blue_misfit> does ffmpeg support taking advantage of forward error correction (FEC) in RTP sources?
[20:21:27 CEST] <antipsychiatry> Israel= terrorist state!!!!!!!!!!! Mossad- criminal organization !!!!!!!!!! They want to kill me or put in psychiatry yard!!!!!!!!!!!!! Psychiatry is a faud !!!!!! Mossad bastards use hi technology: see trought walls , reading mind technology, use nanotechnology to kill, lasers...... MOSSAD  DO THE 9 11 TERRORIST ATACK IN USA
[20:21:56 CEST] <antipsychiatry> Destroy ISRAEL!!!!!!!!!!! They are synagogue of satan
[20:22:34 CEST] <johndane> Not sure how a command line video manipulation program is gonna help you there, buddy.
[20:22:42 CEST] <blue_misfit> ^ XD
[20:28:27 CEST] <Jnorthrup> kepstin: around?
[20:29:07 CEST] <kepstin> I'm maybe 30% here at the moment.
[20:31:46 CEST] <Jnorthrup> more on quicktime apertures -- i have the following chunk data.  https://gist.github.com/anonymous/d99ba7c1e44067d4703cd42e4b2f68df ... so iiuc for arriving at 720x486... letterbox, I'm going to scale to the 654.5x486, crop 6480x480, and then transcode ever after aginst this filter .. right??
[20:32:28 CEST] <Jnorthrup> s/letterbox/black bars/
[20:33:48 CEST] <kepstin> Jnorthrup: I have no idea, I don't know the meaning of those particular mov/mp4 chunks.
[20:34:42 CEST] <kepstin> but in general with 720x486 content, you crop to 704x480 then scale to 640x480 (if you want square pixels)
[20:35:02 CEST] <Jnorthrup> those are inside quicktime tapt atoms on a qt asset that plays 640x480 but ffmpeg sees the track metadata only 720x648
[20:35:30 CEST] <Jnorthrup> 720x486 ^^
[20:39:20 CEST] <Jnorthrup> https://developer.apple.com/library/mac/documentation/QuickTime/QTFF/QTFFChap2/qtff2.html#//apple_ref/doc/uid/TP40000939-CH204-SW32
[21:12:42 CEST] <deweydb> my god, i love the future.
[21:12:46 CEST] <deweydb> wifi on a plan. madness
[21:13:19 CEST] <deweydb> i'm using the ffmpeg zoompan filter, to turn an image into a "video" where the image is slowly zoomed in on a certain location.
[21:13:40 CEST] <deweydb> my problem though, is the output is very "shakey" like it does not transition smoothly between the frames?
[21:14:24 CEST] <deweydb> http://termbin.com/u49j
[21:14:53 CEST] <deweydb> O.O looks like my flight is landing, gotta go, but if anyone knows the secret answer i'll be back in about 1 hour.
[21:46:29 CEST] <bearded_gentleme> Does anyone know if there will be any progression with the OpenMAX IL H.264 encoder in ffmpeg?
[21:52:13 CEST] <critter> hi
[21:52:42 CEST] <critter> I want to add chapters to mp3 files, I was reading about it and I cant find specs or how to do it
[22:17:01 CEST] <bearded_gentleme> critter: http://jonhall.info/how_to/create_id3_tags_using_ffmpeg
[22:17:11 CEST] <bearded_gentleme> that seems to cover chapters later on the page
[22:20:08 CEST] <critter> thx
[00:00:00 CEST] --- Wed Sep  7 2016


More information about the Ffmpeg-devel-irc mailing list