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

burek burek021 at gmail.com
Sun Apr 19 02:05:01 CEST 2015


[00:28:38 CEST] <techtopia> anyone ever downloaded netflix videos with ffmpeg?
[00:30:37 CEST] <techtopia> on other streaming video sites, i would tell ffmpeg to open the m3u8 file, and have the m3u8 file edited to point to the key locally
[00:30:53 CEST] <techtopia> with netfilx i just have the video fragments and playready drm keys
[00:31:14 CEST] <techtopia> but can't get ffmpeg to stich it back together and decrypt it
[00:39:17 CEST] <__jack__> techtopia: just x11grab hum ?
[00:42:27 CEST] <techtopia> i don't want to do a screen cap __jack__
[00:42:46 CEST] <techtopia> i have the encrypted video and i have the key so i would like to decrypt it and dump it out to an mp4
[00:43:07 CEST] <techtopia> should be higher quality than a screen cap
[00:43:12 CEST] <techtopia> if i can get it to work
[02:03:47 CEST] <sim590> how do you remove from XX:XX:XX to YY:YY:YY of an audio file ? I've tried combinations of -to and -ss, but without success.
[02:04:08 CEST] <sim590> I want to remove segments of audio.
[02:08:08 CEST] <techtopia> i wouldn't use ffmpeg for it
[02:08:22 CEST] <sim590> techtopia: what would you use ?
[02:08:37 CEST] <techtopia> is the audio alone or muxed into a video?
[02:09:02 CEST] <techtopia> i make cuts with a program called video redo
[02:09:12 CEST] <sim590> it's audio only
[02:09:15 CEST] <techtopia> then encdoe video with ffmpeg and audio with besweet
[02:09:31 CEST] <sim590> Actually, I see that I can do -f concat -i filelist.txt -c copy joinedfile.mp3
[02:09:55 CEST] <techtopia> you want to join files?
[02:10:01 CEST] <techtopia> i thought you wanted to cut
[02:10:28 CEST] <sim590> I want to do this [======music-to-keep=====\\\\\cut-here\\\\\====music-to-keep=====]
[02:10:35 CEST] <techtopia> copy /b file1.mp3 + file2.mp3 fileout.mp3
[02:11:21 CEST] <sim590> concataning direclty like that won't break any header or I don't know ?
[02:11:34 CEST] <sim590> I thought it would be better if handled by ffmpeg..
[02:11:43 CEST] <techtopia> yeah ok
[02:11:53 CEST] <techtopia> your probably right
[02:14:17 CEST] <techtopia> so somthing like this
[02:14:19 CEST] <techtopia> ffmpeg -ss 00:00:00 -i inputfile.mp3 -ss 00:03:33 -acodec copy outputfile.mp3
[02:14:46 CEST] <techtopia> first -ss is start time and needs to be specified before the -i input file
[02:15:04 CEST] <techtopia> second one is the output and needs to be specified after the -i input file
[02:19:02 CEST] <sim590> techtopia: where is your command cutting ? I'm trying to understand.
[02:21:34 CEST] <techtopia> well your telling ffmpeg to open the inputfile at 00:00:00, in this case "inputfile.mp3" and you are telling it to write it back out until 00:03:33, by just copying the source to "outputfile.mp3"
[02:21:53 CEST] <techtopia> so then you just chane your start time and end time and repeat for all your cuts
[02:30:14 CEST] <sim590> ok. I've got all my cuts. I'm trying to join them with a fade between each cuts.
[02:32:41 CEST] <techtopia> i got know clue how to do that :p
[02:34:18 CEST] <sim590> thanks. I'll just do without. I've tried something. It faded out, but didn't fade in after...
[03:02:47 CEST] <Prelude2004c> hey everyone
[03:03:00 CEST] <Prelude2004c> anyone know how to basically copy the entire transport stream and push it out udp to another destination?
[03:03:07 CEST] <Prelude2004c> i have a transport stream with 4 differnet program id's
[03:03:14 CEST] <Prelude2004c> i want to just forward that to another location to process
[03:03:28 CEST] <Prelude2004c> i tried -acopy and -vcopy and it only seems to grab the first program id
[03:03:35 CEST] <c_14> Prelude2004c: did -map 0 not work?
[03:03:40 CEST] <Prelude2004c> how does one copy them all at once
[03:03:47 CEST] <Prelude2004c> no map 0 just put everything into program ID 1
[03:04:19 CEST] <Prelude2004c> i want to keep same original structure
[03:04:48 CEST] <c_14> maybe -map p ?
[03:05:37 CEST] <c_14> There's a short section on program ids here https://ffmpeg.org/ffmpeg.html#Stream-specifiers-1
[03:05:41 CEST] <c_14> not sure if that's helpful
[03:09:29 CEST] <Prelude2004c> yup, i can select one program at a time but then i have to basically create 4 ffmpeg sessions for 4 channels
[03:09:39 CEST] <Prelude2004c> i wanted to just copy everything and forward basically the UDP content on
[03:09:46 CEST] <Prelude2004c> without changing its structure
[03:11:48 CEST] <c_14> Selecting all the programs merges them together?
[03:33:10 CEST] <radio_guy> Hi - anyone here who can help me with a copyright issue? May be I discovered a ffmpeg related copyright infringement.
[03:54:08 CEST] <Prelude2004c> hey, anyone know the best way to get the UDP packets to a differnet place.. i have a direct fiber connect from one point to another and i am doin gffmpeg -i < input > -- copy copy -f mpegts udp://another destionaton
[03:54:20 CEST] <Prelude2004c> problem is while watching the video i see artifacts sometimes as in missing stuff
[03:54:27 CEST] <Prelude2004c> not sure why.. because its UDP ?
[03:54:41 CEST] <Prelude2004c> what is the best way to solve it ?
[03:58:11 CEST] <techtopia> it couldn't write the packets fast enough
[04:01:46 CEST] <Prelude2004c> write packets fast enough?
[04:01:48 CEST] <Prelude2004c> was that for me ?
[04:04:24 CEST] <techtopia> yeah
[04:06:01 CEST] <techtopia> i do a lot of network recording of transport streams
[04:06:24 CEST] <techtopia> if you have network congestion or set a second recording going you experience what you described
[04:06:27 CEST] <techtopia> [02:54:20] <Prelude2004c> problem is while watching the video i see artifacts sometimes as in missing stuff
[04:07:54 CEST] <Prelude2004c> hum.. its a direct fiber with 10 GIG link
[04:07:59 CEST] <Prelude2004c> point A > B
[04:08:15 CEST] <Prelude2004c> there is traffic on the link of course but... how much.. well not that much
[04:08:29 CEST] <Prelude2004c> any way to fix it ? can it be tcp intead .. or something
[04:35:17 CEST] <hazardous> hi, is it possible to set a custom keep-alive in the ffmpeg requests to a rtmpt server?
[10:57:53 CEST] <__jack__> techtopia: well, drm are made to make your life bored, I don't think you'll bypass it easily; x11grab can give you the best quality, if you've powerfull enough computer (quality == raw)
[19:08:24 CEST] <crised__> Any java wrapper around thisÇ
[19:08:26 CEST] <crised__> Ç
[19:08:43 CEST] <crised__> Any java wrapper around ffmpeg?
[19:50:52 CEST] <kate_12> Hi,
[19:51:40 CEST] <kate_12> I have a problem which I am sure many of you would have faced. I am using scale filter with -1 as height but it throws me the not divisible by 2 error. T
[19:52:07 CEST] <kate_12> Here is my command: ffmpeg -i video.mp4 -vf "scale:1280:-1" out.mp4
[19:52:26 CEST] <kate_12> Is there any workaround for this?
[19:52:38 CEST] <kate_12> I read about trunc()
[19:52:47 CEST] <kate_12> but I don't where to use it.
[19:55:53 CEST] <kate_12> hi hi
[19:55:54 CEST] <kate_12> anyone?
[20:09:28 CEST] <daggs1> greetings, got a question, I'm trying to capture my screen in a c file, the fmt I'm using is PIX_FMT_BGRA, but I keep getting this error when trying to caputre: [rawvideo @ 0x24c7aa0] Invalid buffer size, packet size 1228800 < expected frame_size 8294400, what is the proper way to set the packet size do it can hold the frame size?
[21:21:12 CEST] <omegas69> My ffmpeg build keeps crashing in windows.
[21:21:21 CEST] <omegas69> Just before the process starts.
[21:21:29 CEST] <omegas69> I get the ffmpeg.exe has stopped working message.
[21:25:26 CEST] <llogan> omegas69: where did you get the build? is it a recent one, or some ancient thing?
[21:26:20 CEST] <omegas69> It is a recent build. And everything was working fine, it stopped working all of a sudden,
[21:26:35 CEST] <omegas69> I'll share the command, give me a sec.
[21:27:40 CEST] <DeadSix27> anyone an idea what: http://pastie.org/private/mjoh3zqmtaokoas8fdra
[21:27:41 CEST] <DeadSix27> means?
[21:28:04 CEST] <omegas69> ffmpeg -i 3.mp4 -i 1.mp4 -i 2.mp4 -filter_complex "[0:v]fade=t=out:st=2:d=0.5[v0];[1:v]fade=t=in:st=0:d=0.5,fade=t=out:st=2:d=0.5[v1];[2:v]fade=t=in:st=0:d=0.5,fade=t=out:st=2:d=0.5[v2];[v0][v1][v2]concat=n=3:v=1:a=0,format=yuv420p[v]" -map [v] -c:v libx264 -y out.mp4 2>log.txt
[21:28:37 CEST] <omegas69> In the console, the app crash message pops up right before the process starts
[21:28:48 CEST] <DeadSix27> http://pastie.org/private/t3ngovq4grd9fzvaelgea
[21:28:54 CEST] <omegas69> After the stream start message
[21:34:15 CEST] <llogan> omegas69: so you're saying there is no console output at all?
[21:34:46 CEST] <Prelude2004c> hey guys.. been struggling with ffmpeg quality issues for a few weeks. I am in need of some assistance. I would like to pay someone who is very familiar with video quality outputs and knows how to tune ffmpeg to reach the desired output of some live streams. Please let me know if anyone here is interested.
[21:36:13 CEST] <omegas69> Here is it:
[21:36:14 CEST] <omegas69> http://pastebin.com/nQJU465j
[21:36:18 CEST] <llogan> Prelude2004c: can you explain in more detail of what you're doing?
[21:36:36 CEST] <llogan> omegas69: your command is missing. they should be in the same paste
[21:37:32 CEST] <omegas69> there you go
[21:37:32 CEST] <omegas69> http://pastebin.com/WTuz1Ud9
[21:38:35 CEST] <llogan> omegas69: that's an old build
[21:38:57 CEST] <omegas69> Could you give me the link to the latest build?
[21:39:09 CEST] <llogan> http://ffmpeg.zeranoe.com/builds/
[21:39:12 CEST] <omegas69> What's bothering me is, this command was working fine an hour ago.
[21:39:33 CEST] <llogan> what is telling you that "ffmpeg has stopped working"?
[21:40:45 CEST] <omegas69> windows
[21:40:51 CEST] <omegas69> ffmpeg.exe has stopped working
[21:41:37 CEST] <llogan> i don't know much about windows. only think i can recommend is a recent build and do the usual Windows thing of rebooting
[21:42:11 CEST] <omegas69> yeah. thanks, llogan!
[21:42:17 CEST] <omegas69> appreciate it.
[21:42:38 CEST] <llogan> if it continues to misbehave maybe it can be narrowed down after you try that
[21:42:57 CEST] <omegas69> what should be my next step if that fails?
[21:43:12 CEST] <llogan> what has changed since an hour ago?
[21:43:27 CEST] <llogan> does any command cause the issue? certain inputs?
[21:43:48 CEST] <llogan> how do you know ffmpeg has actually "stopped"?
[21:44:02 CEST] <llogan> what if you simplify the command until you find the culprit?
[21:44:04 CEST] <omegas69> well, I scaled down these input files and then it started happening.
[21:44:18 CEST] <omegas69> it was working fine before the scaling.
[21:44:42 CEST] <llogan> does it work on another computer?
[21:45:13 CEST] <omegas69> the console has no output whatsoever, what I sent you was logged into the log.txt file using stdio stream.
[21:45:29 CEST] <omegas69> as soon as I hit enter in the cmd, it crashes and I get that message from windows.
[21:45:38 CEST] <omegas69> I do not have access to any other computer for now.
[21:46:19 CEST] <llogan> did it actually create a working output file?
[21:46:40 CEST] <omegas69> Yeah, but the size of that file was only a few bytes
[21:48:09 CEST] <llogan> i don't know...try my crappy recommendations first.
[21:49:39 CEST] <omegas69> I'll do that. Appreciate your help. I actually came here hoping to get a solution from you. Someone specifically recommended llogan at ffmpeg channel. :p
[21:49:54 CEST] <llogan> sorry to dissapoint.
[21:50:33 CEST] <petrvs> what would you do to extract dvd subs, -c:s copy foo.vob ?
[21:51:14 CEST] <omegas69> I am not disappointed. I was actually appreciating your quick response.
[21:51:15 CEST] <omegas69> Thanks.
[21:51:20 CEST] <omegas69> I am gonna go and try
[21:52:57 CEST] <petrvs> llogan: what'd you disappoint him with? :p
[21:53:16 CEST] <llogan> not having an answer. Windows.
[21:53:36 CEST] <llogan> also i have a slight hanover stupor
[21:53:37 CEST] <petrvs> what'd he want?
[21:53:41 CEST] <petrvs> :)
[21:54:10 CEST] <llogan> windows is telling him "ffmpeg has stopped working".
[21:54:39 CEST] <llogan> i recommended getting a recent build and rebooting. seems like a Windows solution to me.
[21:55:15 CEST] <petrvs> ah, yeah
[21:55:19 CEST] <petrvs> hate using windows
[21:55:21 CEST] <petrvs> so unreliable
[21:56:22 CEST] <petrvs> how would I specify a stream is the "english" audio track, or the "english" subtitle file?
[21:57:05 CEST] <petrvs> -metadata:s:s:# language=foo for subtitles?
[21:57:11 CEST] <petrvs> and for audio... -metadata:s:a?
[21:57:16 CEST] <llogan> yes, i think so
[21:57:39 CEST] <petrvs> that first s was throwing me off :) thanks
[21:57:43 CEST] <petrvs> will try
[21:57:46 CEST] <llogan> i think there is a zample in the docs
[21:58:27 CEST] <petrvs> trouble was I was only finding a sample for one or the other, and the s was confusing me, think I've decoded it in my head now
[21:58:30 CEST] <petrvs> will see in a mo
[21:58:43 CEST] <llogan> the first s is stream. otherwise it would set to global, IIRC
[22:05:49 CEST] <llogan> ffmpeg -f lavfi -i testsrc=d=5 -metadata creation_time=now time.mp4 && ffmpeg -i time.mp4
[22:06:01 CEST] <llogan> anyone else get a weird time? in my case it's creation_time   : 2036-02-06 06:28:16
[22:08:31 CEST] <klaxa> i have the same timecode
[22:08:42 CEST] <klaxa> >creation_time   : 2036-02-06 06:28:16
[22:08:47 CEST] <klaxa> version 2.6.1
[22:08:58 CEST] <klaxa> it's not the latest git HEAD
[22:09:08 CEST] <llogan> it must be when the world ends
[22:09:18 CEST] <petrvs> undoubtedly
[22:10:08 CEST] <klaxa> i'll try with the latest git
[22:10:19 CEST] <klaxa> will take a while to compile
[22:10:25 CEST] <c_14> I have ditto with ed2a712
[22:16:13 CEST] <llogan> appending "Z" apparently doesn't change a thing. http://ffmpeg.org/ffmpeg-utils.html#Date
[22:16:25 CEST] <llogan> <--- too lazy to look into it more
[22:18:37 CEST] <petrvs> so ffmpeg doesn't do .idx & .sub files?
[22:18:45 CEST] <petrvs> for extraction or inclusion?
[22:19:29 CEST] <petrvs> or would it take -i foo.sub and I can omit the .idx?
[22:19:42 CEST] <llogan> 2**32 secs from 1900/01/01 - 00:00:00 GMT
[22:34:00 CEST] <klaxa> my toaster finished compiling, same results with latest git
[22:34:35 CEST] <llogan> welcome to 2015.
[22:34:57 CEST] <llogan> wot CPU?
[22:35:26 CEST] <klaxa> >Intel(R) Core(TM)2 Duo CPU     U9600  @ 1.60GHz
[22:35:33 CEST] <llogan> anyway, bug reported. thanks for testing y'all.
[22:35:59 CEST] <klaxa> i'm trying to get a new laptop by the end of the month
[22:36:17 CEST] <klaxa> working on hardware from 2009 just doesn't cut it anymore
[22:36:27 CEST] <llogan> what will you get? i still use an old netbook on occassion.
[22:37:35 CEST] <klaxa> i'm not entirely sure yet, but it will have to have an i7, at least 8 gb ram and an ssd
[22:46:03 CEST] <Prelude2004c> hey llogan, sorry for the delay
[22:46:15 CEST] <Prelude2004c> i am taking a live feed and transcoding it to HLS
[22:46:28 CEST] <llogan> you lost me at live and then at HLS
[22:46:37 CEST] <Prelude2004c> lol
[22:46:46 CEST] <Prelude2004c> taking an over the air feed and transcoding it into HLS segments
[22:46:52 CEST] <Prelude2004c> h264
[22:46:52 CEST] <llogan> i'm not much of a straming user
[22:46:57 CEST] <Prelude2004c> oh
[22:47:10 CEST] <Prelude2004c> ya i need someone who is good at streaming
[22:47:17 CEST] <llogan> x264 with VBV
[22:47:26 CEST] <Prelude2004c> yup.. variable
[22:47:31 CEST] <Prelude2004c> 5 - 6 Mbit/s
[22:47:51 CEST] <Prelude2004c> i can't seem to get the quality right.. i have tried soo many different things
[22:48:02 CEST] <Prelude2004c> i have a link of someone who is doing it for much less bit rate it seems
[22:48:05 CEST] <Prelude2004c> and the quality is amazing
[22:48:08 CEST] <Prelude2004c> i dont know how they do it
[22:48:20 CEST] <Prelude2004c> http://ams-lp3.9c9media.com/hls-live/livepkgr/_definst_/liveeventNoDRM/cp24Open8.m3u8
[22:48:22 CEST] <llogan> can you ask them?
[22:48:24 CEST] <Prelude2004c> open up taht in vlc
[22:48:28 CEST] <Prelude2004c> no i dont know who put it up
[22:50:28 CEST] <llogan> lots of static stuff. do you have similar content?
[22:51:20 CEST] <Prelude2004c> yup similar
[22:53:35 CEST] <llogan> sounds like you're re-encoding a lossy input
[22:53:45 CEST] <Prelude2004c> lossy input ?
[22:53:59 CEST] <llogan> "transcoding a live feed"
[22:54:09 CEST] <Prelude2004c> yup
[22:54:20 CEST] <llogan> i'm assuming it is already somewhat crappy looking before you do anything?
[22:54:28 CEST] <Prelude2004c> no, its pretty clear
[22:54:43 CEST] <Prelude2004c> the source is the same
[23:02:58 CEST] <Prelude2004c> so what is the best way to find the right person to help ?
[23:03:22 CEST] <llogan> you can try the ffmpeg-user mailing list
[23:03:27 CEST] <llogan> or wait here
[23:04:45 CEST] <Prelude2004c> how do i get the ffmpeg-user mailng list
[23:04:49 CEST] <Prelude2004c> do you know what it is ?
[23:04:58 CEST] <llogan> http://ffmpeg.org/contact.html
[23:07:46 CEST] <seasc> Heyas, when i want to stream my screen (linux) to a friend over the internet, do i need to have librtmp enabled with ffmpeg?
[23:08:01 CEST] <llogan> ffmpeg has native rtmp support
[23:09:17 CEST] <seasc> my ffmpeg doesnt report any --enable-rtmp (or librtmp)
[23:09:42 CEST] <llogan> ffmpeg -protocols
[23:11:30 CEST] <seasc> thanks logan, so i could 'leave' this out when compiling ffmpeg and it should still support rtmp? Just to be sure.
[23:11:47 CEST] <llogan> yes
[23:11:57 CEST] Action: seasc dances
[23:12:45 CEST] <seasc> i am music now... **sing sing*
[00:00:00 CEST] --- Sun Apr 19 2015


More information about the Ffmpeg-devel-irc mailing list