lav2yuv cannot open mjpeg file

Bug #371272 reported by Henrik
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
mjpegtools (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: mjpegtools

After upgrade to 9.0.4 the lav2yuv program fails to open the mjpeg file.
htx@ub1:/DG$ tcprobe -i taily.avi
[tcprobe] RIFF data, AVI video
[avilib] V: 25.000 fps, codec=MJPG, frames=51, width=720, height=576
[tcprobe] summary for taily.avi, (*) = not default, 0 = not detected
import frame size: -g 720x576 [720x576]
       frame rate: -f 25.000 [25.000] frc=3
   no audio track: use "null" import module for audio
           length: 51 frames, frame_time=40 msec, duration=0:00:02.040
htx@ub1:/DG$ lav2yuv taily.avi
**ERROR: [lav2yuv] Error opening taily.avi

The program worked ok under 8.0.4, but after upgrade to 9.0.4 via 8.10 it failed to work.

I have attached the input file, it could be that it was the one causing the problems.

/Henrik

Revision history for this message
Henrik (henrik-wagner-tuxen) wrote :
Revision history for this message
Henrik (henrik-wagner-tuxen) wrote :

I have just reinstalled my machine from scratch with Ubuntu 9.04 and the error is still present.

The machine is an AMD64 based HP.

/Henrik

Revision history for this message
Henrik (henrik-wagner-tuxen) wrote :

Running strace lav2yuv taily.avi reveals the following (only the last part):

===== Start of trace
open("taily.avi", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=3444976, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6f0ca46000
read(3, "RIFF\350\2204\0AVI LIST4\22\0\0hdrlavih8\0\0\0@"..., 4096) = 4096
close(3) = 0
munmap(0x7f6f0ca46000, 4096) = 0
getcwd("/home/htx/Download"..., 4096) = 19
lstat("/home/htx/Download/taily.avi", {st_mode=S_IFREG|0644, st_size=3444976, ...}) = 0
open("taily.avi", O_RDONLY) = 3
read(3, "RIFF\350\2204\0AVI "..., 12) = 12
read(3, "LIST4\22\0\0"..., 8) = 8
lseek(3, 0, SEEK_CUR) = 20
read(3, "hdrl"..., 4) = 4
lseek(3, 0, SEEK_CUR) = 24
read(3, "avih8\0\0\0@\234\0\0\250a\0\0\0\0\0\0\20\t\0\0003\0\0\0\0\0\0\0\1"..., 4656) = 4656
read(3, "LIST\30\0\0\0"..., 8) = 8
lseek(3, 0, SEEK_CUR) = 4688
read(3, "INFO"..., 4) = 4
lseek(3, 20, SEEK_CUR) = 4712
read(3, "JUNK\370\3\0\0"..., 8) = 8
lseek(3, 0, SEEK_CUR) = 4720
lseek(3, 1016, SEEK_CUR) = 5736
read(3, "LISTHw4\0"..., 8) = 8
lseek(3, 0, SEEK_CUR) = 5744
read(3, "movi"..., 4) = 4
lseek(3, 0, SEEK_CUR) = 5748
lseek(3, 3438404, SEEK_CUR) = 3444152
read(3, "idx10\3\0\0"..., 8) = 8
lseek(3, 0, SEEK_CUR) = 3444160
read(3, "00dc\0\0\0\0\4\0\0\0\0\0\0\00000dc\20\0\0\0\f\0\0\0\373\17\1\0000"..., 816) = 816
read(3, ""..., 8) = 0
lseek(3, 5748, SEEK_SET) = 5748
lseek(3, 4, SEEK_SET) = 4
read(3, "\350\2204\0AVI "..., 8) = 8
lseek(3, 5748, SEEK_SET) = 5748
read(3, "00dc\0\0\0\0"..., 8) = 8
lseek(3, 5748, SEEK_SET) = 5748
close(3) = 0
write(2, "**ERROR: [lav2yuv] Error opening "..., 43**ERROR: [lav2yuv] Error opening taily.avi
) = 43
exit_group(1) = ?
===== End of trace

I hope that someone can extract some information out of this, because I'm starting to get into problems with deadlines etc., and I really need this little program.

/Henrik

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mjpegtools (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.