[Ffmpeg-devel-irc] ffmpeg.log.20181212
burek
burek021 at gmail.com
Thu Dec 13 03:05:02 EET 2018
[00:17:01 CET] <xiando> ffmpeg -i "$a" -vn -codec:a libvorbis -qscale:a 9 "${a[@]/%flac/ogg}" creates a ogg file with song metadata but no cover image. without -vn ffmpeg makes a video track with the cover which makes it unplayable in mpd and audacious with the ffmpeg plugin but not with that disabled.
[00:17:21 CET] <furq> the ogg muxer doesn't support cover art
[00:17:43 CET] <furq> oggenc and opusenc both support flac input so just use those
[00:18:00 CET] <xiando> Oh. So I have been searching for solution all this time and there is none. :)
[00:18:26 CET] <xiando> I did try oggenc but I didn't get the cover image with that either.
[00:20:31 CET] <furq> nvm apparently opusenc supports it but oggenc doesn't
[00:20:40 CET] <furq> you should be using opus anyway nowadays unless you need to support a specific device
[00:23:02 CET] <xiando> I must support the specific device, a Benjie T2 which could support Rockbox and have the Opus support but not Bluetooth
[00:24:03 CET] <xiando> My Xiaomi Redmeme 4 also doesn't play Opus OGG files which is interesting because it plays webm files with VP9 video and Opus audio just fine
[00:26:54 CET] <xiando> My choice is flac or convert to vorbis or aac or mp3 since those are supported by music player and the phone.
[01:19:07 CET] <Hello71> put the audio in mkv then??
[01:19:23 CET] <Hello71> well i guess it isn't v
[01:19:28 CET] <Hello71> mka
[01:20:13 CET] <furq> this is some wonky android bug isn't it
[01:20:20 CET] <furq> iirc it'll work if you just rename the ogg files to .opus
[01:45:20 CET] <xiando> furq: sadly, no
[01:45:52 CET] <xiando> I also have a tablet with an earlier Android version and volla ogg and opus files with opus audio work just fine.
[01:46:36 CET] <xiando> The no opus in ogg containers or .opus but it's fine with .mkv except audio player can't recognize those files seem very specific to Xiaomi Redmeme 4
[01:49:04 CET] <xiando> Opus doesn't work on my benjie music player anyway. Unless I flash rockbox. But then I can't have bluetooth. Guess I could also flash custom ROM on the phone but that's usually a similar disaster, always some "minor" thing like the front camera or that stops working
[06:02:53 CET] <konrados> Hi! I have a question regarding making animated png. Here I put the files, both source and converted - https://kpion.github.io/tests/ffmpeg/ - first go the 'OK' ones, a "typical" *movie* (mp4) converted to apng looks OK. Then I tried to convert another mp4, this time an "animation" of text being entered slowly. You can see it works fine when converted to gif, but the animated png seems to 'catch' only a few frames
[06:03:33 CET] <konrados> I tried to google but I can't see any options when it comes to 'animated png' except for looping with the 'plays' option, but that doesn't change anything
[06:04:29 CET] <konrados> I've just started toying with ffmpeg yesterday, so please forgive me my ignorance :) The command was simply `ffmpeg -i lorem.mp4 lorem.apng`
[06:04:43 CET] <TheAMM> You could try -vsync 0 but I don't see why apng would drop frames like that, and don't know any further
[06:05:20 CET] <konrados> ok, I'll try, thanks!
[06:11:42 CET] <konrados> nothing changed :( I tried `ffmpeg -i lorem.mp4 lorem.apng -vsync 0` as well as `ffmpeg -i lorem.mp4 -vsync 0 lorem.apng` - same with vsync 1, with no success.
[06:12:22 CET] <furq> are you sure you want to use apng
[06:12:36 CET] <furq> i guess chrome and safari finally started supporting it but it's still not a great format
[06:14:26 CET] <konrados> furq, well, no, it looks like I'll go with .gif, I thought apng is already ... stable and common :) So yeah, I'll just use .gif, thanks!
[06:14:51 CET] <konrados> it's 10 years since initial release according to wiki :)
[06:15:17 CET] <furq> it's more like 14 years
[06:15:29 CET] <furq> there was a big fuss a while back because some people supported mng and some people supported apng
[06:15:35 CET] <furq> and then that never got resolved until like last year
[06:16:15 CET] <furq> but now it looks like firefox and safari are going to support webp, so that's probably a better choice if you need lossless 24-bit animations that work in browsers
[06:16:33 CET] <furq> edge already supports webp and will probably never support apng
[06:18:12 CET] <furq> anyway if you're making gifs with ffmpeg then make sure to use palettegen/paletteuse
[06:21:29 CET] <konrados> furq, oh wow, with you and wiki I learned about mng and webp :) Thanks! And yeah, I did find http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html yesterday but then thought that it's a lot of effort to bring an old 256 colors technology to modern day, and that maybe apng is the way... now it turns out it apparently isn't (yet). So indeed I'll stick to this one, thanks again!
[06:21:57 CET] <konrados> *this one == gif
[08:49:54 CET] <Karel|> Hey guys! I just released a first version offfmpeg-cpp, a easy-to-use C++ wrapper around the libav* libraries
[08:49:57 CET] <Karel|> check it out here:
[08:49:58 CET] <Karel|> https://github.com/Raveler/ffmpeg-cpp
[08:50:14 CET] <Karel|> might be useful if you want to integrate libav*/ffmpeg functionality in your project without having to resort to command-line
[10:16:57 CET] <tommy``> is it possible download with ffmpeg segmented video from a stream (list of .m4s files) then merge togheter?
[10:36:16 CET] <friendofafriend> tommy``: Take a look at the concatenate filter. https://trac.ffmpeg.org/wiki/Concatenate
[10:36:33 CET] <tommy``> hey friendofafriend, good day ;)
[10:38:29 CET] <friendofafriend> Howdy, tommy``! ffmpeg sure is handy for operations like merging video.
[10:52:56 CET] <guoyunhe> Hi, how could I install ffserver? I am using openSUSE and installed ffmpeg package. But cannot find ffserver command.
[10:53:45 CET] <furq> ffserver was removed a few releases back
[10:54:04 CET] <furq> it was unmaintained and also it never really worked properly anyway
[10:54:10 CET] <guoyunhe> furq: Is here any alternative solution?
[10:54:17 CET] <furq> what are you trying to do
[10:54:37 CET] <guoyunhe> I want to stream my desktop over the web
[10:55:08 CET] <guoyunhe> so someone in the same wifi can watch my screen casting
[10:55:31 CET] <furq> if you don't need low latency then nginx-rtmp is the usual recommended streaming server
[10:56:07 CET] <guoyunhe> No need low latency.
[11:00:19 CET] <friendofafriend> I'm using Icecast with no complaints.
[11:00:38 CET] <furq> are you using webm
[11:00:52 CET] <furq> or are you one of those mythical people who's been able to make h264 over icecast work properly
[11:02:31 CET] <friendofafriend> That's mythical?
[11:02:45 CET] <furq> people keep telling me it works but it never works well for me
[11:02:57 CET] <furq> it'll either work perfectly or bail out before connecting
[11:04:01 CET] <friendofafriend> I'm using it in an MPEG-TS.
[11:06:00 CET] <friendofafriend> Something like this: ffmpeg -re -i /dev/video0 -preset ultrafast -vcodec libx264 -tune zerolatency -b 1400k -content_type 'video/ts' -f mpegts icecast://source:password@server:port/file.ts
[11:08:38 CET] <guoyunhe> thanks for the information. i will try to play it by myself.
[11:24:24 CET] <guoyunhe> friendofafriend: Is my URL correct? icecast://source:hackme@localhost:8754/stream.ts
[12:08:42 CET] <guoyunhe> I tried icecast and it works very well.
[12:09:40 CET] <guoyunhe> It has about 1s latency for 1080p desktop streaming in WebM format
[14:39:18 CET] <HickHoward> i need help with some out-there format
[14:50:22 CET] <durandal_1707> HickHoward: what ffmpeg -i file says?
[14:50:25 CET] <relaxed> HickHoward: be more specific
[14:53:05 CET] <HickHoward> i'll send a sample soon enough
[14:56:02 CET] <HickHoward> https://www.sendspace.com/file/3oyqbs
[15:00:14 CET] <HickHoward> i might have a lot of samples hanging around my back so...
[18:30:40 CET] <forgon> I'd like to convert RPL to OGG with the best possible quality.
[18:31:27 CET] <forgon> Unfortunately, I am clueless about what I should do. So far I am executing `ffmpeg -i input.rpl output.ogg` and the quality is quite poor.
[18:33:30 CET] <relaxed> try, ffmpeg -i input.rpl -q:a 10 output.ogg
[18:34:16 CET] <relaxed> I think the range is 1 - 10, with 3 being the default
[18:36:15 CET] <forgon> relaxed: Does a apply only to audio?
[18:38:30 CET] <relaxed> sorry, I assumed audio only
[18:38:55 CET] <relaxed> https://trac.ffmpeg.org/wiki/TheoraVorbisEncodingGuide
[18:39:45 CET] <relaxed> why do you need ogg?
[18:40:53 CET] <forgon> relaxed: Used by the project I'm trying to help, probably a choice made based on licensing and hardware compatibility.
[18:42:24 CET] <relaxed> https://trac.ffmpeg.org/wiki/Encode/VP9 would be considered ogg's replacement
[19:15:56 CET] <kerio> hardware compatibility?
[19:16:06 CET] <kerio> for ogg vorbis?
[19:43:46 CET] <RingoTheDog> I would like to preserve/copy the EIA-608/EIA-708 captions ( Ancillary data / CDP) in an MXF while added a watermark...
[19:43:53 CET] <RingoTheDog> CLI: ffmpeg -i IN.MXF -i WATERMARK.PNG -filter_complex "[0:v][1:v] overlay=(W-w)/2:(H-h)/2" -pix_fmt yuv420p -vcodec mpeg2video -flags +ildct+ilme -top 1 -b:v 35000k -minrate 35000k -maxrate 35000k -bufsize 36408333 -g 15 -bf 2 -aspect 16:9 -r 29.97 -s 1920X1080 -map 0:a -f mxf -y OUT.MXF
[19:44:01 CET] <RingoTheDog> I have tried -c:s copy & -map 0:S ...no luck
[21:17:16 CET] <pixelou> Hi everyone, I'm an ffmpeg newbie and I am a bit confused with the deprecated and new C APIs. The modern way to decode a video is via avcodec_receive_packet which takes an AVCodecContext but the avformat API does not provide such an object, so how am I supposed to feed packets?
[21:23:27 CET] <Alina-malina> is there a way to stream to youtube channel an mp4 file with ffmpeg?
[21:23:36 CET] <furq> Alina-malina: youtube-dl
[21:23:55 CET] <furq> either just use youtube-dl or use youtube-dl -g to get a url you can give to ffmpeg
[21:24:16 CET] <Alina-malina> hmmm to stream to my youtube channel?
[21:24:36 CET] <furq> oh right sorry
[21:24:51 CET] <furq> -i foo.mp4 -c copy -f flv rtmp://youtube.whatever
[21:25:08 CET] <Alina-malina> oh thats great, thanks let me try that
[21:25:28 CET] <furq> if the mp4 is h264 and aac then that'll work, otherwise you'll need to reencode the video and/or the audio
[21:26:54 CET] <Alina-malina> what about the key? i need to provide a key too
[21:28:56 CET] <furq> rtmp://youtube.url/key
[21:29:28 CET] <Alina-malina> oh yes yes, jsut a moment please let me try
[21:30:42 CET] <Alina-malina> ok it worked thank you so much friend
[00:00:00 CET] --- Thu Dec 13 2018
More information about the Ffmpeg-devel-irc
mailing list