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

burek burek021 at gmail.com
Fri Jun 9 03:05:01 EEST 2017


[00:01:07 CEST] <Papi> does someone know what to do???
[00:03:00 CEST] <furq> don't use -re
[00:03:38 CEST] <furq> also pastebin the command you're using
[00:05:46 CEST] <Papi> ffmpeg -i rtmp://127.0.0.1:1935/show/EOKvvX9IgGJYjwa38zLeVUMEVBwHGq925pwVA52aJaIpqdOGI2 -loglevel debug
[00:05:56 CEST] <Papi> it's only testing command without output
[00:06:12 CEST] <Papi> I expect error there's should be atleast one output
[00:06:23 CEST] <Papi> But ffmpeg stuck
[00:07:49 CEST] <ChocolateArmpits> Using "-probesize 32" newer versions of ffmpeg successfully open an mpegts input. An older version from 2014 simply closes. Both receive "not enough frames to estimate rate; consider increasing probesize". Is there some kind of difference how each are treated for both versions ?
[00:08:28 CEST] <furq> Papi: should work
[00:08:32 CEST] <furq> what ffmpeg version
[00:09:39 CEST] <Papi> Version 3.2.5-1~bpo8+1
[00:10:06 CEST] <Papi> When I kill ffmpeg with CTRL+C I'll get this: rtmp://127.0.0.1:1935/show/EOKvvX9IgGJYjwa38zLeVUMEVBwHGq925pwVA52aJaIpqdOGI2: Input/output error Exiting normally, received signal 2.
[00:16:45 CEST] <Papi> hm?
[00:20:27 CEST] <Papi> Sometimes it works and sometimes not
[00:20:30 CEST] <Papi> hmmmm
[06:08:54 CEST] <furq> is there some difference between -f aac and -f adts
[06:09:07 CEST] <furq> other than that you can only mux one and only demux the other
[10:16:13 CEST] <Nacht> Anyone has any idea why when I use 'ffprobe -i file.mp4 -show_frames' on a HEVC MP4 files, I get 'coded_picture_number=0' on all frames ?
[11:42:50 CEST] <Klojum> Hi guys, I'm having a problem with a Nvidia GT1030 doing encoding. Seems it's not recognized as a NVENC capable device. Using ffmpeg version 3.3.1-1~16.04.york0 which works fine for a Nvidia GTX950 card. Is it "too soon" for the GT1030 and ffmpeg, or is something else blocking my encoding attempts? Let me know if you need more info. Thanks in advance.
[11:46:03 CEST] <Klojum> For those interested, here is my encoding attempt: http://paste.ubuntu.com/24806928/
[11:46:19 CEST] <furq> are you sure that card has nvenc
[11:46:27 CEST] <furq> it normally isn't on the GT cards
[11:47:56 CEST] <Klojum> Hmpf... I may have missed that. I'll dive deeper into that.  :-\
[11:48:47 CEST] <DHE> as long as ffmpeg has nvenc and doesn't complain about a version mismatch, it's probably not ffmpeg's fault...
[11:49:25 CEST] <furq> nvidia's website is being as loquacious about the matter
[11:49:34 CEST] <furq> in that it's denying that there is any such thing as nvenc
[11:49:41 CEST] <furq> +as you'd expect
[11:49:58 CEST] <DHE> might try checking for the nvidia-branded feature like shadowplay
[11:50:00 CEST] <furq> it does have nvdec though which is the only bit that's any good anyway
[11:51:14 CEST] <Klojum> Yes, decoding works fine. No 10bit unfortunately under Linux, but in Windows it does work.
[11:54:51 CEST] <Klojum> Well, thanks guys so far. I may gonna send the card back. :-|
[13:46:08 CEST] <zerodefect> Using the C-API for decoding. Looking to seek back to the beginning of media once I reach the end.  Do I need to flush the decoder completely before I start decoding again?
[15:00:40 CEST] <zyme> Klojum appearently left, but I was going to ask if he has windows 10, because although I haven't tested it yet I have ffmpeg installed under bash in it's new linux subsystem
[15:01:55 CEST] <zyme> It's kinda fun how it can still execute windows commands from it, if only it could go back and forth like one happy enviroment
[15:03:01 CEST] <zyme> if a gui or wm would install and run that would probably seem pretty close
[15:19:27 CEST] <zyme> whatever it is with windows, when DNS can resolve a LAN name as IPv4 (but not v6), windows can't resolve the v6 address, but when theres no resolution of the name at all (like what happens if I staticly assign the IPv4 address from the device instead of the DHCP server) then it resolves both using (I presume) some local name resolution protocol;
[15:23:19 CEST] <zyme> the printers resolving as both right now but probably only because DNS can't resolve it at all atm.
[15:29:17 CEST] <Nacht> Anyone know why FFprobe shows 'coded_picture_number=0' on all frames with HEVC files ? Is it due to the codec itself or is it a bug ?
[16:42:54 CEST] <Fyr> guys, I'm trying to rip a DVD, ffprobe says:
[16:42:54 CEST] <Fyr> Could not find codec parameters for stream 2 (Audio: dts, 0 channels): unspecified sample format Consider increasing the value for the 'analyzeduration' and 'probesize' options
[16:43:14 CEST] <Fyr> how to make ffprobe understand DTS 5.1?
[16:43:51 CEST] <Fyr> ffprobe version N-86265-gb946bd8 Copyright (c) 2007-2017 the FFmpeg developers
[16:50:49 CEST] <alexpigment> do you guys know any simple ways to detect if QSV and NVENC are available?
[16:51:20 CEST] <alexpigment> i'm trying to avoid doing a quick smptebars-ish encode and parsing for errors
[16:51:40 CEST] <alexpigment> i was hoping for a way to simply check if the encoder is available and have ffmpeg return a yes/no
[16:52:41 CEST] <DHE> there are problems with even that. nvenc on most GPUs will only allow 2 sessions and will fail on any further
[16:56:20 CEST] <alexpigment> DHE: i will only need it to do one session and can safely assume that other sessions are not being used
[17:07:20 CEST] <kms_> can i set paddings in box=1 videofilter?
[17:09:51 CEST] <kms_> drawtext
[17:16:45 CEST] <fred1807> is there a one liner to wipe all metadata from mp3 files?
[17:24:03 CEST] <kepstin> fred1807: note that ffmpeg can't do inplace file tag editing, you're probably better off using a dedicated applicaton (or writing something using e.g. mutagen)
[17:25:00 CEST] <kepstin> fred1807: but that said, 'ffmpeg -i input.mp3 -map_metadata -1 -map 0:a -c copy output.mp3' is probably pretty close; it might need an extra option somewhere to tell ffmpeg not to write encoder info metadata tho.
[17:27:03 CEST] <Fyr> to delete metadata, I use pipes.
[17:27:36 CEST] <celyr> I use pipes to flush my metadata
[17:27:43 CEST] <celyr> ok I'll disappear after this one
[17:27:56 CEST] <kepstin> adding the '-id3v2_version 0' output option to that will stop it from adding an id2v23 tag with the encoder metadata, fwiw
[17:28:27 CEST] <kepstin> (well, i guess the default's actually id3v2.4, but whatever)
[17:41:08 CEST] <Fyr> is it possible to use -hwaccel dxva2 and -hwaccel cuvid together?
[17:41:56 CEST] <Fyr> something like:
[17:41:56 CEST] <Fyr> ffmpeg -hwaccel dxva2 -threads 1 -hwaccel cuvid -c:v h264_cuvid -i file.mkv <...>
[17:41:57 CEST] <Fyr> ?
[19:08:17 CEST] <Papi> Hello
[19:08:23 CEST] <Papi> Can someone help me with this issue?
[19:08:24 CEST] <Papi> https://github.com/arut/nginx-rtmp-module/issues/1052
[19:11:30 CEST] <furq> Papi: https://www.johnvansickle.com/ffmpeg/
[19:11:33 CEST] <furq> does it work with those builds
[19:13:31 CEST] <Papi> I'll try
[19:15:23 CEST] <johnjay> Papi: at least you have nginx with rtmp working. :D
[19:15:41 CEST] <johnjay> on windows that was a PITA to get working
[19:16:13 CEST] <Filystyn> av_dict_set 	(  what does it do ?
[19:16:29 CEST] <Papi> I don't need only nginx with RTMP :D
[19:16:46 CEST] <Papi> I need complex setting for streaming service :D
[19:17:54 CEST] <johnjay> i admire your achievements good sir
[19:19:05 CEST] <johnjay> also damn furq I still can't get ffmpeg built. T_T
[19:19:25 CEST] <johnjay> i'm halfway tempted to download those preinstalled deb images from Mr. Dot-Ninja domain
[19:20:02 CEST] <Filystyn> av_dict_set (  what does it do ?
[19:24:07 CEST] <Filystyn> Do i even need it for audio
[19:25:00 CEST] <klaxa> av_dict_set() sets a dictionary value for a dictionary key
[19:25:02 CEST] <DHE> it lets you pass options to codecs, containers, etc that don't fit the existing AVThingtypeContext structures
[19:25:31 CEST] <Filystyn> for audio is there soemthign worth trying to pass?
[19:25:38 CEST] <Filystyn> or just leave it?
[19:25:53 CEST] <Filystyn> How do i know the options?
[19:25:59 CEST] <DHE> usually if you have an ffmpeg parameter "-xxx yy" you can do av_dict_set(&dictptr, "xxx", "yy");   // use correct options though
[19:26:02 CEST] <Papi> Static build of ffmpeg doesn't work too
[19:26:27 CEST] <Filystyn> ok but can you give me exampel of  parameter
[19:26:29 CEST] <Filystyn> when it has sens?
[19:30:21 CEST] <Filystyn> come on guys teach me
[19:30:59 CEST] <klaxa> read some example files from doc/examples/
[19:32:21 CEST] <DHE> you want an example of a parameter? check ffmpeg-all. tons of them
[19:32:37 CEST] <Filystyn> I am stuck on example but i just don't get where is the option list
[19:32:41 CEST] <Filystyn> literaly look
[19:32:59 CEST] <Filystyn> this is valid code ?         av_dict_set(&opts, "refcounted_frames", refcount ? "1" : "0", 0);
[19:33:27 CEST] <Filystyn> passing strings seriously?
[19:33:34 CEST] <Filystyn> well ptrs to strings
[19:33:37 CEST] <Filystyn> but still
[19:34:00 CEST] <Filystyn> let me ask you this way may i need this function for AUDIO
[19:34:19 CEST] <Filystyn> can it be used with audio and give  positive effect
[19:34:46 CEST] <johnjay> Filystyn: look at it this way. how much $$$ would you be willing to pay for an answer
[19:34:53 CEST] <Filystyn> 0
[19:34:56 CEST] <johnjay> if > 0 then remember it's free
[19:35:05 CEST] <johnjay> ok well in that case there's no problems
[19:35:08 CEST] <johnjay> you get what you pay for. :D
[19:35:25 CEST] <Filystyn> ok ill just wait someone else answers eventualy
[19:35:27 CEST] <Filystyn> thx for help
[19:35:32 CEST] <klaxa> if you could explain what you want to do "with audio" we could probably be more helpful
[19:35:54 CEST] <Filystyn> anything I just  don't get the purpsoe what may or may not i change here
[19:36:05 CEST] <klaxa> also yes, AVDictionary is using strings
[19:36:18 CEST] <Filystyn> is tehre some list of those strings
[19:36:30 CEST] <Filystyn> so i know what i cna use at least?
[19:36:32 CEST] <ubone> hello http://ix.io/wKA how to divide $fps output to match 59.xy format?
[19:37:16 CEST] <klaxa> depends on whatever you are using the dictionary on, it is (mostly?) used to pass parameters that are not present in the generic structs
[19:37:28 CEST] <klaxa> also, i still don't understand what you want to do
[19:37:29 CEST] <klaxa> like
[19:37:48 CEST] <Filystyn> I am trying to understand the purpose of this function
[19:37:50 CEST] <klaxa> do you want to just demux a file? do you want to decode a file? mux, encode, create...?
[19:37:57 CEST] <klaxa> we explained it a few times
[19:38:02 CEST] <Filystyn> My point is to decode audio file only
[19:38:10 CEST] <Filystyn> and   stream it out to hear music
[19:38:16 CEST] <klaxa> then you probably don't even need it
[19:38:25 CEST] <Filystyn> ok  thank you ;-)
[19:38:34 CEST] <klaxa> if you want to stream it, you probably don't want to stream it raw
[19:38:48 CEST] <klaxa> so maybe you want remuxing and not decoding?
[19:39:53 CEST] <Filystyn> i will stream raw   to sdl
[19:39:58 CEST] <Filystyn> that should work
[19:40:02 CEST] <klaxa> ah
[19:40:43 CEST] <klaxa> for decoding maybe have a look at: https://ffmpeg.org/doxygen/trunk/decode_audio_8c-example.html
[19:42:32 CEST] <Filystyn> It is fine but I decided to find out what type i have so I was refering to https://ffmpeg.org/doxygen/trunk/demuxing_decoding_8c-example.html#a52
[19:42:39 CEST] <Filystyn> which was recommanded me on this channel
[20:36:54 CEST] <Filystyn> how to extract metadata
[20:37:01 CEST] <Filystyn> of file ?
[20:37:17 CEST] <ChocolateArmpits> What metadata exactly?
[20:37:30 CEST] <Filystyn> sorry from avformatcontext
[20:37:45 CEST] <Filystyn> I see the structure but can't find way to read it like char strings;>
[20:37:58 CEST] <Filystyn> AVDictionary * 	metadata
[20:38:05 CEST] <Filystyn> title of album etc
[20:39:27 CEST] <Filystyn> ok i found it
[20:39:30 CEST] <Filystyn>     while ((tag = av_dict_get(fmt_ctx->metadata, "", tag, AV_DICT_IGNORE_SUFFIX)))
[20:39:32 CEST] <Filystyn>         printf("%s=%s\n", tag->key, tag->value);
[20:39:36 CEST] <Filystyn> this is the way probably
[20:46:08 CEST] <Filystyn> and it refuses to work
[20:46:20 CEST] <Filystyn> i get the metadata other way but this function behaves like nothign is in there
[20:56:48 CEST] <zubzub> Is it possible to have ffmpeg output non udp wrapped rtp data?
[20:57:11 CEST] <zubzub> the docs seems to say you need to set an ip & port when using rtp
[20:57:29 CEST] <zubzub> but I need to get ot the rtp packet itself without the udp encapsulation
[21:00:47 CEST] <Filystyn> the read metadata does not work
[21:28:28 CEST] <Filystyn> dump format works
[21:28:36 CEST] <Filystyn> but can't extract format by my self
[21:28:43 CEST] <Filystyn> wth
[21:30:18 CEST] <Filystyn> i get   printf( "%d", av_dict_count( av_formcont->metadata ) );  0 from this when
[21:30:44 CEST] <Filystyn> av_dump_format( av_formcont, 0, PLAYFILE, 0);  returns data
[21:30:47 CEST] <Filystyn> how ?
[21:30:51 CEST] <Filystyn> where is the mistake ?!
[21:51:53 CEST] <Filystyn> well?
[22:06:10 CEST] <Filystyn> wake up guys
[22:07:18 CEST] <johnjay> well what
[22:07:27 CEST] <Filystyn> hey
[22:07:53 CEST] <Filystyn> when i use av_dump_format( av_formcont, 0, PLAYFILE, 0);  i get on stderr output of metadata cool
[22:08:11 CEST] <Filystyn> but when i use printf( "%d", av_dict_count( av_formcont->metadata ) );  0    i get zero metadata
[22:08:13 CEST] <Filystyn> wth
[22:20:36 CEST] <Filystyn> well where is the support
[22:20:38 CEST] <Filystyn> ;-)
[22:20:46 CEST] <Filystyn> this seem to not work
[22:20:50 CEST] <Filystyn> prablem
[22:20:52 CEST] <Filystyn> ;-)
[22:33:15 CEST] <Filystyn> i got the bug
[22:33:21 CEST] <tmatth> is there a quick and dirty way to validate a -filter_complex file without actually doing a real transcode?
[22:33:23 CEST] <Filystyn> on mp3 i catch meta data
[22:33:39 CEST] <Filystyn> but on ogg i don't  with one function but i get it on the dump
[22:33:46 CEST] <Filystyn> if this is not bug than wtf is it
[22:33:49 CEST] <Filystyn>  ?
[22:36:04 CEST] <Filystyn> well where is the support it's a bug or what?
[22:36:14 CEST] <Filystyn> the api si not transparent
[22:40:54 CEST] <TMM> hi all
[22:58:53 CEST] <kepstin> tmatth: what, just for syntax?
[22:59:22 CEST] <kepstin> tmatth: can't really do more than basic syntax without at the very least probing all the input media to try to set up all the filter links :/
[22:59:55 CEST] <Filystyn> what about supporting me
[22:59:58 CEST] <Filystyn> where are devs
[23:00:05 CEST] <Filystyn> Jezus this is so fucking no transparent
[23:00:12 CEST] <Filystyn> It pisses the shit of mwe
[23:09:04 CEST] <Soni> autorotate doesn't work with JPEG
[23:19:00 CEST] <Maverick|MSG> is there a method to automatically stretch/shrink an audio file so that is always matches the output length of a video when they are combined together?
[23:19:45 CEST] <Maverick|MSG> minus manually specifying the atempo value
[23:35:06 CEST] <tmatth> kepstin: yeah just for syntax
[00:00:00 CEST] --- Fri Jun  9 2017


More information about the Ffmpeg-devel-irc mailing list