[FFmpeg-user] Concurrent Segment/Concat Read/Writes

2015-04-26 Thread Robert Nagy
I'm using ffmpeg to segment/concat a 120Mbit/s file in 2 second segments to/from a HTTP server. The problem is that ffmpeg only writes/reads one segment at a time which doesn't fully use all available bandwidth. Each request to/from the server has a limit of 10MB/s. However using 5+ concurrent

[FFmpeg-user] Extra, unwanted frames at beginning when converting mpeg2 - h.264

2015-04-26 Thread Scott Roy
I have a sequence of video files that I captured from my video camera using iMovie, so the output is a series of .mov files, one for each scene that iMovie detects. The video is in mpeg2 format. I’m trying to convert each file to h.264 in an mp4 container using the very simple: ffmpeg -i

Re: [FFmpeg-user] Concurrent Segment/Concat Read/Writes

2015-04-26 Thread Nicolas George
Le septidi 7 floréal, an CCXXIII, Robert Nagy a écrit : I'm using ffmpeg to segment/concat a 120Mbit/s file in 2 second segments to/from a HTTP server. The problem is that ffmpeg only writes/reads one segment at a time which doesn't fully use all available bandwidth. Each request to/from the

Re: [FFmpeg-user] ffmpeg - avfoundation Audio stutters / sounds broken with screen capture [sample, config, output included]

2015-04-26 Thread Nicolas George
Le sextidi 6 floréal, an CCXXIII, kevin a écrit : I am trying to do a basic screen capture in OS X [10.10.3] with audio from mic using avfoundation. The recorded audio is stuttering, breaks, or there is short bursts. This is the command I use [ffmpeg installed with brew, config and output

Re: [FFmpeg-user] ffmpeg - avfoundation Audio stutters / sounds broken with screen capture [sample, config, output included]

2015-04-26 Thread Moritz Barsnick
On Sun, Apr 26, 2015 at 06:56:18 -0700, kevin wrote: Furthermore, as mentioned in my first email, with -i 0:0 [FaceTime camera and mic] both audio and video is great. The problem is only with -i 1:0. Just to confirm (though I know that's what N:0 means): So you're using the same audio input

Re: [FFmpeg-user] can Press [q] to stop, [?] for help be disabled in FFmpeg.exe? Please help!

2015-04-26 Thread James Heliker
Hi Simon / All - Useful to know about -nostdin - I need to spend more time rtfm. However, update on my issue: I'm not sure where the bug lies, but I was incorrect about stdin being the problem. It was a coincidence that PAExec crashed near when Press [q] to stop... was output from FFmpeg.

Re: [FFmpeg-user] ffmpeg - avfoundation Audio stutters / sounds broken with screen capture [sample, config, output included]

2015-04-26 Thread Moritz Barsnick
Hi Kevin, On Sat, Apr 25, 2015 at 20:42:12 -0700, kevin wrote: The recorded audio is stuttering, breaks, or there is short bursts. ffmpeg -f avfoundation -i 1:0 -r 25 -c:v libx264 -preset fast -crf 22 -c:a libfdk_aac -b:a 128k -ar 44100 -s 640x480 screen.mp4 What happens to the audio if

Re: [FFmpeg-user] Concurrent Segment/Concat Read/Writes

2015-04-26 Thread Robert Nagy
It would have been easier if the format itself was concatenable. What formats would you suggest? You can probably do slightly better using pipes. Hm. You mean I would create a named pipe for every segment with the name = filename? Please do not top-post on this mailing-list. If you do not

Re: [FFmpeg-user] Concurrent Segment/Concat Read/Writes

2015-04-26 Thread Robert Nagy
In what way does it depend on the formats? The files are streamed to/from in a nut container. I've managed to fake it on the segmenting side by buffering through a file, i.e. the segmenter writes to disk and then I wait for the segment_list items and start uploading and then remove from disk once

Re: [FFmpeg-user] Concurrent Segment/Concat Read/Writes

2015-04-26 Thread Nicolas George
Le septidi 7 floréal, an CCXXIII, Robert Nagy a écrit : In what way does it depend on the formats? The files are streamed to/from in a nut container. It would have been easier if the format itself was concatenable. I've managed to fake it on the segmenting side by buffering through a file,

Re: [FFmpeg-user] ffmpeg - avfoundation Audio stutters / sounds broken with screen capture [sample, config, output included]

2015-04-26 Thread Carl Eugen Hoyos
kevin kevincastiglione at gmail.com writes: ffmpeg -f avfoundation -i 1:0 -r 25 -c:v mpeg4 -c:a libfdk_aac -b:a 128k -ar 44100 screen-default-mpeg4-fdk-aac.mp4 ffmpeg version 2.6.1 Copyright (c) 2000-2015 the FFmpeg developers Please test current FFmpeg git head with framerate and please

Re: [FFmpeg-user] ffserver crashes from time to time

2015-04-26 Thread Carl Eugen Hoyos
En Figureo Canal figureo56.com at gmail.com writes: root at optimum-pbx:~# Unrelated: This is a very, very bad idea. *** glibc detected *** ./bin/ffserver: double free or corruption First step is to run the debug binary of ffserver under gdb and get a backtrace. It is not unlikely that

Re: [FFmpeg-user] ffmpeg - avfoundation Audio stutters / sounds broken with screen capture [sample, config, output included]

2015-04-26 Thread kevin
On Sun, Apr 26, 2015 at 9:14 AM, Nicolas George geo...@nsup.org wrote: Le sextidi 6 floréal, an CCXXIII, kevin a écrit : I am trying to do a basic screen capture in OS X [10.10.3] with audio from mic using avfoundation. The recorded audio is stuttering, breaks, or there is short bursts.

Re: [FFmpeg-user] ffmpeg - avfoundation Audio stutters / sounds broken with screen capture [sample, config, output included]

2015-04-26 Thread kevin
On Sun, Apr 26, 2015 at 12:21 PM, kevin kevincastigli...@gmail.com wrote: On Sun, Apr 26, 2015 at 11:53 AM, Nicolas George geo...@nsup.org wrote: Le septidi 7 floréal, an CCXXIII, kevin a écrit : I am a novice, could you please give the command for me to try it? -c:v mpeg4 and remove all

Re: [FFmpeg-user] ffmpeg - avfoundation Audio stutters / sounds broken with screen capture [sample, config, output included]

2015-04-26 Thread kevin
On Sun, Apr 26, 2015 at 9:05 AM, Moritz Barsnick barsn...@gmx.net wrote: On Sun, Apr 26, 2015 at 06:56:18 -0700, kevin wrote: Furthermore, as mentioned in my first email, with -i 0:0 [FaceTime camera and mic] both audio and video is great. The problem is only with -i 1:0. Just to

Re: [FFmpeg-user] ffmpeg - avfoundation Audio stutters / sounds broken with screen capture [sample, config, output included]

2015-04-26 Thread Nicolas George
Le septidi 7 floréal, an CCXXIII, kevin a écrit : I am a novice, could you please give the command for me to try it? -c:v mpeg4 and remove all other options to the video codec (preset, crf). Regards, -- Nicolas George signature.asc Description: Digital signature

Re: [FFmpeg-user] ffmpeg - avfoundation Audio stutters / sounds broken with screen capture [sample, config, output included]

2015-04-26 Thread kevin
On Sun, Apr 26, 2015 at 11:53 AM, Nicolas George geo...@nsup.org wrote: Le septidi 7 floréal, an CCXXIII, kevin a écrit : I am a novice, could you please give the command for me to try it? -c:v mpeg4 and remove all other options to the video codec (preset, crf). I tried first with

Re: [FFmpeg-user] ffmpeg - avfoundation Audio stutters / sounds broken with screen capture [sample, config, output included]

2015-04-26 Thread Carl Eugen Hoyos
kevin kevincastiglione at gmail.com writes: Unrelated: Please remove the following options, they don't do what you think they do or are the default: --arch=x86_64 --as=yasm --disable-shared --enable-static --enable-pthreads --enable-postproc --enable-bzlib --enable-zlib

Re: [FFmpeg-user] ffmpeg - avfoundation Audio stutters / sounds broken with screen capture [sample, config, output included]

2015-04-26 Thread kevin
On Sun, Apr 26, 2015 at 7:34 PM, Carl Eugen Hoyos ceho...@ag.or.at wrote: kevin kevincastiglione at gmail.com writes: Will removing these configure options help solve the problem? No, it would just make it easier to see if there is a problem in your configure line (like using