Issue 183 in ffmbc: segfault when trying to make mov from an image (when some command option is not provided)

17 views
Skip to first unread message

ff...@googlecode.com

unread,
Jun 4, 2014, 12:44:01 PM6/4/14
to ffmb...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 183 by mpatd...@gmail.com: segfault when trying to make mov from
an image (when some command option is not provided)
http://code.google.com/p/ffmbc/issues/detail?id=183

What steps will reproduce the problem?
./ffmbc -v 3 -f image2 -i V1-0001_P1160144.00102984.j2c -vcodec dnxhd -vb
175M -vf scale=-1:1080 test.mov

pid 27860 (ffmbc), uid 1001: exited on signal 8 (core dumped)

FFmbc version 0.7.1
Copyright (c) 2008-2014 Baptiste Coudurier and the FFmpeg developers
[image2 @ 0x802428a00] Could not find codec parameters (Video: unknown
(0x0000), yuv420p)
Input #0, image2, from 'V1-0001_P1160144.00102984.j2c':
Duration: 00:00:00.04, bitrate: N/A
Stream #0.0(und): Video: unknown (0x0000), yuv420p, 25.00 fps
File 'test.mov' already exists. Overwrite ? [y/N] y
Incompatible pixel format 'yuv420p' for codec 'dnxhd', auto-selecting
format 'yuv422p'
Floating point exception: 8 (core dumped)

What is the expected output? What do you see instead?
Program produce warning instead of segfault.

What version of the product are you using? On what operating system?
0.7.1 on FreeBSD 9.2 x64

Please provide any additional information below:

- Full commandline run (with -v 3) and everything the program printed
without
the repeating parts.
- Upload your sample somewhere and supply url

Attached:
1: gdb result
2: intended command that do not crash
3: the source file



Attachments:
1-gdb result.txt 2.0 KB
2-intented command.txt 1.1 KB
V1-0001_P1160144.00102984.j2c 1.2 MB

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

ff...@googlecode.com

unread,
Jun 5, 2014, 2:32:04 PM6/5/14
to ffmb...@googlegroups.com

Comment #1 on issue 183 by baptiste...@gmail.com: segfault when trying to
make mov from an image (when some command option is not provided)
http://code.google.com/p/ffmbc/issues/detail?id=183

Thanks for the report, Ill fix the sigfpe although the file is not readable
nonetheless

ff...@googlecode.com

unread,
Jun 11, 2014, 12:47:25 PM6/11/14
to ffmb...@googlegroups.com

Comment #2 on issue 183 by andrew.e...@gmail.com: segfault when trying to
make mov from an image (when some command option is not provided)
http://code.google.com/p/ffmbc/issues/detail?id=183

FYI the attached image is in JPEG2000 format, it will open in Photoshop.

ff...@googlecode.com

unread,
Jun 11, 2014, 12:57:01 PM6/11/14
to ffmb...@googlegroups.com

Comment #3 on issue 183 by baptiste...@gmail.com: segfault when trying to
make mov from an image (when some command option is not provided)
http://code.google.com/p/ffmbc/issues/detail?id=183

ffmbc does not support j2c

ff...@googlecode.com

unread,
Jun 11, 2014, 1:16:30 PM6/11/14
to ffmb...@googlegroups.com

Comment #4 on issue 183 by mpatd...@gmail.com: segfault when trying to make
mov from an image (when some command option is not provided)
http://code.google.com/p/ffmbc/issues/detail?id=183

To my understanding

ffmbc without libopenjpeg does not JPEG2000.
But ffmbc can support JPEG2000 when it is compiled with --enable-libopenjpeg
In my case, I have compiled with the above option.

In the attachment '2-intended command', it actually works. It take j2c and
it become a MOV file:
ffmbc -v 3 -r 24000/1001 -f image2 -vcodec libopenjpeg -i
V1-0001_P1160144.00102984.j2c -vcodec dnxhd -vb 175M -vf scale="1920:1080"
-pix_fmt yuv422p10le -r 24000/1001 ffmbc-dnxhd.mov


For the problem segfault command:
ffmbc -v 3 -f image2 -i V1-0001_P1160144.00102984.j2c -vcodec dnxhd -vb
175M -vf scale=-1:1080 test.mov

-vcodec libopenjpeg is not provided, so I think ffmbc do not know the
source image is in jpeg2000 format.

ff...@googlecode.com

unread,
Dec 21, 2014, 10:53:32 PM12/21/14
to ffmb...@googlegroups.com

Comment #5 on issue 183 by baptiste...@gmail.com: segfault when trying to
make mov from an image (when some command option is not provided)
https://code.google.com/p/ffmbc/issues/detail?id=183

ffmbc -v 3 -f image2 -vcodec libopenjpeg -i V1-0001_P1160144.00102984.j2c
Should work with 0.7.2

ff...@googlecode.com

unread,
Dec 21, 2014, 10:54:31 PM12/21/14
to ffmb...@googlegroups.com
Updates:
Status: Fixed

Comment #6 on issue 183 by baptiste...@gmail.com: segfault when trying to
make mov from an image (when some command option is not provided)
https://code.google.com/p/ffmbc/issues/detail?id=183

(No comment was entered for this change.)
Reply all
Reply to author
Forward
0 new messages