burek021 at gmail.com
Mon May 22 03:05:01 EEST 2017
[00:02:26 CEST] <arpu> hmm the rtmpproto input timeout is only for rtmp listen server
[00:02:50 CEST] <arpu> any idea how i can set the read timeout without using librtmp
[00:13:48 CEST] <arpu> looks like this is a bug https://trac.ffmpeg.org/ticket/6372
[00:13:58 CEST] <arpu> anyone around help me to fix this
[00:14:07 CEST] <arpu> should be set the tcp socket timeout
[10:07:44 CEST] <Pandela> Aye, I'm having some trouble. Tired of trying to figure it out, but when I try to compile ffmpeg 3.3 in ubuntu with --enable-shared I get this
[10:07:46 CEST] <Pandela> https://pastebin.com/raw/iJMQtxTk
[10:09:47 CEST] <Pandela> pls send help
[10:51:13 CEST] <c_14> have you tried recompiling with -fPIC?
[14:45:38 CEST] <exutux> hi all
[14:46:53 CEST] <exutux> I'm in trouble converting an .mkv video to .mp4 or .avi I need to keep subtitle but I cannot find how... this is my output paste https://pastebin.com/e0qBGGsa
[14:47:01 CEST] <exutux> How can I keep subs?
[14:50:15 CEST] <dystopia_> your log does not show what command you issued
[14:51:39 CEST] <dystopia_> but what ever
[14:52:10 CEST] <dystopia_> just make sure your have "-c:s copy" somewhere in your line and not "-sn"
[14:52:18 CEST] <dystopia_> without the " doodar's of course
[14:52:32 CEST] <exutux> ffmpeg -i "file.mkv" -codec:v mpeg4 -codec:a libmp3lame -c:s copy file.mp4
[14:54:13 CEST] <exutux> dystopia_: -c:s copy does't work
[14:56:45 CEST] <exutux> Stream mapping: Stream #0:0 -> #0:0 (h264 -> mpeg4) Stream #0:1 -> #0:1 (aac -> libmp3lame)
[14:56:48 CEST] <exutux> Press [q] to stop, [?] for help
[14:57:23 CEST] <exutux> Still keeping only map 0:0 and map 0:1
[15:00:10 CEST] <exutux> trying this too https://pastebin.com/mb8AJU8X
[15:17:53 CEST] <furq> -c:s mov_text for mp4
[15:17:58 CEST] <furq> although it should have just done that automatically
[15:18:02 CEST] <furq> avi can't have embedded subtitles
[15:18:12 CEST] <furq> also are you really sure you want to reencode this
[15:18:37 CEST] <furq> mpeg4 and mp3 are much worse than h264 and aac, and mp4 is quite happy with h264 and aac
[15:23:22 CEST] <exutux> furq: I need reencode because my tv can't recognize h264 and ac ( old TV ) :P
[15:23:55 CEST] <exutux> I will try -c:s move_text
[15:25:39 CEST] <exutux> ffmpeg -i Tredici.Oltre.i.Perchè.2017.ENG.SUB.ITA.mkv -codec:v mpeg4 -standard PAL -q:v 3 -codec:a libmp3lame -c:s mov_text -ac 2 -ab 128k -t 00:02:00 Tredici.Oltre.i.Perchè.2017.ENG.SUB.ITA.mp4
[15:26:15 CEST] <exutux> Still map only 0 and 1 stream :|
[15:26:30 CEST] <exutux> Stream mapping: Stream #0:0 -> #0:0 (h264 -> mpeg4) Stream #0:1 -> #0:1 (aac -> libmp3lame)
[15:32:05 CEST] <exutux> furq: subtitles are embed into mkv file and it is mapped on stream 0:3
[15:39:35 CEST] <exutux> furq: there is some way to get embed subtitles from mkv?
[15:42:51 CEST] <exutux> furq: can I send you some little part of that video so you can try something about it?
[16:11:37 CEST] <exutux> :| anyone have some suggest for me?
[16:15:53 CEST] <dystopia_> dump subs with mkvmergegui?
[16:15:54 CEST] <dystopia_> mmg
[16:21:38 CEST] <exutux> dystopia_: I'll try
[16:33:11 CEST] <exutux> dystopia_: grrrrrrrrrrrrrrrr -scodec mov_text "unknown encoder"
[16:33:19 CEST] <exutux> getting me crazy
[16:36:18 CEST] <exutux> ffmmeg -i file.mp4 -i file.srt file2.mp4 doesn't embed subs too
[16:45:51 CEST] <zyme> exutux: what are you using to play the stream on your "old TV" ?
[16:47:12 CEST] <exutux> zyme: is a program inside tv I can play video inside "media" and it's not compatible with some audio and video format
[16:48:24 CEST] <zyme> so it's networked not usb or sd-storage only? (newer then any tv my family's ever owned =)
[16:48:34 CEST] <exutux> usb
[16:49:05 CEST] <exutux> I insert usb
[16:50:42 CEST] <exutux> zyme: but the problem is how can I keep that subtitles when I encode video
[16:50:50 CEST] <exutux> grrrrrr
[16:51:44 CEST] <zyme> probably depends on the tv, try to search for a manual pdf and check if theres any firmware updates while your at it..
[16:54:29 CEST] <exutux> yeah the problem is the TV for sure...but theresn't way to see some not supprted format on that tv, for this reason I have to convert always all videos
[16:55:04 CEST] <exutux> and no way to upgrade
[16:55:54 CEST] <zyme> as a poor person I got a family member to buy me a $30 ChromeCast2 1.5 yrs ago, it's about the cheapest streaming decoder around and theres free software for every smartphone and os. Plays just about anything for me is it's <=1080p + the bitrate is under 300mbit/s~ish
[16:56:00 CEST] <exutux> maybe there is no way to keep subtitles on mp4 video
[16:56:09 CEST] <zyme> is the tv pre-HDMI?
[16:56:16 CEST] <exutux> no zyme
[16:57:03 CEST] <exutux> so your solution is to buy a new tv? :D It is good suggest but not a solution for now
[16:59:36 CEST] <zyme> My suggestion was a better device hooked up to the TV, there's a large market out there I merely named one of the cheapest and cross-platform compatible options...
[17:00:09 CEST] <zyme> Personally I would be converting everything to HEVC except the quality is terrible with reencodes.
[17:01:20 CEST] <exutux> well
[17:05:13 CEST] <zyme> I'm not that great with encoding as it is, but unless it's something avalible in bluray transcoding a file is almost always larger ig you don't wan't to loose a lot of detail. Even going from xvid avi's to HEVC usually breaks even although I'm sure close freeze-frame inspection would show quite a bit of detail lost.
[17:11:07 CEST] <exutux> zyme: there are no format that I had tried that keeps subtitles
[17:11:15 CEST] <exutux> I haven't got any ideas
[17:25:15 CEST] <zyme> I've been wondering recently if there's any way to avoid decoding similar codec's and converting+add newer lossless methods (like what would be the effect of taking the image groupings in a x264 and combining some into the larger 265 formats with the previously used tracking data, increasing color bit debt and Layers), maybe some form of identifying color
[17:25:15 CEST] <zyme> gradients and detecting banding and graphing a projected original gradient for automatic color remapping.. (a similar process is commonly done live w/audio processors), - That last idea is just something I wonder if it's been done or is too complex to automate yet - since recodes seem to show color banding more than any other distortion by far)
[17:26:04 CEST] <zyme> exutux: I think handbreak lets you hardcode subtitles, surely ffmpeg has an option or filter to do the same?
[17:27:11 CEST] <klaxa> it does
[17:27:33 CEST] <klaxa> https://ffmpeg.org/ffmpeg-filters.html#subtitles-1
[17:28:19 CEST] <zyme> it not working or you just want to keep your subs soft-coded?
[17:28:49 CEST] <klaxa> for potato-grade TVs i would also suggest hardsubbing if you definitely want subtitles
[17:30:39 CEST] <klaxa> or you just hook up a raspberry pi :I
[17:30:52 CEST] <klaxa> like, even the pi zero should be able to handle it?
[17:30:56 CEST] <zyme> I'm not sure why, but..btw, do you use windows on any of your PC's?
[17:31:01 CEST] <klaxa> the new one even comes with wifi
[17:31:15 CEST] <zyme> I'm curious if you've looked at these files with MediaInfo
[17:32:53 CEST] <zyme> it should point out exactly what codecs containers subs etc and their versions, and you might be able to use it as a guide with videos you know to work instead of all this trial/error.
[17:38:53 CEST] <zyme> While I'm a fan of SoC's for media players they're a little isolated compared to other products that have a nice integration across different devices - it depends on what you have, need, +want though. or if your a developer with free time =)
[17:45:35 CEST] <zyme> there was an android app for Chromecast emulating, kinda like those airplay servers out there, I once thought about using an adrino with that loaded and mod-ing it to accept more than just 264, it could probably play the role of a PC at the same time and have the power to conference in HEVC for tons less than a new atv..
[17:54:02 CEST] <knowsnothing> is there a filter that can be used to crossfade video and audio?
[19:21:21 CEST] <ppw> why would a freshly cross compiled static ffmpeg.exe throw out a DLL missing error?
[19:21:40 CEST] <ppw> libcrypto-1_1-x64.dll
[19:22:39 CEST] <furq> what's your configure string
[19:23:48 CEST] <ppw> https://pastebin.com/r6PyXLUL
[19:24:56 CEST] <furq> yeah that's not fully static
[19:25:16 CEST] <furq> that'll still use dynamic external libs in preference to static libs
[19:25:21 CEST] <furq> you need --extra-ldflags=-static
[19:25:59 CEST] <furq> --pkg-config='pkg-config --static' --extra-ldflags='-static -static-libgcc -static-libstdc++'
[19:26:05 CEST] <furq> you probably want that for mingw
[19:33:57 CEST] <ppw> well, it seems to be working. thanks furq!
[20:24:23 CEST] <ppw> how would I preserve the original filename attributes after transcoding a video?
[20:24:44 CEST] <ppw> I'm not talking about metadata, just a simple file changed/created attribute preservation
[20:32:37 CEST] <ChocolateArmpits> that's OS specific, not something ffmpeg can do about
[20:34:08 CEST] <ppw> ok.
[20:35:15 CEST] <ppw> using yadif and mcdeint results in very verbose logging output which severely hampers encoding speed. what can I do to bypass this aside from completely disabling output with -loglevel 0?
[20:36:26 CEST] <ChocolateArmpits> ppw, did you try out bwdif for deinterlacing ?
[20:36:39 CEST] <ppw> no, only yadif and mcdeint so far.
[20:36:47 CEST] <ChocolateArmpits> try it, you may like it
[20:36:55 CEST] <ppw> ok
[20:37:14 CEST] <ChocolateArmpits> combines yadif and w3fdif
[21:07:53 CEST] <asie> Is there a way to make force_original_aspect_ratio in "-vf scale=320:240:force_original_aspect_ratio=decrease" respect codec width/height divisibility requirements (such as "height not divisible by 2 (320x213)")?
[21:10:29 CEST] <DHE> what are you trying to accomplish? the SAR will be recalculated so that the player will render it properly. if you want to rescale to approximate resolution ratios use -2 for one of width or height to calculate that value as a multiple of 2
[21:11:02 CEST] <asie> i'm working on an automated transcoder for a large amount of videos, and i was expecting to be able to make a video fit in a maximum width, height *and* keep its aspect ratio
[21:11:27 CEST] <asie> i can potentially run the necessary calculations outside of ffmpeg, was just curious if ffmpeg already has a solution for that
[21:13:05 CEST] <DHE> well for example h264 can store an aspect ratio in the codec itself in case the resulting image should have non-square pixels. using this you can set any "scale=xx:yy" numbers you want and the video will have the same shape on the player
[21:30:13 CEST] <ChocolateArmpits> I do size calcs outside off fmpeg myself, ffprobe not always gives aspect ratio info so I figure it may not be available to filters either
[21:31:40 CEST] <ChocolateArmpits> Other times the aspects are wonky so I just have exceptions, like 16/11 sar
[21:44:53 CEST] <DHE> but if you don't specify anything, the image aspect ratio will be preserved (by recalculating the sample aspect ratio)
[21:44:58 CEST] <DHE> right?
[21:45:43 CEST] <DHE> so usually you can do -vf scale=-2:240 to get a closest available width as a multiple of 2 and the player will rescale to retain the original aspect ratio
[00:00:00 CEST] --- Mon May 22 2017
More information about the Ffmpeg-devel-irc