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

burek burek021 at gmail.com
Thu Apr 4 02:05:01 CEST 2013


[00:00] <Jordan_> what is the start paramater?
[00:00] <woop> ah, gotcha
[00:00] <woop> Video: h264 (Main)
[00:00] <woop> signifies it's encoded using the Main profile
[00:00] <relaxed> correct
[00:01] <woop> thanks!
[00:42] <iive> Zeranoe: don't forget to tell us the results of your research.
[01:03] <undercash> hello
[01:04] <undercash> i want to stream to localhost but i get connection refused
[01:04] <undercash> what s going wrong?
[01:05] <undercash> ok
[01:06] <undercash> http://pastebin.com/b7JmSRxv
[01:10] <undercash> well first i tried http://localhost:4444   then with the ip, reason it s hidden
[01:18] <undercash> hmm ok
[01:18] <undercash> i guess i spoke with a bot lmao
[01:27] <klaxa> streaming over http is not that trivial methinks
[01:27] <klaxa> undercash ^
[01:27] <klaxa> it would work like that with udp though
[01:27] <undercash> ah yea
[01:28] <undercash> right
[01:28] <undercash> gonna try thx
[01:29] <Aelingil> I need help defining the output name of a video being created. I am trying to export the Date/Time the file was created. I'm unsure how to put that into the file name.
[01:30] <klaxa> ffmpeg <whatever options> `date`.ext
[01:32] <Aelingil> That will exports the file as 'date.avi' I may be doing something wrong here is what i'm typing ffmpeg -i %03d-capture.jpg -r 12 -s 640x480 'date'.avi
[01:32] <klaxa> huh? that's odd, what shell are you using?
[01:32] <klaxa> you are using the right symbols though, right? ´ not '
[01:33] <Aelingil> i'm doing that through Terminal at the moment. Once i get it working i'm going to be putting it into Zoneminder.
[01:33] <Aelingil> Gravel or " ?
[01:33] <klaxa> the one that isn't a single quote
[01:34] <Aelingil> no i was doing single quotes, let me try that real quick.
[01:36] <Aelingil> It started to work, but it told me "Unable to find a suitable output format for 'Tue' "
[01:37] <klaxa> ah uh...
[01:37] <klaxa> right
[01:37] <klaxa> my bad
[01:37] <klaxa> ffmpeg <whatever options> "`date`".ext
[01:37] <klaxa> try that
[01:38] <Aelingil> and it worked perfectly.
[01:38] <klaxa> nice :)
[01:38] <Aelingil> Thank you very much for your help. I was trying date earlier but the ' and ` messed me up
[01:38] <klaxa> heh
[01:38] <Aelingil> doesnt help that i bound ` to open terminal.. but that is a different issue..
[01:40] <llogan> ffmpeg -i input $(date +%F).ext is usually recommended over backticks
[01:40] <klaxa> ah hmm right
[01:41] <llogan> http://mywiki.wooledge.org/BashFAQ/082
[01:49] <Aelingil> I'll try that next.
[01:54] <klaxa> >`...` is the legacy syntax required by only the very oldest of non-POSIX-compatible bourne-shells.
[01:54] <klaxa> i... i didn't know...
[01:54] <klaxa> i'll make sure to use $(...) from now on
[01:55] <llogan> mostly it's just easier to read
[01:56] <klaxa> escaping, nested quotes, etc.
[01:56] <klaxa> i see why this is preferred
[02:13] <keyzs> anyone knows a portable swf to mp4 converter?
[02:24] <relaxed> keyzs: it's command line only, yes
[02:25] <keyzs> :/
[02:25] <keyzs> now i have to read the manual
[02:26] Action: relaxed pats keyzs on the back
[02:27] <keyzs> ffmpeg -i input.swf -b:v 3000k -bufsize 64k output.mp4 ?
[02:27] <keyzs> i have to confess i never used ffmpeg :)
[02:28] <llogan> start with: ffmpeg -i input.swf output.mp4
[02:28] <relaxed> keyzs: https://ffmpeg.org/trac/ffmpeg/wiki/x264EncodingGuide
[02:30] <keyzs> relaxed how do i specify several files for conversion
[02:31] <relaxed> write a "for loop"
[02:31] <relaxed> which I have no idea how to do on windows.
[02:33] <keyzs> lol
[02:35] <relaxed> Sad considering I work in IT, but thankfully I rarely deal with windows :)
[02:38] <keyzs> lucky
[02:39] <keyzs> i think only after a week reading the  manual i set the correct options and convert this
[02:39] <relaxed> what are you doing with this video?
[02:40] <keyzs> i have swf files
[02:40] <keyzs> i want to put them on mp4
[02:40] <keyzs> i gave this on command line
[02:40] <keyzs> ffmpeg -i colunaVertebral_grandedorsal_decubitodorsal2.swf -b:v 64k -bufsize 3000k output.mp4
[02:41] <keyzs> said could not find codecs parameters
[05:05] <psyc__> Does anyone know if there is a way to preserve or manually set the DISPOSITION parameters of a stream when convertering a video when you're using the -map option? Mainly interested in preserving the 'default', 'forced' and 'comment' options of audio/subtitle streams but I can't find the information anywhere
[05:33] <psyc__> I don't know if there's any situation where those values are preserved or not, but I can't seem to find it anywhere
[08:37] <speechless|2> writing a program that gets the audio out of a video and converts it to opus format, i am new to ffmpeg and would like to use it, i read this: http://dranger.com/ffmpeg/tutorial03.html. i would like to read the library docs to see what everything does, but ffmpeg have serveral and i am not willing to go through everything
[08:38] <speechless|2> which libraries extracts audio and recodes them for opus or wav?
[09:19] <xintron> I get a lot of "PES packet size mismatch" from a TV-stream I'm transcoding and re-streaming. The problem here is that this makes my re-stream freeze (just like if ffmpeg is restarting the transcoding after hitting these errors). Any solution to this (to just ignore these errors)? Full output: http://pastie.org/private/pee4mabgsuhxs3gxyo8psg
[11:12] <Bor0> hi, with libav*, how can I know when the video is finished with playback? what's a good check for this? as I can see ffplay continues to count seconds even when video is completed
[11:16] <keyzs> morning, wanna convert a file from swf to mp4, what is the basic commands via command line?
[12:11] <speechless|2> keyzs: i have no idea, i came here for help as well
[12:11] <speechless|2> my guess
[12:12] <speechless|2> try
[12:12] <speechless|2> ffmpeg.exe -i inputvideo.swf outputvideo.mp4
[12:14] <speechless|2> keyzs: yea, it works
[12:19] <xintron> Why can't ffserver use x264 presets properly? For ffmpeg to send data to a feed the stream needs to explicity set all the options that the preset holds. I also need to specify the size of the stream (instead of having it use the same size as the input stream). ffmpeg -i <http-stream> <ffserver-feed.ffm>
[12:30] <viric> can't the server specify a preset? are you sure?
[12:30] <viric> (in the ffm)
[12:30] <viric> moreover, aren't the presets hardcoded in libx264?
[12:36] <xintron> viric, I have `AVOptionVideo preset fast` in my stream-section but the problem is that it doesn't read the setting for that preset. Another issue is the size, it defaults to 160x128 if no VideoSize is given
[12:36] <xintron> But shouldn't it be possible to read the size from the input source instead?
[12:38] <viric> check the ffserve code
[12:44] <xintron> viric, Ah, seems like there is no parsing for libx264 codecs.
[12:44] <xintron> s/codecs/presets/
[12:44] <viric> libx264 is special in presets
[12:44] <viric> (since some version)
[12:45] <xintron> how do you mean?
[12:45] <viric> libx264 presets are handled by libx264, not by ffmpeg
[12:45] <zap0> call people names.. thats one way to be mean
[12:46] <xintron> viric, yeah, but specifying `AVOptionVideo preset fast` should send the properl flag to ffmpeg just as when you run ffmpeg -preset fast shouldn't it?
[12:48] <viric> does '-preset fast' work with libx264?
[12:48] <xintron> yes
[12:49] <xintron> uses the x264 -preset fast.
[12:49] <viric> I don't know much.
[12:49] <viric> there is -vpre, -pre, -preset, ...
[13:49] <psyc__> Is there any way, when converting an mkv to mp4, to preserve the 'default' and 'forced' settings, or at least manually set them using ffmpeg? It seems like they are lost. I'm referring to the DISPOSTION: settings that appear in ffprobe, which are all set to 0 after conversion.
[14:02] <psyc__> Or is there any equivalent of these settings in an mp4/m4v type file?
[15:12] <spanish> hi, I've enoded an mp3 to flv, is there anyway to know if it was done setting every frame to a keyframe?
[15:12] <spanish> I want to test pseudo-streaming flv's
[16:41] <Aelingil> Is there any way to chose the file location when your outputing the file? I want to move the videos i'm creating to a new location automatically.
[17:50] <zap0> just give a path infront of the filename
[17:58] <Aelingil> ..... i.. i.. i am sorry i posted that question.. i cant believe i did not think about that before hand..
[18:22] <viric> Aelingil: quite fun :)
[18:33] <agherzan> Hello all.
[18:33] <agherzan> I need a hint about an issue I encounter.
[18:34] <agherzan> I want to convert a video (rtsp stream) to a jpg.
[18:34] <agherzan> But just one which should be updated at a -r interval.
[18:34] <agherzan> so i tried to use a filename and noot a pattern for output.
[18:34] <agherzan> not*
[18:35] <agherzan> But i get this error:
[18:35] <agherzan> [image2 @ 0x1dfe3a0] Could not get frame filename number 2 from pattern '/home/agherzan/001_camaraip.jpg'
[18:35] <agherzan> av_interleaved_write_frame(): Invalid argument
[18:35] <agherzan> Any hints how to take the screenshot in the same output.
[18:35] <agherzan> ?
[18:35] <agherzan> camerashot*
[18:41] <DrJ> I have a script running this command: /usr/local/bin/ffmpeg -i /home/scanner/public_html/fire-pages/$f.2.wav -acodec libmp3lame -ab 32k /home/scanner/public_html/fire-pages/$f.mp3
[18:42] <DrJ> it works, but the resulting mp3 file does not show the correct duration of the media
[18:42] <DrJ> for example, the audio might be 1 minute long but it only shows as 30 seconds
[18:44] <agherzan> i know there was an option named... -updatefirst 1 which was exactly for my issue. It seems there us no such option anymore?
[19:36] <t4nk517> hello ... are here ffmpeg experts? ))
[19:37] <t4nk517> I'm interesting wht ffmpeg is so bad with mkv playing and what could be done with this?
[19:37] <viric> *playing*?
[19:38] <t4nk517> playing processing and mostly  seeking
[19:39] <ubitux> t4nk517: do you have a sample?
[19:43] <t4nk475> well, any build of ffplay could be given as example ... after the version ffmpeg-0.8  seeking is ... well ... it is absent at all on mkv files ... and ffplay freezes
[19:44] <ubitux> i have no trouble with mkv here
[19:44] <ubitux> what version of ffmpeg are you using? and again, i need a sample to check
[19:45] <t4nk475> I'm Windows user, so http://ffmpeg.zeranoe.com/builds/win32/shared/ffmpeg-1.1.3-win32-shared.7z
[19:45] <ubitux> this is somehow old now but ok
[19:45] <ubitux> i've tons of mkv playing fine here so&
[19:46] <t4nk475> if you try any relatively large mkv seeking is absent and after ther first seek ffplay freezes
[19:47] <t4nk475> I've tested it on movies with the size about 2-3-4 Gb
[19:47] <ubitux> i'm seeking in a 7GB sample without any problem here
[19:47] <ubitux> instant seek
[19:48] <t4nk475> hm ...
[19:49] <ubitux> if it's a regression and you know the hash, that might help; but i can bisect myself since i'm unable to reproduce
[19:49] <t4nk475> strange ... but this is not only my problem ... what could be the reason
[19:50] <t4nk475> ?
[19:50] <ubitux> (i *can't*, sorry)
[19:50] <ubitux> dunno
[19:50] <ubitux> share a sample first?
[19:50] <ubitux> try a more recent ffmpeg too
[19:50] <DrJ> what does the flag -ab do?
[19:50] <DrJ> just curious
[19:50] <ubitux> -b:a, audio bitrate
[19:50] <DrJ> ah
[19:50] <DrJ> then why would it be -ab
[19:51] <DrJ> instead of just -b
[19:51] <DrJ> or -a
[19:51] <ubitux> -b is bitrate
[19:51] <ubitux> -b:v video bitrate
[19:51] <ubitux> -b:a audio bitrate
[19:51] <DrJ> oh
[19:51] <DrJ> thanks
[19:51] <ubitux> you generally want to explicit what the bitrate is for
[19:51] <ubitux> (-b should warn)
[19:51] <ubitux> '-a' alone makes no sense
[19:52] <DrJ> -b:a, audio bitrate  <--when you posted that I thought it meant a was an alias for b
[19:52] <DrJ> which is why I was confused
[19:53] <ubitux> yeah no sorry, that's literally the name of the option
[19:53] <t4nk475> trying to find a good example
[19:56] <t4nk475> can I place magnet link here?
[19:57] <ubitux> t4nk475: pm is fine
[19:58] <t4nk475> could you please tell me how to pm in browser? )
[19:59] <ubitux> you're using irc from a browser?
[19:59] <ubitux> pm = private message, /query me
[20:02] <ubitux> t4nk475: doesn't look like an anime, i'm disappointed :(
[20:03] <t4nk475> @ubitux: it's not))
[20:04] <ubitux> t4nk475: in the meantime, can you try at least 1.2, or best git master?
[20:05] <ubitux> afaik it's available on zeranoe
[20:05] <ubitux> http://ffmpeg.zeranoe.com/builds/  try one of the latest here
[20:06] <t4nk475> @ubitux: I have tried 1.2 with the same result
[20:06] <ubitux> ok
[20:08] <ubitux> t4nk475: ok so, how to reproduce with the sample?
[20:08] <t4nk475> just run it with ffplay
[20:08] <ubitux> not yet completely downloaded locally, but it seems i'm able to seek forward and backward without trouble
[20:08] <t4nk475> and try to seek
[20:09] <t4nk475> hmmmm ...
[20:09] <t4nk475> file is BICEPS MEN.mkv?
[20:09] <ubitux> yes
[20:09] <ubitux> also note i'm not on windows
[20:10] <t4nk475> Linux or Mac?
[20:10] <ubitux> linux
[20:10] <ubitux> 64-bit
[20:10] <t4nk475> probably this is Windows problem ((
[20:11] <ubitux> ideally, you should git bisect
[20:11] <ubitux> if it's a regression
[20:12] <t4nk475> I don't think such problem could appear and wasn't noticed
[20:12] <ubitux> you said it works with < 0.8
[20:13] <t4nk475> yeah ... and .0.7.1
[20:13] <ubitux> checkout from the git
[20:13] <t4nk475> what are the git versions?
[20:14] <ubitux> git is the control revision system
[20:14] <ubitux> you checkout the sources
[20:15] <ubitux> and then you select versions with let's say git checkout upstream/release/0.8
[20:15] <ubitux> start by git clone the repository and get a fresh build from it
[20:16] <ubitux> when you have it i can assist you with the git bisect
[20:16] <ubitux> don't ask me for help in building under windows though
[20:16] <t4nk475> sure)) it's very difficult))
[20:16] <ubitux> i don't know, i don't use windows
[20:16] <t4nk475> in the meantime, could you please recomment me any good library for mkv playing?
[20:17] <ubitux> no idea
[20:31] <i_s> does anyone know any way at all to properly transcode a video that has this issue: "[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd1ca80d000] multiple edit list entries, a/v desync might occur, patch welcome" ?
[20:32] <ubitux> you could open a track entry as feature request with the sample
[20:32] <ubitux> and then either write code or wait for someone to be motivated enough to do it
[20:35] <i_s> hm, ok
[21:25] <i_s> anyone know where i can get access to the FFmpeg-devel mailing list including attachments?
[21:25] <booi> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel/
[21:27] <saste> i_s: gmane
[21:28] <i_s> booi: that archive scrubs the attachments
[21:29] <i_s> saste: ill try that, thanks
[21:34] <booi> Oh actually I meant sign up so you get the attachments.
[21:38] <booi> i_s: This site seems to archive the attachments as well actually. http://dir.gmane.org/gmane.comp.video.ffmpeg.devel
[21:39] <i_s> ah i see. yeah, i found the one i was looking for there :)
[21:59] <No_Miaus> hello, how can i add the Cover_Type?
[22:00] <No_Miaus> i saw -metadata:s:v comment="Cover (Front)" but this add "Cover (Front)" like 'Cover_Description' not like Cover_Type..
[22:00] <No_Miaus> i was wondering if it's possible :P
[23:00] <sander__> Do anyone know how to embed a http/h264 stream of video into a website with html5?
[23:01] <elkng> if there is video on youtube in different formats "mp4,webm,flv" which one has better quality ?
[23:02] <ubitux> generally mp4
[23:02] <ubitux> at least my observation when doing clive -f best
[00:00] --- Thu Apr  4 2013


More information about the Ffmpeg-devel-irc mailing list