Discussion:
[Ffmpeg-user] DVCPRO 50 input
christophelorenz
2008-02-01 23:05:11 UTC
Permalink
I'm trying to read an avi in DVCPRO 50 pal format fourcc DV50 in
ffmpeg,
but it doens't recognise it.
I tried changing the fourcc to dv5p without success.
In theory it should work. If it doesn't -- send me the file.
I searched into the code, and I found that the detected codec is set to
0, same for pixel format.
If I force the codec to dvvideo and format to 422 in ffmpeg.c I can
decode the video.
So it seems the DV50 tag is not recognised in the avi container.
I'll see if I can find more on the reason why it is not detected correctly.

Chris.
Roman Shaposhnik
2008-02-01 23:41:37 UTC
Permalink
Post by christophelorenz
I'm trying to read an avi in DVCPRO 50 pal format fourcc DV50 in
ffmpeg,
but it doens't recognise it.
I tried changing the fourcc to dv5p without success.
In theory it should work. If it doesn't -- send me the file.
I searched into the code, and I found that the detected codec is set to
0, same for pixel format.
If I force the codec to dvvideo and format to 422 in ffmpeg.c I can
decode the video.
So it seems the DV50 tag is not recognised in the avi container.
I'll see if I can find more on the reason why it is not detected correctly.
That was my suspicion as well. And it should be relatively
straightforward to fix. The trouble is, that I'm traveling
right now and I haven't had a chance to look at the file
you've supplied. I wanted to take care of this issue once
I get back (next week) but if you can figure it out -- go ahead
and just don't forget to submit a patch.

Thanks,
Roman.
christophelorenz
2008-01-27 14:50:52 UTC
Permalink
I'm trying to read an avi in DVCPRO 50 pal format fourcc DV50 in ffmpeg,
but it doens't recognise it.
I tried changing the fourcc to dv5p without success.

Someone knows if dvcpro 50 is supported in avi ?
(File comes from an EVS media exchange.)

Thanks,

Chris.


ffmpeg -i "dvcpro50pal.avi" -bufsize 2000k -b 7600k -maxrate 8000k
-vcodec mp
eg2video output.m2v
FFmpeg version SVN-r11629, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-memalign-hack --enable-gpl --enable-pp
--enable-swscaler --cpu=i686
libavutil version: 49.6.0
libavcodec version: 51.49.0
libavformat version: 52.5.0
libavdevice version: 52.0.0
built on Jan 27 2008 11:40:40, gcc: 4.2.1 [Sherpya]
Input #0, avi, from 'dvcpro50pal.avi':
Duration: 00:00:05.1, start: 0.000000, bitrate: 60689 kb/s
Stream #0.0: Video: dv50 / 0x30357664, 720x576 [PAR 0:1 DAR 0:1],
25.00 tb(r)
Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Stream #0.2: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
swScaler: Unknown format is not supported as input format
Cannot get resampling context
Roman Shaposhnik
2008-01-27 19:24:50 UTC
Permalink
Post by christophelorenz
I'm trying to read an avi in DVCPRO 50 pal format fourcc DV50 in ffmpeg,
but it doens't recognise it.
I tried changing the fourcc to dv5p without success.
Someone knows if dvcpro 50 is supported in avi ?
In theory it should work. If it doesn't -- send me the file.

Thanks,
Roman.
christophelorenz
2008-01-27 21:58:44 UTC
Permalink
In theory it should work. If it doesn't -- send me the file.
Ok, thanks a lot.

I'm uploading the file there http://www.bbteam.fr/~chris/NIVEA.avi
Will be finished in +-45min.

It is 5 sec (129 frames) of video in dvcpro50 pal (fourcc dv50),
39.144.960 bytes.
Audio is pcm, two stereo tracks at 48KHz.

Tell me if you want it on upload.mplayerhq.hu ftp.

Chris.

Loading...