Kdenlive   bug tracker Home page

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002287KdenliveFile Loadingpublic2011-08-20 09:242011-08-29 21:04
Reportercrabs 
Assigned Toj-b-m 
PrioritynormalSeveritymajorReproducibilityalways
StatusassignedResolutionopen 
Platformx86_64 i7-2600K CPU @ 3.40GHzOSSlackware64OS Version13.37
Product Version0.8 
Target VersionFixed in Version 
Summary0002287: one (only) MTS file made by a CANON HFM 41 seen as TGA file with kdenlive 0.8
DescriptionI'm a new user of kdenlive (first day) and I try this product with a CANON HFM 41.
My wife does 50 small clips and only the first one (filename 00000.MTS) is seen / opened by kdenlive as a TGA file.
I use the properties item from the contextual menu of the file-chooser dialog box for confirm this point.
I can convert the file (mov file), but I can't use it correctly as a video.

My configuration : Slackware64 13.37 vanilla / kdenlive 0.8 width KDE 4.5.5 / Intel Core i7 2600K.
I uses packages provided by http://www.mlange.dds.nl/kdenlive.html [^]

Regards

(I apologize for "my English", I'm French)
Steps To ReproduceJust "Add Clip" after kdenlive is launched
Additional Information"ffmpeg -i 00000.MTS" gives :
FFmpeg version 0.6.3, Copyright (c) 2000-2010 the FFmpeg developers
built on May 10 2011 11:10:52 with gcc 4.5.2
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/man --enable-libmp3lame --enable-libfaac --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-libdc1394 --enable-libfaad --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libx264 --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --disable-vdpau --enable-memalign-hack --enable-pthreads --enable-x11grab --enable-bzlib --enable-zlib --enable-shared --disable-debug --arch=x86_64 --enable-pic --extra-cflags='-I/usr/include -DRUNTIME_CPUDETECT' --extra-ldflags='-L/usr/lib64 -lssl -lcrypto -lz -lusb'
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mpegts @ 0x63a4a0]max_analyze_duration reached
Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 50.00 (50/1)
Input #0, mpegts, from '00000.MTS':
Duration: 00:04:17.76, start: 0.820033, bitrate: 7057 kb/s
Program 1
Stream #0.0[0x1011]: Video: h264, yuv420p, 1440x1080 [PAR 4:3 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s
At least one output file must be specified
TagsNo tags attached.
Build/Install Method3rd party package
Attached Files

- Relationships

-  Notes
(0007236)
j-b-m (administrator)
2011-08-29 10:45

Can you try playing the file with FFmpeg's command line player?

In a terminal, type:

ffplay 00000.MTS

Then try MLT's command line player:

melt 00000.MTS

Does it work in ffplay and melt?
(0007239)
crabs (reporter)
2011-08-29 18:28

The both tools (ffplay and melt) play the clip.
(0007240)
crabs (reporter)
2011-08-29 19:11

I do some screenshot with gimp (more than 30k)
"Add Clip" Dialog Box : http://www.crabs-world.com/KDENLIVE/project_add_clip.jpeg [^]
Properties on contextual menu in the "Add Clip" Dialog Box :
  with 00000.MTS : http://www.crabs-world.com/KDENLIVE/properties_on_00000_mts.jpeg [^]
  with 00001.MTS : http://www.crabs-world.com/KDENLIVE/properties_on_00001_mts.jpeg [^]
Kdenlive with the clip added : http://www.crabs-world.com/KDENLIVE/principal_frame_after_add.jpeg [^]

Regards
(0007242)
j-b-m (administrator)
2011-08-29 19:40

Ok, thanks for the screenshot. Looks like KDE gets the wrong mimetype for this file (you can see the file has an "image" icon in the add clip dialog, not the "movie" icon).

Can you please post the result of:

kmimetypefinder 00000.MTS
(0007243)
j-b-m (administrator)
2011-08-29 19:42

... And then, post the result of:

xdg-mime query filetype 00000.MTS
(0007244)
crabs (reporter)
2011-08-29 20:06

Result of : kmimetypefinder 00000.MTS
kmimetypefinder(8726)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing "/usr/share/mime/magic"
kmimetypefinder(8726)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing "/home/cyber/.local/share/mime/magic"
image/x-tga
(accuracy 10)
Result of : xdg-mime query filetype 00000.MTS
application/octet-stream; charset=binary
(0007245)
j-b-m (administrator)
2011-08-29 20:27

One last thing you can try is remuxing the file in FFmpeg:


ffmpeg -i 00000.MTS -f mpegts -acodec copy -vcodec copy 00000b.MTS

That will create a remuxed copy of the file called 00000b.MTS, and maybe this copy will be correctly recognized.

Otherwise, you should open a bug report on bugs.kde.org against KMimetypefinder.
(0007247)
crabs (reporter)
2011-08-29 21:04

This workaround works.

Regards.

- Issue History
Date Modified Username Field Change
2011-08-20 09:24 crabs New Issue
2011-08-29 10:45 j-b-m Note Added: 0007236
2011-08-29 10:45 j-b-m Assigned To => j-b-m
2011-08-29 10:45 j-b-m Status new => feedback
2011-08-29 18:28 crabs Note Added: 0007239
2011-08-29 18:28 crabs Status feedback => assigned
2011-08-29 19:11 crabs Note Added: 0007240
2011-08-29 19:40 j-b-m Note Added: 0007242
2011-08-29 19:42 j-b-m Note Added: 0007243
2011-08-29 20:06 crabs Note Added: 0007244
2011-08-29 20:27 j-b-m Note Added: 0007245
2011-08-29 21:04 crabs Note Added: 0007247


Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker