[Ffmpeg-devel-irc] ffmpeg.log.20120830
burek
burek021 at gmail.com
Fri Aug 31 02:05:01 CEST 2012
[00:50] <aspirant> anyone ever have any luck streaming in apple's segmented format using ffmpeg?
[07:34] <Samus_Aran> is there anything wrong with "ffmpeg -vcodec copy -acodec copy -i 00025.mts output.mp4"? it is telling me it doesn't know the encoder "copy".
[07:34] <Samus_Aran> sorry, unknown decoder.
[07:35] <Samus_Aran> ah, had to put the -i at the start
[07:42] <Samus_Aran> cheers
[14:36] <hackeron> anyone familiar with opencv? - how would I pass something like an AVDictionary or specifically av_dict_set(&opts, "rtsp_transport", "tcp", 0); to CvCapture *input = cvCreateFileCapture("rtsp://192.168.88.14/"); so that ffmpeg knows to use TCP?
[18:01] <LaserDragon> Hi, I am very much a novice trying to use ffmpeg to do some simple video cutting (cutting out 2 second segments from the middle of 7 second clips)
[18:01] <LaserDragon> i use the following command: ffmpeg -i full.mp4 -ss 3 -t 2 -vcodec copy -acodec copy cut.mp4
[18:01] <LaserDragon> and this is the output i get http://pastebin.com/RWJ6wFZ1
[18:02] <LaserDragon> basically, if I set -ss to 0 or get rid of it I can cut from the start of the video, but any attempt to get it to cut from half way through results in some failure or another
[18:03] <LaserDragon> I'm sure I'm being a muppet but I'm to muppetlike figure it out, anyone around who can help me?
[18:06] <relaxed> LaserDragon: look at the "select" video filter in the man page.
[18:06] <LaserDragon> ok, thanks
[18:09] <relaxed> man ffmpeg (then type "/^ select" without the quotes and hit enter.)
[18:12] <LaserDragon> i'm sorry to say I'm running under windows, dont think man's going to work here is it? I think I've found the section on the webpage though
[18:13] <FelipeS> hey all, I'm trying to convert the container of a video from mpegts to mp4 (h264, aac) but ffmpeg output is littered with the following "[h264 @ 0x7fb26b841c00] non-existing PPS referenced
[18:13] <FelipeS> [h264 @ 0x7fb26b841c00] non-existing PPS 0 referenced
[18:13] <FelipeS> [h264 @ 0x7fb26b841c00] decode_slice_header error"
[18:13] <FelipeS> I'm using ffmpeg -i input.ts -acodec copy -vcoded copy output.mp4
[18:16] <relaxed> which version?
[18:18] <FelipeS> relaxed ffmpeg 0.11.1
[18:19] <FelipeS> I have a bunch of ts files. Some of them are converted without a problem, some others fail
[18:19] <relaxed> maybe -copyinkf would help?
[18:19] <FelipeS> or actually, it does output an mp4 file but not playable
[18:20] <relaxed> I assume the input is playable?
[18:21] <FelipeS> relaxed yes. let me try that knob.
[18:36] <LaserDragon> relaxed, I'm sorry I'm still having trouble, any chance you could have a look a the command I ran and let me know why you think it isnt working?
[18:36] <LaserDragon> E:\ffmpeg\bin>ffmpeg -i full.mp4 -vf 'showinfo,select=gte(n\,150)*lte(n\,250)' -vcodec copy -acodec copy test.mp4
[18:36] <LaserDragon> it works, but it outputs the full 7 second video
[18:39] <LaserDragon> ffmpeg -i full.mp4 -vf select='gte(t\,3)*lte(t\,5)' -vcodec copy -acodec copy test.mp4
[18:39] <LaserDragon> produces similar results
[18:40] <LaserDragon> seems to be happy using the filter but ignores the specified window whether it's in seconds or frames
[18:44] <FelipeS> relaxed didnt work either.
[18:52] <funyun> hi. can i speed up audio of a video without re-encoding it with ffmpeg? when i play the video in mplayer, i have to speed it up 200ms. can i fix this with mplayer?
[19:01] <funyun> anyone know
[19:02] <funyun> ?
[19:14] <funyun> anyone here use ffmpeg?
[19:39] <gingerling> hi
[19:40] <gingerling> anyone got a sec to look at a render profile from kdenlive thats not working.
[19:40] <gingerling> "f=avi acodec=flac ar=48000 ab=1024k ac=2 vcodec=ffv1 qscale=1 aspect=%dar"
[19:41] <gingerling> it used to work apparanly, then someone made a patch fix, now its not working. Struggeling to get anyone to care. What I want is to render losless into an .ogg or .ogv
[19:41] <gingerling> this one was preset to avi, but wont work to avi or .ogg
[19:48] <llogan> gingerling: you want ffv1 and flac in ogg container?
[19:48] <llogan> what do you mean by "won't work"? are there any actual error messages?
[19:50] <llogan> also ab=1024k and qscale=1 are probably ignored with ffv1 and flac so you can remove them
[19:52] <llogan> ogg container probably won't support ffv1
[20:18] <gingerling> hi sorry
[20:18] <gingerling> llogan, burned my tea
[20:18] <gingerling> had to fix it
[20:18] <gingerling> er, well - no error while rendering (though another guy said he got an error)
[20:19] <llogan> isn't that called Lapsang souchong?
[20:19] <gingerling> however, when I try and play it in VLC i get something about "undf" not recognised
[20:19] <gingerling> (lol - good one! tea meaning dinner in the north of england though)
[20:19] <gingerling> in other video players i get no error
[20:20] <gingerling> I have used pitivi to render with dirac and flac, seems ok. dont se ffv1 on there through
[20:20] <llogan> i'm not totally sure what you're doing and what the issue is.
[20:21] <llogan> as i understand it, kdenlive won't export using the setting preset you pasted?
[20:21] <gingerling> sorry - er, well. I am trying to render a video in a free format with lossless compression. Kdenlive has that script as the only preset avaliable, and it isnt working
[20:21] <gingerling> yes
[20:21] <gingerling> I need to ether write my own or fix that one.
[20:21] <llogan> no error? it just sits there?
[20:21] <llogan> did anyone reply in #kdenlive?
[20:22] <gingerling> the kdenlive site basically just points me to you. It renders fine but wont play right or i get an error "No suitable decoder module:
[20:22] <gingerling> VLC does not support the audio or video format "undf". Unfortunately there is no way for you to fix this." on playback
[20:23] <llogan> so it did allow you to make a file?
[20:24] <relaxed> gingerling: you may have better luck with another container, like matroska.
[20:25] <gingerling> yes, it allowed a file.
[20:26] <gingerling> relaxed, MMM. I dont really mind what it is as long as its free/non-patented etc.
[20:26] <gingerling> but kdenlive only have me that option. Could you help me write a new one to see if i can get it working?
[20:26] <relaxed> f=mkv
[20:27] <relaxed> (I'm guessing)
[20:27] <gingerling> let me see if it helps
[20:28] <gingerling> it says unsuprted video format in the dialouge
[20:28] <gingerling> :S
[21:33] <funyun> hi. can i speed up audio of a video without re-encoding it with ffmpeg? when i play the video in mplayer, i have to speed it up 200ms. can i fix this with ffmpeg?
[22:03] <FelipeS> hey all, I'm using ffmpeg to segment an m4v (h264, aac) into 10 second MP4 files, using something like this 13 ffmpeg -v 9 -loglevel 99 -i input.m4v -map 0 -codec:v libx264 -acodec ac3 -f segment -segment_time 10 -segment_list prog_index.m3u8 -segment_format mp4 stream%05d.mp4
[22:03] <FelipeS> but only the first segment works :|
[22:04] <FelipeS> and they're not even 10 seconds long
[22:05] <FelipeS> playback of the rest of files just shows a black screen and no sound
[22:21] <FelipeS> is it a keyframe issue?
[22:33] <FelipeS> :| anyone?
[22:36] <FelipeS> pretty much this problem: http://ffmpeg.org/trac/ffmpeg/ticket/1425
[22:37] <FelipeS> dev closed it as invalid, but I think he misunderstood the problem
[22:40] <saste> FelipeS: reopen the ticket and explain why, you don't need special privileges for that
[22:42] <saste> HLS tickets are hopeless, they will be always reopened
[22:42] <brimestone> hey guys, i have a piece of footage that is shot in LogC. I'm wondering i can use FFmpeg to add a LUT/Color Profile to get the "normal" looking image in Rec709?
[22:48] <_Mike_> Hello - I'm wondering if someone might be able to give me a hand trying to get ffmpeg to run as part of a class assignment - I can't figure out what I'm doing wrong but I know there must be something (or else I wouldn't be here...)
[22:49] <sacarasc> The ffmpeg executable or as part of another programme?
[22:49] <_Mike_> The executable, I believe.
[22:49] <sacarasc> Can you paste the command and entire output to a pastebin type site?
[22:50] <sacarasc> Also, a little detail on what you need to do might help, too.
[22:50] <_Mike_> Yea, I should probably start there - I am in a *Really* basic programming course
[22:50] <_Mike_> My only real advantage right now is that I've been using IRC for years and I know some UNIX navigation commands
[22:51] <_Mike_> Basically we were tasked with obtaining ffmpeg and a .tar of some png files our professor sent us, extract them, and then use ffmpeg to make a movie of the png files.
[22:52] <_Mike_> So I got ffmpeg 0.11.1 and the .png tar files, extracted/made them, but now I can't seem to figure out how to run ffmpeg to make the movie file
[22:52] <tdr> _Mike_, you should be able to make a movie from the files after a 5 minute web search
[22:52] <_Mike_> (I could use lots of things to make a movie, yea, but we have to turn in a copy/paste or screenshot of the terminal/command-line we used
[22:53] <llogan> _Mike_: http://ffmpeg.org/faq.html#How-do-I-encode-single-pictures-into-movies_003f
[22:53] <tdr> llogan, make sure to share a link that watermarks someone else's name on the movie ;)
[22:54] <_Mike_> Alright, that brings up question set #2 then - I tried to run ffmpeg as a command but I get back Command not found
[22:54] <tdr> _Mike_, run it by full path if you didn't use an installer
[22:55] <_Mike_> Well, when I ls the place I extracted it to I don't even see ffmpeg as a viable command
[22:55] <_Mike_> I see ffmpeg.c but it won't let me compile it
[22:55] <llogan> what's your distro?
[22:55] <_Mike_> I ran configure --disable-yasm (it wouldn't let me run a normal configure) but still nothing
[22:55] <llogan> or use the static builds instead
[22:55] <_Mike_> Sorry, not sure what distro stands for...
[22:56] <llogan> damn...
[22:56] <llogan> that's wot i meant to do...
[22:58] <_Mike_> ok, grabbing and trying it now - thank you so much for the help - hopefully will be back with success shortly!
[22:59] <llogan> what did we learn here class? cheating gets results.
[22:59] <_Mike_> I'm not sure if I'd even call this cheating...
[23:00] <_Mike_> Recognizing that the directions as-written don't lead to the output as-written, so I followed what I saw on-screen - came here to ask :)
[23:01] <llogan> i was making a bad joke
[23:01] <_Mike_> Ah, my bad - long day + no coffee = geology student who misses jokes
[23:02] <llogan> that's gneiss.
[23:02] <_Mike_> Maybe, but that last one was schist
[23:02] Action: _Mike_ gives llogan 2 points though
[23:17] <_Mike_> ah darn
[23:17] <_Mike_> The static version gives me: FATAL: kernel too old Segmentation fault
[23:18] <_Mike_> and looking deeper into the original one suggested I needed something yasm, which I got, but installing it still won't let me configure ffmpeg 0.11.1 without doing --disable-yasm (which makes it not work at all)
[23:26] <brontosaurusrex> mpeg2 - program stream, 4:2:2, marked as tff, CBR mode, how?
[23:33] <brontosaurusrex> JEEB, you around?
[23:33] <sacarasc> _Mike_: Get the other static build, the 2.6.26 one.
[23:34] <_Mike_> I'll give that a shot right now
[23:35] <brimestone> hey guys, i have a piece of footage that is shot in LogC. I'm wondering i can use FFmpeg to add a LUT/Color Profile to get the "normal" looking image in Rec709?
[23:37] <_Mike_> sacarsac: sadly I get the same error
[23:38] <sacarasc> _Mike_: What OS are you on?
[23:39] <_Mike_> Windows 7 <bleh> but I'm logged on through secure shell ssh to my university's UNIX server
[23:40] <llogan> _Mike_: is your kernel older than 2.6.26? you can see with "uname -r"
[23:41] <_Mike_> 2.6.9_78.0.22.EL_lustre.1.6.7.2_custom
[23:41] <llogan> i guess they don'y make it easy for you
[23:41] <_Mike_> apparently...
[23:42] <llogan> maybe your yasm is too old
[23:43] <_Mike_> I got yasm 1.2.0 - I can't seem to find any newer ones, but I'll go back to looking
[23:44] <llogan> did you actually install it?
[23:44] <_Mike_> The only command it allowed me to do was "configure" but if that was install, then yes
[23:45] <llogan> what's the error you get when you run "./configure" in the ffmpeg directory?
[23:45] <_Mike_> yasm not found, use --disable-yasm for a crippled build If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.log" produced by configure as this will help solving the problem.
[23:46] <llogan> then add --disable-yasm. i usually don't recommend that but you only need to make one video.
[23:46] <_Mike_> I tried that but it didn't configure with a ffmpeg executable
[23:47] <llogan> once you run "./configure --disable-yasm", and it is successful, then you need to run "make"
[23:47] <_Mike_> wait...
[23:47] <_Mike_> doh
[23:47] <llogan> did they show you any of this in class?
[23:47] <_Mike_> "make yasm" might be needed too, right?
[23:47] <_Mike_> I think the prof skipped the "make" part
[23:47] <brimestone> anyone know how to use -LUTYUV?
[23:47] <llogan> not. forget yasm.
[23:48] <llogan> apparently one of the south park creators just walked by... i didn't get up.
[23:48] <_Mike_> ok, trying configure --disable-yasm
[23:49] <_Mike_> common.mak:17: *** unterminated call to function `foreach': missing `)'. Stop.
[23:50] <llogan> try this: make distclean; ./configure --disable-yasm; make
[23:50] <llogan> do you have access to a less graybeard server?
[23:51] <_Mike_> not as such no
[23:51] <_Mike_> ok... so far that last bit seems to be working... it's "making"
[23:52] <llogan> it will probably take some time on your ancient jalopy server.
[23:53] <llogan> ocne it is finished you can run ffmpeg. no need to install.
[23:53] <_Mike_> no dice :(
[23:53] <llogan> error?
[23:54] <_Mike_> hm hang on a sec...
[23:54] <llogan> it will output many things that look like "errors", but they can be ignored
[23:56] Action: llogan leaves for a while for uberlate lunch.
[23:56] <_Mike_> lost connection with the server, had to reconnect :(
[23:56] <_Mike_> llogan thank you so much for the help - hopefully this gets me there
[23:57] <_Mike_> damn :(
[23:57] <_Mike_> common.mak:17: *** unterminated call to function `foreach': missing `)'. Stop.
[00:00] --- Fri Aug 31 2012
More information about the Ffmpeg-devel-irc
mailing list