[FFmpeg-soc] mxfenc.c version 0.0.3

zhentan feng spyfeng at gmail.com
Fri Jul 25 03:19:11 CEST 2008


Hi,

2008/7/25 Michael Niedermayer <michaelni at gmx.at>:

> On Fri, Jul 25, 2008 at 01:44:47AM +0800, zhentan feng wrote:
> > Hi, all
> > I have fixed many bugs in mxfenc.c. Now it seems stucked at final step.
> > run test case as below:
> > 1)./output_example test.mpg
> > 2)./ffmpeg -i test.mpg test.mxf
> > 3)./ffmpeg -i  test.mxf test.avi
> > stdout says:
> > picture size invalid (0x0)
> > Cannot allocate temp picture, check pix fmt
>
> I think you should paste the whole output of these ffmpeg commands here.


1) ./output_example test.mpg
this works well.
2)./ffmpeg -i test.mpg test.mxf
this outputs:

FFmpeg version git-5d3c2f7, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-debug=3 --disable-optimizations --disable-mmx
--enable-gpl
  libavutil version: 49.7.0
  libavcodec version: 51.58.0
  libavformat version: 52.16.0
  libavdevice version: 52.0.0
  built on Jul 22 2008 00:27:21, gcc: 4.1.2 20070502 (Red Hat 4.1.2-12)
[mpeg @ 0x840f4a0]Invalid timestamps stream=0, pts=0, dts=8589930992,
size=2002
Input #0, mpeg, from 'test.mpg':
  Duration: 00:00:05.00, start: 0.000000, bitrate: 648 kb/s
    Stream #0.0[0x1e0], 1/90000: Video: mpeg1video, yuv420p, 352x288 [PAR
1:1 DAR 11:9], 1/25, 104857 kb/s,                25.00 tb(r)
    Stream #0.1[0x1c0], 1/90000: Audio: mp2, 44100 Hz, stereo, 64 kb/s
File 'test.mxf' already exists. Overwrite ? [y/N] y
Output #0, mxf, to 'test.mxf':
    Stream #0.0, 1/90000: Video: mpeg2video, yuv420p, 352x288 [PAR 1:1 DAR
11:9], 1/25, q=2-31, 200 kb/s, 2               5.00 tb(c)
    Stream #0.1, 1/90000: Audio: pcm_s16le, 44100 Hz, stereo, 1411 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
[mpeg @ 0x840f4a0]Invalid timestamps stream=0, pts=0, dts=8589930992,
size=2002
frame=  126 fps= 67 q=18.6 Lsize=    1153kB time=5.00 bitrate=1889.4kbits/s
video:281kB audio:864kB global headers:0kB muxing overhead 0.756821%

3)./ffmpeg -i test.mxf

this outputs:

Input #0, mxf, from 'test.mxf':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0.0, 1/25: Video: 0x0000, 25.00 tb(r)
    Stream #0.1, 1/44100: Audio: 0x0000
File 'test.avi' already exists. Overwrite ? [y/N] y
picture size invalid (0x0)
Cannot allocate temp picture, check pix fmt


-- 
Best wishes~



More information about the FFmpeg-soc mailing list