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

burek burek021 at gmail.com
Tue Oct 30 02:05:02 CET 2012


[00:36] <FelipeS> would it be feasible to use pipes to input an mpegts stream (avc,aac) and output as an mp4 stream (no reencoding) using pipes?
[00:43] <cbreak> FelipeS: try it
[00:43] <cbreak> afaik, ffmpeg uses pipe:0 for standard input, pipe:1 for standard output
[00:44] <cbreak> as filename that is.
[00:48] <FelipeS> cbreak as filename?
[00:48] <cbreak> yes
[00:48] <cbreak> well, long time since I used that
[00:49] <FelipeS> ah
[00:49] <FelipeS> cbreak yes, I thought you meant stdin would only be used to read the filename
[00:51] <cbreak> http://ffmpeg.org/ffmpeg.html#pipe
[02:25] <elkng> I want to create video editing software, any suggestions ?
[02:25] <elkng> using sdl, in c language
[06:28] <FelipeS> anyone here knows if iOS supports playing fragmented mp4s?
[08:18] <surfn_> Hey I asked this yesterday but got no reply so thought I'd ask again...
[08:18] <surfn_> I get this error message when running ffserver and ffmpeg to stream my webcam
[08:18] <surfn_> The v4l2 frame is 367 bytes, but 153600 bytes are expected
[08:19] <surfn_> /dev/video0: Invalid data found when processing input
[08:20] <surfn_> is there a way to set the frame to accept any size?  Or is there a variable I can set that will alter my expected frame size?
[08:20] <surfn_> cheers
[10:00] <foo357> Hello, I would like some input on JPEG2000 vs. TIFF. Would an image in JPEG2000 be smaller than if it would be in TIFF format?
[10:00] <foo357> I have searched a bit but haven't found any good resources/information on the matter.
[10:03] <Tjoppen> foo357: TIFF is a container
[10:03] <Tjoppen> it can can appearently hold JPEG2000 too
[10:03] <ubitux> huh?
[10:04] <ubitux> tiff is a codec afaik
[10:04] <Tjoppen> I'm fairly sure TIFF can be compressed in quite a number of ways
[10:04] <Tjoppen> wikipedia agrees
[10:05] <ubitux> that doesn't make it a container
[10:10] <Tjoppen> I'd say the compression tag suffices to classify it as a container
[10:11] <ubitux> okay
[10:11] <ubitux> then we need to move tiff to libavformat :)
[10:12] <Tjoppen> if it works, don't try to fix it
[10:12] <Tjoppen> it does blur the lines though. just like DV-in-AVI or the more recent MPEG-PS-in-MOV
[10:13] <divVerent> hehe, fun nitpick argument ;)
[10:14] <divVerent> I'd see it as container too, for the reason that it can contain images of multiple "codecs"
[10:14] <divVerent> including jpeg, fax stuff
[10:14] <divVerent> also, more than one image
[10:14] <divVerent> where the "codecs" themselves only allow one
[10:15] <divVerent> however, this is a blurry line
[10:15] <divVerent> e.g. by the same argument, MJPEG could be classified as a container too
[10:15] <divVerent> and if we use multipage TIFF to store a movie, it suddenly can be seen as a codec again
[10:15] <divVerent> as to TIFF, each page is a separate "stream"
[10:16] <divVerent> 10:00:04          foo357 | Hello, I would like some input on JPEG2000 vs. TIFF. Would an image in JPEG2000 be smaller than if it would be in TIFF format?
[10:16] <divVerent> foo357: depends on how you save it :P
[10:16] <divVerent> you can make each of them smaller than the other by setting "proper" compression options
[10:16] <divVerent> TIFF can contain lots of compressions, though
[10:17] <divVerent> also, it depends on the image
[10:17] <divVerent> "traditional" use of TIFF is for lossless compression (e.g. RLE)
[10:17] <divVerent> which is especially good for line art like stuff
[10:18] <divVerent> and in this area JPEG2000 can't match this (I'd recommend PNG over TIFF for these applications though)
[10:18] <divVerent> now, if you want to store photos in it, for example, I'd use JPEG2000 and no TIFF header around it
[10:18] <divVerent> mainly because that's more likely to work in applications
[10:19] <divVerent> or rather, maybe equally likely, but less confusing
[10:19] <divVerent> like, not all programs that can open .tif can also open JPEG 2000 inside it
[10:19] <divVerent> also, if your photos already are in JPEG format, it's somewhat questionable to recompress them as JPEG 2000
[10:33] <ne2k> I'm back on my raw video/interlaced problem. I have an MPEG2 file taken straight from a DVD that I want to convert to raw video and do some tests on. The file is interlaced  it looks it, and ffmpeg -i track10.mpg -vf showinfo -f null /dev/null shows i:T in the output
[10:38] <ne2k> ffmpeg -i track10.mpg -f rawvideo -pix_fmt yuyv422 -vframes 750 track10.yuyv422.yuv # this then extracts 30s to a raw file, which should by all accounts be interlaced still. I'm trying to prove whether or not it is
[10:39] <ne2k> ffmpeg -f rawvideo -s 720x576 -r 50 -pix_fmt yuyv422 -top 1 -i track10.yuyv422.yuv -vf showinfo -f null /dev/null shows i:P in the output
[10:43] <surfn_> my computer went to sleep, did anyone answer while I was away?
[10:46] <microchip_> nope
[10:48] <Mavrik> ne2k, it's not clear what you're asking.
[10:49] <ne2k> Mavrik: I'm trying to do further processing on the raw video and I have my suspicions that it's being deinterlaced in the process of extracting it from the mpeg file. I'm looking for a categorical way to prove it one way or the other. I'm looking at generating some sample files with just single colour lines or something
[10:50] <Mavrik> ne2k, if you did not pass "-deinterlace" or "yadif" filter there was no postprocessing of any kind
[10:50] <ne2k> Mavrik: the showinfo filter says it's progressive, though
[10:50] <Mavrik> ne2k, the "interlace" frame flags are notoriously unreliable
[10:50] <Mavrik> and currently there just isn't a good way of detecting if a stream is interlaced besides decoding and checking frames
[10:50] <ne2k> Mavrik: the problem is that there doesn't appear to actually be a flag to specify whether rawvideo is interlaced or progressive
[10:51] <ne2k> you can specify -top but not progressive, afaics
[10:51] <Mavrik> yes
[10:51] <Mavrik> because raw video is RAW frames
[10:51] <Mavrik> it will not change them
[10:51] <Mavrik> if you have half-frames or full-frames it doesn't care
[10:51] <ne2k> Mavrik: but I mean on playback, you need to be able to specify, surely?
[10:52] <Mavrik> it's a raw dump of a stream, "interlace" doesn't really come into effect
[10:52] <ne2k> ok
[10:52] <Mavrik> ne2k, there's no such thing as standard "raw" video
[10:52] <ne2k> well, let me do some more tests
[10:52] <Mavrik> and there's nothing to specify ;)
[10:52] <ne2k> Mavrik: of course there isn't
[10:52] <Mavrik> it's the players decision
[10:52] <ne2k> Mavrik: that's what I'm talking about -- neither ffplay nor vlc has an option to tell it whether a raw file is interlaced or not
[10:58] <ne2k> how can I display a single frame of yuyv422 statically?
[11:15] <ne2k> right, I think I've proved that that this yuv file is not interlaced. but I'm not sure. I've extracted one frame from the middle using dd and repeated it sixteen times. I get a completely static, full frame. I then extract half that much. if the file is interlaced, this should be the odd lines from a complete frames, but when I duplicate it, I get half the frame twice, one on top of the other. is this reasoning sound?
[11:30] <funyun> hi. i have a video and the audio is 8 seconds slow. meaning people are talking and the audio does play until 8 seconds after. can anyone help me fix this? i've tried -itsoffset but it doesn't change it at all. i think i'm doing it wrong
[12:02] Last message repeated 1 time(s).
[12:02] <ne2k> funyun: you said that half an hour ago
[12:02] <funyun> ne2k: that's the problem
[12:05] <erib> Hi guys. Is there a way to capture screen with gralloc? I'm trying to capture the screen on a motorola Xoom that has Tegra2 SOC that does not expose /dev/graphics/fb0.
[12:32] <Aaronds> Hi, I'd like to install ffmpeg on CentOS. The only packages available via yum are ffmpeg-spice-devel and ffmpeg-spice-libs. What is ffmpeg-spice and are either of these packages what I'm looking for?
[12:36] <lemonzest> Aaronds: install from atrpms they have the newest
[12:36] <Aaronds> ah cheers lemonzest
[12:53] <funyun> hi. i have a video and the audio is 8 seconds slow. meaning people are talking and the audio does play until 8 seconds after. can anyone help me fix this? i've tried -itsoffset but it doesn't change it at all. i think i'm doing it wrong
[12:55] <burek> erib, how is that related to ffmpeg?
[12:56] <burek> funyun, asking the same question 3 times won't get you an answer faster, just a kick
[12:57] <burek> also, use the pastebin to show what exactly did you do (ffmpeg command + complete output) so that we can comment
[12:57] <funyun> burek: i thought since the other members didn't know. maybe the newly joined people could help
[12:57] <Haikarainen^st> Hello people, I'm trying to upload a video to youtube that I recorded using ffmpeg, but it turns out all gray. I've tried both mkv and mp4, same result on both.
[12:57] <Haikarainen^st> I will get you the exact commands
[12:59] <Haikarainen^st> http://ffmpeg.pastebin.com/XKpk5SQA
[12:59] <Haikarainen^st> Any help appreciated
[13:00] <Haikarainen^st> http://youtu.be/XK5W0aGBbnM <- Video in question
[13:01] <burek> Haikarainen^st, that pastebin is useless
[13:01] <burek> cmd + complete output ...
[13:02] <Haikarainen^st> burek: Oh, sorry. I dont have it anymore (recorded it yesterday). Let me redo it
[13:03] <burek> also, you might avoid 2 times encoding of video
[13:03] <burek> just add -crf 0 to the 1st cmd line
[13:03] <burek> https://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20grab%20the%20desktop%20(screen)%20with%20FFmpeg
[13:03] <Haikarainen^st> burek: http://ffmpeg.pastebin.com/fG5dPj5r
[13:04] <Haikarainen^st> burek: Okay, still very new to ffmpeg :)
[13:04] <burek> ok, that went good
[13:04] <burek> no errors, the output should be fine
[13:05] <Haikarainen^st> burek: the video works flawlessly when played locally (via vlc for example), but uploaded to youtube its just gray
[13:05] <burek> try to save to .flv instead of .mkv
[13:05] <burek> in the 1st cmd
[13:06] <Haikarainen^st> I'll try that and upload a small test to youtube, thanks
[13:06] <burek> I mean, try to use .flv all the time (instead of mp4)
[13:06] <burek> it seems that youtube likes flv more
[13:06] <burek> (and keep the libx264 as a vcodec)
[13:07] <Haikarainen^st> http://www.youtube.com/watch?v=p8oY2GdJ_Lc&feature=youtu.be
[13:08] <Haikarainen^st> this is from http://ffmpeg.pastebin.com/unFDf21i
[13:09] <burek> well you need more than 3 seconds
[13:09] <burek> especially if your -gop rate is too long
[13:09] <burek> there is no keyframe to start a video decoding from
[13:09] <Haikarainen^st> ah
[13:09] <burek> so that's why it's gray/green
[13:09] <burek> if you need a 3 seconds video, try playing with -gop
[13:09] <Haikarainen^st> The other video was more like >5 min though
[13:10] <Haikarainen^st> and the 3sec video played in vlc works right away
[13:10] <burek> hmh
[13:11] <brontosaurusrex> Haikarainen^st: "mediainfo youfile" returns what?
[13:12] <brontosaurusrex> mighg be a mod16 problem with youtab
[13:12] <brontosaurusrex> might*
[13:12] <Haikarainen^st> let me get ahold of mediainfo
[13:14] <erib> burek: the question is if there is alternative to -fbdev that can capture using gralloc
[13:24] <Haikarainen> So much for trying to fix that error
[13:25] <Haikarainen> My daughter thought it would be a great idea to pour water into my exhaustfan ontop of my computer
[13:35] <feng-fr> Hi, i'm trying to convert my flv videos to mp4 for html5 and flash. For some reason, 1/5 times, ffmpeg stops encode the video, showing no error, and wait to be killed ... here is the ffmpeg -v debug log : http://pastebin.com/EhUruzUL
[14:49] <stulluk> Hi, I have an embedded system with ARM926EJ-S ( armv5TE) processor, and I am trying to play RTMP streams..
[14:50] <stulluk> Currently I can play TS streams ( h.264 or MPEG2) over network
[14:50] <stulluk> In order to play RTMP/RTSP, I think I should use FFMPEG, but I don't know how to do it..
[14:50] <stulluk> I cross compiled FFMPEG: http://pastebin.com/DbN6gbi0
[14:51] <stulluk> But I don't know how to add RTMP/RTSP support to it, and how to transcode it to H264 in the fastest possible way??
[14:51] <stulluk> Can you give some ideas?
[15:16] <brontosaurusrex> whats the proper filter to convert 422 to 420 ? (interlaced)
[15:19] <relaxed> brontosaurusrex: you want to deinterlace?
[15:19] <brontosaurusrex> yes
[15:19] <relaxed> -filter:v yadif,format=yuv420p
[15:20] <relaxed> use yadif=1 if you want one frame per field (double fps)
[15:21] <brontosaurusrex> yes, but my input is 422 and i guess yadif only work in 420?
[15:21] <brontosaurusrex> (if thats not true, than it simply sucks)
[15:21] <brontosaurusrex> cos the results are substandard
[15:23] <relaxed> It doesn't look properly deinterlaced or the quality is bad?
[15:24] <brontosaurusrex> looks like something happened, but its aliased
[15:24] <brontosaurusrex> let me upload a sample ...
[15:24] <saste> brontosaurusrex, yadif *does* support yuv422p
[15:25] <brontosaurusrex> sample: https://dl.dropbox.com/u/79532365/deinterlaceME.mov
[15:25] <brontosaurusrex> ehm, will be there in 4 minutes
[15:26] <relaxed> I can't access dropbox from work. Show us your command.
[15:26] <brontosaurusrex> saste: thats cool, so i must be doing something wrong
[15:27] <saste> brontosaurusrex, show a -loglevel verbose pastebin, use showinfo to check what format is output by which filter
[15:27] <brontosaurusrex> ffmpeg in -vf yadif=0 -aspect 16:9 -pix_fmt yuv422p -vcodec prores -profile 3 -acodec pcm_s16le out < the command
[15:27] <saste> sometimes there are intermediary format conversion, which can be avoided by inserting format in the correct place
[15:28] <brontosaurusrex> saste: ok
[15:28] <saste> and the input is?
[15:28] <brontosaurusrex> prores 422
[15:28] <saste> so i'd expect no conversion at all
[15:28] <brontosaurusrex> true
[15:31] <brontosaurusrex> could it be an anamorfic issue?
[15:32] <brontosaurusrex> cos the file is with par=1
[15:32] <brontosaurusrex> the input
[15:33] <relaxed> why are you chaning the aspect ratio?
[15:33] <relaxed> changing*
[15:34] <brontosaurusrex> just to avoid doing that in editing app, the capturing app gets it wrong
[15:35] <saste> brontosaurusrex, format conversion is completely unrelated to aspect ratio, show a pastebin
[15:35] <brontosaurusrex> http://pastebin.com/nhYnLc7Z
[15:36] <brontosaurusrex> saste: i would think so, perhaps yadif needs aspect ratio for some reason?
[15:36] <saste> brontosaurusrex: yuv422p10le
[15:36] <saste> that's not supported by yadif
[15:37] <brontosaurusrex> so, -pix_fmt yuv422p before yadif?
[15:37] <brontosaurusrex> or something else?
[15:37] <saste> yes
[15:37] <brontosaurusrex> let me try
[15:38] <brontosaurusrex> sample on dropbox is now on, btw
[15:39] <relaxed> use a filter chain to control the order, -filter:v format=yuv422p,yadif=0,setdar=16:9
[15:39] <relaxed> it's easier to read
[15:39] <brontosaurusrex> ok
[15:41] <relaxed> yadif should barf if it doesn't support the input's colorspace.
[15:42] <brontosaurusrex> it doesnt
[15:49] <saste> relaxed, auto-conversion is useful
[15:49] <saste> but i won't be against an option to disable that, in order to avoid unexpected conversions
[15:50] <brontosaurusrex> nothing works, i have tryed several combos
[15:50] <brontosaurusrex> exactly the same output even
[15:50] <saste> brontosaurusrex, pastebin
[15:53] <brontosaurusrex> saste, one of them: http://pastebin.com/Wdk6jdNF
[15:56] <saste> brontosaurusrex, if you want to be sure that yadif works in yuv422p, use, ...format=yuv422p,yadif=...,format=yuv422p
[15:56] <foo357> How do I send sql queries from SQL Server Management Studio? Should I open a powershell?
[15:57] <saste> the logic used for the auto-insertion is not very linear, it sometimes ends up in unexpected results
[15:57] <foo357> sorry wrong channel :S
[16:02] <brontosaurusrex> ok, i will just fail this under: dont capture 10 bit
[16:02] <brontosaurusrex> file*
[16:06] <brontosaurusrex> p.s. no difference even if i capture to rle/8bpc
[16:06] <brontosaurusrex> so its must be some sort of tape failure
[16:06] <brontosaurusrex> (betacam imx)
[16:31] <odigem> hi
[16:31] <odigem> i have a trouble  with set watrmark
[16:32] <odigem> 'movie=logo.png, [watermark];[in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10[out]'
[16:38] <saste> odigem, spurious comma after logo.png
[16:38] <odigem> ok
[16:39] <odigem> Error initializing filter 'overlay' with args . . .
[16:40] <odigem> "movie=water.png [logo]; [in][logo] overlay=10:mainH-overlayH-10:1 [out]"
[16:40] <odigem> nobr
[16:41] <odigem> overlay=main_w-overlay_w-10:10 paste it
[16:41] <odigem> work
[16:42] <odigem> ffmpeg developers  must fix this parser
[16:43] <saste> mainH, overlayH... were never supported
[16:43] <odigem> hmm
[16:44] <odigem> image compessed with compress video, maybe need add watermark ater convert
[16:47] <brontosaurusrex> p.s.2. same problem with capture on another system, now assuming that this is HD > SD interlaced conversion, which is to tight for yadif
[16:47] <brontosaurusrex> or something ...
[17:18] <Haikarainen^st> brontosaurusrex: (regarding the mediainfo mod16problem gray youtube video) :http://pastebin.com/rQ8Ye6Hv
[17:18] <Haikarainen^st> sorry for the delay my daughter thought my computer needed a bath
[17:20] <brontosaurusrex> Haikarainen, thats fine, did you upload as mkv or mp4?
[17:21] <brontosaurusrex> i neved had any problems with such mp4s
[17:23] <brontosaurusrex> Haikarainen, example http://www.youtube.com/watch?v=g4QlhKulPmg&list=LLJDEjI0iBkBnRo54x09wIig&feature=mh_lolz
[17:23] <Haikarainen^st> brontosaurusrex: I tried both
[17:24] <brontosaurusrex> oh, i see a problem now > Format profile                           : High 4:4:4 Predictive at L4.0
[17:25] <Haikarainen^st> brontosaurusrex: how do I fix that?
[17:26] <brontosaurusrex> add -pix_fmt yuv420p
[17:27] <brontosaurusrex> someplace
[17:28] <brontosaurusrex> some theory http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Profiles
[17:33] <Haikarainen^st> Thanks a bunch!
[17:34] <brontosaurusrex> np
[17:39] <brontosaurusrex> however, that is something to be reported to youtube people
[17:39] <brontosaurusrex> its a youtube bug
[19:31] <edrx> I am trying to record a video for a screencast with "ffmpeg -loglevel quiet -f x11grab -i $DISPLAY -r 5 -s 530x550+0+0 /tmp/out.mp4"
[19:32] <edrx> but it is coming out of proportion - made thinner that expected... I uploaded the result to http://angg.twu.net/eev-videos/test.mp4
[19:32] <edrx> and it is less than 1MB, if that helps... any hints? =(
[19:35] <edrx> (I tested playing it with both mplayer and vlc, with the same results. btw, any hints on how to check the video dimensions from the command line would be greeat, too...)
[19:35] <Mavrik> edrx: ffprobe <video> :)
[19:36] <Mavrik> that'll help.
[19:38] <edrx> Mavrik: yep, great, thanks! let me check what I did wrong - one of my scripts uses 540x600 and another 530x550, and I tought I had used the second one, but ffprobe reports 540x600... are all XxY sizes valid for .mp4 files?
[19:39] <Mavrik> edrx: yeah, but the dimensions have to be even numbers when using 4:2:0 pixel format (which is default for x264)
[19:40] <Mavrik> so 540x600 is ok
[19:40] <Mavrik> 541x600 isn't :)
[19:40] <edrx> I can change the script to produce console output - I am currently using "-loglevel quiet", "> /dev/null 2>&1", and "nohup"...
[19:41] <edrx> is the pastebin the right way to go even when what we paste is below 200 characters?
[19:41] <Mavrik> edrx: yeah, usually it's less spammy for other people on the channel :)
[19:41] <edrx> ok
[19:41] <Mavrik> edrx: no need for pastebin if you found your problem though :)
[19:44] <edrx> in 530x550 both numbers are even but not multiples of 4. no problem, I guess?... (I am googling for the meaning of 4:2:0, and it seems to mean something about colors - which explains why some bright colors on my screen were dulled down)
[20:13] <Mavrik> edrx: yeah, it describes the way colors are encoded
[20:13] <Mavrik> 4:2:0 usually dulls down red color for some players
[20:13] <Mavrik> edrx: you don't have to keep multiples of 4 though :9
[20:15] <Ede_123> Hello everybody! I've got a quick question regarding FFmpeg logo: is it covered under a free license? If yes I'd be uploading it to Wikimedia Commons to use it in Wikipedia articles on FFmpeg.
[20:16] <edrx> Mavrik: ok, thanks - I found this, btw, http://en.wikipedia.org/wiki/4:2:0 , and I'm still multitasking between changing my scripts and doing other things...
[20:29] <heyimbob> When I'm cutting a piece out of a video without re-encoding is it possible to make ffmpeg say at which time position/frame number does it start cutting? Like I run "ffmpeg -ss 00:20:00 -t 10 -i file.avi -c copy piece.avi" and in the output it says "found keyframe to start extraction at time 00:XX:XX" or "starting extraction at frame Y"?
[20:31] <bparker> heyimbob: I don't think so... you'd probably have to decode it to a keyframe-less format first
[20:31] <brontosaurusrex> heyimbob: scene detection and stuff?
[20:32] <bparker> like image sequence or rawvideo
[20:32] <heyimbob> bparker: the idea is not to do any decoding
[20:33] <Mavrik> heyimbob: you can't cut video on anything else than keyframe boundaries without reencoding for most formats
[20:34] <heyimbob> Mavrik: i know. the point is to cut roughly but fast. and i need to know the start of the piece in the original file
[20:34] <bparker> heyimbob: if your codec works in such a way that previous/next frames depend on the frame you want to start at (e.g. h264), then it's not possible without decoding it first
[20:35] <bparker> you may be able to do it with gstreamer or some video editing program though.
[20:35] <bparker> but just with ffmpeg, I don't think so
[20:35] <bparker> but again, I think you'd still have to re-encode
[20:35] <bparker> either way
[20:36] <llogan> Ede_123: go for it, but please use the standard logo and not the seasonal ones.
[20:36] <brontosaurusrex> heyimbob: http://www.youtube.com/watch?v=Vfvq_skLS8Q&feature=youtu.be < fast enough?
[20:36] <heyimbob> sadsad. well as ffmpeg itself knows where it starts cutting, i'll do sources->patch->profit )) thanks for
[20:44] <odigem> what is?
[20:44] <odigem> PTS 10919, next:10918996 invalid dropping st:1
[20:44] <odigem> DTS 10933, next:8159000 st:0 invalid dropping
[20:44] <odigem> PTS 10933, next:8159000 invalid dropping st:0
[20:44] <odigem> 240x320 ok 320x240 start spamming
[20:45] <odigem> but video continue converting
[20:45] <brontosaurusrex> odigem: entire thing, post on pastesomething
[20:46] <odigem> lines are repeated
[20:46] <odigem> not need paste
[20:46] <brontosaurusrex> ok
[20:47] <odigem> setup:  -threads 3 -i $video -b 400k  -s  320x240 -f avi -vcodec libxvid   -ab 22000
[20:53] <bjrohan> Hey all, I have had a LOT of problems with ffmpeg. I am running Kubuntu 12.10. I installed via the repos, no go. I went to https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide still really not a go, when I tried to convert a file, a lot oferror messages. I have since removed via the same instructions
[20:53] <bjrohan> What do you recommend I do now? I would like to record via my webcam, and desktop, edit said videos, and upload them to the web
[20:56] <llogan> bjrohan: what was wrong exactly with using the compiled ffmpeg?
[20:56] <llogan> without the command and the console output we can only make guesses
[20:57] <bjrohan> I have since deleted all of the info. One issue I had is that no matter what video editor I used KDenlive, Openshot, etc I would export to say mpeg4 and it woudl say I don't have the codecs, same for avi, anthing but ogg.
[20:58] <llogan> sounds like a problem with the editors or your package management system
[20:59] <bjrohan> It has been recommeded that I use a static build, woudl that work?
[20:59] <llogan> you can use a static build if you like, but your editors will not use it.
[20:59] <llogan> they probably depend on the so-called "ffmpeg" package in the repository
[21:00] <bjrohan> okay, because it is in my home dir and they are looking in the root dirs?
[21:01] <llogan> so maybe you need to install "libavcodec-extra-53" for your editors if they use ffmpeg to encode the exported video
[21:01] Action: llogan downloads 12.10
[21:01] <relaxed> Yeah, I would think they would depend on libav's libs.
[21:02] <relaxed> In which case the easiest route for the user would be to install ffmpeg through the distro and use that. It should be a somewhat recent version.
[21:02] <bjrohan> Okay, I have the libavcodec53, not the extras installed
[21:03] <llogan> install the extra package. it will remove libavcodec53 and replace it with the extra version
[21:03] <llogan> FYI
[21:04] <llogan> (you're not actually using ffmpeg from FFmpeg when you install "ffmpeg" from the Ubuntu repository)
[21:04] <llogan> but you can still use the static build if you want to use ffmpeg manually since it won't interfere with the package management system
[21:06] <bjrohan> I am new to Linux so please bear with me. Ubuntu made their own ffmpeg fork, called it avcon, but Ubuntu named it ffmpeg in their repos so that all other programs that use it and referred to it that way called on it, and were redirected to the avcon?
[21:06] <bjrohan> so the Ubuntu ffmpeg is not ffmpeg
[21:06] <llogan> ubuntu did not make the fork, but the package manager is involved with the fork.
[21:07] <bjrohan> I would like to use the GUI as I edit the videos by adding sounds, titles, etc. I should try installing ffmpeg from my stock repo, then add inthe libav53 extras and give it a go?
[21:07] <bjrohan> and this would explain why my gui's aren't working b/c they can't see the ffmpeg stuff I did my manually installing it via git in my home dir
[21:08] <llogan> yes for both
[21:08] <relaxed> No, they depend on the libs.
[21:08] <bjrohan> I will give it a try. thank you for your help, and your patience in explaining it
[21:08] <relaxed> but as llogan said you need to install extras
[21:09] <bjrohan> I have the libavcodec installed, should I uninstall it, install the ffmpeg, then reinstall (all via the package manager)
[21:09] <llogan> yes, it's a pain in the ass and annoying but that's ubuntu these days.
[21:09] <bjrohan> okay
[21:09] <bjrohan> had you not explained it, I would have tried everything but that and been frustrated
[21:10] <brontosaurusrex> or perhaps reinsall the editing app in question, should bring in dependancies i imagine
[21:10] <brontosaurusrex> reinstall*
[21:10] <relaxed> In Soviet Russia, road forks you.
[21:10] <llogan> is that why it's a PITA?
[21:11] <bjrohan> I am using DesktopRecorder, and OpenSHot. uninstall those as well, reinstall the ffmpeg, the libav, libav extras then DesktopRecorder and Openshot. Also, I did an uninstall/purge of the libav
[21:12] <relaxed> You would have to recompile the editors against FFmpeg libs for that to work. IMO, it's not worth the pain.
[21:13] <relaxed> Oh, nm.
[21:13] <bjrohan> ?
[21:14] <bjrohan> This would all be via package manager
[21:14] <Ede_123> llogan: What license would be the logo then? LGPL 2.1+ like source of FFmpeg?
[21:15] <relaxed> bjrohan: What is uninstalling them going to do? They're going to pull the same dependencies. Just install the extras package.
[21:16] <bjrohan> Oh.
[21:16] <bjrohan> I am used to Windoze I guess, where some things don't find and update to new items
[21:17] <bjrohan> It is all uninstalled and purged now :-) I only had a few programs that I could tell
[21:18] <llogan> Ede_123: i should know, but i don't. i, or someone else, should get back to you on that if you wait.
[21:19] <bjrohan> libavcodec-extra-53 was now installed by something else automagically this time. I went to install it, and it was already there
[21:20] <bjrohan> in Linux no need to restart for any of this correct
[21:20] <relaxed> correct
[21:20] <Ede_123> llogan: OK
[21:22] <bjrohan> It was a no go :-(. I installed ffmpeg the libav53-extras and winff. I ran winff, tried to convert an ogv to MPEG-4 it gave an error saying can't find ffmpeg or avconv
[21:23] <bjrohan> what would be the command line for this so I can post the output?
[21:23] <llogan> run "hash -r" then try again
[21:24] <bjrohan> I did and no change
[21:24] <bjrohan> I tried sudo hash -r, said no command
[21:25] <llogan> then you'll either have to view the WinFF preset and run it in ffmpeg, or enable the console output in WinFF
[21:26] <llogan> and you don't need sudo for hash
[21:26] <bjrohan> Hmm, I tried enabling the command line option, no command line appeared still same error
[21:27] <bjrohan> what would be the proper command line fo convert an .ogv file to .mpeg-4 and I will run it
[21:27] <brontosaurusrex> bjrohan: whats your goal for this final format?
[21:29] <brontosaurusrex> or: where it will be used/played?
[21:29] <bjrohan> Here may be an issue as well. I record desktop screenshots, that are a weird size 1680 x 1050.  My goal is to be able to put this into an editor, add titles, combine different videos with fading, and output it to one single file pref mpeg4 to upload to a website
[21:29] <llogan> your editor can't import the ogv?
[21:29] <brontosaurusrex> ok, and recordmydesktop is giving you ogv only?
[21:30] <bjrohan> recordmydesktop is just giving me ogv unfortunately, I can't see where to set it to something different
[21:30] <bjrohan> I tried using Kazam, which was fine and output mp4 excpet after 30 seconds the audio went in and out
[21:31] <brontosaurusrex> ok, and you do understand that generaly speaking is easier to edit with I-frame only formats? (like prores, xdcam, that avid thingy, ect)
[21:31] <llogan> Ede_123: The author, Herve Flores, "The author give all rights (for all supports - for all uses, commercial or not) to the 'FFmpeg Project'"
[21:32] <llogan> regarding the logo
[21:32] <bjrohan> brontosaurusrex: Nope. I am new to all of this in Linux
[21:32] <brontosaurusrex> thats not linux, thats video editing
[21:33] <brontosaurusrex> linux only makes it harder
[21:33] <bjrohan> brontosaurusrex: I had no idea. What would be the ideal setup to use to record a desktop and webcam, and edit it in a GUI?
[21:33] <bjrohan> in Linux
[21:33] <llogan> regardless, i'd expect that Kdenlive or some other editr will allow the user to edit Theora in ogv.
[21:33] <brontosaurusrex> bjrohan: you d have to research on what is the ideal I-frame format for your specific editor
[21:34] <brontosaurusrex> so , convert ogv > to that something big > output to something big again > encode with ffmpeg latest cli to something small <<< thats how i would approach
[21:35] <brontosaurusrex> so you keep your distro intact and use latest tech from latest ffmpeg at the same time
[21:36] <brontosaurusrex> and "something small" is/was h.264 + aac in mp4 container <<< for the last 10 years
[21:36] <bjrohan> What is typical to convert the ogv up to?
[21:36] <brontosaurusrex> llogan: sure, but it can get slow/crashy
[21:37] <bjrohan> Openshot would import the ogv, but the audio and the Video tracks were out of sync.
[21:37] <bjrohan> I could play the ogv file in VLC and it was all fine
[21:37] <bjrohan> Still doesn't resolve my problem that I can not seem to convert to anything with ffmpeg
[21:37] <bjrohan> or winff
[21:37] <bjrohan> it says it can't find the codec
[21:39] <bjrohan> no matter what format. If winFF can't find it, I assume nothing else can
[21:39] <brontosaurusrex> its probably theora in that ogv
[21:39] <bjrohan> I believe it is from my reading. I can output from OpenShot to ogg
[21:41] <Ede_123> llogan: so probably the logo ist not free? At least as long as the Ffmpeg project doesn't release it under some free license...
[21:42] <brontosaurusrex> bjrohan: i gave you the general approach (and iam editor for 20 years now, so i know some basics, now up to you to read up on things...)
[21:42] <bjrohan> http://paste.ubuntu.com/1316296/
[21:42] <brontosaurusrex> Ede_123: i doubt graphics is relased under gpl like licenses
[21:43] <durandal_1707> bjrohan: you are using wrong application
[21:44] <bjrohan> durandal_1707:  What do you mean?
[21:45] <durandal_1707> first that is not ffmpeg from FFmpeg but from Libav, and it is also pretty old
[21:45] <llogan> Ede_123: i suppose it's open to interpretation at this time.
[21:46] <durandal_1707> Ede_123: ask author to properly license it
[21:46] <bjrohan> durandal_1707: All I want to do is to record my desktop or from webcam, edit it in a GUI and export to a web friendly format. I don't care how really. It sounds like Ubunutu made this difficult
[21:46] <llogan> Ede_123: http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2011-May/112294.html
[21:47] <durandal_1707> bjrohan: and full output of what is failing
[21:47] <bjrohan> durandal_1707: What can I do to post that here for review?
[21:47] <bjrohan> WinFF says it can't find avcon or ffmpeg
[21:47] <durandal_1707> and that is error?
[21:48] <bjrohan> durandal_1707: when I try to use that gui to convert yes. What command line would I enter to see what is wrong
[21:48] <bjrohan> ffmepeg video.ogv I don't know what goes here video.mp4
[21:49] <llogan> is ffmpeg installed? run "ffmpeg" and see what it says.
[21:49] <durandal_1707> than ask WinFF devs
[21:49] <Ede_123> llogan: Thanks, so it seems Ffmpeg project ist the copyright holder right now
[21:50] <durandal_1707> Ede_123: as said on another channel ffmpeg project is not legal entity
[21:51] <llogan> also, i am not a lawyer, so i don't know what to suggest other than a re-licensing from Herve.
[21:52] <llogan> and he wasn't very keen about using CC license
[22:25] <funyun> hi. i have a video and the audio is 8 seconds slow. meaning people are talking and the audio does play until 8 seconds after. can anyone help me fix this? i've tried -itsoffset but it doesn't change it at all. i think i'm doing it wrong
[22:29] <brontosaurusrex> funyun: from man; delay[:stream_specifier] integer ()
[22:31] <funyun> brontosaurusrex: so like ffmpeg -i movie.mkv -delay 0:1 8 output.mkv ?
[22:31] <brontosaurusrex> funyun: dunno, try and see what error you get
[22:33] <brontosaurusrex> funyun: perhaps try mkvtoolnix http://www.bunkus.org/videotools/mkvtoolnix/doc/mkvmerge-gui.html
[22:34] <brontosaurusrex> search for "delay" on that url
[22:34] <brontosaurusrex> if this is matroaka specific
[22:36] <funyun> brontosaurusrex: thanks
[00:00] --- Tue Oct 30 2012


More information about the Ffmpeg-devel-irc mailing list