Opened 9 years ago

Last modified 9 years ago

#1849 new defect

Video won't play but audio will for these .mov quicktime files

Reported by: goodbye300@… Owned by: reimar
Priority: normal Component: vd
Version: HEAD Severity: normal
Keywords: Cc: cehoyos, goodbye300@…
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

$ file *mov
0101.mov: Apple QuickTime? movie (fast start)
0102.mov: Apple QuickTime? movie (fast start, compressed header)

I've attached both videos. My ffplay will not play these, but another user in #mplayer, "relaxed", said his ffplay plays both the audio and video. Xine does the opposite. It plays the video but not the audio. I have verified that the files are not corrupted. They play with Quicktime on a Windows machine just fine.

Attachments (4)

0102.mov (573.7 KB) - added by goodbye300@… 9 years ago.
file command reports 0101.mov: Apple QuickTime? movie (fast start)
0102.2.mov (573.7 KB) - added by goodbye300@… 9 years ago.
0102.mov: Apple QuickTime? movie (fast start, compressed header)
0101.mov (178.2 KB) - added by goodbye300@… 9 years ago.
file command reports 0101.mov: Apple QuickTime? movie (fast start)
0602.mkv (video-x-matroska Object) - Mozilla Firefox_001.png (137.0 KB) - added by goodbye300@… 9 years ago.
glitches in video that comes and goes during playback

Download all attachments as: .zip

Change History (11)

Changed 9 years ago by goodbye300@…

file command reports 0101.mov: Apple QuickTime? movie (fast start)

Changed 9 years ago by goodbye300@…

0102.mov: Apple QuickTime? movie (fast start, compressed header)

comment:1 Changed 9 years ago by goodbye300@…

file command reports as 0102.mov: Apple QuickTime? movie (fast start, compressed header)

comment:2 Changed 9 years ago by goodbye300@…

for x in $(find . -iname '*.mov'); do ffmpeg -i "$x" -sws_flags bicu
bic -vcodec libtheora -g 30 -qscale 10 -acodec libvorbis -ac 2 -aq 4 -sn $(echo
"$x".mkv | sed -e s/\.mov);done

I used that little bit of code after testing it on just one file, and it working. I'm about half way done with the transcoding.

comment:3 Changed 9 years ago by goodbye300@…

  • Cc goodbye300@… added

comment:4 Changed 9 years ago by cehoyos

  • Cc cehoyos@… added

Afaict, you attached 0102.mov twice.

The file plays fine with ffplay, you can see the video with -demuxer mov (unfortunately, audio doesn't play with -demuxer mov).

The problem is well known, and was discussed frequently, search the mailing lists for "extradata in lavf". ("pal8" doesn't work over -demuxer lavf)

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '0102.mov':

Metadata:

creation_time : 2001-09-13 19:12:29
copyright : Copyright 1996-2000
copyright-eng : Copyright 1996-2000
title : Virtual Training Company, INC.
title-eng : Virtual Training Company, INC.
comment : VTC Movies
comment-eng : VTC Movies

Duration: 00:06:24.99, start: 0.000000, bitrate: 12 kb/s

Stream #0.0(eng): Video: smc, pal8, 640x480, 2 kb/s, 1 fps, 1 tbr, 600 tbn, 600 tbc
Metadata:

creation_time : 2001-09-13 19:12:29

Stream #0.1(eng): Audio: qcelp, 11025 Hz, 1 channels, flt
Metadata:

creation_time : 2001-09-13 19:12:29

$ mplayer 0102.mov -demuxer mov
...
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[qcelp @ 0xd1aca0]Frame #0, IFQ: bitrate cannot be determined.
AUDIO: 11025 Hz, 1 ch, floatle, 9.4 kbit/2.66% (ratio: 1171->44100)
Selected audio codec: [ffqclp] afm: ffmpeg (FFmpeg QCLP audio)
==========================================================================
AO: [alsa] 48000Hz 1ch floatle (4 bytes per sample)
Starting playback...
[qcelp @ 0xd1aca0]Frame #1, IFQ: bitrate cannot be determined.
[qcelp @ 0xd1aca0]Frame #2, IFQ: bitrate cannot be determined.
...

Changed 9 years ago by goodbye300@…

file command reports 0101.mov: Apple QuickTime? movie (fast start)

comment:5 Changed 9 years ago by goodbye300@…

  • attachments.isobsolete changed from 0 to 1

Here is the video I meant to upload the first time. The file command reports each file a little differently, so I wanted to upload both.

The ffmpeg re-encoding workaround did not workout after all. A few videos I tested will play completely through with no problems. Most others will play fine some times and then with glitches at other times such as the one shown in the picture I attached.

Changed 9 years ago by goodbye300@…

glitches in video that comes and goes during playback

comment:6 Changed 9 years ago by goodbye300@…

comment:7 Changed 9 years ago by cehoyos

  • Version changed from 1.0rc4 to HEAD

Video with glitches unfortunately missing, the two attached files behave identically, afaict.

Note: See TracTickets for help on using tickets.