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

burek burek021 at gmail.com
Sun Aug 24 02:05:01 CEST 2014


[01:00] <rjp421> can i use a multibitrate .f4m/.m3u8 as an input and expect the adaptive bitrate switching to work?
[05:06] <SmallMalePony> When I convert a file into a fixed-bitrate audio exact copy with this command: ffmpeg.exe -i %1 -c:a pcm_s16le -q:v 0 %1.avi
[05:06] <SmallMalePony> ... it doesn't have any sound once loaded into Premiere Pro.
[05:06] <SmallMalePony> It does have sound when played in my media player.
[05:06] <SmallMalePony> Any idea why that is?
[05:06] <SmallMalePony> Premiere Pro doesn't give an error of any kind. The video fully works. Just no sound at all.
[06:14] <ecaz> Does FFmpeg stream / rip SACD in linux?
[06:14] <ecaz> audio
[09:39] <djdduty> hey guys, I am trying to use cli ffmpeg on windows, and I have a bunch of images name '1.png' all the way up to like '2201.png', am wanting to compile them via ffmpeg into a timelapse video, however using '%d.png' or similair says no files found, how can I get it to work without adding 0s to make the all the same number of chars long and using %5d.png or whaever that is.
[09:39] <djdduty> I have done it before, and completely forgotten
[09:40] <relaxed> djdduty: ffmpeg -f image2 -pattern_type glob -r $framerate -i *.png ...
[09:41] <relaxed> or just %d.png should work
[09:41] <djdduty> relaxed: I have tried both of those...
[09:41] <djdduty> relaxed: oh wait, I made progress
[09:41] <djdduty> need to specify an output file...
[09:42] <djdduty> thought my command was solid, I guess not
[09:43] <djdduty> there we go... relaxed I got it, I didn't notice I had ' around the file name.
[09:43] <relaxed> it was liquid
[09:49] <anshul_mahe> I have webcam working on linux and on windows with other webcam software
[09:49] <anshul_mahe> but in windows using ffmpeg it fails like this http://pastebin.com/NPpcqrX0
[09:50] <anshul_mahe> I am using ffmpeg cmd on windows
[10:10] <drag0nius> how can i get file info without ffmpeg throwing At least one output file must be specified ?
[10:14] <anshul_mahe> drag0nius, you can use ffprobe, it gives file info and does not throw error
[10:14] <drag0nius> thanks
[10:15] <anshul_mahe> I am using windows webcam dshow ffmpeg, ffmpeg does list the device but when i try to dump the webcam stream dshow give no device found
[10:16] <anshul_mahe> for detail of command http://pastebin.com/CnqECd19
[11:33] <js3> hey guys
[11:33] <js3> is there someway to demux a file with ffmpeg
[11:34] <js3> i want to demux the audio, encode it with another app, use ffmpeg and libx264 to encode the video
[11:34] <js3> then mux them back together again
[11:34] <js3> but i can't figure out how to demux
[11:41] <c_14> ffmpeg -i input -vn -c:a copy out.audio
[11:49] <js3> thanks :)
[11:49] <js3> c_14 so i run this
[11:49] <js3> ffmpeg -i input -vn -c:a copy out.audio
[11:50] <js3> encode the audio with besweet
[11:50] <onto> Hi! I am trying to convert a sequence of pngs from stdout and convert them to a video file with the following: "./frameserve | ffmpeg -y -c:v png -f image2pipe -r 10 -sameq -i - -c:v libx264 -pix_fmt yuv420p test.mp4" but it keeps showing "Error while decoding stream #0:0"
[11:50] <js3> then my line is like this
[11:50] <onto> I'm using: ffmpeg version 0.10.12-7:0.10.12-1~precise1
[11:50] <js3> ffmpeg.exe -y -i %input% -sws_flags spline -sn -vf yadif=1:0,crop=%width%:%height%:%left%:%top% -s 704x394 -c:v libx264 -preset slow -crf %crf% -r 50 %output%.mp4
[11:51] <js3> how can i remux the audio in that line
[11:52] <js3> or on a seperate line
[11:58] <relaxed> onto: remove -sameq
[11:58] <relaxed> onto: Oh, you need to upgrade.
[11:59] <onto> relaxed: I tried removing sameq, will try upgrading
[11:59] <relaxed> the current version is 2.3.3
[11:59] <relaxed> http://johnvansickle.com/ffmpeg/
[12:00] <c_14> js3: just add -i %audio%, you might need an appropriate map though
[12:02] <onto> relaxed: Thanks a lot! It's working flawlessly! :)
[12:03] <relaxed> flawless victory
[12:03] <js3> thanks for the help c_14
[12:04] <onto> relaxed: Although, when I terminate the program with "Ctrl+C" it says: "pipe:: Input/output error"
[12:05] <relaxed> so?
[12:05] <onto> relaxed: and the output file doesn't seem to play
[12:05] <relaxed> use "killall -INT ffmpeg" to stop ffmpeg
[12:06] <onto> relaxed: ok, will try. Thanks again!
[12:06] <relaxed> or ffmpeg -i input -t $time
[14:22] <mosasaur> I get Failed to set value 'srt' for option 'codec:s:0.2'
[14:22] <mosasaur> how can I check for subtitle codecs?
[14:24] <mosasaur> "ffmpeg -codecs | grep srt" gives:  "D S    srt             SubRip subtitle"
[14:42] <klaxa> D means decode
[14:42] <klaxa> if it doesn't have an E you can't encode to that format
[14:45] <mosasaur> Thanks klaxa. I got this command from a websearch: "ffmpeg -i *.mp4 -vn -an -codec:s:0.2 srt sub.srt" so it probably worked for them. Can I get a better ffmpeg version?
[14:45] <mosasaur> I'm now using : ffmpeg version 0.8.15-6:0.8.15-1, Copyright (c) 2000-2014 the Libav developers
[14:45] <mosasaur>   built on Aug  9 2014 10:19:49 with gcc 4.7.2
[14:49] <klaxa> that is... pretty old, also >libav developers
[14:52] <mosasaur> thanks klax and fflogger, I guess I'll have to compile my own version
[15:38] <mosasaur> OK I compiled and installed ffmpeg and it doesn't produce an error when I extract subs. However the media file uses mov-text and I want to extract to srt. How do I do that? "ffmpeg -i *.mp4 -vn -an -codec:s:0:2 mov_text sub.srt" produces an empty file and says  "... Invalid argument"
[15:43] <mosasaur> "ffmpeg -i *.mp4 -vn -an -codec:s:0:2 srt sub.srt" works but only gives 188 bytes
[15:44] <Mavrik> perhaps -f srt?
[15:47] <mosasaur> thanks Mavrik, but the result is the same, somehow I can't get at the data
[15:58] <mosasaur> nvm. I suppose I have the same problem as this : http://stackoverflow.com/questions/20676906/is-it-possible-to-extract-subrip-srt-subtitles-from-an-mp4-video-with-ffmpeg so it would need OCR to extract the subs
[16:39] <SmallMalePony> When I convert a file into a fixed-bitrate audio exact copy with this command: ffmpeg.exe -i %1 -c:a pcm_s16le -q:v 0 %1.avi
[16:39] <SmallMalePony>  ... it doesn't have any sound once loaded into Premiere Pro.
[16:39] <SmallMalePony> It does have sound when played in my media player.
[16:39] <SmallMalePony>  Any idea why that is?
[16:39] <SmallMalePony>  Premiere Pro doesn't give an error of any kind. The video fully works. Just no sound at all.
[19:55] <anshul_mahe> is there any example for avdevice_list_devices or some document about that
[22:25] <notwist> Hey guys, trying to compile, no idea what I'm doing basically but I get "ERROR: libx264 not found" even though it should be available (I compiled it successfully five minutes ago, at least I think so). Here's my config.log: http://paste.ubuntu.com/8125090/
[22:26] <sacarasc> notwist: Can you paste your full command and output.
[22:27] <Chaz6> notwist: I think you're missing a -ldl in there
[22:27] <notwist> full command and output: http://paste.ubuntu.com/8125125/
[22:27] <Chaz6> try LDFLAGS=-ldl configure [...] (iirc)
[22:28] <sacarasc> notwist: Oh, configure isn't finding libx264?
[22:28] <notwist> Chaz6: like this? $ LDFLAGS=-ldl ./configure --enable-gpl
[22:28] <Chaz6> yep like that
[22:28] <notwist> sacarasc: doesn't look like it, no
[22:28] <notwist> Chaz6: got the exact same error
[22:30] <notwist> any way to verify the lib is there to begin with?
[22:30] <Chaz6> might be ./configure --extra-ldflags="-ldl"
[22:30] <Chaz6> It's finding the x264 lib but it's the missing dl that's the problem
[22:31] <notwist> I just did $ ./configure --extra-ldflags="-ldl" --enable-gpl (...) and it's giving me the same error
[22:32] <sacarasc> notwist: Try following this guide: https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
[22:33] <sacarasc> (And if you did, you installed stuff in the wrong place.)
[22:33] <Chaz6> notwist: you have the same problem as this guy http://comments.gmane.org/gmane.comp.video.ffmpeg.user/48639
[22:33] <notwist> probably should have done that from the start rather than reading some random blog post
[22:37] <notwist> all right, well I'm in way over my head here. I'll just try the guide above some other day. If anyone's interested this is the one I followed: http://www.tedsimbajon.com/Blog/TechBlogExploded.php?id=85 but I elected to use yasm 1.3 instead of 1.2, not sure if that made a difference or not.
[00:00] --- Sun Aug 24 2014


More information about the Ffmpeg-devel-irc mailing list