New submission from B.ert Zi.m.pel <[email protected]>:

What you were trying to accomplish:
(A) importing a panasonic P2 mxf container into kdenlive
(B) view a panasonic P2 MXF container with ffplay.
The problem you encountered 
(A) kdenlive seems to import (using avlib)
(B) ffplay opens and shows the first frame only
The exact command line you were using
(A) none, using the import function of kdenlive: Menue -> Project -> Add Clip
(B) ffplay 0063DI.MXF
The full, uncut console output provided by ffmpeg -v 9 -loglevel 99 -i followed
by the name:
 ffmpeg -v 9 -loglevel 99 -i 0063DI.MXF
FFmpeg version SVN-r201103092102, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar  9 2011 20:11:24 with gcc 4.5.0 20100604 [gcc-4_5-branch revision
160292]
  configuration: --shlibdir=/usr/lib --prefix=/usr --mandir=/usr/share/man
--libdir=/usr/lib --enable-shared --enable-libmp3lame --enable-libvorbis
--enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-libxvid
--enable-postproc --enable-gpl --enable-x11grab
--extra-cflags='-fomit-frame-pointer -fmessage-length=0 -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gsm -I/usr/include/openjpeg' --enable-debug --disable-stripping
--enable-libschroedinger --enable-libdirac --enable-libgsm --enable-avfilter
--enable-libvpx --enable-version3 --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libx264 --enable-libdc1394 --enable-pthreads
  libavutil    50. 39. 0 / 50. 39. 0
  libavcodec   52.113. 2 / 52.113. 2
  libavformat  52.102. 0 / 52.102. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[NULL @ 0x807ddc0] Probed with size=2048 and score=100
[mxf @ 0x807ddc0] only frame wrapped mappings are correctly supported
[mxf @ 0x807ddc0] material track 2: no corresponding source track found        
                                                                               
                 
[mxf @ 0x807ddc0] material track 3: no corresponding source package found      
                                                                               
                 
[mxf @ 0x807ddc0] material track 4: no corresponding source package found      
                                                                               
                 
[mxf @ 0x807ddc0] material track 5: no corresponding source package found      
                                                                               
                 
[mxf @ 0x807ddc0] Probe buffer size limit 5000000 reached                      
                                                                               
                 
Input #0, mxf, from '0063DI.MXF':
  Duration: 00:00:09.52, start: 0.000000, bitrate: 115227 kb/s
    Stream #0.0, 1, 1/25: Video: dvvideo, yuv422p, 1440x1080 [PAR 4:3 DAR 16:9],
1/25, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified
bzi@osiris:/home/zzz_servers/thot/Production/video/rohdaten/2011-03-12> 

It is an 1080p recording, not compressed, looking at the Stream-Format ffmpeg 
shows:
Input #0, dv, from
'/home/Media/Video/aaa_production/imported_files/2011-04-04/0043OF.MXF.Stream':
Input #0, dv, from '0063DI.MXF.Stream':
Duration: 00:00:09.52, start: 0.000000, bitrate: 115200 kb/s
Stream #0.0: Video: dvvideo, yuv422p, 1440x1080, 115200 kb/s, PAR 4:3 DAR 16:9,
25 tbr, 25 tbn, 25 tbc
Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Stream #0.2: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Stream #0.3: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Stream #0.4: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Cam Details / Specs.
http://www.kdenlive.org/video-editor/panasonic-ag-hvx200e
My Workaround
LINUX: I have created a shell script:
-----------------------------------------
for f in *.MXF;
do
echo "Processing $f ...";
STREAM=`mxfsplit -m $f | grep “File=” | cut -c 31-52`
mv _0002-G18010201.Stream "$f.Stream";
MODDATE=$(stat -c %y $f)
MODDATE=${MODDATE%% *}
if [ -s /home/Media/Video/aaa_production/imported_files/$MODDATE ]; then
echo please be patient...
else
etc...
-----------------------------------------
The grep file and cut is not used, because in the currently installed version of
mxfsplit
always it outputs the filename: _0002-G18010201.Stream
The result delivers a stream, which I can work with...
Importing the stream I only get TWO (2) out of 4 audio channels, I am able to
extract CH3 and CH4 using ffmpeg however it would be nice to import the complete
content of the stream.

----------
messages: 13923
priority: normal
status: new
substatus: new
title: Panasonic P2 MXF Container shows only first frame
type: bug

______________________________________________
Libav issue tracker <[email protected]>
<https://roundup.libav.org/issue2676>
______________________________________________

Reply via email to