After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 342095 - [TRACKER] Handling of videos from phones and photo cameras
[TRACKER] Handling of videos from phones and photo cameras
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
0.10.x
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-05-17 08:55 UTC by Christian Fredrik Kalager Schaller
Modified: 2012-11-25 16:32 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Test movie, created with Sony CyberShot DSC-T1 (710.66 KB, video/mpeg)
2006-05-17 10:12 UTC, Peteris Krisjanis
Details
3GPP/AMR movie from Sony Erisson K700i (16.35 KB, application/octet-stream)
2006-05-17 10:24 UTC, Ross Burton
Details
Small clip from a Motorola V980 (476.25 KB, video/3gpp)
2006-05-17 10:53 UTC, Bruno Santos
Details
Samsung Z500 (phone) clip (89.31 KB, video/3gpp)
2006-05-17 12:03 UTC, ulrik sverdrup
Details
clip from Sony Ericsson K750i (74.15 KB, video/3gpp)
2006-05-17 12:16 UTC, Patrick Pletscher
Details
Clip with sound from Nokia 6230i (30.39 KB, video/3gpp)
2006-05-17 13:43 UTC, Simon Holm Thøgersen
Details
Clip from Panasonic DMC-FZ20 (757.22 KB, video/quicktime)
2006-05-17 13:51 UTC, Gergely Nagy
Details
Clip from FujiFilm Mv-1 (332.67 KB, video/x-msvideo)
2006-05-17 14:53 UTC, Silvio Traversaro
Details
Clip with audio from qtek 8020 (501.28 KB, video/mp4)
2006-05-17 15:25 UTC, Simon Holm Thøgersen
Details
Video shot on a Motorola v3i (736.27 KB, video/3gpp)
2006-05-17 15:43 UTC, Chris Lord
Details
Created with Sony Ericsson D750i (71.11 KB, video/3gpp)
2006-05-17 16:57 UTC, Jakub Steiner
Details
Created with Sony Clie ux50 PDA (364.42 KB, application/octet-stream)
2006-05-17 17:02 UTC, Jakub Steiner
Details
3gp/AMR K700i produced movie (54.38 KB, application/octet-stream)
2006-05-17 17:40 UTC, Mårten Woxberg
Details
Nikon Coolpix 4600 Test Clip (374.61 KB, video/quicktime)
2006-05-17 19:05 UTC, Jonathan E. Magen
Details
LG VX8100 test clip (71.32 KB, application/x-extension-3g2)
2006-05-18 01:38 UTC, Ben Foote
Details
Sony Ericsson P910i - partly functional (143.27 KB, application/x-extension-mp4)
2006-05-18 08:33 UTC, Michael Gratton
Details
Nokia 3650 test-clip (93.24 KB, application/octet-stream)
2006-05-19 12:02 UTC, Martijn van de Streek
Details
Nokia N90: 56sec sound clip (88.57 KB, application/octet-stream)
2006-05-26 11:43 UTC, Daniel Stone
Details
Pentax Optio S Clip.avi (280.87 KB, video/x-msvideo)
2006-05-26 12:31 UTC, Murray Cumming
Details
Nokia N70 (623.30 KB, video/mp4)
2006-05-26 14:22 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
Details
Video from Samsung a940 (99.96 KB, application/x-extension-3G2)
2006-05-26 15:03 UTC, Carl J. Geib
Details
movie clip from sony ericsson v600i (91.42 KB, video/3gpp)
2006-05-27 20:25 UTC, Martin Garton
Details
3gp video from Samsung ZV10 (70.55 KB, video/3gpp)
2006-05-28 04:50 UTC, Porges
Details
video made with Sony Ericsson Z800i (888.73 KB, video/3gpp)
2006-05-29 07:13 UTC, Nicu Buculei
Details
video made with Nokia 6680 (346.48 KB, video/3gpp)
2006-05-29 07:14 UTC, Nicu Buculei
Details
Created with SonyEricsson k500i. Plays and seeks with gstreamer-plugins-ugly. (188.38 KB, video/3gpp)
2006-06-20 14:47 UTC, Peter Vegh
Details

Description Christian Fredrik Kalager Schaller 2006-05-17 08:55:36 UTC
This bug is for collecting clips and feedback on what cameras/phones we are able to deal with.
Comment 1 Peteris Krisjanis 2006-05-17 10:12:33 UTC
Created attachment 65658 [details]
Test movie, created with Sony CyberShot DSC-T1
Comment 2 Ross Burton 2006-05-17 10:24:49 UTC
Created attachment 65660 [details]
3GPP/AMR movie from Sony Erisson K700i

This movie fails with an assertion:

totem: mov.c:1883: mov_read_packet: Assertion `pts % st->time_base.num == 0' failed.
Comment 3 Cedric Malherbe 2006-05-17 10:31:54 UTC
Canon IXUS 50. Totem can play all movies, regarless of the camera setting (low, norma, fast frame rate).
Comment 4 Simon Hepburn 2006-05-17 10:35:37 UTC
Minolta Dimage Xt. Totem plays movies fine.
Comment 5 Bruno Santos 2006-05-17 10:53:03 UTC
Created attachment 65663 [details]
Small clip from a Motorola V980

It crashes totem with:
totem: mov.c:1883: mov_read_packet: Assertion `pts % st->time_base.num == 0' failed.

I take the chance to make the OT statement: this phone sux. :P
Comment 6 Edward Hervey 2006-05-17 11:18:48 UTC
cedric, simon : although it works fine in totem, could you attach a sample video all the same ? Using in pitivi stresses more than just playing it in totme.
Comment 7 ulrik sverdrup 2006-05-17 12:03:41 UTC
Created attachment 65666 [details]
Samsung Z500 (phone) clip

A clip from a Samsung Z500. 

Totem plays and seeks the video fine, the audio doesn't work. (Not tested with CVS code)
     ** Message: don't know how to handle audio/AMR, rate=(int)8000, channels=(int)1
Comment 8 Patrick Pletscher 2006-05-17 12:16:44 UTC
Created attachment 65667 [details]
clip from Sony Ericsson K750i

A short movie from a Sony Ericsson K750i.

Works fine in Totem (tested with Ubuntu Dapper Drake) and seems to work as well in PiTivi, though I haven't done any exhaustive tests.
Comment 9 Cedric Malherbe 2006-05-17 13:08:54 UTC
(In reply to comment #6)
> cedric, simon : although it works fine in totem, could you attach a sample
> video all the same ? Using in pitivi stresses more than just playing it in
> totme.
> 

would like to, but there's a 1000kB limit. Hard to make any useful video of that size. Unless 2 seconds video at low resolution is ok for you??
Comment 10 Edward Hervey 2006-05-17 13:09:58 UTC
Cedric : you can put it online somewhere else and put the link to that video.
Comment 11 Simon Holm Thøgersen 2006-05-17 13:43:07 UTC
Created attachment 65675 [details]
Clip with sound from Nokia 6230i

The clip plays in totem, but without audio and without beeing able to seek (tried that with a longer clip).
Comment 12 Gergely Nagy 2006-05-17 13:46:39 UTC
MOV video from a Panasonic DMC-FZ20:
totem:
 - does not seek: last frame sticks, playback does not resume after seeking
 - also, totem crashes after 1 second with "Internal data stream error."
pitivi:
 - not tested
mplayer:
 - plays, seeks fine

totem: 1.4.0
gstreamer: 0.10.4
ubuntu dapper

movie info from mplayer:
Quicktime/MOV file format detected.
--------------
MOV track #0: 9 chunks, 45 samples
Image size: 320 x 240 (24 bpp)
Fourcc: jpeg  Codec: 'Photo - JPEG'
--------------
MOV track #1: 9 chunks, 0 samples
Audio bits: 8  chans: 1  rate: 8000
Fourcc: raw
Comment 13 Gergely Nagy 2006-05-17 13:51:37 UTC
Created attachment 65676 [details]
Clip from Panasonic DMC-FZ20

This goes for comment #12
Comment 14 Silvio Traversaro 2006-05-17 14:53:04 UTC
Created attachment 65679 [details]
Clip from FujiFilm Mv-1

Play and seek OK on Totem
Comment 15 Simon Holm Thøgersen 2006-05-17 15:25:31 UTC
Created attachment 65683 [details]
Clip with audio from qtek 8020

Totem plays and seeks the video fine, but there's no audio (which I'm almost 100% sure should be there).
Comment 16 Chris Lord 2006-05-17 15:39:16 UTC
Movie shot on a Motorola V3i, video plays fine, but audio doesn't work (same situation in xine, vlc and mplayer too).
Comment 17 Chris Lord 2006-05-17 15:43:09 UTC
Created attachment 65686 [details]
Video shot on a Motorola v3i

Video and seeking works fine, no audio
Comment 18 Jakub Steiner 2006-05-17 16:57:27 UTC
Created attachment 65695 [details]
Created with Sony Ericsson D750i

Crashes my totem-gstreamer from dapper. works in mplayer and xine, but without sound.
Comment 19 Jakub Steiner 2006-05-17 17:02:51 UTC
Created attachment 65698 [details]
Created with Sony Clie ux50 PDA

totem "cannot determine stream type". mplayer plays fine, without sound. same with ffmpeg's ffplay. gxine hangs.
Comment 20 Mårten Woxberg 2006-05-17 17:38:44 UTC
I have a 36p movie from a K700i directly transfered from the cellphone via bluetooth, it plays in Totem (on latest Dapper, gstreamer0.10) but it has some issues. There's no sound, at all, the videoimage seems more laggy than on my cellphone.

I'm unable to seek in it in Totem, (VLC can seek though)
Comment 21 Mårten Woxberg 2006-05-17 17:39:34 UTC
I have a 3gp movie from a K700i directly transfered from the cellphone via     bluetooth, it plays in Totem (on latest Dapper, gstreamer0.10) but it has some     issues. There's no sound, at all, the videoimage seems more laggy than on my     cellphone. 

I'm unable to seek in it in Totem, (VLC can seek though)

Comment 22 Mårten Woxberg 2006-05-17 17:40:41 UTC
Created attachment 65702 [details]
3gp/AMR K700i produced movie

Added file
Comment 23 Mårten Woxberg 2006-05-17 17:41:34 UTC
Comment on attachment 65702 [details]
3gp/AMR K700i produced movie

Sorry for the double post, I told bugzilla to remove all my changes and then I resubmitted.
Comment 24 Jonathan E. Magen 2006-05-17 18:59:55 UTC
Nikon Coolpix 4600
Produced movie and Totem was able to play it and to seek within the clip just fine.

Will add file.
Comment 25 Jonathan E. Magen 2006-05-17 19:05:24 UTC
Created attachment 65719 [details]
Nikon Coolpix 4600 Test Clip

Nikon Coolpix 4600 Test Clip
Comment 26 Cedric Malherbe 2006-05-17 23:42:32 UTC
(In reply to comment #10)
> Cedric : you can put it online somewhere else and put the link to that video.
> 

There you go!

http://demo21.ovh.com/1fbc23bbc04dd6d7012a63de1093f03bP/

I'm not sure how long the files will be available from this loation, so better you download them all quickly (might be 24 hours to ten days...).

I made 4 different movies:

640x480 @ 30fps
320x240 @ 30fps
320x240 @ 60fps
160x120 @ 15fps

With Canon IXUS 50 still camera. My previous test with Totem was with the XINE backend, so it may be a different story with the Gstreamer backend (I haven't tested it myself).

Hope it helps,
Ced
Comment 27 Ben Foote 2006-05-18 01:16:33 UTC
LG VX8100 camera phone.

I recorded a 4 or so second test clip and tried it both in Totem and Pitivi. Totem gave me an internal data flow error, and Pitivi gave me this:

GStreamer encountered a general stream error.

qtdemux.c(1404): gst_qtdemux_loop (): /project-New Project/timeline-New Project/composition-videocomp/source-file:///home/flecko/Desktop/0517062106.3g21/internal-decodebin/qtdemux1:
streaming stopped, reason not-negotiated


Both, however, were able to make a thumbnail with some coaxing, so at least something is going on.

Hope this helps!
Comment 28 Ben Foote 2006-05-18 01:38:40 UTC
Created attachment 65743 [details]
LG VX8100 test clip
Comment 29 Michael Gratton 2006-05-18 08:33:33 UTC
Created attachment 65750 [details]
Sony Ericsson P910i - partly functional

Linear playback in Totem works, but no sound. Can't seek using the slider or Skip To. Pause/Unpause works fine.

This is on Ubuntu Breezy with:

gstreamer0.10-alsa                     0.10.7-0ubuntu3
gstreamer0.10-esd                      0.10.3-0ubuntu4
gstreamer0.10-ffmpeg                   0.10.1-0ubuntu1
gstreamer0.10-gnomevfs                 0.10.7-0ubuntu3
gstreamer0.10-plugins-bad              0.10.3-0ubuntu3
gstreamer0.10-plugins-bad-multiverse   0.10.3-3
gstreamer0.10-plugins-base             0.10.7-0ubuntu3
gstreamer0.10-plugins-base-apps        0.10.7-0ubuntu3
gstreamer0.10-plugins-good             0.10.3-0ubuntu4
gstreamer0.10-plugins-ugly             0.10.3-0ubuntu3
gstreamer0.10-plugins-ugly-multiverse  0.10.3-2
gstreamer0.10-tools                    0.10.6-0ubuntu2
gstreamer0.10-x                        0.10.7-0ubuntu3
libgstreamer-plugins-base0.10-0        0.10.7-0ubuntu3
libgstreamer0.10-0                     0.10.6-0ubuntu2
totem-gstreamer                        1.4.1-0ubuntu2
Comment 30 Nicu Buculei 2006-05-18 09:17:25 UTC
(In reply to comment #11)
> Clip with sound from Nokia 6230i
> 
> The clip plays in totem, but without audio and without beeing able to seek
> (tried that with a longer clip).

I was to attach my own clip made with Nokia 6230i (wich works well in totem) until I saw you already posted one.

BTW, your clip is OK on my system, having sound and able to seek (I have the latest GStreamer available for Fedora Core 5) 

Comment 31 Ernst Sjöstrand 2006-05-18 11:41:21 UTC
Here's a bug about an audio (AMR Narrowband) file from a W800, with clip attached:
http://bugzilla.gnome.org/show_bug.cgi?id=342222
Comment 32 Christian Fredrik Kalager Schaller 2006-05-18 13:44:10 UTC
Moving the bug over to gstreamer. Most of these issues are on the GStreamer layer and moving it there will put it onto the radar of Tim and Wim for instance.
Comment 33 Martijn van de Streek 2006-05-19 12:02:00 UTC
Created attachment 65822 [details]
Nokia 3650 test-clip

Sound doesn't work in totem, video does:
** Message: don't know how to handle audio/AMR, rate=(int)8000, channels=(int)1

Loads fine in pitivi
Comment 34 Johannes Berg 2006-05-19 20:52:56 UTC
My K600i clip has the same issue as the K700i described above. I'm not going to go on the CC list for this bug so if you want the file mail me directly please. mplayer has sound btw.
Comment 35 Wim Taymans 2006-05-24 07:47:00 UTC
This error is caused by the ffmpeg quicktime demuxer. We disabled that one for the next gst-ffmpeg release as the native gstreamer qtdemux (in gst-plugins-bad) is much more functional. 

  totem: mov.c:1883: mov_read_packet: Assertion `pts % st->time_base.num == 0'

Comment 36 Edward Hervey 2006-05-24 08:36:10 UTC
(In reply to comment #19)
> Created an attachment (id=65698) [edit]
> Created with Sony Clie ux50 PDA
> 
> totem "cannot determine stream type". mplayer plays fine, without sound. same
> with ffmpeg's ffplay. gxine hangs.
> 

Hi, it seems to be an MQV format, which is a crack derivation of ISO-format. It plays perfectly fine with gstreamer. The only issue is that the typefind function can figure out it's a valid quicktime file (because of a prfl fourcc which wasn't recognized).

It's now fixed in gst-plugins-base, and will be available in the next release (0.10.8).

2006-05-24  Edward Hervey  <edward@fluendo.com>

	* gst/typefind/gsttypefindfunctions.c: (qt_type_find): 
	Added the 'prfl' atom type which MQV (no, it's not a typo) files contain.
	Else they play perfectly fine with qtdemux.

Comment 37 Wim Taymans 2006-05-26 08:40:40 UTC
All but one seem to play fine now with CVS. One uses the QCELP codec for which we don't have a decoder yet and for which a fix to qtdemux was required:

        * gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_esds):
        Detect QCELP in mp4a descriptors.

Alsa dmix also seemed to have problems with 8000Hz mono playback but that seems to be fixed now for me with an update of alsalib.
Comment 38 Christian Fredrik Kalager Schaller 2006-05-26 09:24:52 UTC
Qualcomm do have a SDK available which includes linux support (free beer). The license allows cost free usage on desktop systems afaict.

More information here:
http://www.cdmatech.com/products/purevoice_download_sdk_linux.jsp
Comment 39 Daniel Stone 2006-05-26 11:43:35 UTC
Created attachment 66269 [details]
Nokia N90: 56sec sound clip

this sound clip is around 56sec long.  the quality will be utterly woeful, no doubt, because it was taken in a rather noisy club.  it's from an n90.

also, it's not exactly AMR, but the video it takes is MP4.  there's a huge (14MB or so, I think) clip, about 4:33 in length, at: http://www.fooishbar.org/tmp/dmcs-c2c.mp4
Comment 40 Murray Cumming 2006-05-26 12:31:11 UTC
Created attachment 66275 [details]
Pentax Optio S Clip.avi

Totem plays this fine on Ubuntu Dapper.
Comment 41 Stefan Sauer (gstreamer, gtkdoc dev) 2006-05-26 14:22:22 UTC
Created attachment 66284 [details]
Nokia N70

clip (audio+video) plays fine using gst-launch playbin
Comment 42 Carl J. Geib 2006-05-26 15:03:29 UTC
Created attachment 66288 [details]
Video from Samsung a940

This video was taken with a Samsung A940 on the Sprint network, I assume the video file would also be the same for the samsung a970 on Verizon's network as the phone are almost identical.  When I run it in Totem I get the error "Could not play <file> Internal data flow error"
Comment 43 Carl J. Geib 2006-05-26 15:05:08 UTC
Comment on attachment 66288 [details]
Video from Samsung a940

I am trying to veiw it on Ubuntu Dapper on a Powerbook G4
Comment 44 Martin Garton 2006-05-27 20:25:19 UTC
Created attachment 66346 [details]
movie clip from sony ericsson v600i
Comment 45 Porges 2006-05-28 04:50:51 UTC
Created attachment 66357 [details]
3gp video from Samsung ZV10

Here's my contribution :)

Under Dapper, totem doesn't know how to play application/x-3gp
Comment 46 Nicu Buculei 2006-05-29 07:13:44 UTC
Created attachment 66400 [details]
video made with Sony Ericsson Z800i

Works fine in Totem (video and audio)
Comment 47 Nicu Buculei 2006-05-29 07:14:33 UTC
Created attachment 66401 [details]
video made with Nokia 6680

Works fine in Totem (video and audio)
Comment 48 Peter Vegh 2006-06-20 14:47:32 UTC
Created attachment 67718 [details]
Created with SonyEricsson k500i. Plays and seeks with gstreamer-plugins-ugly.
Comment 49 Christian Fredrik Kalager Schaller 2011-05-19 08:52:49 UTC
Should we still keep this bug open? Or should we just make sure the files here are part of our testsuite and then close it? I think since this bug was first opened our general support for camera files have become quite strong and thus the need for this specific tracker bug is gone.
Comment 50 Tim-Philipp Müller 2012-11-25 16:32:58 UTC
Thanks to everyone who supplied samples. I think we can close this now. If there are still issues with specific files, it would be best to open a new bug for each of those.