On Sun, Apr 26, 2015 at 12:21 PM, kevin <[email protected]> wrote:
> On Sun, Apr 26, 2015 at 11:53 AM, Nicolas George <[email protected]> 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 fdk_aac, it sounds a little better but still skips a > lot and sounds out of sync > > 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 > > Here is output file > > https://www.dropbox.com/s/gizfnpofetfhvu6/screen-default-mpeg4-fdk-aac.mp4?dl=1 > > > > I also tried without fdk_aac and similar output: skips a lot and sounds > out of sync > ffmpeg -f avfoundation -i "1:0" -r 25 -c:v mpeg4 screen-nofdk.mp4 > > Here is output file: > > https://www.dropbox.com/s/z9e3mes6a98vtd4/screen-default-mpeg4-nofdk.mp4?dl=1 > complete ffmpeg output/log of two commands 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 built with Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn) configuration: --prefix=/usr/local/Cellar/ffmpeg/2.6.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libfreetype --enable-libvorbis --enable-libvpx --enable-libfaac --enable-libass --enable-ffplay --enable-libfdk-aac --enable-openssl --enable-libopus --enable-libquvi --enable-libx265 --enable-nonfree --enable-vda libavutil 54. 20.100 / 54. 20.100 libavcodec 56. 26.100 / 56. 26.100 libavformat 56. 25.101 / 56. 25.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 11.102 / 5. 11.102 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 [avfoundation @ 0x7ffeb980da00] Selected pixel format (yuv420p) is not supported by the input device. [avfoundation @ 0x7ffeb980da00] Supported pixel formats: [avfoundation @ 0x7ffeb980da00] uyvy422 [avfoundation @ 0x7ffeb980da00] yuyv422 [avfoundation @ 0x7ffeb980da00] nv12 [avfoundation @ 0x7ffeb980da00] 0rgb [avfoundation @ 0x7ffeb980da00] bgr0 [avfoundation @ 0x7ffeb980da00] Overriding selected pixel format to use uyvy422 instead. [avfoundation @ 0x7ffeb980da00] Stream #0: not enough frames to estimate rate; consider increasing probesize Input #0, avfoundation, from '1:0': Duration: N/A, start: 1.352485, bitrate: N/A Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1440x900, 1000k tbr, 1000k tbn, 1000k tbc Stream #0:1: Audio: pcm_f32le, 44100 Hz, stereo, flt, 2822 kb/s Output #0, mp4, to 'screen-default-mpeg4-fdk-aac.mp4': Metadata: encoder : Lavf56.25.101 Stream #0:0: Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 1440x900, q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc Metadata: encoder : Lavc56.26.100 mpeg4 Stream #0:1: Audio: aac (libfdk_aac) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, s16, 128 kb/s Metadata: encoder : Lavc56.26.100 libfdk_aac Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native)) Stream #0:1 -> #0:1 (pcm_f32le (native) -> aac (libfdk_aac)) Press [q] to stop, [?] for help frame= 176 fps= 25 q=31.0 Lsize= 1488kB time=00:00:07.10 bitrate=1714.5kbits/s dup=69 drop=0 video:1391kB audio:89kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.524834% ffmpeg -f avfoundation -i "1:0" -r 25 -c:v mpeg4 screen-nofdk.mp4 ffmpeg version 2.6.1 Copyright (c) 2000-2015 the FFmpeg developers built with Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn) configuration: --prefix=/usr/local/Cellar/ffmpeg/2.6.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libfreetype --enable-libvorbis --enable-libvpx --enable-libfaac --enable-libass --enable-ffplay --enable-libfdk-aac --enable-openssl --enable-libopus --enable-libquvi --enable-libx265 --enable-nonfree --enable-vda libavutil 54. 20.100 / 54. 20.100 libavcodec 56. 26.100 / 56. 26.100 libavformat 56. 25.101 / 56. 25.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 11.102 / 5. 11.102 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 [avfoundation @ 0x7ffb1a80da00] Selected pixel format (yuv420p) is not supported by the input device. [avfoundation @ 0x7ffb1a80da00] Supported pixel formats: [avfoundation @ 0x7ffb1a80da00] uyvy422 [avfoundation @ 0x7ffb1a80da00] yuyv422 [avfoundation @ 0x7ffb1a80da00] nv12 [avfoundation @ 0x7ffb1a80da00] 0rgb [avfoundation @ 0x7ffb1a80da00] bgr0 [avfoundation @ 0x7ffb1a80da00] Overriding selected pixel format to use uyvy422 instead. [avfoundation @ 0x7ffb1a80da00] Stream #0: not enough frames to estimate rate; consider increasing probesize Input #0, avfoundation, from '1:0': Duration: N/A, start: 1.343998, bitrate: N/A Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1440x900, 1000k tbr, 1000k tbn, 1000k tbc Stream #0:1: Audio: pcm_f32le, 44100 Hz, stereo, flt, 2822 kb/s Output #0, mp4, to 'screen-nofdk.mp4': Metadata: encoder : Lavf56.25.101 Stream #0:0: Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 1440x900, q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc Metadata: encoder : Lavc56.26.100 mpeg4 Stream #0:1: Audio: aac (libfaac) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, s16, 128 kb/s Metadata: encoder : Lavc56.26.100 libfaac Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native)) Stream #0:1 -> #0:1 (pcm_f32le (native) -> aac (libfaac)) Press [q] to stop, [?] for help frame= 159 fps= 25 q=31.0 Lsize= 1416kB time=00:00:06.36 bitrate=1824.2kbits/s dup=64 drop=2 video:1335kB audio:74kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.496789% _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
