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

burek burek021 at gmail.com
Tue Oct 21 02:05:01 CEST 2014


[00:54] <sim590> I have this file that is not recognized by my video editing software (blender). mpv can however read it fine. It outputs this information about the file : http://ix.io/eQ6. Should I put the data in a container like mkv ?
[00:55] <sacarasc> What does blender support?
[00:56] <sacarasc> (Also, isn't blender a 3D image renderer, not a video editor?)
[00:58] <sim590> sacarasc: it can do video editing.
[00:58] <sim590> I don't really know what it supports. I'm looking for the info
[00:58] <sim590> I've found this page : http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Output/Video
[01:00] <sacarasc> That's output, not input.
[01:04] <sim590> I got this http://wiki.blender.org/index.php/Doc:2.6/Manual/Data_System/Files/Formats
[01:06] <sacarasc> Try "-f h264 blah.h264" as the output.
[01:11] <sim590> is h264 a container ?
[01:12] <sacarasc> I think it puts it without a container, but not 100% sure. It didn't say what containers it supports other than AVI, and AVI sucks.
[01:18] <sim590> sacarasc: -f h264 doesn't carry audio, does it ?
[01:18] <sacarasc> No, but it didn't say it supported audio there.  I am working on the info I have.
[01:19] <sim590> yes. I understand. I'm sorry, I don't have lots of information. I'm a bit of a beginner.
[01:21] <sim590> knowing that kdenlive does open the files, do you know if it could let me edit the video in the way that I could toggle the display between fullscreen video and having the video in the bottom left corner and having the slides of a lecture in the background ?
[01:21] <sim590> if not, what other software would you recommend ?
[03:18] <Gudu> hi all
[03:19] <Gudu> any one is the
[03:19] <Gudu> *thr
[03:19] <Gudu> need help
[13:06] <ruby_on_tails> i had encoded a video using mencoder from .ogv to .mp4 my video doesnt have voice so i never cared about audio codecs, now its creating a problem with online players. http://pasteboard.co/14Xc4ywO.png in this image the right one is from mencoder H264 at the end, it doesnt work with many players, the left one was encoded using ffmpeg and works fine, now i want to make the right one similar to the left one to make it work, can anyone help me with it?
[13:07] <ruby_on_tails> i dont have the source file of the right one so i cant use ffmpeg in a fresh way now, have to use the mencoder output as the input for ffmpeg
[13:08] <relaxed> why do you have to use mencoder?
[13:08] <ruby_on_tails> i dont have to, i had used it earlier when i had some issues with ffmpeg
[13:08] <ruby_on_tails> the output that mencoder gave doesnt work with some online players now, but what ffmpeg does works
[13:09] <ruby_on_tails> so i pasted the information of both the videos in that image to tell you the specs about both, now i want to convert the flawed video into a working one
[13:09] <relaxed> Oh, you mean using ffmpeg to convert it...
[13:10] <ruby_on_tails> yes
[13:10] <ruby_on_tails> i dont want to reencode the video
[13:10] <ruby_on_tails> i just want the audio codec bug to be fixed
[13:10] <ruby_on_tails> is that possible?
[13:11] <ruby_on_tails> that audio codec issue fails the video from playing on mac quicktime, online video players, etc
[13:11] <ruby_on_tails> only VLC can play that video
[13:12] <relaxed> pastebin the output of "ffmpeg -i input" on the one that plays and the one that doesn't.
[13:14] <ruby_on_tails> relaxed: plays: http://pastebin.com/aq8ywWcn doesnt play: http://pastebin.com/sTbvqr2P
[13:16] <relaxed> the one that doesn't play isn't actually an mp4. "Input #0, avi, from '/var/www/df2.mp4'"
[13:17] <ruby_on_tails> relaxed: yea i guess so, how do i fix it?
[13:17] <relaxed> it's an avi with an mp4 extension.  run ffmpeg -i df2.mp4 -c copy df2.fixed.mp4
[13:19] <ruby_on_tails> relaxed: it says Unrecognized option 'c' Failed to set value 'copy' for option 'c'
[13:19] <ruby_on_tails> ffmpeg -i /var/www/df2.mp4 -c copy /var/www/df2.fixed.mp4
[13:19] <relaxed> ffmpeg -i df2.mp4 -vcodec copy df2.fixed.mp4
[13:20] <ruby_on_tails> a lot of error type messages are shown: [mp4 @ 0x239ddc0] pts has no value [NULL @ 0x239ce20] missing picture in access unit
[13:20] <ruby_on_tails> but it finished
[13:20] <ruby_on_tails> hmm ok this will help
[13:20] <ruby_on_tails> looks like it worked
[13:22] <ruby_on_tails> but what do these errors mean?
[13:23] <relaxed> ffmpeg stops on errors, those are just informational
[13:24] <ruby_on_tails> hmm
[13:24] <ruby_on_tails> another questions
[13:24] <ruby_on_tails> relaxed: i am making videos from screencasts, why isnt the video of same quality as that of what i see on the monitor?
[13:24] <ruby_on_tails> it degrades, specially text and colors
[13:25] <relaxed> poor color conversion
[13:25] <ruby_on_tails> how can i fix it?
[13:27] <relaxed> Did you see https://trac.ffmpeg.org/wiki/Capture/Desktop ?
[13:28] <relaxed> eh, it doesn't give any hints there.
[13:28] <ruby_on_tails> relaxed: i used recordmydesktop at the highest quality which uses ffmpeg i guess
[13:30] <relaxed> see if using ffmpeg directly makes any difference.
[13:30] <ruby_on_tails> k let me try
[13:34] <ruby_on_tails> relaxed: i am using this
[13:34] <ruby_on_tails> ffmpeg -f alsa -ac 2 -i hw:0,0 -f x11grab -s $(xwininfo -root | grep 'geometry' | awk '{print $2;}') -r 25 -i :0.0 -sameq -f mpeg -ar 48000 -s wvga -y sample.avi
[13:34] <ruby_on_tails> quality is horrible
[13:34] <ruby_on_tails> got it from a tutorial online, coz the one on the link you gave throws some deprecated errors
[13:36] <relaxed> ignore that tutorial
[13:37] <ruby_on_tails> then what command do i use to record?
[13:37] <relaxed> you could follow the guide I just pasted
[13:38] <ruby_on_tails> relaxed: http://pastebin.com/78nr1UTR this is what happens
[13:45] <ruby_on_tails> tried 2 commands from the url you gave, both give the same errors
[13:47] <relaxed> what is your dedktop resolution?
[13:47] <relaxed> desktop*
[13:47] <ruby_on_tails> 1360*768
[13:48] <relaxed> ffmpeg -video_size 1360x768 -framerate 25 -f x11grab -i :0.0 output.mp4
[13:51] <ruby_on_tails> relaxed: that worked, but the quality is horrible
[14:12] <relaxed> add -crf 16 after the input
[14:45] <ruby_on_tails> relaxed: still bad quality
[15:04] <edoardo> hello! ffpeg can't get my easycap
[15:04] <edoardo> ffmpeg -f v4l2 -i /dev/video0 -vcodec libx264 -preset ultrafast -b:v 2000k -g 100 -acodec libvo_aacenc -b:a 1024k test.mkv
[15:04] <edoardo> anyone know why?
[15:05] <edoardo> i can see it in vlc, though
[15:05] <rsevero> Hi, I have several webm streams produced by ffmpeg and distributed by ffserver. I can see them with vlc and ffplay but I can't see them with Firefox or Chrome. Both browsers show me the controls bar but I never see the video. I see no errors on any log. Where should I look for clues on whats wrong? How can I further troubleshoot this issue?
[15:05] <edoardo> [video4linux2,v4l2 @ 0x7f5f140008c0] Cannot find a proper format for codec 'none' (id 0), pixel format 'none' (id -1)
[15:05] <edoardo> Assertion *codec_id != AV_CODEC_ID_NONE failed at libavdevice/v4l2.c:805
[15:36] <BtbN> rsevero, browsers can't stream. They only download whole files and play them.
[16:31] <rsevero> BtbN, thanks for your info. So i I want to see streams on the browers I would need some kind of flash or java applet?
[16:31] <rsevero> So if I want...
[16:34] <brontosaurusrex> rsevero: dunno, but pseudostreming works just fine http://1stdev.com/tremendum-transcoder/articles/seeking-videos-beyond-the-buffer-line/#html5_pseudo-streaming
[17:21] <casper366> hi, i'd like to decode an .oma (atrac3plus) to mp3. I've got the atrac3-codec but not the atrac3plus-codec. Is there a way to implement this codec?
[18:31] <casper366> 250 ppl here and noone can help
[19:02] <storrgie> I've got some .cine footage (super high framerate stuff) that I want to convert to mp4. I'm getting very small files that just play as black for a couple of seconds. Has anyone worked with this type of file before?
[21:07] <ChocolateArmpits> test test
[21:16] <edoardo> ChocolateArmpits: yes sir
[21:16] <edoardo> i hear you
[21:16] <ChocolateArmpits> Has KVIRC log out of freenode another day
[21:16] <ChocolateArmpits> Had*
[21:16] <edoardo> meh
[21:16] <edoardo> i don't like these permanent clients
[21:17] <edoardo> you get like 200+ channels with all idles
[22:11] <PovAddict> ChocolateArmpits: what is a DVD menu image supposed to have?
[22:11] <PovAddict> I thought the main image was only used for dvdauthor to autodetect where the buttons are
[22:11] <PovAddict> so I made big ugly red rectangles where the buttons are
[22:12] <PovAddict> works fine in VLC, but in my set-top DVD player, the rectangles show up on top of the menu video :(
[22:12] <ChocolateArmpits> uh dvd author doesn't detect button placement based on image
[22:13] <ChocolateArmpits> There's another xml file that defines it and links according images
[22:14] <ChocolateArmpits> It's hard for me to answer concretely, work files are at another computer
[22:15] <PovAddict> it supports autodetection, with autooutline="infer" in the <spu> element
[22:15] <PovAddict> spumux output says
[22:15] <PovAddict> INFO: Autodetect 0 = 82x30-313x212
[22:15] <PovAddict> INFO: Autodetect 1 = 408x30-639x212
[22:15] <ChocolateArmpits> Oh I then haven't used that
[22:15] <edoardo> why isn't ffmpeg default in opensuse? O_o
[22:15] <sacarasc> Ask them.
[22:15] <ChocolateArmpits> I don't think I ever saw that feature, PovAddict:  Is that something new ?
[22:15] <PovAddict> maybe I should switch to setting the button coords in the xml
[22:15] <PovAddict> I don't know how new
[22:15] <edoardo> you need to add an external ppa
[22:16] <PovAddict> opensuse has ppas?
[22:16] <edoardo> home:nickname
[22:17] <ChocolateArmpits> Anyways, if you write out the file rather than let the program decide it will all work. To some degree of course, depending on the program used. VLC for example is horrible in dvd menu recreation
[22:18] <PovAddict> what software do you recommend to test DVDs?
[22:18] <ChocolateArmpits> Are you on Linux ?
[22:18] <PovAddict> yes
[22:18] <edoardo> mplayer?
[22:19] <ChocolateArmpits> Damn, I actually used WMP :)
[22:20] <ChocolateArmpits> But did some compensation targetting VLC playback so it looked good even there
[22:20] <PovAddict> my problem is stuff looking good in VLC so I think it's fine, then I burn the disc and it looks like shit in a real DVD player :(
[22:20] <edoardo> i know that feel bro
[22:21] <ChocolateArmpits> I used simple outline buttons so had no problems
[22:21] <ChocolateArmpits> or rather, outline graphics
[22:21] <PovAddict> I'll find out the hard way how many times a DVD-RW can be rewritten :P
[22:22] <ChocolateArmpits> As far as I remember MPC-HC had truthful playback
[22:22] <ChocolateArmpits> At least for menus
[22:23] <edoardo> never remove yast2 from opensuse
[22:23] <edoardo> never
[22:51] <zway> Can someone help me, I'm trying to decode uLaw, resample, and then encode in AAC, but I'm getting about 2 seconds of junk audio added to the file after resampling. The 2 seconds sounds like they're spread out randomly in the audio as noise. Here's my code: http://pastebin.com/um0sLrJu
[22:52] <zway> the input file is 48kHz Mono uLaw, and I'm trying to output 16kHz 16bit AAC
[22:53] <ChocolateArmpits> zway, did you try sox?
[22:54] <zway> I haven't tried writing a sox wrapper no...ffmpeg command line works fine, but I'm trying to write a C++ wrapper that will do this so it can be called from a windows service without using PInvoke
[00:00] --- Tue Oct 21 2014


More information about the Ffmpeg-devel-irc mailing list