[00:12] <stonie_> hello all.. i have a mxf mpeg file with 8 mono audio channels... i need it in stereo.. to have channels 1 and 3 as left and right. how can i do that? [00:18] <llogan> stonie_: probably pan=stereo:FL=FL:FR=FR [00:19] <llogan> oh..1 and 3 [00:19] <llogan> you'll ahve to modify that example [00:19] <llogan> pan=stereo:c0=c1:c1=c2 [00:19] <stonie_> can i define the channel numbers? [00:20] <stonie_> ah ok thanks ill try that soon [00:20] <llogan> see "man ffmpeg-filters" if i'm wrong. [00:20] <stonie_> aye tyvm [01:13] <wacomcito> hi :) [01:14] <wacomcito> my cron daemon don't run a ffmpeg command line. no error, no warning... but if i run the script in bash works perfectly. [01:15] <wacomcito> it's ffmpeg ungry with cron? [01:15] <wacomcito> xDDD [02:01] <relaxed> wacomcito: how are you running it? [02:02] <wacomcito> fron a /bin/sh with root [02:02] <wacomcito> and i all this script from cron [02:02] <wacomcito> call [02:03] <wacomcito> but don't work. [02:03] <wacomcito> ffmpeg not launched, no error, no warnings.. [02:03] <wacomcito> command line: 02 2 * * * /usr/local/bin/ffmpeg -i /var/www/gup/gup-template/procesando/Insiduos_2.avi /dev/null 2>&1 [02:05] <wacomcito> crontab line. [02:07] <wacomcito> syslog -> CRON[13966]: (root) CMD (/usr/local/bin/ffmpeg -i /var/www/gup/gup-template/procesando/Insiduos_2.avi /dev/null 2>&1) [02:07] <wacomcito> no more info... [02:07] <wacomcito> but no ffmpeg proccess. [02:08] <wacomcito> [relaxed] any ideas [02:08] <wacomcito> ? [02:25] <another> wacomcito: check if /dev/null is a video file now [02:26] <wacomcito> xDDDDDD [02:27] <another> the way i experienced /dev/null is, you don't want to overwrite it [02:27] <another> ah forget that [02:28] <wacomcito> xDDD [02:28] <wacomcito> mmm [02:29] <wacomcito> a bulb shine over my head.! [02:29] <wacomcito> thanks another [02:30] <another> ? hokay. [02:47] <wacomcito> well the problem was the space between words in filename. [02:48] <wacomcito> i trate this with " in route file... [02:48] <wacomcito> but not works. [02:49] <wacomcito> may be cron sh enviroment? [03:40] <relaxed> wacomcito: put the command in a script or use "ffmpeg -i input .... output </dev/null" [03:42] <relaxed> because, I think, ffmpeg expects keyboard input [04:26] <llogan> wacomcito: use -y as a global option and ffmpeg wil need -f as an output option to tell it the output format for /dev/null [04:41] <gueb> good night [06:14] <anshul> what is the purpose of writing movie in naming input -i "movie=test.avi[out0]" [06:55] <relaxed> anshul: I think it's used for ffplay [06:57] <anshul> i am using it like this ffmpeg -f lavfi -i "movie=/home/anshul/work/Project/cc_ext/test_5sec.ts[out0+subcc]" -map v frame%08d.png -map s -c copy -f rawvideo subcc.bin [06:58] <anshul> but i If i dont add movie i get following error [lavfi @ 0xa714d60] No such filter: '/home/anshul/work/Project/cc_ext/test_5sec.ts' [07:00] <relaxed> are you hard subbing? [07:02] <relaxed> "-vf movie=input" was used before -filter_complex was created. The latter allows use to use multiple inputs instead of specifying them in the filter chain, example: ffmpeg -i input1.mkv -i input2.mkv ... [07:04] <relaxed> whereas before you used: ffmpeg -i input1.mkv -vf "movie=input2.mkv,..." [07:06] <anshul> do you mean that movie is used when we want to specify two input [07:07] <relaxed> yes, but -filter_complex is the recommended way now. [07:07] <anshul> I am not trying to hard subbing. [07:08] <anshul> ffprobe -filter_complex "movie=/home/anshul/work/Project/cc_ext/test_5sec.ts[out0+subcc]" [07:08] <anshul> the above command does not work [07:08] <anshul> it says Failed to set value 'movie=/home/anshul/work/Project/cc_ext/test_5sec.ts[out0+subcc]' for option 'filter_complex': Option not found [07:09] <relaxed> explain what you're trying to do [07:12] <anshul> http://pastebin.com/wPAy8hNz [07:12] <anshul> Actually i was trying to find out whether the stream contain closed_caption or not [07:13] <relaxed> try, ffprobe -show-streams input [07:14] <anshul> Using libav I was able to do it successfully, one day nicolas made patch for me so that using ffprobe i can check whether stream contain closed caption or not [07:14] <relaxed> er, -show_streams [07:15] <relaxed> ffprobe and a small amount of scripting would work [07:15] <anshul> there will be no useful output of that since closed_caption are interlaced inside the video [07:15] <anshul> mean those subtitle are there in video streams [07:16] <relaxed> Stream #0:1: Subtitle: cea_708 <-- closed caption subs [07:17] <relaxed> so ffprobe or ffmpeg will show them [07:17] <anshul> see output for same video http://pastebin.com/TKBp6W7G [07:18] <anshul> cea_708 is shown when i use -f lavfi -i "movie=/home/anshul/work/Project/cc_ext/test_5sec.ts[out0+subcc]" [07:20] <anshul> My goal is to understand what i am doing, just now i am running the command given to me by nicolas [07:20] <relaxed> what about -show_format? [07:21] <relaxed> can you put this video up somewhere? [07:23] <anshul> http://pastebin.com/9LU3NwdJ show_format [07:24] <anshul> video alone might not help you, you have to also patch the latest git of yours and compile your source code [07:26] <relaxed> humor me [07:26] <SirCmpwn> I'm using ffmpeg to encode videos for playback in the browser [07:26] <SirCmpwn> however, there's a weird decoding issue sometimes [07:27] <SirCmpwn> really weird interlacing shows up, but only when the video's not in full screen (@1920x1080) [07:27] <SirCmpwn> example: https://mediacru.sh/ZUkpscG0k5jj [07:28] <anshul> https://docs.google.com/nonceSigner?nonce=9huu8vt278722&continue=https://doc-00-1k-docs.googleusercontent.com/docs/securesc/8j0msh0v6le2ftghplb15drolh847p6t/m016o7prufb86nguglhkjqm0o9ruh4qv/1394776800000/13387300583993136249/13387300583993136249/0B4sMK9Wz9oX3cDRHdko1eldTczQ?e%3Ddownload%26h%3D16653014193614665626&hash=jd1jf9n2v0jde7sptr9n0qsrojq36vja [07:29] <SirCmpwn> how about a URL that doesn't need wrapping to display fully [07:31] <anshul> https://drive.google.com/file/d/0B4sMK9Wz9oX3cDRHdko1eldTczQ/edit?usp=sharin... [07:33] <anshul> patch 1 https://drive.google.com/file/d/0B4sMK9Wz9oX3MXpNbmdSbzVKTHc/edit?usp=sharin... [07:33] <anshul> patch 2 https://drive.google.com/file/d/0B4sMK9Wz9oX3aEc3blgxd0FvNXc/edit?usp=sharin... [07:34] <anshul> relaxed, i have uploaded all three things [07:36] <anshul> SirCmppwn I think search something similar in track, if nothing found then you should place your bug report with ffmpeg command [07:37] <anshul> SirCmppwn, I am unable to find plugin for your media file in browser [07:38] <anshul> Is behaviour same when you try to play that video using ffplay [07:40] <anshul> relaxed, what is the use of out0 in input [08:07] <relaxed> anshul: They're labels. Have you looked at http://ccextractor.sourceforge.net/ ? [08:09] <anshul> yes, I am trying to intigrate ffmpeg in cc_extractor [08:11] <anshul> relaxed, what is the use of labels? [08:12] <anshul> What purpose is the out0 solving [10:47] <benimnetz> hi everybody. i am seeking a bit of assistance in compiling ffmpeg 2.1.4 on centos 6.5 [10:50] <benimnetz> i largely followed this guide: https://trac.ffmpeg.org/wiki/CentosCompilationGuide [10:53] <relaxed> what's the problem? [10:54] <relaxed> benimnetz: ^^ [10:58] <benimnetz> the i only need a subset of ffmpegs function so i only --enable-opus --enable-libx264 [10:59] <benimnetz> sorry was preparing a pastebin [10:59] <benimnetz> configure gives me ERROR: libx264 not found [11:00] <benimnetz> here a pastebin regarding my problem: http://pastebin.com/DHE39G5p [11:08] <axys^> is vp9 multithreaded yet ? [11:08] <JEEB> depends on if you're talking about decoding or encoding [11:08] <axys^> encoding [11:08] <JEEB> no [11:09] <JEEB> libvpx is still single-threaded with vp9 encoding [11:09] <axys^> also while encoding the fps cosntantly drops [11:09] <axys^> I get from 30fps to 0.1fps [11:09] <relaxed> benimnetz: did you install libx264 git using $HORNET_PREFIX ? [11:10] <JEEB> axys^, yes - it's slow as hell [11:11] <spaam> still slow? =/ [11:12] <benimnetz> zes [11:12] <benimnetz> yes i did [11:14] <benimnetz> for example pkg-config --cflags x264 gives -I/home/bgeese2s-local/hornet_dist/include [11:14] <relaxed> pastebin.com the bottom of config.log [11:17] <benimnetz> http://pastebin.com/vkfUtyEZ [11:18] <relaxed> add -ldl to ldflags [11:18] <relaxed> --enable-fdflags"-ldl -L...." [11:19] <benimnetz> give me second [11:19] <relaxed> s/fdflags/ldflags/ [11:21] <benimnetz> Unknown option "--enable-ldflags" do you mean --extra-ldflags ? [11:21] <relaxed> yes, sorry [11:22] <benimnetz> ok cool, that seems to help! [11:22] <relaxed> llogan: https://trac.ffmpeg.org/wiki/CentosCompilationGuide needs --extra-ldflags="-ldl ..." for libx264. [11:23] <relaxed> oh, I see you have it as --extra-libs="-ldl" [11:23] <axys^> I wonder if there is some active development on multithreading the vp9 encoder [11:24] <relaxed> llogan: maybe a blurb in the x264 section mentioning --extra-libs="-ldl" is required for it. [11:25] <JEEB> axys^, #vp8 would be the channel for that, but so far it seems like multithreading is not on their list of things to do [11:26] <benimnetz> thanks relaxed for the fast help, in the pastebin you can see the commands i used [11:27] <axys^> isn't youtube already streaming vp9 videos ? [11:28] <JEEB> yes, but for them multithreading is just an extra :P Also I think only some clips get encoded as VP9 [11:28] <JEEB> also it's not streaming [11:28] <JEEB> it's just reading already encoded data via http [11:28] <JEEB> because VP9 definitely isn't usable for streaming purposes yet [11:30] <axys^> hm, with all the fuss around 4k TVs I would have expected them to focus more on this aspect [11:31] <axys^> I mean it's almost impossible to encode a 480p video, 4k is out of the question [11:32] <JEEB> well, at least the HEVC implementations seem OK, preset placebo at 720p gives me around 0.4fps. Which is already much faster than libvpx's vp9 [11:32] <JEEB> although neither libvpx's VP9 or libx265's HEVC still have as much visual optimizations as libx264 [14:39] <theholyduck> JEEB, have they gotten aroudn to adding mulithtreading to libvpx vp9 yet? [14:39] <theholyduck> cause the last time i tried, it hasnt [14:40] <theholyduck> lol 14 hours to encode a 3000 frame video [14:41] <theholyduck> means it did 3.5 frames a Minute :P [14:41] <spaam> shit [14:41] <spaam> that is really slow [14:41] <spaam> when did they release vp9 ? in november+ [14:44] <ubitux> 14 hours for 3k frames [14:44] <ubitux> that's actually pretty good [14:44] <ubitux> it took several days for an HD encode of 5k frames last time [14:45] <sacarasc> That is crazy. [15:46] <onefix_work> How can I reencode an MPEG-TS stream without having audio sync problems when I get dropouts? [15:48] <klaxa> what? [15:51] <onefix_work> I have an MPEG-TS stream (from a TV source) that will occasionally have a garbled frame. If I play it in realtime, I see garbage in the video sometimes, but it's always in sync. I would like to reencode it to an MPEG4 while keeping the audio in sync...probably keep it from dropping frames [15:53] <jarainf> onefix_work, seems like you want to ivtc the transport stream. Use -vf "fieldmatch, decimate" to do so. [15:53] <onefix_work> OK, thanks\ [15:54] <jarainf> If there are still some interlaced frames you can try adding yadif=deint=1 between fieldmatch and decimate [15:54] <klaxa> oh that might actually be what he means [15:54] <klaxa> i thought something like transmission errors in the payload [15:57] <onefix_work> right [18:04] <albator> hello [18:04] <albator> i m facing a strange issue. [18:06] <albator> so I wanted to setup nginx php auth [18:07] <albator> and it worked fine using open caster or flash media encoder [18:07] <albator> when I put the same string in the rtmp url , but using ffmpeg [18:07] <albator> it basically shutdown the whole server [18:07] <albator> ffmpeg -i file -c copy - f flv rtmp-server/path&user=xx&pass=xxx [18:08] <albator> without the auth & , no issue ofc [18:18] <Wzee> Hello, I'm hoping someone is able to fill me in on how I can demux a live sliding .m3u8. Starting from the first segment inside the playlist? I've tried ffmpeg -ss 0 -i http://localhost:8888/master.m3u8 -ss 0 -f image2 -vsync 0 path/%02d.jpg [18:32] <llogan> relaxed: feel free to add it. unfortunately i've been neglecting that particular guide lately. [22:01] <albator> absolutely no hint on my issue? :( [22:49] <relaxed> albator: no, but did you single quote the url? [22:50] <albator> nop [22:50] <relaxed> llogan: NO U [23:16] <albator> works with " " yes [23:16] <relaxed> my work here is done [23:40] <relaxed> llogan: done [23:52] <llogan> relaxed: thanks. i made it into a "fancy note". maybe i'll do the same for the rest of the libraries sometime and de-noteize them. [00:00] --- Sat Mar 15 2014
participants (1)
-
burek