[FFmpeg-trac] #1489(avformat:closed): Tag [1][0][0][0]/0x00000001 incompatible with output codec id '65536' (was: Incompatible pixel format 'rgb555le' for codec 'libx264', auto-selecting format 'yuv420p')
FFmpeg
trac at avcodec.org
Wed Jun 27 11:03:59 CEST 2012
#1489: Tag [1][0][0][0]/0x00000001 incompatible with output codec id '65536'
-------------------------------------+------------------------------------
Reporter: Fanch | Owner:
Type: defect | Status: closed
Priority: normal | Component: avformat
Version: unspecified | Resolution: invalid
Keywords: mov | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+------------------------------------
Changes (by cehoyos):
* status: new => closed
* component: FFmpeg => avformat
* keywords: => mov
* resolution: => invalid
Old description:
> Summary of the bug:
> How to reproduce:
> {{{
> % ffmpeg -i input ... output
> ffmpeg version
> built on ...
> }}}
>
> ffmpeg -i TutoXsplit2_Tests.avi -vcodec libx264 -s 1280x720 -aspect
> 1280:720 -r 30000/1001 -vpre fast -aco dec copy
> -f mp4 /var/www/lesnulmarrants/TutoXsplit2.mp4
> ffmpeg version 0.9.1-syslint, Copyright (c) 2000-2012 the FFmpeg
> developers
> built on Jan 9 2012 14:42:55 with gcc 4.4.5
> configuration: --prefix=/usr/local/cpffmpeg --enable-nonfree --enable-
> zlib --enable-gpl --enable-pthreads --enable-libopencore-amrnb --enable-
> decoder=liba5 2 --enable-libopencore-amrwb
> --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-
> libvorbis --enable-libx264 --enable-libxvid --enable-filter=dra
> wtext --enable-libfreetype --extra-cflags=-I/usr/local/cpffmpeg/include/
> --extra-ldflags=-L/usr/local/cpffmpeg/lib --enable-version3 --extra-
> version=syslint --enable-avdevice
> libavutil 51. 32. 0 / 51. 32. 0
> libavcodec 53. 42. 4 / 53. 42. 4
> libavformat 53. 24. 2 / 53. 24. 2
> libavdevice 53. 4. 0 / 53. 4. 0
> libavfilter 2. 53. 0 / 2. 53. 0
> libswscale 2. 1. 0 / 2. 1. 0
> libpostproc 51. 2. 0 / 51. 2. 0
> Input #0, avi, from 'TutoXsplit2_Tests.avi':
> Duration: 00:03:29.61, start: 0.000000, bitrate: 44062 kb/s
> Stream #0:0: Video: msvideo1 (CRAM / 0x4D415243), rgb555le, 1004x880,
> 200 fps, 200 tbr, 200 tbn, 200 tbc
> Metadata:
> title : ~temp.avi Vid▒o #1
> Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2
> channels, s16, 1411 kb/s
> Metadata:
> title : Microsoft Waveform▒: ~temp001.wav
> File '/var/www/lesnulmarrants/TutoXsplit2.mp4' already exists. Overwrite
> ? [y/N] y
> Incompatible pixel format 'rgb555le' for codec 'libx264', auto-selecting
> format 'yuv420p'
> [buffer @ 0x32ad440] w:1004 h:880 pixfmt:rgb555le tb:1/1000000 sar:0/1
> sws_param:
> [scale @ 0x32acf80] w:1004 h:880 fmt:rgb555le -> w:1280 h:720 fmt:yuv420p
> flags:0x4
> [libx264 @ 0x32aea40] using SAR=1/1
> [libx264 @ 0x32aea40] using cpu capabilities: none!
> [libx264 @ 0x32aea40] profile High, level 3.1
> [libx264 @ 0x32aea40] 264 - core 120 r2120 0c7dab9 - H.264/MPEG-4 AVC
> codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options:
> cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113
> me=hex subme=6 psy=0 mixed_ref=1 me_range=16 chroma_me=1 trellis=1
> 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offs
> et=0 threads=12 sliced_threads=0 nr=0 decimate=1 interlaced=0
> bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
> b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2
> keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40
> rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 ip_
> ratio=1.40 aq=1:1.00
> [mp4 @ 0x32ae260] Tag [1][0][0][0]/0x00000001 incompatible with output
> codec id '65536'
> Output #0, mp4, to '/var/www/lesnulmarrants/TutoXsplit2.mp4':
> Stream #0:0: Video: h264 (![0][0][0] / 0x0021), yuv420p, 1280x720
> [SAR 1:1 DAR 16:9], q=10-51, 90k tbn, 29.97 tbc
> Metadata:
> title : ~temp.avi Vid▒o #1
> Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2
> channels, 1411 kb/s
> Metadata:
> title : Microsoft Waveform▒: ~temp001.wav
> Stream mapping:
> Stream #0:0 -> #0:0 (msvideo1 -> libx264)
> Stream #0:1 -> #0:1 (copy)
> Could not write header for output file #0 (incorrect codec parameters ?)
New description:
Summary of the bug:
How to reproduce:
{{{
ffmpeg -i TutoXsplit2_Tests.avi -vcodec libx264 -s 1280x720 -aspect
1280:720 -r 30000/1001 -vpre fast -acodec copy -f mp4
/var/www/lesnulmarrants/TutoXsplit2.mp4
ffmpeg version 0.9.1-syslint, Copyright (c) 2000-2012 the FFmpeg
developers
built on Jan 9 2012 14:42:55 with gcc 4.4.5
configuration: --prefix=/usr/local/cpffmpeg --enable-nonfree --enable-
zlib --enable-gpl --enable-pthreads --enable-libopencore-amrnb --enable-
decoder=liba5 2 --enable-libopencore-amrwb
--enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis
--enable-libx264 --enable-libxvid --enable-filter=dra
wtext --enable-libfreetype --extra-cflags=-I/usr/local/cpffmpeg/include/
--extra-ldflags=-L/usr/local/cpffmpeg/lib --enable-version3 --extra-
version=syslint --enable-avdevice
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 42. 4 / 53. 42. 4
libavformat 53. 24. 2 / 53. 24. 2
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, avi, from 'TutoXsplit2_Tests.avi':
Duration: 00:03:29.61, start: 0.000000, bitrate: 44062 kb/s
Stream #0:0: Video: msvideo1 (CRAM / 0x4D415243), rgb555le, 1004x880,
200 fps, 200 tbr, 200 tbn, 200 tbc
Metadata:
title : ~temp.avi Vid▒o #1
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2
channels, s16, 1411 kb/s
Metadata:
title : Microsoft Waveform▒: ~temp001.wav
File '/var/www/lesnulmarrants/TutoXsplit2.mp4' already exists. Overwrite ?
[y/N] y
Incompatible pixel format 'rgb555le' for codec 'libx264', auto-selecting
format 'yuv420p'
[buffer @ 0x32ad440] w:1004 h:880 pixfmt:rgb555le tb:1/1000000 sar:0/1
sws_param:
[scale @ 0x32acf80] w:1004 h:880 fmt:rgb555le -> w:1280 h:720 fmt:yuv420p
flags:0x4
[libx264 @ 0x32aea40] using SAR=1/1
[libx264 @ 0x32aea40] using cpu capabilities: none!
[libx264 @ 0x32aea40] profile High, level 3.1
[libx264 @ 0x32aea40] 264 - core 120 r2120 0c7dab9 - H.264/MPEG-4 AVC
codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options:
cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113
me=hex subme=6 psy=0 mixed_ref=1 me_range=16 chroma_me=1 trellis=1
8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offs
et=0 threads=12 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2
keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40
rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 ip_
ratio=1.40 aq=1:1.00
[mp4 @ 0x32ae260] Tag [1][0][0][0]/0x00000001 incompatible with output
codec id '65536'
Output #0, mp4, to '/var/www/lesnulmarrants/TutoXsplit2.mp4':
Stream #0:0: Video: h264 (![0][0][0] / 0x0021), yuv420p, 1280x720 [SAR
1:1 DAR 16:9], q=10-51, 90k tbn, 29.97 tbc
Metadata:
title : ~temp.avi Vid▒o #1
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2
channels, 1411 kb/s
Metadata:
title : Microsoft Waveform▒: ~temp001.wav
Stream mapping:
Stream #0:0 -> #0:0 (msvideo1 -> libx264)
Stream #0:1 -> #0:1 (copy)
Could not write header for output file #0 (incorrect codec parameters ?)
}}}
--
Comment:
The relevant line is
{{{
[mp4 @ 0x32ae260] Tag [1][0][0][0]/0x00000001 incompatible with output
codec id '65536'
}}}
You cannot put pcm_s16le in mp4 / isom, it does work with mov.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1489#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list