burek021 at gmail.com
Sat Oct 24 02:05:01 CEST 2015
[00:00:45 CEST] <muxan> many recommend foobar2000 but as im slowly moving away from windows i thought i'd see if ffmpeg could do it
[00:01:18 CEST] <furq> fb2k isn't great if you're dealing with cuesheets
[00:01:25 CEST] <muxan> i just cant find a gud doc bout it im pretty new to linux so yeah
[00:01:45 CEST] <onefix> I guess you can buy a quad core AMD AM1 for ~$50 .. but you still need to buy the motherboard (another $50 for a Mini-ITX), a case with PSU ($30), and memory ($30 for 8GB)
[00:01:47 CEST] <muxan> oh ok
[00:03:00 CEST] <muxan> onefix if you must have a cluster go for a prebuilt one you can modd for linux its cheaper
[00:03:29 CEST] <alexandros_c> good day is there a switch in ffmpeg that allows overscanning to filtered out when the join source is a vhs video?
[00:03:32 CEST] <onefix> muxan: Where are those?
[00:03:50 CEST] <muxan> if this is just an experiment id first do some tests b4 buying just my 2 cents
[00:04:19 CEST] <muxan> amazon n newegg if you in the US
[00:05:17 CEST] <onefix> muxan: Yeah, that's what I'm going to do...but I'll be comparing what I have which may or may not give me a good comparison...
[00:05:39 CEST] <llogan> alexandros_c: you could use the crop filter. although personally all i'd do is deinterlace and put a black drawbox over the head switching noise
[00:05:46 CEST] <onefix> muxan: Oh, so you're talking about just buying a pre-built "white box" desktop and putting Linux on it ...
[00:06:10 CEST] <muxan> http://www.amazon.com/Asus-CHROMEBOX-M004U-ASUS-Desktop/dp/B00IT1WJZQ
[00:06:21 CEST] <muxan> something like that
[00:06:50 CEST] <muxan> its cheaper than building yourself
[00:07:05 CEST] <alexandros_c> llogan: thanks for the response, but I read that if you use crop some of the video is lost.
[00:07:30 CEST] <onefix> muxan: Yeah, but how good is a 1.4GHz Celeron versus say the Quad-Core 2.4GHz AMD Athlon that I configured for $160 ...
[00:08:05 CEST] <muxan> that i dunno
[00:08:09 CEST] <llogan> alexandros_c: the overscan is part of the video
[00:08:15 CEST] <muxan> yours prolly faster
[00:08:17 CEST] <llogan> so yeah, you'll lose some of the video
[00:08:28 CEST] <alexandros_c> oh ok
[00:08:31 CEST] <muxan> this is a 2013 model so yeah
[00:08:39 CEST] <alexandros_c> llogan: thanks for the information
[00:09:43 CEST] <llogan> this is kond of fun/interesting of VHS oddball stuff: http://avaa.bavc.org/artifactatlas/index.php/Image_Gallery
[00:11:17 CEST] <furq> onefix: bear in mind the A13 is single core
[00:11:29 CEST] <furq> the rpi2 is quad core
[00:12:26 CEST] <onefix> muxan: I'm going to try and do a comparison with my 30 second video ... I can't seem to find good comparisons ... I mean I know that a single core 1GHz x86 processor is faster than a 1GHz ARM, but I know that that is partially based on the FPU
[00:13:20 CEST] <muxan> i think its a dual core the one i mentioned
[00:13:43 CEST] <llogan> alexandros_c: drawbox=x=0:y=ih-h:w=iw:h=5:color=black
[00:13:53 CEST] <llogan> for the head switching noise if you encouter it
[00:14:16 CEST] <llogan> (if you prefer not to crop it)
[00:14:20 CEST] <muxan> http://ark.intel.com/products/75608/Intel-Celeron-Processor-2955U-2M-Cache-1_40-GHz
[00:14:48 CEST] <furq> a 15W celeron isn't going to be up to much video encoding
[00:15:11 CEST] <furq> the AM1 stuff is all low-power as well iirc
[00:15:12 CEST] <muxan> better than the arm furq
[00:15:31 CEST] <furq> well yeah but it had better be for 13 times the price
[00:15:32 CEST] <muxan> much better
[00:16:01 CEST] <muxan> 13x2 is 26fps
[00:16:07 CEST] <muxan> i think it can
[00:16:23 CEST] <furq> you can do much better than that though
[00:16:51 CEST] <muxan> owhat on rpi?
[00:16:57 CEST] <furq> no on x86
[00:17:18 CEST] <furq> you can get an x86 system which will destroy that for not much more
[00:17:38 CEST] <onefix> muxan: Yeah, but I'm looking at total cost ...
[00:19:05 CEST] <onefix> furq: That's why I was looking at a quad-core AMD with 8GB of RAM for $160 ... but I still wonder if that will be significantly better than say 16 CHIPs
[00:19:24 CEST] <furq> i'd be really shocked if it wasn't
[00:19:33 CEST] <muxan> onefix most likely
[00:19:42 CEST] <furq> i can't imagine you'll get more than 2fps out of an A13
[00:19:52 CEST] <muxan> as cpu isnt the only bottleneck in clusters
[00:20:08 CEST] <furq> and yeah this is assuming zero overhead from chopping everything up
[00:22:22 CEST] <muxan> how much power will your amd use onefix?
[00:22:24 CEST] <nyuszika7h> I'm trying to convert Core Media Closed Captions (eia_608) to SRT/ASS, but the result is really strange: https://i.imgur.com/Eg4unDn.png
[00:24:16 CEST] <nyuszika7h> nothing seems to able to handle this format...
[00:25:31 CEST] <onefix> muxan: Looks like 25W
[00:26:27 CEST] <muxan> you sure?
[00:26:39 CEST] <furq> onefix: you'd probably be better off with an AM3+ 6-core
[00:26:40 CEST] <muxan> you counting the mobo too?
[00:26:42 CEST] <onefix> muxan: Yeah, it's what the spec sheet says
[00:27:01 CEST] <onefix> muxan: Nope, just the processor ... I know it will eat more than that
[00:27:32 CEST] <muxan> still 40 watt isnt bad either
[00:27:40 CEST] <onefix> muxan: The only way to know for sure is to build the system and plug it into a meter
[00:28:15 CEST] <muxan> pretty much it can never draw more than psu tho
[00:28:54 CEST] <muxan> atleast its better for your health if it doesnt
[00:30:10 CEST] <nyuszika7h> [Closed caption Decoder @ 0000000004e985c0] Data Ignored since exceeding screen width
[00:30:10 CEST] <nyuszika7h> Last message repeated 282 times
[00:30:19 CEST] <nyuszika7h> I'm getting this error, but I'll just get another release
[00:34:26 CEST] <nyuszika7h> it was 2 lines, but yeah sorry, I forgot about the rest, one sec
[00:36:34 CEST] <nyuszika7h> http://dpaste.com/0BHWGWE
[00:36:39 CEST] <alexandros_c> thanks llogan
[00:36:50 CEST] <nyuszika7h> I'm already getting a different version but I do wonder what's wrong with this
[00:39:48 CEST] <llogan> nyuszika7h: this is bug #4616
[00:39:52 CEST] <llogan> https://trac.ffmpeg.org/ticket/4616
[00:40:25 CEST] <nyuszika7h> I see
[02:13:35 CEST] <alexandros_c> llogan: http://pastebin.com/raw.php?i=AR2PTrg6
[02:21:28 CEST] <llogan> join filters with a comma: yadif,drawbox
[02:22:46 CEST] <llogan> you since you're filtering you can use format instead of pix_fmt, fps instead of -r (maybe), and scale instead of -s. that way you can better control where in the filterchain such filtering should occur
[02:23:57 CEST] <alexandros_c> thanks again llogan
[02:27:20 CEST] <llogan> alexandros_c: and there is a typo in your drawbox. h5 needs to be h=5
[02:27:36 CEST] <alexandros_c> thanks
[02:27:46 CEST] <llogan> also, why change frame rate and frame size anyway?
[02:28:08 CEST] <alexandros_c> you are saying take them out?
[02:28:29 CEST] <llogan> not if you have a good reason for them.
[02:28:42 CEST] <alexandros_c> ok
[02:29:23 CEST] <llogan> (for future reference you should use 30000/1001 [or the alias "ntsc"] instead of 29.97)
[02:29:50 CEST] <alexandros_c> how is that done?
[02:30:19 CEST] <llogan> -r ntsc or -r 30000/1001
[02:32:16 CEST] <alexandros_c> so take out -s 768x480?
[02:33:24 CEST] <llogan> if you want it to be that size for some reason then go ahead and leave it
[02:33:52 CEST] <llogan> i just don't know what reason that would be
[02:35:16 CEST] <alexandros_c> I am new to this, and I built that command string based on the information I found. didn't know what all of it was doing but it work...for the most part
[02:44:13 CEST] <alexandros_c> llogan: any other option I can safely removed from the command?
[02:46:37 CEST] <llogan> alexandros_c: it depends on how you are going to use the output videos
[02:47:05 CEST] <llogan> for editing, archiving, uploading to youtube, etc
[02:47:14 CEST] <alexandros_c> just saving to a digital format
[02:47:28 CEST] <alexandros_c> with the possible of burning to a dvd
[02:47:43 CEST] <alexandros_c> but not for youtube
[02:48:49 CEST] <alexandros_c> also what will be the best format to store the video in?
[02:51:34 CEST] <llogan> it just depends on how archival paranoid you want to be. you could use a lossless format, but the file sizes will be huge. or you could use a lossy format and use enough quality to make it roughly "visually lossless"
[02:58:28 CEST] <llogan> alexandros_c: ffmpeg -f v4l2 -i /dev/video1 -f alsa -i hw:2 -filter:v "yadif=0:0:0,drawbox=x=0:y=ih-h:w=iw:h=5:color=black,format=yuv420p" -c:v libx264 -crf 18 -c:a aac -strict -2 -b:a 192k -movflags +faststart -metadata title="Video Title" output.mp4
[02:58:56 CEST] <llogan> could be a good start. i had to make some assumptions about your builds since you didn't provide the complete console output from your command
[02:59:23 CEST] <alexandros_c> what assumptions did you make?
[02:59:29 CEST] <alexandros_c> btw, thanks
[02:59:37 CEST] <llogan> available encoders
[02:59:44 CEST] <alexandros_c> I have all
[03:00:47 CEST] <llogan> a build with "all" would be both rediculous and unecessary. i'll guess you're using something from Arch AUR
[03:02:01 CEST] <alexandros_c> nope linuxmint 17.2 Cinnamon
[03:02:08 CEST] <alexandros_c> well most
[03:02:22 CEST] <alexandros_c> ok
[03:03:13 CEST] <furq> if you got it from repos then it won't have libfdk_aac
[03:04:14 CEST] <alexandros_c> llogan: http://pastebin.com/raw.php?i=gEkaQSDN
[03:04:31 CEST] <llogan> the complete console output is missing
[03:04:37 CEST] <llogan> wait, nevermind
[03:05:03 CEST] <llogan> paste failure on my part
[03:05:33 CEST] <alexandros_c> lol
[03:06:16 CEST] <llogan> 2.4.3 is considered kind of old.
[03:06:48 CEST] <llogan> anyway, one other thing you can monkey with is hqdn3d filter if your input is noisy as some analog tapes are
[03:07:05 CEST] <llogan> and of course try the various yadif modes and choose the one that looks best to you
[03:07:38 CEST] <alexandros_c> is there away to get a preview of what is recording?
[03:08:29 CEST] <llogan> maybe by using the tee muxer, or maybe split filter, and piping one of the outputs to ffplay
[03:13:54 CEST] <llogan> if you want a newer build compile (see ffmpeg wiki), use a static build, or mc4man's ppa
[03:15:28 CEST] <llogan> got to go
[04:04:15 CEST] <k_sze> Does the ffmpeg program (as in ffmpeg.exe) have a built-in timeout for outputting to file?
[04:08:10 CEST] <inflex> Is there a fn call to dump debug details about an AVPacket variable? Or is it just something I should whip up?
[04:09:02 CEST] <inflex> ie, I'm calling av_interleaved_write_frame(), and if there's an error I'd like to dump the contents of the AVPacket to see what might have caused the issue.
[04:10:01 CEST] <SaintNicholas> Hi
[04:13:43 CEST] <SaintNicholas> I'm having trouble implementing, in C, a filter that puts an overlay on top of a video stream. I can get it to properly output 1 frame, but then it continually fails while trying to do av_buffersink_get_frame. Anyone able to help?
[08:02:15 CEST] <anshul_> does any one know about documentation of run time command of ffmpeg which we get when we press c while ffmpeg is running
[08:02:51 CEST] <anshul_> I have some live streams which runs whole day, what I want is to change bitrate at runtime
[08:09:27 CEST] <anshul_> Inside I see avfilter_graph_send_command is called, I should see how this work
[08:10:46 CEST] <anshul_> is there any filter for bitrate
[09:46:04 CEST] <worstje> Does anyone here have an idea as to why I can't feel to get --shortest to create the appropriate amount of video footage (from an image input) to match my audio? Depending on the video encoder, my 5-second audio clip causes 5:30 or 7:38 or even other video clip lengths and it is driving me crazy.
[10:49:51 CEST] <inflex> any particular reason why av_interleaved_write_frame() will clobber the contents of the AVPacket passed in if there's a fault?
[11:50:38 CEST] <anddam> hello, how can add a subtitle stream to an MP4 container?
[11:52:02 CEST] <anddam> from what I could find the MP4 container, namely MPEG-4 Part 14, can contain an MPEG-4 Part 17 subtitle stream, "Timed Text" or "Streaming text format" but it's not clear to me how I can tell ffmpeg to convert a srt (SubRip) to the former
[11:52:36 CEST] <anddam> I -c:s copy and mov_text, that I read is an mp4 compatible format, with no luck
[11:57:03 CEST] <anddam> I tried*
[11:57:32 CEST] <relaxed> anddam: http://pastie.org/ your command and output
[11:58:15 CEST] <anddam> I tried different combination, using a single -c option, or separated -c:v -c:a -c:s options or -map options with specific -c:v:0 -c:s:0 -c:s:0 to try to force the conversion
[11:58:54 CEST] <anddam> relaxed: I made several and I have to re-run them to get the output, can you suggest one that is more insightful?
[11:59:20 CEST] <anddam> oh btw, I have two input files, a .mp4 and a .srt
[12:00:06 CEST] <anddam> let me start pasting ffprobe for them so we can cut to the chase, ok?
[12:00:31 CEST] <relaxed> ffmpeg -i input.mp4 -i input.srt -map 0 -map 1 -c:v copy -c:a copy output.mp4
[12:01:44 CEST] <anddam> isn't that skipping subtitles?
[12:01:46 CEST] <anddam> https://gist.github.com/anddam/32c1970cf92e12ee58d2
[12:01:50 CEST] <anddam> now to your command
[12:03:22 CEST] <anddam> updated with the output you asked, the relevant bit is
[12:03:25 CEST] <anddam> Stream #1:0 -> #0:2 (subrip (srt) -> ? (?))
[12:03:26 CEST] <anddam> Encoder (codec none) not found for output stream #0:2
[12:04:02 CEST] <relaxed> try again with -c:s mov_text
[12:04:36 CEST] <anddam> wow, a lot of
[12:04:38 CEST] <anddam> [mp4 @ 0x7fc0bd00ec00] Application provided duration: -4 / timestamp: 1208508 is out of range for mov/mp4 format
[12:04:40 CEST] <anddam> [mp4 @ 0x7fc0bd00ec00] pts has no value
[12:04:49 CEST] <anddam> but it completed with no error
[12:05:18 CEST] <anddam> and the output file has got
[12:05:19 CEST] <anddam> Stream #0:2(und): Subtitle: mov_text (tx3g / 0x67337874), 0 kb/s (default)
[12:05:30 CEST] <relaxed> looks good
[12:05:32 CEST] <anddam> thanks, I wonder what I was doing wrong before
[12:05:57 CEST] <anddam> so mov_text is an encoder that works with MP4 container
[12:06:08 CEST] <relaxed> probably not -map(ing) it to the output
[12:07:58 CEST] <relaxed> worstje: try encoding the video with no bframes
[12:08:11 CEST] <anddam> does that first -map 0 option map both streams from first -i option argument?
[12:08:15 CEST] <relaxed> worstje: or use -t $time
[12:08:31 CEST] <relaxed> anddam: yes
[12:17:40 CEST] <anddam> thanks
[13:05:21 CEST] <anshul_> can I use FFmpeg Logo as part of my software logo?
[13:13:15 CEST] <BasisBit> anshul_, I don't think so. And this is the wrong place to ask. you would need a write permision or some free/public license
[13:20:30 CEST] <anshul_> ok i wont use then
[14:37:14 CEST] <sopparus> hello, is it possible to make any use of amd VCE for encoding with ffmpeg/linux?
[15:00:53 CEST] <Mavrik> Nope.
[15:10:42 CEST] <sopparus> ok
[16:32:04 CEST] <hero_biz> hi guys.
[17:43:06 CEST] <fred1807> is it possible to command ffmpeg to scale to 1080p Only if the input is higher than 1080p (example 4k)? (Dont upscale a 720p for example)
[17:43:35 CEST] <fred1807> I am batch converting a lot of videos
[17:47:24 CEST] <spicypixel> fred1807: http://www.renevolution.com/understanding-ffmpeg-part-ii-scaling-video/ scroll down
[17:47:39 CEST] <spicypixel> the min() function basically
[17:48:43 CEST] <fred1807> vf "scale='min(iw,1920)':-1" <---- is this it?
[17:50:00 CEST] <hero_biz> guys,we cannot set libx264 qpfile via -x264opts?
[17:52:53 CEST] <hero_biz> will -force_key_frames force key frames for my encoded h264 video?
[17:54:10 CEST] <hero_biz> i want to force few I frames so I could split video after encoding on them.
[18:11:37 CEST] <hero_biz> no one?
[18:13:51 CEST] <hero_biz> should I set -forced-idr 1 too?
[18:16:33 CEST] <fred1807> spicypixel: It worked, thank you!
[18:16:49 CEST] <spicypixel> sure thing :D
[18:16:53 CEST] <spicypixel> I had to do it myself this morning
[18:25:41 CEST] <hero_biz> any idea what -forced-idr option do?
[18:27:28 CEST] <DHE> you can use it to force keyframes on frames marked as such from upstream
[18:32:18 CEST] <hero_biz> means i need to use -force_key_frames times -forced-idr 1 to add an I frame to specific position?
[19:12:45 CEST] <xsi> I'm getting from "time to time" sound, how to say... choppy, intermittent 1 second it plays 2 seconds no sound:
[19:12:48 CEST] <xsi> ffmpeg -f alsa -ac 1 -i hw:0,0 -f x11grab -framerate 25 -video_size 1280x1024 -i :0.0+0,0 -vcodec libx264 -maxrate 15000k -bufsize 15000k -acodec libfdk_aac -b:a 32k -ar 11025 -f flv num55.flv
[19:14:49 CEST] <xsi> The more i change codecs for flv (that is the format i'm trying) the more i blame the codecs part? How could it be? Just mp3 or vorbis - ok, it works. But when i need flv for a twitch screencast - big NO(((
[22:14:37 CEST] <Mavrik> 32k audio with 11025 sample rate? O.o
[22:14:43 CEST] <Mavrik> What are you doing to the poor audio there? O.o
[23:08:36 CEST] <rocktop> is there away to right standard ffmpeg output to the file ?
[23:11:41 CEST] <c_14> &> file
[00:00:00 CEST] --- Sat Oct 24 2015
More information about the Ffmpeg-devel-irc