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

burek burek021 at gmail.com
Mon Mar 30 02:05:01 CEST 2015


[00:14:22 CET] Action: seasc does a happy victory dance as his script can now also webcam-, desktop-, guide- (the both) and video-stream and play
[01:15:49 CET] <electronrotoscop> I just saw an error that "should be fixed in dcac15a8" but I don't know how to translate the version numbers, can someone help me figure out when that build will exist?
[01:16:32 CET] <BtbN> http://git.videolan.org/?p=ffmpeg.git;a=commit;h=dcac15a8
[01:21:54 CET] <electronrotoscop> Hmm okay thanks. I normally just use the Zeranoe builds so I don't follow how to tell when a patch has been added, is there some way to tell that from that page? Sorry for my ignorance.
[01:23:52 CET] <electronrotoscop> I guess compiling it myself would be one way but I've never succesfully done that
[01:30:16 CET] <BtbN> Check if the build is more recent than that commit
[01:30:25 CET] <BtbN> Just take the commit from the build and look at the date.
[01:33:51 CET] <electronrotoscop> okay cool cool thanks. And the date under "committer" is what I'm looking at?
[03:19:16 CEST] <Infiltrator> c_14: So you reckon that it's not ffmpeg?  It just seems odd that it's only ffmpeg that causes this.  It's also very that it happens at all, though; the kernel shouldn't allow it to happen.
[03:19:30 CEST] <Infiltrator> s/very/very odd/
[03:20:12 CEST] <Infiltrator> et al: ^
[03:20:42 CEST] <c_14> Infiltrator: yeah, especially since it's hanging on the write and strace says the result is unavailable
[03:24:03 CEST] <Infiltrator> I'm running a SMART test on the disk now.  At least, I think that it's the disk; it might be one of the others.
[03:27:37 CEST] <Infiltrator> Not sure how much you know about the kernel; but shouldn't the kernel not allow this hang, though?
[03:29:37 CEST] <c_14> the kernel is very iffy when it comes to io code. I've had failing io calls hang my computer as well. Though in that case only rebooting helped.
[03:30:39 CEST] <designbybeck_> convert a MTS to MOV?.....
[04:07:22 CEST] <Infiltrator> This is the only time I've ever had a kernel instability from io.
[04:11:46 CEST] <ksk> hey guys. Is it possible to start wathing an "output" file? as far as I understand it should, but "ffmpeg -i" on such an outputfile just gives me an "invalid datada" :( thanks!
[04:20:47 CEST] <klaxa> ksk, depends on the filetype
[04:21:07 CEST] <klaxa> mp4 will probably not work
[04:24:22 CEST] <ksk> ah okay, that needs some "end of file"? i convert to h264 so mp4, yeah
[04:25:29 CEST] <klaxa> i don't know the details, but "something something moov atom"
[04:25:49 CEST] <klaxa> afaik it's the index for seeking an mp4 file and is usually placed at the end of the file
[04:27:32 CEST] <ksk> convert js done, jll take a look next tjme ;) thanks!
[04:58:33 CEST] <Zeranoe> Is there any way to reduce buffer overflow with decklink? "Decklink input buffer overrun!". ramiro?
[05:03:58 CEST] <AndrzejL> Hi guys and girls
[05:04:23 CEST] <AndrzejL> I have nokia n73 and I would need some help with video conversion
[05:04:36 CEST] <AndrzejL> Unknown encoder 'libfaac
[05:05:33 CEST] <AndrzejL> /usr/bin/ffmpeg -y -i "./video.flv" -loglevel info -f mp4 -r 15 -vcodec mpeg4 -vf scale=320:240 -b 320k -aspect 4:3 -acodec libfaac -ab 96k -ar 44100 -ac 2 "./video.mp4"
[05:06:18 CEST] <c_14> Your version doesn't have the libfaac encoder, use -c:a aac -strict -2 instead. Should be fine in most cases
[05:06:53 CEST] <AndrzejL> when I tried -acodec aac it warned me to use -strict -2 - video plays but sound  does not work
[05:08:42 CEST] <c_14> When you used -c:a aac ?
[05:09:15 CEST] <AndrzejL> few hours ago
[05:09:17 CEST] <AndrzejL> /usr/bin/ffmpeg -y -i "./video.flv" -loglevel info -f mp4 -vcodec mpeg4 -b 1500 -qmin 3 -qmax 5 -g 300 -acodec aac -strict -2 -ab 160 -ar 48000 -s 320x240 -aspect 4:3 "./video.mp4"
[05:09:23 CEST] <AndrzejL> that was the command I used
[05:09:46 CEST] <c_14> try adding a k to the end of 160
[05:10:01 CEST] <AndrzejL> ok
[05:12:48 CEST] <AndrzejL> Mmmm
[05:12:54 CEST] <AndrzejL> that maybe the fix
[05:13:38 CEST] <c_14> You'll probably also want a k after the 1500
[05:14:10 CEST] <AndrzejL> ok will do
[05:14:20 CEST] <AndrzejL> sending file to the phone to check
[05:19:10 CEST] <AndrzejL> sound works
[05:19:13 CEST] <AndrzejL> very cool
[05:19:15 CEST] <AndrzejL> thanks!
[06:13:54 CEST] <AndrzejL> c_14: https://andrzejl.eu:30303/wordpress/2015/03/29/solved-converting-any-video-to-the-nokia-n73-playable-container-setting-up-fixing-winff-presets/ thanks!
[06:22:35 CEST] <AndrzejL> have a nice day you all
[13:35:11 CEST] <seasc> Good morning everyone on this wonderfull sunday, did you change your clock yet? :)
[13:40:04 CEST] <seasc> I'm very new to this streaming stuff, actualy beside ffplay for webradio, i dont use streaming yet. Non the less i could get my script to work to stream webcam, screen, guide (the both) and video to udp, anyone willing to help/testing with to get it working with streaming over internet? Linux, Fedora prefered (or just a full 'regular' command with masked userid/pw, or tell me where i need to register to test myself...
[15:02:06 CEST] <hanshenrik> i want to rip from 05:54 to 06:31, ffmpeg -i foo.mp4 -acodec copy -vcodec copy -ss 364 -t 27 bar.mp4
[15:03:05 CEST] <hanshenrik> seem about right?
[15:31:59 CEST] <c_14> hanshenrik: you can also use -ss 5:54 -to 6:31 in that situation, do note that cuts will only be to the nearest keyframe when using -codec copy; also if you want to seek faster move the -ss in front of the -i; in that case you'll have to use -t instead of -to (or to be more precise -to acts like -t)
[16:15:05 CEST] <DelphiWorld> hi ffmpegsters
[16:15:21 CEST] <DelphiWorld> http://paste.debian.net/163790/
[16:15:31 CEST] <DelphiWorld> problem with utf8 files saying not found
[16:15:58 CEST] <klaxa> try using quotation marks as "$name" instead of $name
[16:16:18 CEST] <DelphiWorld> klaxa: trying nowwwwwwwwwwwww...
[16:18:47 CEST] <DelphiWorld> strange
[16:18:53 CEST] <DelphiWorld> its taking only one file
[16:19:26 CEST] <klaxa> did you also do "$i" instead of $i?
[16:19:46 CEST] <DelphiWorld> klaxa: yep
[16:20:14 CEST] <klaxa> then pastebin the ffmpeg command and its complete output
[16:21:31 CEST] <DelphiWorld> klaxa: any way to capture the ffmpeg command?
[16:22:11 CEST] <DelphiWorld> klaxa: this is the cmd: ffmpeg -i "$i" -vn -acodec copy "$name.m4a";
[16:23:49 CEST] <klaxa> you can do ffmpeg [...] 2> log.txt
[18:18:41 CEST] <spectromas> is there any kind of health check in ffmpeg that I can run on videos? I have one that plays fine on my computer but when it is on usb the tv can't play it
[18:20:53 CEST] <c_14> `ffmpeg -i video -f null /dev/null'; and see if it throws any errors/warnings
[18:21:03 CEST] <c_14> Though the more likely problem is that your TV doesn't support the format/one of the codecs.
[18:23:57 CEST] <spectromas> I'll give that a try, the wife's chromebook didn't want to play it either though but I don't know much about that thing
[18:27:12 CEST] <spectromas> well I got [null @ 0xaeeb30] Encoder did not produce proper pts, making some up.
[18:37:01 CEST] <durandal_1707> that is normal
[18:39:59 CEST] <spectromas> hmm maybe I'll reencode it or something that, strange
[18:59:40 CEST] <Zeranoe> Is there any way to reduce buffer overflow with decklink? "Decklink input buffer overrun!". ramiro?
[19:54:08 CEST] <spectromas> I think I've found the issue with my video, I did a test re-encode and noticed the original has 'yuvj420p(pc)'
[19:54:35 CEST] <spectromas> can I ask what would be the best/quickest way to change this to a more universal but equal quality setting?
[19:55:30 CEST] <c_14> Do you care about filesize?
[19:55:42 CEST] <spectromas> c_14: not particularly
[19:56:41 CEST] <c_14> ffmpeg -i input -c:v libx264 -qp 0 -c:a copy -preset ultrafast out.mp4
[19:58:37 CEST] <spectromas> thanks c_14. Do the presets make a big difference to quality?
[19:58:43 CEST] <c_14> Not in this case.
[19:58:53 CEST] <spectromas> excellent, thanks so much
[19:59:26 CEST] <spectromas> oh hang on, is the out format important? I would normally out.mkv
[19:59:47 CEST] <c_14> Depends on if your TV eats mkv or not.
[19:59:51 CEST] <c_14> If it does, use mkv
[19:59:55 CEST] <Mavrik> might wanna explicitly set -pix_fmt yuv420p as well.
[20:00:06 CEST] <Mavrik> just to be on the safe side :)
[20:00:59 CEST] <spectromas> ok that sounds like a good idea, I'll give it a try
[20:16:43 CEST] <spectromas> c_14: I realised I do have a file size restriction, about 7.5gb is as big as I can go. I just ran the command you gave and it got to 8.5gb so I stopped it, wasn't expecting the size difference to be that big compared to the original (4.5gb)
[20:19:22 CEST] <spectromas> I don't understand what was making so big in that command
[20:19:30 CEST] <c_14> ye, because that was a lossless conversion
[20:19:45 CEST] <c_14> use -crf 20 or so instead of -qp 0
[20:20:36 CEST] <spectromas> c_14: I can't specify it to use whatever is in the original as a rate/quality?
[20:21:22 CEST] <c_14> Not really. You can get the average bitrate of the source video and use that, but that's no guarantee that the quality will be the same.
[20:26:00 CEST] <Tyler_Durden> A few years back I used a tool in ffmpeg to mark out screen size so I knew where to crop. Cant remember what that tool was called but it was part of ffmpge. Anybody know what I am looking for?
[20:26:10 CEST] <c_14> cropdetect?
[20:27:34 CEST] <Tyler_Durden> not sure but I thought that was a autodetect tool? What I am looking for let me mark a part of the image and see the dementions.
[20:29:17 CEST] <klaxa> that's definitely not part of ffmpeg
[20:29:33 CEST] <klaxa> i think handbrake has such a graphical tool though
[20:30:47 CEST] <Tyler_Durden> no I had compiled ffmpeg as a system install from git. This is back in 2011 or so though.
[20:32:48 CEST] <Tyler_Durden> handbrake is still around? Nice I thought that project died a while back. Got the moive Intersteller and the format keeps changing back and forth. Just gonna crop it to stop that.
[20:32:55 CEST] <klaxa> well how did the tool work exactly? how did you select the part of the image? how did it display dimensions and stuff?
[20:33:26 CEST] <Tyler_Durden> was a tool for x that you just dragged over the image and gave you the dementions
[20:34:32 CEST] <Tyler_Durden> so stuff like crop=width:hight:x:y would not be so hit and miss
[20:35:11 CEST] <klaxa> ffmpeg itself has no such tools for X, at least as far as i know
[20:37:38 CEST] <Tyler_Durden> Its all good. If that tool is gone Ill whip on up in python. Prolly just 30 lines of code or so.
[20:44:42 CEST] <hanshenrik> c_14, thanks!
[20:54:06 CEST] <hanshenrik> C:\Users\hanshenrik\Desktop\Top 10 Misheard Anime Opening Lyrics (60 FPS) (Mobil
[20:54:06 CEST] <hanshenrik> e)22222.3gp: Permission denied
[20:54:12 CEST] <hanshenrik> what the heck?
[20:54:43 CEST] <c_14> The process doesn't have permission to access the file, check the file permissions/ownership
[20:55:18 CEST] <hanshenrik> there's absolutely no reason for ffmpeg to not get access, i can delete and remove the file from the command prompt who's access rights it inherits.. to confirm this, i moved the file using the same command prompt
[20:55:38 CEST] <hanshenrik> (not copy, move)
[20:55:47 CEST] <klaxa> well, it's not really ffmpeg's fault though
[20:55:57 CEST] <hanshenrik> uhu, so where is the likely fault
[20:56:15 CEST] <klaxa> file system, operating system, ...
[20:56:26 CEST] <hanshenrik> http://pastebin.com/raw.php?i=DygbeMee
[20:56:31 CEST] <hanshenrik> somehow i doubt that, but
[21:00:01 CEST] <hanshenrik> any idea how i should debug this then?
[21:00:30 CEST] <klaxa> try to open it with another program maybe?
[21:00:55 CEST] <hanshenrik> i did, VLC and Windows Media Player has no problem playing it
[21:01:11 CEST] <hanshenrik> though i didn't open vlc through the command prompt
[21:01:12 CEST] <klaxa> also, maybe posting the complete command line with output instead of a truncated error message might be more helpful
[21:01:51 CEST] <hanshenrik> i do not believe there's anything relevant, but
[21:01:52 CEST] <hanshenrik> http://pastebin.com/raw.php?i=91QncqNS
[21:02:30 CEST] <hanshenrik> meh, ill try 1 more time, there's a possibility that the 222 file was locked
[21:02:35 CEST] <klaxa> you don't seem to have write permissions
[21:02:42 CEST] <c_14> The problem isn't the source file, it's the dest
[21:02:51 CEST] <hanshenrik> err, the .lol file*
[21:02:55 CEST] <cousin_luigi> Greetings.
[21:03:06 CEST] <cousin_luigi> Pray, is libwebp recommended over the internal webp decoder?
[21:05:29 CEST] <hanshenrik> dammit, that was it, the dest file was locked
[21:05:32 CEST] <hanshenrik> thanks
[21:05:43 CEST] <klaxa> good question, i don't know, the most straight forward approach would be to benchmark both
[21:09:36 CEST] <cousin_luigi> klaxa: what about compatibility?
[21:09:48 CEST] <cousin_luigi> Is libwebp more versatile?
[21:13:28 CEST] <klaxa> no idea, maybe check the documentation?
[22:12:58 CEST] <cousin_luigi> bbl
[00:00:00 CEST] --- Mon Mar 30 2015


More information about the Ffmpeg-devel-irc mailing list