[FFmpeg-user] FFMPEG output is black video, with audio

Lou lou at lrcd.com
Wed Nov 7 08:35:34 CET 2012


On Tue, Nov 6, 2012, at 10:48 AM, Mike Gaynor wrote:
> Hi guys,
> I installed ffmpeg on mac os x a couple weeks ago, and it was working
> great, then about a week ago, for no apparent reason, it began spitting
> out
> mp4's with no video, but with the correct duration and audio intact. I
> have
> since then tried multiple scripts in terminal, reinstalled ffmpeg, and
> even
> installed it on another machine to have the same results.
> I know this is probably a user-error but I would really like to get this
> resolved! This is the most recent script in terminal that failed.
> 
> mike-imac:~ Russell$ ffmpeg -i desktop/gm-outlook-v03.mov -c:v libx264
>  -crf 22 desktop/out.mp4
> ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
>   built on Oct 29 2012 16:44:46 with Apple clang version 4.1
> (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
>   configuration: --prefix=/usr/local/Cellar/ffmpeg/1.0 --enable-shared
> --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables
> --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac
> --enable-libmp3lame --enable-libxvid
>   libavutil      51. 73.101 / 51. 73.101
>   libavcodec     54. 59.100 / 54. 59.100
>   libavformat    54. 29.104 / 54. 29.104
>   libavdevice    54.  2.101 / 54.  2.101
>   libavfilter     3. 17.100 /  3. 17.100
>   libswscale      2.  1.101 /  2.  1.101
>   libswresample   0. 15.100 /  0. 15.100
>   libpostproc    52.  0.100 / 52.  0.100
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc4d881ae00] Stream #1: not enough frames
> to
> estimate rate; consider increasing probesize
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc4d881ae00] Stream #2: not enough frames
> to
> estimate rate; consider increasing probesize
> Guessed Channel Layout for  Input Stream #0.1 : stereo
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'desktop/gm-outlook-v03.mov':
>   Metadata:
>     major_brand     : qt
>     minor_version   : 537199360
>     compatible_brands: qt
>     creation_time   : 2012-10-19 01:19:18
>   Duration: 00:01:28.00, start: 0.000000, bitrate: 216664 kb/s
>     Stream #0:0(eng): Video: qtrle (rle  / 0x20656C72), rgb24, 854x480,
> 215121 kb/s, SAR 854:854 DAR 427:240, 30 fps, 30 tbr, 30 tbn, 30 tbc
>     Metadata:
>       creation_time   : 2012-10-19 01:19:18
>       handler_name    : Apple Alias Data Handler
>       timecode        : 00:00:00:00
>     Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
> stereo, s16, 1536 kb/s
>     Metadata:
>       creation_time   : 2012-10-19 01:19:18
>       handler_name    : Apple Alias Data Handler
>       timecode        : 00:00:00:00
>     Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
>     Metadata:
>       creation_time   : 2012-10-19 01:20:14
>       handler_name    : Apple Alias Data Handler
>       timecode        : 00:00:00:00
> File 'desktop/out.mp4' already exists. Overwrite ? [y/N] y
> using SAR=1/1
> [libx264 @ 0x7fc4d882fe00] using cpu capabilities: MMX2 SSE2Fast SSSE3
> FastShuffle SSE4.2 AVX
> [libx264 @ 0x7fc4d882fe00] profile High 4:4:4 Predictive, level 3.1,
> 4:4:4

Your player doesn't support 4:4:4. Add "-pix_fmt yuv420p" as an output
option.


More information about the ffmpeg-user mailing list