Opened 5 years ago

Closed 5 years ago

#367 closed defect (needs_more_info)

error encoding mov file created in photobooth to mp4

Reported by: holmrodd Owned by:
Priority: normal Component: undetermined
Version: git Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

command:
/usr/local/bin/ffmpeg -y -i ./photobooth.mov -r 15 -vcodec libx264 -vsync 1 -b 250k -aspect 4:3 -s 320x240 -pass 1 -vpre qualvu_first_pass -an photobooth.mp4

[buffer @ 0x1a16620] Invalid pixel format string '-1'

configure options:
--enable-gpl --enable-version3 --enable-nonfree --enable-encoder=flv --enable-decoder=flv --enable-encoder=nellymoser --enable-decoder=nellymoser --enable-encoder=vp6 --enable-decoder=vp6 --enable-decoder=vp6a --enable-decoder=vp6f --enable-encoder=wmv --enable-encoder=wmv2 --enable-encoder=libx264 --enable-encoder=ac3 --enable-libmp3lame --enable-libspeex --enable-libx264 --enable-libfreetype
git version: ffmpeg version git-N-30743-ge6ba3d4

Attachments (2)

photobooth.mov (2.1 MB) - added by holmrodd 5 years ago.
input file created in photobooth on a mac
qualvu_first_pass.ffpreset (305 bytes) - added by holmrodd 5 years ago.
first pass preset file

Change History (6)

Changed 5 years ago by holmrodd

input file created in photobooth on a mac

Changed 5 years ago by holmrodd

first pass preset file

comment:1 Changed 5 years ago by holmrodd

same command worked on a different version of ffmpeg ( snapshot ) that I downloaded on or about May 26th 2011.

ffmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers

built on Jul 27 2011 20:15:48 with gcc 4.4.5
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-encoder=flv --enable-decoder=flv --enable-encoder=nellymoser --enable-decoder=nellymoser --enable-encoder=vp6 --enable-decoder=vp6 --enable-decoder=vp6a --enable-decoder=vp6f --enable-encoder=wmv --enable-encoder=wmv2 --enable-encoder=libx264 --enable-encoder=ac3 --enable-libmp3lame --enable-libspeex --enable-libx264 --enable-libfreetype
libavutil 51. 2. 2 / 51. 2. 2
libavcodec 53. 6. 0 / 53. 6. 0
libavformat 53. 2. 0 / 53. 2. 0
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 11. 0 / 2. 11. 0
libswscale 0. 14. 0 / 0. 14. 0
libpostproc 51. 2. 0 / 51. 2. 0

comment:2 Changed 5 years ago by holmrodd

full output of command:

$ /usr/local/bin/ffmpeg -v 9 -loglevel 99 -i ./photobooth.mov -r 15 -vcodec libx264 -vsync 1 -b 250k -aspect 4:3 -s 320x240 -pass 1 -vpre qualvu_first_pass -an photobooth.mp4
ffmpeg version git-N-30743-ge6ba3d4, Copyright (c) 2000-2011 the FFmpeg developers

built on Jun 14 2011 14:54:03 with gcc 4.4.5
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-encoder=flv --enable-decoder=flv --enable-encoder=nellymoser --enable-decoder=nellymoser --enable-encoder=vp6 --enable-decoder=vp6 --enable-decoder=vp6a --enable-decoder=vp6f --enable-encoder=wmv --enable-encoder=wmv2 --enable-encoder=libx264 --enable-encoder=ac3 --enable-libmp3lame --enable-libspeex --enable-libx264 --enable-libfreetype
libavutil 51. 8. 0 / 51. 8. 0
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 3. 1 / 53. 3. 1
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 18. 0 / 2. 18. 0
libswscale 0. 14. 1 / 0. 14. 1
libpostproc 51. 2. 0 / 51. 2. 0

[NULL @ 0x17e2400] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x17e2400] ISO: File Type Major Brand: qt
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x17e2400] multiple edit list entries, a/v desync might occur, patch welcome
[h264 @ 0x17e8d80] Unsupported bit depth: 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x17e2400] max_analyze_duration 5000000 reached at 5015510

Seems stream 1 codec frame rate differs from container frame rate: 1200.00 (1200/1) -> 600.00 (1200/2)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './photobooth.mov':

Metadata:

major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2011-07-28 02:13:57

Duration: 00:00:05.78, start: -97391.548639, bitrate: 3088 kb/s

Stream #0.0(und), 218, 1/44100: Audio: aac, 44100 Hz, stereo, s16, 2 kb/s
Metadata:

creation_time : 2011-07-28 02:13:57

Stream #0.1(und), 0, 1/600: Video: h264, 3061 kb/s, PAR 1:1 DAR 0:0, 29.82 fps, 600 tbr, 600 tbn, 1200 tbc
Metadata:

creation_time : 2011-07-28 02:13:57

[buffer @ 0x17fc8a0] Invalid pixel format string '-1'
Error opening filters!

comment:3 Changed 5 years ago by cehoyos

  • Status changed from new to open

Could you test latest git head?
(It works fine for me.)

comment:4 Changed 5 years ago by cehoyos

  • Resolution set to needs_more_info
  • Status changed from open to closed

Please re-open if you can still reproduce this problem, it worked fine for me.

Note: See TracTickets for help on using tickets.