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

burek burek021 at gmail.com
Fri Apr 8 02:05:01 CEST 2016


[00:01:59 CEST] <durandal_1707> what?
[00:04:30 CEST] <bergeron37> Is there a way to know when the segment muxer is done with a file?
[00:05:36 CEST] <bergeron37> My thought is to have it save the files to a particular directory and maybe watch that directory for changes using watchdog in python, but that doesn't feel particularly great
[00:11:45 CEST] <c_14> The segment muxer is done with a file when it starts with the next one.
[00:11:48 CEST] <c_14> Why do you care?
[00:14:33 CEST] <bergeron37> @c_14 I care because once that file is no longer being modified, I want to do something with it
[00:15:37 CEST] <bergeron37> My best solution right now is to watch the directory where the files are being saved and doing something with the file that was modified before the file that was just created
[00:16:17 CEST] <Tiago_> durandal_1707: When i set a callback function for locking (CRYPTO_set_locking_callback), i usually tested like: if(mode & CRYPTO_LOCK)
[00:16:24 CEST] <Tiago_> now the CRYPTO_LOCK seems to not be defined
[00:20:42 CEST] <c_14> bergeron37: either that, or use a segment_list and watch that. ffmpeg will replace the file every time a file is finished writing and the last entry in the list will be the finished file.
[00:21:54 CEST] <bergeron37> @c_14: I might like that better than just watching some arbitrary directory. I'll look into it. Thanks!
[00:23:28 CEST] <c_14> Just to clarify, you can't just run tail on the file because the file is atomically replaced with rename instead of appended to.
[00:25:59 CEST] <mxisaac> anyone have a workflow for doing distributed encoding over a network?
[00:27:00 CEST] <mxisaac> i deal with batch transcoding at a post production facility, and I'm trying to figure out how to distribute the transcode to our network of 20 computers.
[00:28:14 CEST] <c_14> chop the input up by keyframe, remove audio, scatter, encode, reduce, add audio
[00:30:21 CEST] <mxisaac> hmm, would need to preserve timecode too.
[00:30:42 CEST] <mxisaac> maybe that can be striped back in.
[00:30:45 CEST] <c_14> preserve timecode?
[00:30:54 CEST] <mxisaac> 05:21:01:22
[00:31:07 CEST] <c_14> What is that? duration?
[00:31:27 CEST] <c_14> Is it metadata, or?
[00:31:58 CEST] <mxisaac> It's probably metadata. Each frame assigned a number.  It's more commonly now just the time of day.
[00:32:41 CEST] <mxisaac> So the video would start at HH:MM:SS:ff (Hours, Minutes, Seconds, Frames)
[00:32:50 CEST] <bergeron37> @c_14 thanks!
[00:33:59 CEST] <c_14> If it's the PTS, you can use -copyts if it's stream metadata you can map that from the source file during the final concat
[00:51:38 CEST] <mxisaac> hmm not familiar with -copyts, lemme read more about it
[00:51:43 CEST] <TAFB> Hey folks :) I'm trying to use ffmpeg to stream a mp4 file from my computer to a nginx rtmp re-streaming server. The video file is 25fps but after it has been streaming for a minute or two the frame rate drops down to 23fps or so, which causes my viewers to run out of buffer (using VLC player for example). So every few minutes VLC player will pause while the buffer fills back up then continue
[00:51:43 CEST] <TAFB> playing for a few minutes, then pause and wait for the buffer again. Pretty annoying :(
[00:51:53 CEST] <TAFB> I'm using this commandline: ffmpeg -i "source_video.mp4" -c copy -f flv rtmp://myserver.com/myapp/mystream
[00:52:16 CEST] <furq> er
[00:52:16 CEST] <TAFB> I tried with the recommended -re switch but then it's even worse, streaming at around 19fps so it runs out of buffer lots :(
[00:52:25 CEST] <furq> i don't see how that's working without -re
[00:52:50 CEST] <furq> unless you're bandwidth limited
[00:55:04 CEST] <TAFB> I should be. The stream is bitrate=2473.9kbits/s and my isp upload is 10mbps and I've tested my connection to the nginx-rtmp server at around 8.5mbps using winscp sftp upload.
[00:55:09 CEST] <TAFB> i shouldn't be :)
[00:56:01 CEST] <TAFB> if I could somehow force ffmpeg to spit out 26fps then it would probably solve the problem
[00:56:52 CEST] <mxisaac> thanks @c_14
[00:57:29 CEST] <petecouture> TAFB: It sounds like you need to create a 30 second window for playback
[00:57:40 CEST] <petecouture> I believe you'll need to run ffserver in front of ffmpeg to do that.
[00:57:54 CEST] <furq> no
[00:58:01 CEST] <furq> please don't tell people to use ffserver
[00:58:03 CEST] <TAFB> never heard of ffserver before :D
[00:58:14 CEST] <furq> you should keep it that way
[00:58:31 CEST] <petecouture> furq: Isn't that how you handle sliding windows in ffmpeg?
[00:58:40 CEST] <petecouture> and MBR
[00:59:07 CEST] <TAFB> ffserver work on windows?
[00:59:17 CEST] <furq> i don't think ffserver is how you handle anything other than wasting an afternoon on broken unmaintained software
[01:00:08 CEST] <furq> fortunately i don't think it works on windows anyway
[01:00:34 CEST] <petecouture> hmm good to know. My understanding was ffserver is needed to do both slidingwindows/DVR and also to create MBR m3u8's
[01:00:36 CEST] <furq> TAFB: i've used that exact command (plus -re) to stream to nginx-rtmp a bunch of times and it works fine
[01:00:51 CEST] <TAFB> ok, I'll try -re again, brb
[01:00:51 CEST] <furq> so i assume there's some non-ffmpeg problem
[01:01:00 CEST] <petecouture> TAFB what's your encoding setting?
[01:01:07 CEST] <furq> it shouldn't work at all without -re, it ought to be streaming as fast as it can decode
[01:01:18 CEST] <petecouture> make sure -re is at the output end and not the input end TAFB
[01:01:20 CEST] <furq> so there's obviously some external limitation
[01:02:35 CEST] <TAFB> petecouture: could you give me an example command line based on the one I posted?
[01:02:49 CEST] <furq> put -re before -i
[01:02:55 CEST] <furq> that's it
[01:02:59 CEST] <petecouture> err
[01:03:12 CEST] <TAFB> furq: my ISP has been having problem with my cable modem upload (dropping packets) so that might explain the issue.
[01:03:21 CEST] <furq> that sounds like cable
[01:04:06 CEST] <petecouture> TAFB: Is it your home line? I've noticed Timewarner has been getting fussy with me streaming a satalite outta my house lately.
[01:04:29 CEST] <TAFB> yep, my home isp (I'm in Canada) :)
[01:04:42 CEST] <TAFB> with the -re switch VLC player studders almost constantly
[01:05:45 CEST] <furq> can you install nginx-rtmp on localhost/lan and see if it has the same issue
[01:06:00 CEST] <TAFB> if it can run on windows, sure.
[01:06:17 CEST] <furq> nginx can
[01:06:42 CEST] <furq> now you get to experience the joy of cross-compiling
[01:06:50 CEST] <TAFB> nice. I could tell ffmpeg to re-encode the stream at a lower bitrate and see if that helps (to see if it's a bandwidth issue).
[01:07:07 CEST] <furq> yeah, or use a lower-bitrate source file
[01:07:23 CEST] <TAFB> ahhhh, I can do that! 1 sec :D
[01:12:45 CEST] <TAFB> seems to be streaming a slightly lower bitrate file like a champ, no hesitation in vlc player yet
[01:13:39 CEST] <furq> fwiw i can stream 6mbit fine with 10mbit cable upload
[01:13:56 CEST] <furq> so if you can't manage 2.5mbit then something's wrong
[01:14:08 CEST] <Tiago_> https://www.openssl.org/docs/man1.0.1/crypto/CRYPTO_set_locking_callback.html
[01:14:23 CEST] <Tiago_> how I can know how to port the locking code to newest version?
[01:22:28 CEST] <TAFB> furq: yeah, hopefully they fix my internet before the weekend :)
[04:30:22 CEST] <balrog> hi all
[04:30:30 CEST] <balrog> why would avformat_open_input() return EINPROGRESS?
[05:32:00 CEST] <TAFB> i need some serious help :( for 3 days I've been trying to get a smooth uploading streaming, nothing is working. I'm 100% sure it's not upload bandwidth. I just tried HLS streaming and I see it download a big chunk, then my internet connection sits there and does nothing and it gets to the end of the chunk and sits there for a few seconds, THEN downloads the next chunk. Complete joke :(
[05:33:05 CEST] <TAFB> What I'm doing is capturing a live .flv and re-streaming it (so it'll be like 60 seconds behind) which should be TONS of buffer but ffmpeg only uploads it at 25fps (same as the video file), so the nginx rtmp streamer never "gets ahead"
[05:33:43 CEST] <TAFB> so if you know of a good solution I can a) run on windows to stream the .flv file live to b) some re-streaming software that runs on my ubuntu vps server.
[05:35:29 CEST] <Prelude2004c> hey guys.. quick question.. i have a mpegts source that has a video and two audio pids. ( eng  and san [described video]), i am encoding but the san is coming up first... is there some way to set it to map english to the first channel and san to the second channel ?
[05:45:53 CEST] <Ekho> is webm vp9 video encoding limited to 1 thread?
[05:46:05 CEST] <Ekho> I cannot seem to get anything above 8% cpu usage
[05:59:31 CEST] <Prelude2004c> hey anyone know what this means or how to fix this ?  Non-monotonous DTS in output stream .. i am encoding and hours later it starts to do this
[05:59:33 CEST] <Prelude2004c> i am not sure why
[08:05:46 CEST] <petecouture> Do the ffpresets use the old naming convenstions? I seem to have issues trying to write  script using c:A
[08:05:50 CEST] <petecouture> err c:a rather
[14:23:40 CEST] <hendry> I want to edit an mp4 in Audacity to improve its sound
[14:24:12 CEST] <hendry> by then it cant export directly back into the mp4. i wonder if there is recipe to replace the audio track of an mp4?
[15:09:34 CEST] <potus> anywhere here got the magic code for youtube's 4k videos?
[15:10:43 CEST] <potus> I am uploading a true 4k movie in .mov mpeg4 video  mpeg 4 audio 4096x 2160..  once uploaded.. youtube only gives me 720... not even 1080
[15:10:46 CEST] <cowai> is -c:v h264 and -c:v libx264 the same? Or h264 a native encoder?
[15:11:25 CEST] <cowai> potus: have you tried in a google blessed browser like google chrome?
[15:11:36 CEST] <potus> cowai: tried uploading or playing?
[15:11:46 CEST] <cowai> playing
[15:11:50 CEST] <potus> no
[15:12:00 CEST] <cowai> I remember using firefox on linux and only got 720
[15:12:05 CEST] <potus> i have iceweasle i dont trust them google people ;-)
[15:12:11 CEST] <potus> ooo
[15:12:16 CEST] <cowai> I guess its that
[15:12:18 CEST] <potus> cowai would u mind just checking to see if the option is there for u?
[15:12:31 CEST] <cowai> yes no problem
[15:12:38 CEST] <cowai> give me the link and I can try
[15:12:40 CEST] <potus> https://www.youtube.com/watch?v=G0JkO4pGwa4
[15:13:04 CEST] <cowai> I get everything up to 2160p
[15:13:32 CEST] <cowai> this is in firefox. I guess google fixed it for firefox, but not iceweasel.
[15:13:34 CEST] <potus> really?
[15:13:37 CEST] <potus> fyucking a it worked!!!!
[15:13:56 CEST] <cowai> yeah really :)
[15:14:21 CEST] <cowai> 2160p at the top, 1440p second, and 1080p as third.
[15:14:34 CEST] <potus> i was stressing i spent 4 days in cinelerra battling!
[15:14:42 CEST] <potus> audio offset.. the bane as they say..
[15:15:06 CEST] <potus> turned out.. i was using 5.0 which isnt the latest version 2.3 is.. (boggled) hadda compile it from source and got jackpot!
[15:15:36 CEST] <potus> cowai: i wonder why i dont get the 4k label next to the video like it shows up for some in my search
[15:16:57 CEST] <cowai> Need to go, my wife needs to go to the doctor!
[15:17:14 CEST] <potus> thanks for help  cowai
[15:17:17 CEST] <potus> cya soon
[15:17:20 CEST] <hendry> potus: you edited under linux?
[15:17:24 CEST] <potus> hendry yes
[15:17:30 CEST] <potus> all open source free software as well
[15:17:33 CEST] <potus> =)
[15:17:39 CEST] <hendry> potus: does cinelerra-cv do audio sync ups?
[15:17:49 CEST] <hendry> i thought cinelerra-cv was limited to 1080p or something like that
[15:18:17 CEST] <potus> hendry: cinelerra-cv 2.3 synced audio out of box.  after a prolonged apt-file search <deps> one by one
[15:18:38 CEST] <potus> i compiled it from source... now the cinelerra from cinelerra.org altho offering more plugins.. does not work and audio is out of sync
[15:19:01 CEST] <potus> people say u can add offsets.. but they are not true.. e.g. when u add a 1 second offset it does nothing to the video.
[15:19:23 CEST] <hendry> potus: what's the URL to your video btw?
[15:19:33 CEST] <potus> i ended up having to do quicktime for linux with 4096x2160 mpeg 4 video and mpeg 4 audio.. according to cowai it works in 4k!
[15:19:56 CEST] <potus> hendry: scroll up 2 screens
[15:21:48 CEST] <potus> hendry: do u got 4k display?
[15:21:56 CEST] <hendry> yes, i see the option
[15:22:04 CEST] <potus> awesome
[15:22:06 CEST] <potus> mine didnt show
[15:22:18 CEST] <potus> i was about to delete it and try new cinelerra settings
[15:22:30 CEST] <potus> now, if i can get a real time preview.. this program would be killer
[15:23:40 CEST] <hendry> all i need is to sync up audio with the better audio i've taken seperately
[15:24:57 CEST] <Caedus> Would anyone not recommend using ffserver to live stream a video feed to a browser? We're sending data from a webcam on a raspberry pi to an aws instance and then streaming from ffserver on the aws instance to a browser, but we're running into issues actually displaying the video in a webpage.
[15:26:04 CEST] <potus> hendry: what application you using?
[15:26:16 CEST] <JEEB> ffserver is a piece of code that you must be ready to start maintaining yourself
[15:26:30 CEST] <JEEB> almost no-one knows how it's supposed to be used and barely anyone maintains it
[15:26:33 CEST] <Mavrik> Caedus, ffserver is a dead project not fit for production.
[15:26:48 CEST] <Mavrik> Use something modern like Wowza or nginx streaming server
[15:27:02 CEST] <JEEB> it will also most probably be removed soon after some APIs get through the deprecation-removal
[15:27:02 CEST] <Caedus> Thank you, Mavrik, I was beginning to suspect as much
[15:27:10 CEST] <JEEB> because it bases on some really icky API usage
[15:27:22 CEST] <JEEB> which will become impossible as some older things get removed
[15:27:50 CEST] <potus> hendry: i read u can just add the offset to ffmpeg, although, i opted to fix my problem at source.
[15:28:08 CEST] <potus> happy to hear i didnt have to reconvert the video from .mov to .mkv
[15:30:55 CEST] <hendry> potus: haven't found the right application yet. https://www.youtube.com/watch?v=dgpC0CCNTOA will check out cinerella
[15:31:21 CEST] <potus> hendry: beware there is three forks of cinelerra. each with their own versions
[15:31:32 CEST] <potus> the one i had success with is cinelerra-cv-2.3
[15:31:36 CEST] <potus> compiled from source.
[15:32:00 CEST] <potus> it will keep telling u "cant run right missing stuff" use apt-file to find the libs one by one until it takes.  then run ldconfig and ull be good to go
[15:32:40 CEST] <hendry> potus: i just loaded an mp4 into cinerella-cv on Archlinux and the audio is totally screwed
[15:35:01 CEST] <potus> hendry: compile from source
[15:35:09 CEST] <potus> also make sure your framerates are correct
[15:35:21 CEST] <potus> e.g. if you shot in 24p and your framerate is 30p in project.. the audio will be off
[15:35:41 CEST] <potus> settings -> format to change it
[15:35:57 CEST] <potus> mine reads 24p 4096x2160 .. i shot it with a panasonic 4k cam.
[15:36:22 CEST] <potus> once u have the version working.. no audio offset was needed.. deletethe program you have save urself a headache!
[16:12:27 CEST] <jancoow> Hi there. I'm working on a home automatic system with several raspberry pi's spread in the house. I want to add surveilance camera with usb webcam's accross the house, and save a log of video for 7 days or something on a central server.  Do you think a combination of ffserver and ffmpeg is a good solution for this?
[16:13:40 CEST] <furq> i don't think ffserver is a good solution for anything
[16:14:04 CEST] <jancoow> oh haha
[16:14:23 CEST] <jancoow> well my thought was: raspberry pi's aren't really powerfull for live decoding etc.
[16:14:32 CEST] <jancoow> so that would be better to do on the server
[16:15:01 CEST] <furq> the rpi has a hardware h.264 encoder but you can't use it from ffmpeg afaik
[16:15:08 CEST] <furq> you can use gstreamer
[16:15:22 CEST] <ln-> since you need to buy new hardware anyway (i.e. the cameras), why not just buy network cameras.
[16:16:00 CEST] <jancoow> well, i already have like 10 rpi around the house, and i think a camera only is cheaper then a network camera
[16:16:03 CEST] <furq> otherwise, if you need to do the encoding remotely then it gets a bit more tricky
[16:16:15 CEST] <jancoow> it was just a thought
[16:16:45 CEST] <jancoow> was more curious what you guys think what's the best to do
[16:17:17 CEST] <TD-Linux> which generation of rpi?
[16:18:12 CEST] <jancoow> different. Most are pi b+
[16:18:21 CEST] <ln-> i don't know what's the situation nowadays, but like 7..10 years ago many usb webcams didn't have any linux drivers, or not proper drivers.
[16:18:43 CEST] <furq> jancoow: the first thing that comes to mind is using gst-omx and a central rtmp server
[16:18:51 CEST] <jancoow> most work with v4l. I just loan 2 philips webcams from school (with a horrible resolution btw..) and they work out of the box
[16:18:53 CEST] <furq> but that's probably because my only streaming experience is with rtmp
[16:19:07 CEST] <jancoow> furq: well ty! i will check that!
[16:19:09 CEST] <furq> if you can find a streaming server which accepts whatever format comes off the camera, that's probably better
[16:19:18 CEST] <jancoow> yeah exactly
[16:19:31 CEST] <furq> i guess an rtp/rtsp server should handle that but i can't recommend one
[16:24:37 CEST] <furq> jancoow: if you do go the rtmp route then https://github.com/arut/nginx-rtmp-module/wiki/Directives#record will handle the logging
[16:25:41 CEST] <TD-Linux> jancoow, I'd actually suggest using the "motion" software and just recording jpegs
[16:25:49 CEST] <TD-Linux> and then cron'ing them to another server
[16:26:04 CEST] <TD-Linux> (or network mounting a drive)
[16:26:17 CEST] <furq> i assume he wants live streams as well as a log
[16:26:18 CEST] <jancoow> furq: thanks looks promising; I will try to create a test setupt tonight! :)
[16:26:43 CEST] <jancoow> TD-Linux: yeah motion uses a LOT of bandwidht. 1.8mb/s for 1 stream + it uses all the cpu of a rpi
[16:26:49 CEST] <TD-Linux> for the live streams you probably need to figure out the hw encoder, or use an older codec like theora
[16:26:52 CEST] <jancoow> furq: yeah indeed i wanna live stream
[16:27:04 CEST] <TD-Linux> theora has armv6 opts so it *might* work on a rpi. still iffy though
[16:27:31 CEST] <furq> if you're encoding anything on an rpi then the hardware encoder is the way to go
[16:27:46 CEST] <furq> and the h.264 one is the only one you don't have to pay extra for
[16:28:03 CEST] <jancoow> yeah exactly, and if it works great then the server has less load
[16:28:33 CEST] <jancoow> raspberry pi's are almost doing nothing the whole day so that's great for sharing load over the house
[16:28:43 CEST] <furq> it's just a shame ffmpeg doesn't support omx yet
[16:31:03 CEST] <TD-Linux> gstreamer is pretty easy to use for this though. arguably easier than ffmpeg
[17:02:44 CEST] <raijin> hai, I'm having a small issue with the .aa demuxer, specifically -aa_fixed_key option, its parsing it incorrectly
[17:27:44 CEST] <raijin> or, the script I used is only returning 4 bytes instead of 16
[17:28:10 CEST] <raijin> is the code wrong when asking for 16? or is there something I am missing??
[17:36:09 CEST] <FranceBB> Hi everybody! I would like to know where I can download a sample .imf file and I would like to know whether ffmpeg supports it or not. Thank you in advance.
[17:43:28 CEST] <durandal_1707> FranceBB: I'm also interested in sample
[17:44:37 CEST] <Gringham> Hey, I'm trying to do a low latency streaming from one Pc in my local Network to another. At the Moment the latency is about 1-2 Seconds. Therefor on the host side I run :
[17:44:41 CEST] <Gringham> ffmpeg -f dshow  -re -i video=screen-capture-recorder -vf scale=1280:720 -vcodec libx264 -maxrate 3000k -bufsize 3000k -pix_fmt yuv420p -g 60 -tune zerolatency -preset ultrafast -f mpegts udp://239.255.1.2:1234
[17:45:22 CEST] <Gringham> and on the Client Side I run :
[17:45:23 CEST] <Gringham> ffplay -fflags nobuffer -infbuf -fast -framedrop -vf "setpts=(PTS*0.95)" udp://239.255.1.2:1234
[17:45:44 CEST] <Gringham> Any ideas, how I can improve this ?
[17:55:03 CEST] <potus> gringham: I have never done streaming via ffmpeg.. what are the hippups your encountering?
[18:24:45 CEST] <cirdan> afternoon all. trying to figure something out. downloading some pbs videos for my son, and ffmpeg grabs the hd stream from the m3u, but not the subtitles. the subs are in vtt format. is there anyway to have it download both at the same time, but keep the subs as a seperate file? so I'd get video.mp4 and video.vtt
[18:35:04 CEST] <Plonker> Hello, I'm compleatly new to ffmpeg. Could someone help me with something?
[18:35:12 CEST] <cirdan> Plonker: wht are you trying to do?
[18:36:00 CEST] <Plonker> Hi Cirdan, i'm trying to use ffmpget and imageMagik to create a movie barcode
[18:36:24 CEST] <cirdan> oh. i dont know that :)
[18:36:49 CEST] <cirdan> you mean a normal barcode? theres tools to do that
[18:37:06 CEST] <Plonker> nah, something like this http://i.imgur.com/jOKAoaP.png
[18:37:19 CEST] <cirdan> o.
[18:37:27 CEST] <Plonker> it take the dominant colour from each frame
[18:38:56 CEST] <cirdan> https://github.com/NickHurst/MovieBarcodeCreator
[18:39:37 CEST] <cirdan> that does it all for you
[18:40:12 CEST] <Plonker> haha thanks
[18:40:18 CEST] <Plonker> thats no fun though :P
[18:40:36 CEST] <cirdan> it does the same thing you'd be doing in the shell
[18:40:45 CEST] <furq> cirdan: it looks like pbs serves the captions in a separate playlist
[18:40:55 CEST] <cirdan> furq: yes, linked from the main
[18:41:02 CEST] <furq> ffmpeg -i captions.m3u8 out.vtt
[18:41:04 CEST] <furq> that should work
[18:41:14 CEST] <cirdan> I do that already, its just a bunch of manual steps
[18:41:43 CEST] <cirdan> hoped it could do both with 1 master m3u8
[18:43:15 CEST] <cirdan> the barcode from the images of the frames is really cool looking
[18:43:26 CEST] <cirdan> 2d instead of 1d :-)
[18:46:50 CEST] <momomo> is there a way to say to hls_list_size 3 but delete segment files after say 100 ?
[18:48:18 CEST] <furq> cirdan: sorry, misread
[18:48:32 CEST] <furq> it looks like there's already a feature request for reading EXT-X-MEDIA
[18:48:34 CEST] <furq> https://trac.ffmpeg.org/ticket/2833
[18:48:41 CEST] <cirdan> hmm
[18:49:13 CEST] <cirdan> I did see something about timestamps getting changed converting vtt to srt because of libass, so I've been doing that w/a web page for now
[18:49:20 CEST] <cirdan> (never thought i'd say that...)
[18:49:34 CEST] <furq> weird
[18:49:48 CEST] <furq> i wouldn't have thought libass would be involved at all in that conversion
[18:49:55 CEST] <cirdan> http://www.nikse.dk/SubtitleEdit/Online is cool
[18:51:02 CEST] <furq> momomo: not with ffmpeg
[18:51:10 CEST] <furq> you could probably do it with inotify or something
[18:51:12 CEST] <cirdan> https://trac.ffmpeg.org/ticket/3148
[18:51:40 CEST] <momomo> furq, ok, i could have a separate thread do that perhaps
[18:52:02 CEST] <furq> cirdan: that's srt to mov_text
[18:52:23 CEST] <cirdan> furq: yeah I saw the same thing somewhere with vtt -> srt
[18:52:43 CEST] <cirdan> that was the first timecode bug google gave me :-)
[18:54:14 CEST] <furq> you might just be able to keep them in vtt
[18:54:21 CEST] <furq> mpv supports it if nothing else
[18:54:44 CEST] <cirdan> yeah I'm putting it in mp4
[18:55:10 CEST] <cirdan> hmm can ffmpeg convert the subs? lemme compare
[18:56:47 CEST] <cirdan> oh. i feel dumb. the timestamps were correct. and it can convert. wonder what I read that made me think that... maybe someone converted to .ass and I didn't realize
[20:12:25 CEST] <varu-> so i have a device sending a live rtp stream to me, h264 & mp2 audio i believe
[20:12:30 CEST] <varu-> if i tune into it with vlc, it works great. however, if i pcap the stream and try to play it back, it's completely broken. the same happens if i try to process it (even live) with ffmpeg
[20:12:37 CEST] <varu-> any idea why this could be? pcap here: https://www.sendspace.com/file/i6lsx9
[20:18:20 CEST] <yesyesyes> Hello. I need to mute around two small sections of over an hour Video VOB File (1GB). I am using following command. After completing whole file it shows this at the last:::
[20:18:20 CEST] <yesyesyes> [ac3 @ 00000000003ab820] incomplete frame.
[20:18:48 CEST] <yesyesyes> ffmpeg VTS_07_1.VOB -af "volume=enable='between(t,4,11)':volume=0, volume=enable='between(t,15,21)':volume=0" output.vob
[20:19:23 CEST] <yesyesyes> Output is there but with only 350MB poor qualiy video
[20:19:57 CEST] <yesyesyes> yes !
[20:24:01 CEST] <yesyesyes> http://pastebin.com/BRUrfNrc
[20:24:45 CEST] <yesyesyes> Output is there but with only 350MB poor qualiy video. Any suggestions are welcomed !
[20:28:18 CEST] <llogan> yesyesyes: that's not the complete output. you can trim the repeating stuff in the middle, but i need to at least see the first ~50 and last ~50 lines.
[20:29:01 CEST] <yesyesyes> ok Sir. i will get that
[20:36:09 CEST] <yesyesyes_> http://pastie.org/private/v8lxr2ss4bp0b75idzzblq Here Sir
[20:45:39 CEST] <llogan> yesyesyes: add "-codec:v copy"
[20:45:51 CEST] <yesyesyes> i am trying right now
[20:49:10 CEST] <yesyesyes> it does not work. here is the command and output http://pastie.org/private/oqoimkr94dvunfqzh3y0w
[20:50:07 CEST] <llogan> you forgot the "-i"
[20:52:13 CEST] <yesyesyes> my bad! trying again.
[20:55:06 CEST] <yesyesyes> i've set the command.....waiting for output ......
[21:00:24 CEST] <yesyesyes> llogan, thanks it worked !
[21:01:18 CEST] <yesyesyes> Input file is 0.99GB ; but output file is 1.01GB
[21:02:21 CEST] <yesyesyes> I have to actually mute over 100 sections in this file. Can i use all the sections to be cut in single command?
[21:05:22 CEST] <llogan> sorry, but i don't understand your question
[21:10:46 CEST] <yesyesyes> Am editing a Speech in which Lecturer delivers a sentence in English and then Interpreter interpretes in another language instantly; then Lecturer speaks and interpreter interpretes and it keeps on going for an hour. I need to mute all interpretations done and put 3rd language interpretations there.
[21:11:06 CEST] <yesyesyes> well, dubbing
[21:13:38 CEST] <llogan> yesyesyes: may be easier to export the audio, edit in audacity, then re-mux
[21:14:49 CEST] <yesyesyes> i take that suggestion. extracting audio right now
[21:22:28 CEST] <yesyesyes> I extracted the Audio from the file in AAC format but AudaCity do not accept that Format.
[21:24:10 CEST] <fritsch> use ffmpeg to decode it to wav
[21:24:11 CEST] <fritsch> :-)
[21:24:37 CEST] <yesyesyes> thanks fritsch . Doing
[21:26:04 CEST] <llogan> yesyesyes: extract it again from original file, but as wav. don't use the aac file as the input to make the wav
[21:26:32 CEST] <yesyesyes> ok thanks !
[21:26:35 CEST] <yesyesyes> doing
[21:32:47 CEST] <yesyesyes> Unable to extract wav from the file http://pastie.org/private/jc2akuu5swef0oa3rewuq
[21:33:14 CEST] <yesyesyes> It produces a 900 MB Wav File output.
[21:34:07 CEST] <llogan> yes, they can be large, but does it matter? it's just a temp file for editing
[21:34:18 CEST] <explodes> My decoder is (randomly?) giving me a great 'ol SIGABRT on sws_setColorspaceDetails, don't know from where, presumably when I can sws_scale. What pre-conditions are necessary for sws_scale?
[21:36:19 CEST] <yesyesyes> llogan, editing the file in AudaCity.
[22:10:00 CEST] <yesyesyes> Done. Please tell me how can i  add me how can I add 'wav' Audio file to a silenced 'Vob' Audio file. i got no idea.
[22:44:01 CEST] <llogan> yesyesyes: ffmpeg -i input.vob -i audio.wav -map 0:v -map 1:a -c:v copy -c:a ac3 output.vob (if you want ac3, alternatively you could use mp2 or probably some sort of PCM)
[22:45:46 CEST] <yesyesyes>  i used ffmpeg -i input.VOB -i input.wav -codec copy -shortest final.vob
[22:46:02 CEST] <yesyesyes> but its still running, its over 15min
[22:47:03 CEST] <yesyesyes> i am cancelling it and trying ur;s
[22:53:24 CEST] <yesyesyes> llogan, your command quickly gave the output. THANks !
[22:56:12 CEST] <llogan> you can add -shortest just in case there is a significant differenc between length for whatever reason
[22:57:05 CEST] <yesyesyes> Do u mean this? ffmpeg -i input.vob -i audio.wav -map 0:v -map 1:a -c:v copy -c:a ac3 -shortest output.vob
[22:59:28 CEST] <zamba> i need to change from the matroska container to mp4.. can i do that without reencoding anything?
[23:02:29 CEST] <zamba> nevermind, figured it out :)
[23:32:53 CEST] <Magmatic> I'm trying to listen to multiple rtp streams (on different ports of course) and send each one to an icecast server.  I think I will have to do this with multiple commands running in the background.  I go the first one working, but when I try the second one, it says "udb @ 0xba5ad60] bind failed: Address already in use".  Any advice?
[23:34:33 CEST] <Magmatic> My command looks something like this: ffmpeg -v verbose -i rtp://localhost:5801  -legacy_icecast 1 -content_type audio/mpeg -ice_name "Channel1" -f mp3 icecast://source:hackme@example.com:8000/channel1
[00:00:00 CEST] --- Fri Apr  8 2016


More information about the Ffmpeg-devel-irc mailing list