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

burek burek021 at gmail.com
Sat Mar 26 02:05:01 CET 2016


[00:00:09 CET] <J_Darnley> Do editors have to call every operation "merge"?
[00:00:30 CET] <J_Darnley> Granted I can't think of a better verb for this.
[00:00:34 CET] <whoever> hi all, I am tring to use ffmpeg to convert .mkv to mp4 and i am getting driver fail
[00:01:11 CET] <J_Darnley> "getting driver fail" is not an error message
[00:01:29 CET] <J_Darnley> Please put your whole command and the output on pastebin.
[00:03:06 CET] <Wader8> I never liked 16:9 and I probably never will
[00:03:22 CET] <J_Darnley> Well, I agree with you there
[00:03:34 CET] <Wader8> they just took the top and bottom off and put it on the sides, what a joke
[00:05:37 CET] <Wader8> 16:10 I heard is actually also physically more correct as it's closer to the golden ratio, but I'm not sure why aren't the gurus more outspoken, the TV industry kinda has too much influence on the PC market, the only thing left they can do is to force HDMI to displace DP
[00:05:49 CET] <whoever> https://bpaste.net/show/d62348a90d57
[00:06:12 CET] Action: J_Darnley thinks you should be stoned
[00:06:25 CET] <whoever> the video play in its native format (befor attempting to convert)
[00:07:06 CET] <whoever> whys that
[00:07:13 CET] <J_Darnley> > mencoder
[00:07:31 CET] <J_Darnley> It's ${CURRENT_YEAR}!
[00:07:39 CET] <drv> year of mencoder on the desktop
[00:07:43 CET] <whoever> well isnt mencoder  part of ffmgeg
[00:08:07 CET] <J_Darnley> huehuehue
[00:08:14 CET] <J_Darnley> this guy
[00:08:31 CET] <DHE> I thought mencoder was part of mplayer
[00:09:01 CET] <whoever> with ffmeg i get unknown encoder libfaac
[00:09:55 CET] <llogan> "ffmpeg version svn-57"
[00:10:05 CET] <llogan> copyright 1974
[00:16:59 CET] <whoever> http://pastebin.com/itRumRGT and it doesn' seem to matter what I change my lib to, ie: libaac. i seem to always get unknown encoder
[00:17:30 CET] <J_Darnley> No doubt because it wasn't compiled with it.
[00:17:44 CET] <J_Darnley> Which we would know if you would follow instructions.
[00:18:06 CET] <J_Darnley> and "libaac" doesn't exist
[00:18:32 CET] <J_Darnley> just use "aac" and you should be fine.
[00:18:34 CET] <whoever> yes that is why i changed it
[00:20:48 CET] <llogan> whoever: the complete console output is missing from your pastebin
[00:27:38 CET] <whoever> llogan: thx
[00:27:44 CET] <whoever> http://pastebin.com/guSsyaq6
[00:28:13 CET] Action: J_Darnley sighs
[00:28:33 CET] <J_Darnley> It wasn't compiled with that encoder either.
[00:28:42 CET] <J_Darnley> And its name would be libfdc_aac
[00:29:35 CET] <J_Darnley> You could also update the version you're running
[00:29:50 CET] <J_Darnley> Then you would get a file aac encoder built in
[00:29:57 CET] <J_Darnley> *a fine aac encoder
[00:30:18 CET] <whoever> J_Darnley: i got it from my distros repos
[00:30:33 CET] <whoever> so i assumed it came with support for it
[00:31:23 CET] <TD-Linux> ffmpeg isn't redistributable with libfdk_aac so it had better not come with it
[00:32:56 CET] <whoever> J_Darnley: so do i have any option or do i need to compile from source
[00:33:04 CET] <llogan> whoever: download a binary from here: http://johnvansickle.com/ffmpeg/
[00:33:26 CET] <llogan> then do: ffmpeg -i input -c:v copy -c:a aac output.mp4
[00:33:40 CET] <llogan> also, why do you want mp4?
[00:33:58 CET] <whoever> so it will play on a dvd player
[00:36:18 CET] <llogan> if the device doesn't like 5.1 AAC add "-ac 2"
[00:37:19 CET] <llogan> you add -t 60 to encode a 60 second test segment.
[00:37:22 CET] <llogan> *can add
[00:38:25 CET] <AlexQ> Hi. I was having a problem yesterday when remuxing Matroska. I have encountered that problem again today: it seems to be related with copying SubRip streams ?!? : it causes the audio to be inaudible, even though the stream is there and can be extracted and played successfully by itself. Happens like that on multiple players
[00:39:55 CET] <AlexQ> Any insight?
[00:40:25 CET] <AlexQ> BTW. Can I somehow extract the .srt file while remuxing MKV? To have only one pass?
[00:45:51 CET] <AlexQ> Okay, maybe I'll report it as a bug in the future or sth. For now extracting .srt before remuxing and using the subs from that separate file will do
[00:46:38 CET] <J_Darnley> ffmpeg -i INPUT output.mkv output.srt
[00:47:06 CET] <J_Darnley> As for your problems, how about an error message
[00:53:38 CET] <AlexQ> Well, there are no error messages while encoding or null-decoding using ffmpeg - haven't tried with verbose or debug loglevels. And my quesion was if I could extract SubRip stream(s) to different files while remuxing MKV, thus effectively having 2 or more output files.
[01:03:21 CET] <AlexQ> Is that even possible?
[01:06:14 CET] <AlexQ> Okay,just multiple outputs then. And I will have a single demuxing pass, so very useful
[01:06:40 CET] <AlexQ> Will try to come back with a sample and log tomorrow maybe; maybe I'll recompile ffmpeg with the newest git snapshot first
[01:06:49 CET] <AlexQ> to check if that problem still appears
[01:06:54 CET] <AlexQ> cheers and bye
[02:51:42 CET] <explodes_> my call to sws_scale keeps crashing, can't figure out why. the source pixels is 32*1280*720 bytes long
[02:52:37 CET] <explodes_> http://pastebin.com/dM1Jph5c
[02:54:21 CET] <J_Darnley> I though data should be an array of 4 pointers
[02:54:40 CET] <J_Darnley> perhaps the swscale api is different
[02:55:11 CET] <explodes_> the pixels argument is a void*
[02:55:42 CET] <explodes_> er, in avpicture_fill
[02:55:47 CET] <explodes_> and, no it isnt
[02:57:14 CET] <explodes_> compiling...
[02:58:36 CET] <explodes_> still fails
[02:58:55 CET] <explodes_> Rather, it still SIGSEGV's
[03:08:05 CET] <explodes_> When I call sws_scale with a fresh calloc'd (32*1280*720, uint8_t), it doesnt crash at all.. Makes me think the bitmap I am pulling pixels from is not ready or something
[03:08:23 CET] <explodes_> But the pixel pointer is not NULL, so I know it must have some pixels
[03:11:22 CET] <explodes_> avpicture_fill succeeds with the bitmap's pixels, too. so I'm not sure what is happening..
[04:11:51 CET] <explodes_> Yea, I still cannot figure this out: http://pastebin.com/XVSM2d2h
[04:40:18 CET] <whoever> hi all, i can't semm to convert a mkv to mp3 via command line, but i can do it with DEEVEEDEE
[04:40:34 CET] <whoever> does anyone know what command deeveedee is excuting
[04:44:51 CET] <whoever> $ ffmpeg -i The.Hunger.Games.Mockingjay.Part.2.2015.1080p.BluRay.x264.DTS-JYK.mkv  -c:v copy -c:a aac output.mp3
[04:44:54 CET] <whoever> ffmpeg version N-69032-g3aaff80 Copyright (c) 2000-2015 the FFmpeg developers
[04:44:57 CET] <whoever>   built on Jan 12 2015 12:27:33 with gcc 4.9.2 (GCC) 20141224 (prerelease)
[04:44:59 CET] <whoever>   configuration:
[04:45:02 CET] <whoever>   libavutil      54. 16.100 / 54. 16.100
[04:45:04 CET] <whoever>   libavcodec     56. 20.100 / 56. 20.100
[04:45:07 CET] <whoever>   libavformat    56. 18.101 / 56. 18.101
[04:45:09 CET] <whoever>   libavdevice    56.  4.100 / 56.  4.100
[04:45:12 CET] <whoever>   libavfilter     5.  7.100 /  5.  7.100
[04:45:14 CET] <whoever>   libswscale      3.  1.101 /  3.  1.101
[04:45:17 CET] <whoever>   libswresample   1.  1.100 /  1.  1.100
[04:45:19 CET] <whoever> Input #0, matroska,webm, from 'The.Hunger.Games.Mockingjay.Part.2.2015.1080p.BluRay.x264.DTS-JYK.mkv':
[04:45:22 CET] <whoever>   Metadata:
[04:45:22 CET] <c_14> did you even read anything that was written there?
[04:45:25 CET] <whoever>     encoder         : libebml v1.3.3 + libmatroska v1.4.4
[04:45:27 CET] <whoever>     creation_time   : 2016-03-11 22:24:04
[04:45:30 CET] <whoever>   Duration: 02:16:57.26, start: 0.000000, bitrate: 3607 kb/s
[04:45:30 CET] <furq> this could go on for a while
[04:45:32 CET] <whoever>     Chapter #0:0: start 0.000000, end 459.041000
[04:45:35 CET] <whoever>     Metadata:
[04:45:37 CET] <whoever>       title           : Chapter 01
[04:45:40 CET] <whoever>     Chapter #0:1: start 459.041000, end 1009.216000
[04:45:42 CET] <whoever>     Metadata:
[04:45:45 CET] <whoever>       title           : Chapter 02
[04:45:47 CET] <whoever>     Chapter #0:2: start 1009.216000, end 1486.985000
[04:45:50 CET] <whoever>     Metadata:
[04:45:52 CET] <whoever>       title           : Chapter 03
[04:45:55 CET] <whoever>     Chapter #0:3: start 1486.985000, end 1919.959000
[04:45:57 CET] <whoever>     Metadata:
[04:46:00 CET] <whoever>       title           : Chapter 04
[04:46:02 CET] <whoever>     Chapter #0:4: start 1919.959000, end 2231.687000
[04:46:05 CET] <whoever>     Metadata:
[04:46:07 CET] <whoever>       title           : Chapter 05
[04:46:10 CET] <whoever>     Chapter #0:5: start 2231.687000, end 2802.716000
[04:46:12 CET] <whoever>     Metadata:
[04:46:15 CET] <whoever>       title           : Chapter 06
[04:46:17 CET] <whoever>     Chapter #0:6: start 2802.716000, end 3300.880000
[04:46:20 CET] <whoever>     Metadata:
[04:46:22 CET] <whoever>       title           : Chapter 07
[04:46:23 CET] <relaxed> no
[04:46:25 CET] <whoever>     Chapter #0:7: start 3300.880000, end 3766.429000
[04:46:27 CET] <whoever>     Metadata:
[04:46:30 CET] <whoever>       title           : Chapter 08
[04:46:31 CET] <furq> oh christ look how many chapters there are
[04:46:32 CET] <whoever>     Chapter #0:8: start 3766.429000, end 4167.496000
[04:46:35 CET] <whoever>     Metadata:
[04:46:37 CET] <whoever>       title           : Chapter 09
[04:46:40 CET] <whoever>     Chapter #0:9: start 4167.496000, end 4722.968000
[04:46:42 CET] <furq> we're going to be here all week
[04:46:42 CET] <whoever>     Metadata:
[04:46:45 CET] <whoever>       title           : Chapter 10
[04:46:47 CET] <whoever>     Chapter #0:10: start 4722.968000, end 5391.135000
[04:46:50 CET] <whoever>     Metadata:
[04:46:52 CET] <whoever>       title           : Chapter 11
[04:46:55 CET] <whoever>     Chapter #0:11: start 5391.135000, end 5828.239000
[04:46:57 CET] <whoever>     Metadata:
[04:47:00 CET] <whoever>       title           : Chapter 12
[04:47:02 CET] <whoever>     Chapter #0:12: start 5828.239000, end 6541.785000
[04:47:05 CET] <whoever>     Metadata:
[04:47:07 CET] <whoever>       title           : Chapter 13
[04:47:10 CET] <whoever>     Chapter #0:13: start 6541.785000, end 7015.758000
[04:47:12 CET] <whoever>     Metadata:
[04:47:15 CET] <whoever>       title           : Chapter 14
[04:47:17 CET] <whoever>     Chapter #0:14: start 7015.758000, end 7413.239000
[04:47:20 CET] <whoever>     Metadata:
[04:47:22 CET] <whoever>       title           : Chapter 15
[04:47:25 CET] <whoever>     Chapter #0:15: start 7413.239000, end 8217.259000
[04:47:27 CET] <whoever>     Metadata:
[04:47:30 CET] <whoever>       title           : Chapter 16
[04:47:32 CET] <whoever>     Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x800 [SAR 1:1 DAR 12:5], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
[04:47:35 CET] <whoever>     Metadata:
[04:47:38 CET] <whoever>       BPS             : 2850290
[04:47:40 CET] <whoever>       BPS-eng         : 2850290
[04:47:43 CET] <whoever>       DURATION        : 02:16:57.251000000
[04:47:45 CET] <whoever>       DURATION-eng    : 02:16:57.251000000
[04:47:48 CET] <whoever>       NUMBER_OF_FRAMES: 197017
[04:47:50 CET] <whoever>       NUMBER_OF_FRAMES-eng: 197017
[04:47:53 CET] <whoever>       NUMBER_OF_BYTES : 2927694006
[04:47:55 CET] <whoever>       NUMBER_OF_BYTES-eng: 2927694006
[04:47:58 CET] <whoever>       _STATISTICS_WRITING_APP: mkvmerge v8.5.2 ('Crosses') 32bit
[04:48:00 CET] <whoever>       _STATISTICS_WRITING_APP-eng: mkvmerge v8.5.2 ('Crosses') 32bit
[04:48:03 CET] <whoever>       _STATISTICS_WRITING_DATE_UTC: 2016-03-11 22:24:04
[04:48:05 CET] <whoever>       _STATISTICS_WRITING_DATE_UTC-eng: 2016-03-11 22:24:04
[04:48:08 CET] <whoever>       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[04:48:10 CET] <whoever>       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[04:48:13 CET] <whoever>     Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 768 kb/s (default)
[04:48:16 CET] <whoever>     Metadata:
[04:48:18 CET] <whoever>       BPS             : 754499
[04:48:21 CET] <whoever>       BPS-eng         : 754499
[04:48:23 CET] <whoever>       DURATION        : 02:16:57.259000000
[04:48:26 CET] <whoever>       DURATION-eng    : 02:16:57.259000000
[04:48:28 CET] <whoever>       NUMBER_OF_FRAMES: 770368
[04:48:31 CET] <whoever>       NUMBER_OF_FRAMES-eng: 770368
[04:48:33 CET] <whoever>       NUMBER_OF_BYTES : 774990208
[04:48:36 CET] <whoever>       NUMBER_OF_BYTES-eng: 774990208
[04:48:38 CET] <whoever>       _STATISTICS_WRITING_APP: mkvmerge v8.5.2 ('Crosses') 32bit
[04:48:41 CET] <whoever>       _STATISTICS_WRITING_APP-eng: mkvmerge v8.5.2 ('Crosses') 32bit
[04:48:43 CET] <whoever>       _STATISTICS_WRITING_DATE_UTC: 2016-03-11 22:24:04
[04:48:46 CET] <whoever>       _STATISTICS_WRITING_DATE_UTC-eng: 2016-03-11 22:24:04
[04:48:48 CET] <whoever>       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[04:48:51 CET] <whoever>       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[04:48:53 CET] <whoever> File 'output.mp3' already exists. Overwrite ? [y/N] y
[04:48:56 CET] <whoever> [aac @ 0x2736e80] The encoder 'aac' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it.
[04:48:59 CET] <whoever> damnit
[04:49:01 CET] <whoever> that was supose to be contrl k not c
[04:49:04 CET] <whoever> sorry
[04:49:06 CET] <whoever> it says aac is not supported but the command i used did not specify an audio codec
[04:49:09 CET] <whoever>  ffmpeg -i The.Hunger.Games.Mockingjay.Part.2.2015.1080p.BluRay.x264.DTS-JYK.mkv  -c:v copy -c:a aac output.mp3
[04:49:12 CET] <whoever> oops and so i do
[04:49:15 CET] <whoever> i might want to learn how to see straight
[04:49:45 CET] <c_14> update your version of ffmpeg
[04:49:46 CET] <furq> well this has been special
[04:49:52 CET] <c_14> The internal encoder isn't experimental anymore
[04:50:01 CET] <furq> yeah but he doesn't actually want to reencode so it doesn't matter
[04:50:30 CET] <c_14> and next time, just quit your client (sigkill if needs be) and then rejoin
[04:50:35 CET] <furq> or rather he doesn't want to reencode to aac
[04:50:38 CET] <c_14> It's better than just letting it send out line after line for hours
[04:51:13 CET] <furq> some clients will let you /part in the middle of a big paste
[04:51:37 CET] <furq> those clients also tend to ask you to confirm a big paste though, so i doubt the one you're using does
[05:33:40 CET] <whoever> http://pastebin.com/LVtyTg8A
[05:33:56 CET] <whoever> still get same error as befoe
[05:35:34 CET] <furq> that's probably because you're still running the same command as before
[05:35:45 CET] <relaxed> whoever: ffmpeg -i input -map 0:a -c:a libmp3lame -q:a 0 out.mp3
[05:36:14 CET] <relaxed> add -ac 2
[05:36:21 CET] <furq> -i input -vn -q:a 0 -ac 2 out.mp3
[05:36:39 CET] <furq> you might not even need -vn, i forget
[05:39:01 CET] <whoever> relaxed: why ac-2
[05:39:40 CET] <relaxed> because libmp3lame doesn't have 5.1 support, only stereo
[05:42:26 CET] <whoever> running it without ac 2 for now , thx for the heads up
[05:48:07 CET] <whoever> damnit, i picked the wrong ouput format, mcv,i am tring to convert to a format that will play on a dvd player. so this time i am tring avi
[06:21:51 CET] <zosky_> hi yall. trying very unsuccessfully to concat a bunch of vids. its catching them as input (stream 0.0 to 0.9) ... but it only copies stream 0.0 & 0.1... what am i missing ? http://pastebin.com/zdxE8RPg
[06:24:19 CET] <zosky_> sorry, should ask on #libav (was not super clear on the difference)
[06:24:20 CET] <relaxed> zosky_: you're using avconv (#libav), not ffmpeg. Also, -i concat: will not work with mp4.
[06:24:44 CET] <relaxed> zosky_: MP4Box -cat 1.mp4 -cat 2.mp4 -new combined.mp4
[06:25:07 CET] <zosky_> relaxed: thanks, will try
[06:33:18 CET] <zosky_> cheers mate. all i needed was a nudge in the right direction.
[09:04:04 CET] <_Raiz> wanna convert mp4 to ogg...
[09:04:34 CET] <_Raiz> $ ffmpeg -i in.mp4 -codecs libvorbis out.ogg
[09:04:49 CET] <_Raiz> doesn't work
[09:05:15 CET] <ln-> "doesn't work" is not a problem description
[09:05:38 CET] <_Raiz> ln-: my question is, what's the wrong with that command
[09:05:40 CET] <_Raiz> I know it's wrong
[09:06:04 CET] <_Raiz> there's no problem but I just have no idea how the command should be
[09:06:14 CET] <ln-> i wish i knew
[09:11:32 CET] <parrot1> I tried to link against ffmpeg libraries but I got error  undefined reference to symbol 'avfilter_graph_alloc@@LIBAVFILTER_6' . Any idea?
[09:44:24 CET] <lukesan> morning all
[13:02:05 CET] <styler2go> Can i somehow get a stream of my desktop without overlaying it?
[13:38:16 CET] <whoever> what format do i need to convert .mkv to so that it will play in dvd player , tried avi with /usr/bin/ffmpeg -i The.Hunger.Games.Mockingjay.Part.2.2015.1080p.BluRay.x264.DTS-JYK.mkv -map 0:a -c:a libmp3lame -q:a 0 out.avi
[13:39:00 CET] <whoever> /usr/bin/ffmpeg -i The.Hunger.Games.Mockingjay.Part.2.2015.1080p.BluRay.x264.DTS-JYK.mkv -map 0:a -c:a libmp3lame -q:a 0 out.avi
[13:39:13 CET] Last message repeated 2 time(s).
[13:39:13 CET] <J_Darnley> Depends on what the DVD player supports other than a DVD
[13:39:14 CET] <whoever> /usr/bin/ffmpeg -i The.Hunger.Games.Mockingjay.Part.2.2015.1080p.BluRay.x264.DTS-JYK.mkv -map 0:a -c:a libmp3lame -q:a 0 out.avi
[13:39:47 CET] <yongyung> I've been using libx264 -preset ultrafast -qp 15 to encode lossless footage to something more manageable for editing, but sony vegas still has problems playing it back without lagging, especially when things like slow motion/speed ups come into play. Surprisingly (for me) this is actually CPU and not I/O bound (I have a 3570k at 4.2GH, so not the worst CPU), do you guys have any advise as to which codec to use that sony vegas can handle better?
[13:42:17 CET] <gnome1> whoever: worst case, DVD-Video
[13:42:55 CET] <gnome1> whoever: first you really need to figure out which formats does it support
[13:45:06 CET] <furq> whoever: if you want the video then get rid of -map 0:a
[13:45:11 CET] <furq> and also ideally read the manual
[15:04:57 CET] <whoever> if my video seems a little pixelated or cartoon looking  after conversion would i increase the sample rate {
[15:06:16 CET] <whoever> gnome1: i am tring avi , since even when you try to build a dvd most often it is converted to an avi, ten the menues are made and theh the whole thing is built
[15:07:51 CET] <whoever> and furq i would , if i still had it from 15 years ago
[15:15:59 CET] <cosmo1t> Is there a decent reference/tutorial for changing code that uses AVPicture?
[15:16:32 CET] <cosmo1t> i see ont he main docs it has replacment functions it says to cxall (mostly avframe stuff) but the alloc and free have no referenc.e I'm assuming you are supposed to handle the buffers on your own or use another AVFrame?
[15:23:07 CET] <JEEB> cosmo1t: I recommend looking at the examples under the docs
[15:23:24 CET] <JEEB> https://github.com/FFmpeg/FFmpeg/tree/master/doc/examples
[15:23:37 CET] <JEEB> most of the common scenarios are there
[15:23:48 CET] <JEEB> demuxing, decoding, encoding, filtering
[15:24:14 CET] <JEEB> you can then see what applies to your use case to move from AVPicture to AVFrame (I guess?)
[15:35:31 CET] <_Timon> lolwat
[15:35:37 CET] <_Timon> taskkill cant kill ffmpeg.exe
[15:35:51 CET] <_Timon> "received > 3 system signals, hard exiting"
[15:35:56 CET] <_Timon> still running
[15:39:10 CET] <_Timon> litterally nothing is working
[15:39:16 CET] <_Timon> never had a process being this stuck on windows before
[15:39:46 CET] <J_Darnley> Wow really?
[15:39:58 CET] <J_Darnley> I'm always encountering shit I can't kill on Windows.
[15:40:24 CET] <_Timon> well, not with the normal methods ofcourse
[15:40:27 CET] <_Timon> that's all too common
[15:48:07 CET] <martin5> hi all. I use ffmpeg by code in asp.net to conver audio files to mp3.
[15:48:18 CET] <martin5>         Dim strfichero As String
[15:48:18 CET] <martin5>         Dim mh As New MediaHandler
[15:48:18 CET] <martin5>         strfichero = Mid(fichero, InStrRev(fichero, "\") + 1)
[15:48:18 CET] <martin5>         mh.FFMPEGPath = Server.MapPath("Comun/Ffmpeg/ffmpeg.exe")
[15:48:18 CET] <martin5>         mh.InputPath = Left(fichero, Len(fichero) - Len(strfichero) - 1)
[15:48:18 CET] <martin5>         mh.OutputPath = Server.MapPath("Temporal")
[15:48:18 CET] <martin5>         mh.BackgroundProcessing = True
[15:48:19 CET] <martin5>         mh.FileName = strfichero
[15:48:19 CET] <martin5>         mh.OutputFileName = Left(strfichero, Len(strfichero) - 4)
[15:48:20 CET] <martin5>         mh.OutputExtension = ".mp3"
[15:48:20 CET] <martin5>         mh.Audio_Bitrate = 128
[15:48:21 CET] <martin5>         mh.Process()
[15:48:32 CET] <J_Darnley> ignored
[15:49:46 CET] <JEEB> martin5: pasting code onto IRC is the best way to get on people's ignore list. congratulation. for future reference, use pastebin-like sites and link to your code rather than paste it
[15:51:01 CET] <martin5> it converts to mp3, I can listen the song with a double click, but I can't listen to the song on my web (IE11, firefox, opera, safari, chrome). can u help me, please?
[15:53:28 CET] <martin5> oks, thanks. I take note
[15:53:32 CET] <martin5> sorry
[16:14:31 CET] <gnome1> martin5: maybe it's a browser problem? how is it supposed to play on the browser?
[16:19:27 CET] <cosmo1t> thanks jeeb wil do
[16:24:30 CET] <cosmo1t> Jeeb thatnks, scaling_video.c has the exact deal. converting YUV420PO to RGB24 and has it's own data/linesize buffers.
[16:24:50 CET] <cosmo1t> thanks for responding, i hadn't found those files evn though i have th source. appreciate it.
[16:25:15 CET] <JEEB> I recommend looking at the zscale filter or even the base zimg library for better quality colorspace conversions
[16:25:24 CET] <JEEB> https://github.com/sekrit-twc/zimg
[16:26:00 CET] <JEEB> depends on your requirements of course
[16:26:57 CET] <cosmo1t> yeah for sure. i'm just tryingot wack the deprecated warning from this ios app. but i will look @ that.
[16:27:06 CET] <JEEB> oh
[16:27:08 CET] <JEEB> iOS
[16:27:24 CET] <cosmo1t> yippie..
[16:27:36 CET] <JEEB> yeah, I don't think zimg has any NEON asm
[16:28:00 CET] <cosmo1t> i was just reading htat, it's targetd @ posix .. but can't hurt ot look
[16:28:16 CET] <JEEB> well it builds for both windows and *nix-based things
[16:28:33 CET] <cosmo1t> right... we'll see if it cna handle a x-compile.
[16:28:36 CET] <JEEB> at least those are tested :p but it's rather not tested on ARM
[16:28:45 CET] <cosmo1t> hehe
[16:28:53 CET] <cosmo1t> i'll createa nother branch for that task.
[16:29:05 CET] <JEEB> and even if it builds on ARM, it might be quite a bit slower because it has a lot of IA32/x86_64 asm
[16:29:21 CET] <JEEB> same as with swscale, but I think swscale at least has some ARM asm >_>
[16:29:49 CET] <cosmo1t> swscale has some arm .. just no hardware accell for yuv420->rgb.. only ppc and i386 for that
[16:30:10 CET] <JEEB> hwaccel usually means dedicated hardware
[16:30:18 CET] <JEEB> not SIMD
[16:30:18 CET] <cosmo1t> well using the gpu right?
[16:30:21 CET] <JEEB> no
[16:30:25 CET] <JEEB> swscale uses no GPU
[16:30:26 CET] <cosmo1t> ah n/mind then
[16:30:32 CET] <cosmo1t> i didn't read enough into that
[16:30:34 CET] <JEEB> swscale is fully CPU only
[16:31:12 CET] <JEEB> usually player software has opengl shaders for the YCbCr->RGB conversion and scaling
[16:32:56 CET] <cosmo1t> okay. thatnks for the feedback and such. just like antyhing, it's WAY more complicated after you peel back the first sheet
[16:33:23 CET] <JEEB> also do remember the software license that FFmpeg is under
[16:33:38 CET] <JEEB> if you compile by default, it's LGPL. if you hit the --enable-gpl switch it's GPL
[16:34:02 CET] <JEEB> former requires you to make it possible to switch the library if the user so wants, and latter is the usual viral thing :P
[16:35:44 CET] <cosmo1t> yeah we didnt' enable gpl.
[16:35:55 CET] <JEEB> IANAL, but for shared libraries for LGPL people usually publish the exact source code they used for the thing, and with static linking object files for the non-open part and source code for FFmpeg. This way the library can be switched if the user wants that (of course you don't have to support such users, just making it possible is enough)
[16:36:16 CET] <JEEB> the thing in the shared part being in this case FFmpeg
[16:36:20 CET] <cosmo1t> right
[16:36:37 CET] <cosmo1t> that would assume the preson that designed it separted those functions from main app.
[16:36:46 CET] <cosmo1t> so youc ould swap a library.
[16:37:12 CET] <JEEB> no idea, just make sure you're following the license and you should be OK
[16:37:30 CET] <cosmo1t> yep they already did all that,  this is like the 4th or 5th release.
[16:37:42 CET] <cosmo1t> i did add a ticketot have it reviewed though
[16:37:44 CET] <cosmo1t> thanks
[16:38:13 CET] <JEEB> there's an unfortunate amount of people who just copypasta FFmpeg configuration without thinking about it
[16:38:31 CET] <cosmo1t> yeah it can bite you ..
[16:38:36 CET] <JEEB> > trying to publish a closed source application > having --enable-gpl in the configuration
[16:40:58 CET] <cosmo1t> yeah
[16:41:00 CET] <cosmo1t> oops.
[16:41:33 CET] <JEEB> anyways, I'm trying to look into all this mess of cargo cult that is building FFmpeg for ARMv7
[16:41:48 CET] <JEEB> seems like everyone has their dozens of cflags they're pushing
[16:42:04 CET] <JEEB> and no-one has actually put out any general benchmarks regarding any of that
[16:42:16 CET] <JEEB> or if they've run FATE with such (which is the regression test suite)
[16:42:17 CET] <cosmo1t> yeah it's not very concise. and yeah no benchmarks either.
[16:43:06 CET] <JEEB> enable-thumb seems to be an official options so I enabled that, although I'm not fully sure if that gets enabled by default if your cpu is armv7
[16:43:11 CET] <JEEB> *option
[16:43:11 CET] <gnome1> aah, compilation for ARM, plus features some ARMs don't really support (IIRC valgrind can't be compiled for some instruction sets), ...
[16:43:35 CET] <JEEB> then you've got the usual march etc stuff
[16:44:05 CET] <gnome1> was thumb for speed or space? I think one of the results was smaller binaries
[16:44:18 CET] <cosmo1t> i didn't enable that.
[16:44:39 CET] <JEEB> --enable-thumb           compile for Thumb instruction set
[16:44:43 CET] <JEEB> is all that the help says
[16:44:56 CET] <gnome1> but I don't think you'll need a train of options for compiling (as far as you already have the cross-compiler ready)
[16:45:06 CET] <JEEB> yeah
[16:45:11 CET] <JEEB> it Just Worked in general
[16:45:26 CET] <JEEB> just looking through all these random pastebins  by random people building for iOS/Android
[16:45:40 CET] <Mavrik>  gnome1 it's both
[16:45:45 CET] <Mavrik> ** sometimes
[16:45:47 CET] <Mavrik> ;)
[16:46:08 CET] <Mavrik> Thumb makes for significantly smaller binaries and it tends to be faster in some cases (and much slower in others).
[16:46:21 CET] <JEEB> I'll be updating to NDK r11b and I guess I'll be trying out 3.8 clang while at it
[16:47:48 CET] <JEEB> but yeah, I bet more perf could be gotten from learning NEON and making actual optimizations rather than squeeling around configure parameters ;)
[16:47:50 CET] <cosmo1t> jeeb i used this: http://pastebin.ca/3411141
[16:48:19 CET] <JEEB> yeah, that's still sane. no random cargo cult rice :)
[16:48:33 CET] <J_Darnley> Too bad only silly people use arm.  If sensible people used it might get some of that attention.
[16:48:35 CET] <JEEB> although --enable-static is still the default
[16:48:53 CET] <JEEB> J_Darnley: I kind of like being able to have libmpv's opengl rendering on my android :D
[16:48:53 CET] <cosmo1t> so you only need disable-shared
[16:49:05 CET] <JEEB> cosmo1t: shared is disabled by default as well
[16:49:17 CET] <JEEB> so you only have to poke those when you want to build only shared
[16:49:21 CET] <cosmo1t> well damn i swear i read ./configure --help | less
[16:49:22 CET] <JEEB> --disable-static --enable-shared
[16:49:38 CET] <JEEB> but if you only need static, you just don't do anything with those two :)
[16:49:48 CET] <cosmo1t> yeah i just pulled them from the .sh
[16:50:17 CET] <cosmo1t> well thats scary, app compiled
[16:50:22 CET] <cosmo1t> now to see if the pciture is purple or solid black
[16:51:05 CET] <cosmo1t> damn it's purple.
[16:51:15 CET] <cosmo1t> why isnt' it purple wheni use avpicture. sigh.
[16:52:06 CET] <JEEB> well at least it seems like your pointers are kind of pointing at some of the video data :P
[16:52:19 CET] <JEEB> now you just have to find out where you're doing things wrong
[16:52:28 CET] <cosmo1t> story of my oife
[16:52:31 CET] <cosmo1t> life
[16:55:21 CET] <cosmo1t> one would think this wouldn't makit it go purple http://pastebin.ca/3411148
[16:59:48 CET] <cosmo1t> well thats a relief. the develop branch is purple as well. wtf. time to go back to the last release branch. /me bangs head
[17:00:00 CET] <JEEB> :D
[17:00:11 CET] <cosmo1t> thanks again. jeeb if u get anywhere with arm configure options i'd liek to see the data
[17:00:28 CET] <cosmo1t> of course i dont' have another camera.
[17:00:33 CET] <JEEB> probably not since I'm just doing it for the lulz
[17:00:41 CET] <cosmo1t> k
[17:00:47 CET] <cosmo1t> well thanks for the help
[17:24:50 CET] <wooster> does RTSP ANNOUNCE not work anymore? https://github.com/revmischa/rtsp-server/issues/6
[17:25:03 CET] <wooster> apparently returns 405?
[17:37:54 CET] <jones___> hi! my goal is to create a video live stream from bitmaps i copy from a hooked process. i compiled x264 and ffmpeg (for swscale) and started to implement. now during my research i found out ffmpeg practically has the feature i was starting to implement already. now i would like to know how i can feed the bmp frame data from my process to the ffmpeg process? i am running windows 10 x64. any advice is apreciated.
[17:38:34 CET] <J_Darnley> If you have files on disk use the image2 demuxer
[17:39:14 CET] <jones___> i dont have them on disk and i wondered if there would be a way to feed them directly from memory. I get 25 frames per second.
[17:39:28 CET] <J_Darnley> Use the API
[17:40:00 CET] <J_Darnley> Set up an AVFrame or AVPicture with the right properties
[17:40:26 CET] <jones___> ok
[17:40:35 CET] <J_Darnley> If that's not possible copy the pixels into one.
[17:41:10 CET] <jones___> avframe and avpictures are streamable structures for ffmpeg i assume?
[17:42:22 CET] <jones___> thanks for the hint. ill read up on avframe and avpicture and the api a little. any functions you recommend starting with?
[17:42:29 CET] <J_Darnley> It is a strucure for passing around an uncompressed video frame.
[17:43:02 CET] <J_Darnley> Where to start?  One of the malloc functions?
[17:43:07 CET] <J_Darnley> I don't know.
[17:43:10 CET] <jones___> heh.
[17:43:18 CET] <J_Darnley> You're one one who knows what he has already.
[17:43:44 CET] <J_Darnley> Perhaps the encoding examples.
[17:45:54 CET] <jones___> well currently i am transmitting raw 24bpp bmp data over tcp to a server. this works well as long as it is on my local machine. i only have 2 mbps upstream. so my approach was to use x264 to encode it to h264 and use swscale to convert the RGB to YUV. On my test programm i am currently at encoding the bitmap frames and i wanted to start to work on the transfer. while googling i found out ffmpeg already has a feature like that (frame 
[17:46:04 CET] <jones___> and i wouldnt want to implement what probably is better implemented in ffmpeg already
[18:13:57 CET] <tyngdekraften> Is DSD encoding supported by ffmpeg?
[18:17:51 CET] <BluesKaj> what would be the best audio string to insert in this command?  card 0/hw:0 is the default in kubuntu system settings multimedia:  ffmpeg -r 30 -f v4l2 -video_size 720x480 -i /dev/video0 output.avi ...I'm trying to copy some old vhs tapes with a capture card and eventually burn them to dvd
[18:33:53 CET] <BluesKaj> BBL
[18:55:30 CET] <fatpelt> afternoon all!  i've got a command that will take 4 input udp streams and then stack them up into a 2x2 grid and display it.  i'm seeing that if i set all 4 incoming streams to the same dup input stream (by just specifying 4 copies of the one -i option) i see about 5 second delay between each image of 2x2 grid.  is there any way to get those synchronized?
[19:00:55 CET] <fatpelt> also, i'm seeing this a *ton* in my output.  i've tried to figure out what it means, but haven't found anything really conclusive:    "dts < pcr, TS is invalid"
[19:10:54 CET] <andrey_utkin> fatpelt, apparently ffmpeg command line util opens inputs sequentially and analyzes each stream for 5 sec. You'd need custom application using libavformat/libavcodec API which implements multithreading as you wish
[19:11:23 CET] <andrey_utkin> then you'd need to solve many questions, like what to do if one channel doesn't have data for presentation in time
[19:13:04 CET] <BluesKaj> andrey_utkin, any advice on my post above ?
[19:13:19 CET] <andrey_utkin> lemme look
[19:14:04 CET] <andrey_utkin> BluesKaj, don't quite get your question
[19:15:42 CET] <BluesKaj> andrey_utkin, I need to add audio capture to this string , what and where should it be placed "ffmpeg -r 30 -f v4l2 -video_size 720x480 -i /dev/video0 output.avi"
[19:16:40 CET] <BluesKaj> the video is captured just fine , but I also need the audio portion as well
[19:17:38 CET] <andrey_utkin> between "video0" and "output"
[19:17:50 CET] <andrey_utkin> insert "-f alsa -i default"
[19:17:56 CET] <andrey_utkin> or "-f pulse -i default"
[19:18:22 CET] <andrey_utkin> maybe you'd need also to add "-map 0 -map 1" if ffmpeg doesn't put both streams to output file
[19:19:18 CET] <BluesKaj> ok and where in the command should I insert  them
[19:19:38 CET] <furq> 18:17:38 ( andrey_utkin) between "video0" and "output"
[19:19:42 CET] <BluesKaj> does the sequence matter?
[19:19:48 CET] <llogan> you should probably use -framerate instead of -r with v4l2. i can't remember if it makes a difference or not, but that's what is listed in the AVoptinos for that input device
[19:19:59 CET] <BluesKaj> ok thanks . andrey_utkin
[19:21:19 CET] <BluesKaj> llogan, ok thanks, will do
[19:23:02 CET] <fatpelt> andrey_utkin: kk.   that's a bummer but good information to have
[19:24:52 CET] <fatpelt> any idea on the dts < pcr error?
[19:30:00 CET] <andrey_utkin> fatpelt, let's start with looking at full log together with command line
[19:44:11 CET] <whoever> looks as though my only option is divx for burned movie to play in a dvd player http://www.manualslib.com/manual/118178/Panasonic-Dvd-Rv22.html?page=5#manual
[19:44:17 CET] <whoever> or did i miss somethinag
[19:44:20 CET] <fatpelt> andrey_utkin: let me get a pastebin up
[19:49:52 CET] <fatpelt> andrey_utkin:  http://pastebin.com/DG3TMAP1
[19:58:41 CET] <andrey_utkin> well, "TS is invalid" is a problem at mpegts "file writer" (at last not reader). More than that, I can't help now. I don't even remember what PCR is and why this could happen
[19:58:54 CET] <andrey_utkin> in any uncrear situation, decrease complexity
[19:59:41 CET] <andrey_utkin> try "ffmpeg -f lavfi -i testsrc " and all your output flags (starting with "-c:v")
[20:00:21 CET] <andrey_utkin> then if thing still happens, drop some output flags and see how it works
[20:00:32 CET] <andrey_utkin> i don't know much about these flags and why you use them
[20:00:46 CET] <fatpelt> honestly i don't either.  most of them came from a coworker
[20:00:55 CET] <andrey_utkin> start with nothing
[20:01:18 CET] <andrey_utkin> ffmpeg -f lavfi -i testsrc -c libx264 out.mpegts
[20:01:27 CET] <andrey_utkin> then
[20:02:00 CET] <andrey_utkin> ffmpeg (inputs as you have them) -c libx264 out.mpegts
[20:08:43 CET] <fatpelt> ok. i see where you're going.  if i get the errors with that then there are issues with input.  if not, add back options till i see it
[20:15:23 CET] <jones___> is it possible that the sdp created my ffmpeg is not complete? playing it with ffplay gives me a "test.sdp: Invalid data found when processing input". although if i connect with ffplay rtp://127.0.0.1:1234 it works
[20:18:33 CET] <andrey_utkin> fatpelt: inputs seem ok
[20:18:53 CET] <andrey_utkin> Ah except for desync
[20:20:52 CET] <fatpelt> desync?
[20:21:12 CET] <fatpelt> i'm getting a different error now.  Past duration 0.999992 too large
[20:21:21 CET] <fatpelt> the original error is gone
[20:21:51 CET] <llogan> that's a warning, not an error
[20:23:34 CET] <fatpelt> may have been audio related.  i added -an and it seems to have subsided
[20:24:21 CET] <fatpelt> adn that's a significantly simpler command.  my output looks right (with the delay,, but right)
[20:28:33 CET] <fatpelt> so yesterday, someone pointed me at *stack instead of overlay.  i don't suspect, but would there be any problem with overlaying on top of the stack
[20:28:49 CET] <fatpelt> (they indicated that *stack was more efficient than overlay)
[20:29:02 CET] <BluesKaj> dts is digital theater systems audio , similar to dolby digital but less lossy
[20:29:20 CET] <fatpelt> and how does that relate to pcr?
[20:29:29 CET] <BluesKaj> dunno
[20:29:37 CET] <BluesKaj> :-)
[20:29:53 CET] <BluesKaj> my 2 cents
[20:33:57 CET] <jafa> MPEG2 data going through video decode where only the key frame has a PTS value... the video decode isn't assigning a PTS value so on the output I need to put in a PTS value based on the framerate. What is the best way to get the most up to date framerate (ie the framerate for the current group-of-pictures)?
[20:35:42 CET] <sagax> hi all!
[20:35:52 CET] <jones___> the command "ffmpeg -f rawvideo -pixel_format bgr24 -video_size 800x600 -framerate 25 -i tcp://localhost:8888 -c:v libx264 -pix_fmt yuv420p -f rtp -vf vflip -an rtp://localhost:81?listen" gives me the following sdp:
[20:35:53 CET] <jones___> v=0 o=- 0 0 IN IP4 127.0.0.1 s=No Name c=IN IP4 127.0.0.1 t=0 0 a=tool:libavformat 57.29.100 m=video 81 RTP/AVP 96 a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1
[20:36:07 CET] <jones___> but playing it with ffplay doesnt work. Protocol not on whitelist 'file,crypto'! test.sdp: Invalid data found when processing input
[20:36:09 CET] <jones___> any hints?
[20:36:46 CET] <jones___> same thing with a audio only rtp stream. but connecting to it with ffplay rtp://127.0.0.1:81 works
[20:37:03 CET] <sagax> how do i know what Format working with AudioCodec?
[20:37:17 CET] <sagax> for ffserver
[20:37:18 CET] <andrey_utkin> BluesKaj, dts is decoding timestamp
[20:38:56 CET] <jafa> ie how do I get the frmaerate associated with the group of pictures the frame is a member of? (rather than the initial detected framerate)
[20:40:25 CET] <BluesKaj> andrey_utkin, too many acronyms ! :-)
[20:49:55 CET] <sagax> what different format, codec, encode, decode
[20:50:38 CET] <J_Darnley> What?  I know all those words yet I don't understand.
[20:50:45 CET] <sagax> it's crazy, i writing configuration for ffserver and not understand what it all
[20:50:58 CET] <sagax> codec, format, decode
[20:51:00 CET] <sagax> example
[20:51:15 CET] <sagax> format MP3 and codec libmp3lame - working
[20:51:39 CET] <sagax> but if i wish other format? how do i change codec or encoder or decoder?
[20:52:05 CET] <llogan> sagax: i don't think anyone uses ffserver here. it is basically unmaintained. you're probably on your own.
[20:52:20 CET] <J_Darnley> I believe you do that by changing what's written in the config file.
[20:52:28 CET] <J_Darnley> also llogan has a good point.
[20:53:36 CET] <llogan> only thing i can suggest is 3 links: http://ffmpeg.org/ffserver.html http://ffmpeg.org/sample.html https://trac.ffmpeg.org/wiki/ffserver
[20:54:34 CET] <llogan> it is unfortunate that 99% of ffserver questions go unanswered. maybe i should submit a patch to remove it.
[20:54:38 CET] <sagax> ok, i trying read more,
[20:54:50 CET] <sagax> thanks
[20:56:16 CET] <llogan> or a user servey to see who uses it (successfully), what they use it for, and how they use it would be interesting
[20:56:30 CET] <J_Darnley> The users would respond.
[20:56:34 CET] <J_Darnley> *would not
[20:56:35 CET] <furq> if nothing else it should probably be removed from the wiki
[20:56:42 CET] <J_Darnley> ffserver users are silent
[20:56:50 CET] <J_Darnley> streaming users are silent
[20:57:07 CET] <furq> i wish they were silent
[20:57:07 CET] <J_Darnley> they all need to protect their secret sauce less the competition take it.
[20:57:17 CET] <furq> then i wouldn't have to listen to their worst possible human voices while they play old video games
[20:57:20 CET] <J_Darnley> The wannabe users are not silent
[20:57:35 CET] <J_Darnley> oh
[20:58:33 CET] <gnome1> or maybe they're happy and they don't ever need support of any kind, so they don't even know people are talking about ffserver
[20:58:47 CET] <furq> i find it unlikely that ffserver users never need support
[20:59:03 CET] <furq> but who knows
[20:59:12 CET] <furq> they are a mysterious bunch
[21:56:08 CET] <martin55> hi. I want to make a question and put code in  http://ffmpeg.pastebin.com/ but i get an error
[21:56:25 CET] <martin55> can u help me?
[23:28:46 CET] <llogan> martin5: it you're also martin55 then you should provide the actual url
[00:00:00 CET] --- Sat Mar 26 2016



More information about the Ffmpeg-devel-irc mailing list