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

burek burek021 at gmail.com
Sun Jan 4 02:05:01 CET 2015


[02:39] <squeegily_> ffmpeg -i \[gg\]_Joshiraku_-_04v2_\[EA549C43\].mkv -c:a copy -c:s copy -tune fastdecode 4.mkv should be enough to play a 1280x720 video on an Asus Eee PC 1000, right?
[02:48] <squeegily_> Wow the -tune fastdecode looks beautiful AND plays at regular speed!
[03:06] <bpye> I'm capturing some raw bayer video via a pipe, is there any format in ffmpeg that I can encode bayer_bgrg8 in?
[03:06] <bpye> grbg*
[03:50] <squeegily_> bpye: Are you wondering which *container format* can handle it, or which video *coded* you should use?
[03:50] <squeegily_> *codec
[03:51] <bpye> It was the former however I discovered that nut appears to handle it well, I guess that was somewhat it's design goal, to handle different pixel formats and such
[03:51] <squeegily_> bpye: When in doubt about a container, use MKV
[03:52] <squeegily_> It supports every codec and any number of streams
[03:52] <squeegily_> It's literally the perfect container (which is what it was designed to be)
[03:52] <squeegily_> The only cases where MKVs aren't the best thing ever are cases involving compatibility (like you can't play them on a PS3)
[03:53] <bpye> bayer appears unsupported by mkv, at least, ffplay can't play the output file
[03:53] <squeegily_> bpye: Did you try mplayer?
[03:53] <bpye> Uh no, I assumed it'd have the same/similar compatiblity though...
[03:54] <squeegily_> Thats' really weird that a player would choke on a specific container-codec combination
[03:54] <bpye> "[rawvideo @ 00000000044cc440] Invalid pixel format."
[03:54] <squeegily_> Did you accidentally encode it to raw video?
[03:55] <bpye> Intentional, this is raw capture from the CCD of a camera
[03:55] <bpye> Looking at http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2014-February/154802.html I think I see why nut works, it appears to be the only container for which support was added
[03:56] <squeegily_> Wow that's weird. MKVs are supposed to be forward-compatible
[05:32] <justinX> when adding a subtitle to a mp4, are there any special text format the subtitle need to be for extra picky players?
[05:33] <justinX> should it be CRLF or LF formatted text, or shouldn't i matter?
[05:34] <justinX> my Vestel TV didn't like my mp4 with subtitles so it must be something it didn't like :-/
[05:46] <c_14> Didn't like as in didn't play entirely or didn't show the subtitles?
[05:52] <justinX> c_14: it didn't show the subtitles
[05:53] <c_14> You'll probably have to hardsub.
[05:54] <justinX> the TV can show other filmes with subtitles though. both ones with text subtitles inside the file, and as seprate subtitle files
[05:54] <pzich> take a look at how those are encoded
[05:54] <c_14> Those are probably idx/dvbsub
[05:55] <justinX> I guess I should investigate more tomorow. I try make some mkv instead and see if that works.
[05:55] <justinX> there is not much info about what the TV is capable in the manual. it just says "subtitles: .sub and .srt"
[05:57] <justinX> for .mp4 it says "MPEG4, Xvid 1.00, Xvid 1.01, Xvid 1.02, Xvid 1.03, Xvid 1.10-beta1/2 H.264  with sound PCM/MP3"
[05:58] <c_14> If your TV supports matroska, use that with subrip subtitles
[05:58] <c_14> Otherwise, eh avi *ehem*
[05:59] <justinX> :-)
[06:01] <justinX> and yeah it supports mkv with these the manual says "video: H.264, MPEG1,2,4   sound:EAC3 / AC3"
[06:02] <c_14> So your TV doesn't support AAC?
[06:02] <c_14> How old is it?
[06:03] <justinX> it doesn't say anything about AAC in the manual at least. That doesn't have to mean anything I guess
[06:03] <c_14> Good point, still
[06:04] <c_14> I just love TVs and video/audio support.
[06:04] <justinX> and the tv is a "Andersson LED4240FDC PVR" I don't know the age really... maybe 2010?
[06:06] <justinX> where "Andersson" is one of the many names turkish Vestel tvs are sold if I understand right. One name per reseller or something :-D
[06:08] <justinX> It could be interesting to have a large set of small test files that could be tried on the tv to see what it really supports or not.
[06:12] <c_14> You could probably try some of the relevant fate samples.
[06:18] <justinX> c_14: fate samples? uh.. where?
[06:20] <justinX> if I'd could gain knowledge of what things it supported, I guess I could make a command that could verify that a file was "ok" or needed some conversion.
[06:21] <c_14> The fate samples are available via rsync at rsync://fate-suite.ffmpeg.org/fate-suite/
[06:22] <c_14> They're designed to test that commits don't introduce regressions.
[06:22] <c_14> You probably won't need/want all of them.
[06:22] <c_14> Check the list for codecs you're interested in.
[06:22] <justinX> aha ok
[06:36] <sasha-> Yop anyone know how I can ignore errors like 'Error while decoding stream #1:0: Invalid data found when processing input' ?
[06:37] <sasha-> I tried '-err_detect ignore_err' but that didn't help
[14:23] <Marcin_PL> Hello. I don't get registering e-mail from forum at Gusari.
[14:26] <c_14> >If you did not receive an e-mail, you may have provided an incorrect e-mail address or the e-mail may have been picked up by a spam filer. If you are sure the e-mail address you provided is correct, try contacting an administrator.
[14:31] <Marcin_PL> It's a regular mailbox on gmail& huh
[14:31] <c_14> Check the spam?
[14:31] <Marcin_PL> Empty.
[14:32] <Marcin_PL> I'll try other one or type that withuot a dot.
[14:42] <Marcin_PL> Clever. I cannot contact admin without a valid account. Huh. :(
[14:43] <Marcin_PL> Well, maybe here somebody can help me?
[14:45] <Marcin_PL> I got some problem with fps& The point is I got MJPEG file (with PCM sound) at 30 fps (easy Canon PowerShot) and I cannot make it the same duration time in my rotating script. I used -r 30 and it worked somehow (default is 25), but not well (movie is going to be longer). I learned some time ago to work on ffmpeg separately with audio and video, so if it's not the reason pls don't irritate about separating sound off. Here's the
[14:45] <Marcin_PL> script: http://pastebin.com/mDi9NjD6
[14:46] <c_14> add -framerate 30 before -i $1_f_%d.jpg
[14:52] <Marcin_PL> Thanks, I'll try it out
[14:53] <Marcin_PL> So -r 30 is not neccesary now?
[14:54] <c_14> Might not be, not 100% sure.
[14:54] <Marcin_PL> OK, I'll practice with and without
[14:56] <c_14> ffmpeg _should_ realize that the input stream has 30fps and use that as the output fps, but I can't remember if it actually does
[14:57] <Marcin_PL> I wonder if it's the only method to rotate image (without reencoding&)
[15:55] <Marcin_PL> c_14: It didn't take effect, I'll try without -r 30 now
[16:15] Action: Marcin_PL is really dumb today  the script will work better after saving changes in editor. Huh.
[16:16] <schiho> Hi guys, i am running a blackmagic decklink studio 2 card on linux, what is the input for that card, it's apparently not v4l2
[16:16] <schiho> v4l2-ctl --list-devices > just returns: /dev/video0 which is my webcam
[16:30] <c_14> Maybe you need the driver?
[16:43] <loa> hello. how i can handle "can't write packet with unknown timestamp"? I tried -fflags +genpts with no luck. I am trying to convert .h264 to .mkv
[17:03] <Marcin_PL> c_14: BIG thanks, now the script works properly.
[17:05] <Venemo> hey guys
[17:05] <veltz> hi
[17:05] <Venemo> is it true that ffmpeg is deprecated? I've read some conflicting articles about it
[17:06] <JEEB> ffmpeg the binary in libav the project is, which is a fork of ffmpeg the project
[17:06] <Venemo> ah
[17:06] <JEEB> in fffmpeg the project ffmpeg is still very much alive
[17:06] <JEEB> *ffmpeg
[17:06] <JEEB> so if you are getting that warning you probably are using a distro that packages libav
[17:07] <JEEB> and in that case you should be using avconv with the same syntax
[17:07] <JEEB> that said you are probably on something old'ish as far as libav goes if it still has the ffmpeg binary
[17:08] <Venemo> I didn't get a warning from my distro-packaged ffmpeg, fortunately.
[17:08] <Venemo> there was just a guy on twitter who tried to be a smartass, it seems
[17:08] <justinX> Venemo: what linux dist do you use?
[17:08] <Venemo> Fedora 21
[17:08] <JEEB> that doesn't package ffmpeg to begin with vOv
[17:08] <JEEB> or libav
[17:08] <Venemo> well, their "rpmfusion" repo does
[17:09] <JEEB> it's not really "theirs" afaik
[17:09] <JEEB> it's third party packages
[17:09] <Venemo> not officially, at least, yeah
[17:09] <justinX> are there something like the ppa's that linuxmint/ubuntu have for fedora? I mean extra repositories people make?
[17:09] <Venemo> justinX: yeah
[17:10] <Venemo> JEEB: at least they seem to be packaging the true ffmpeg, and a quite recent version of that
[17:10] <minnesotags> A while ago, someone here gave me some helpful advice. I needed to encode a huge amount of wav files to flac through a directory tree. I got something better to share....
[17:11] <JEEB> well, both ffmpegs were "true", libav just renamed the tool when they rewrote parts of it and then after a release they removed it altogether
[17:11] <JEEB> FFmpeg then merged those changes to its ffmpeg tool
[17:11] <Venemo> I'm glad to see that the original project is still alive and rocking
[17:11] <JEEB> (FFmpeg being the project, ffmpeg being the tool)
[17:12] <minnesotags> First you have to apt-get install "parallel" (this is for Debian". Then "find . -type f -name "*.wav" | parallel flac {} -keep-foreign-metadata"    (if keeping foreign metadata is the tag you want).
[17:13] <minnesotags> I had over 7000 songs to encode. That cut the time from 6 hours to 2.
[17:13] <minnesotags> Sorry, the tag shoud be "--keep-foreign-metadata".
[17:14] <justinX> are there any specification of how linebreaks in subtitles are supposed to be when embedded inside an mp4?
[17:15] <minnesotags> Point is if you have any other huge batch process to do, "parallel" is an awesome command/package.
[17:15] <Venemo> justinX: as for your previous question (about ppa-like stuff for fedora), take a look at https://copr.fedoraproject.org/
[17:15] <Venemo> minnesotags: nice stuff
[17:16] <minnesotags> 2-3 seconds for file adds up when you have 7500 files.
[17:16] <Venemo> yeah
[17:16] <Venemo> the -threads option for ffmpeg is also useful in this regards
[17:16] <minnesotags> It will use as many cores on your processor as are available.
[17:17] <justinX> aha
[17:17] <minnesotags> I had seen tons of people suggesting batch files on stackoverflow and elsewhere. Seems many people don't know this package.
[17:59] <Marcin_PL> How should I encode to MJPEG with highest quality?
[18:17] <Marcin_PL> Hello? :)
[18:20] <loa> Marcin_PL, i think you need to just start experiment...
[18:24] <Marcin_PL> I started& Now i'm trying -q:v 0
[18:30] <Marcin_PL> [swscaler @ 0xf46460] deprecated pixel format used, make sure you did set range correctly
[18:30] <Marcin_PL> huh
[18:30] <loa> why you need mjpeg?
[18:30] <Marcin_PL> Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj420p, 640x480, q=2-31, 200 kb/s, 30 tbn, 30 tbc
[18:31] <Marcin_PL> Because it's just a source to further cuts
[18:32] <Marcin_PL> And I think it's best compromise, because RAW bitmap is too large  and anyway I got RAW from stabilising script.
[18:45] <Venemo> I'm encoding some h264 and getting this message frequently: "Application provided duration: -7 / timestamp: 488588 is out of range for mov/mp4 format" and "pts has no value"
[18:45] <Venemo> what do they mean?
[18:46] <Venemo> note that the source format is also h264
[19:51] <jcay> hello, is there a possibility to do video filter only for certain time, not whole video, like 10 seconds and rest just copy?
[19:56] <loa> Venemo, i found this pts errors in ffmpeg so annoing...
[19:57] <Venemo> loa: sure, but what does it actually mean?
[20:00] <loa> i think if it is not fatal and encoding is actully done it is ok for you.
[23:18] <pagios> hello, tryin to install faac http://pastebin.com/kKPJXjwJ any idea?
[00:00] --- Sun Jan  4 2015


More information about the Ffmpeg-devel-irc mailing list