Opened 13 years ago
Closed 13 years ago
#674 closed defect (invalid)
-vtag won't force a fourcc of 'mpeg' for an mpeg2video codec
Reported by: | dave rice | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avformat |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
I need to use 'mpeg' as a fourcc with mpeg2video codec. I know this is wrong, but seems to be necessary to get the file to with an Omneon product I'm using. When I try to use -tag:v? mpeg to force the codec, ffmpeg doesn't allow me to 'force'.
ffmpeg -y -i example.mov -tag:v mpeg -vcodec mpeg2video examplempeg.mov ffmpeg version N-30853-gf955fdc, Copyright (c) 2000-2011 the FFmpeg developers built on Nov 1 2011 00:17:17 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3) configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --cc=/usr/bin/gcc-4.2 --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 26. 0 / 53. 26. 0 libavformat 53. 18. 0 / 53. 18. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 45. 3 / 2. 45. 3 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Seems stream 0 codec frame rate differs from container frame rate: 30000.00 (30000/1) -> 29.97 (30000/1001) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'example.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2011-11-18 00:59:10 Duration: 00:00:05.93, start: 0.000033, bitrate: 223728 kb/s Stream #0:0(eng): Video: v210 (v210 / 0x30313276), yuv422p10le, 720x486, 223725 kb/s, SAR 9:10 DAR 4:3, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc Metadata: creation_time : 2011-11-18 00:59:10 handler_name : ?Apple Alias Data Handler Incompatible pixel format 'yuv422p10le' for codec 'mpeg2video', auto-selecting format 'yuv420p' [buffer @ 0x7fe6d1419580] w:720 h:486 pixfmt:yuv422p10le tb:1/1000000 sar:9/10 sws_param: [buffersink @ 0x7fe6d14197e0] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out' [scale @ 0x7fe6d1419bc0] w:720 h:486 fmt:yuv422p10le -> w:720 h:486 fmt:yuv420p flags:0x4 [mov @ 0x7fe6d1862800] Tag mpeg/0x6765706d incompatible with output codec id '2' Output #0, mov, to 'examplempeg.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2011-11-18 00:59:10 Stream #0:0(eng): Video: mpeg2video (mpeg / 0x6765706D), yuv420p, 720x486 [SAR 9:10 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 29.97 tbc Metadata: creation_time : 2011-11-18 00:59:10 handler_name : ?Apple Alias Data Handler Stream mapping: Stream #0.0 -> #0.0 (v210 -> mpeg2video) Could not write header for output file #0 (incorrect codec parameters ?)
Change History (1)
comment:1 by , 13 years ago
Component: | undetermined → avformat |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
The following is supposed to work: