[FFmpeg-trac] #5151(undetermined:new): mjpeg2jpeg bitstream filter does not correctly recognize mjpeg streams
FFmpeg
trac at avcodec.org
Tue Jan 12 05:40:50 CET 2016
#5151: mjpeg2jpeg bitstream filter does not correctly recognize mjpeg streams
-------------------------------------+-------------------------------------
Reporter: thebombzen | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: bitstream | Blocked By:
filter, bsf, mjpeg2jpeg, mjpeg, | Reproduced by developer: 0
jpeg |
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
The mjpeg2jpeg bitstream filter whines that a stream is not in the mjpeg
format, even though it is. The bitstream filter does nothing as well.
How to reproduce:
{{{
$ ./ffmpeg -i bitstream_filter_test.mjpeg -c copy -bsf mjpeg2jpeg
out.mjpeg
ffmpeg version N-77803-g7c97946 Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
configuration:
libavutil 55. 13.100 / 55. 13.100
libavfilter 6. 23.100 / 6. 23.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
[mjpeg @ 0x3bad440] Format mjpeg detected only with low score of 25,
misdetection possible!
[mjpeg @ 0x3bae5a0] Changing bps to 8
Input #0, mjpeg, from 'bitstream_filter_test.mjpeg':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown),
1280x720, 25 tbr, 1200k tbn, 25 tbc
Output #0, mjpeg, to 'out.mjpeg':
Metadata:
encoder : Lavf57.21.101
Stream #0:0: Video: mjpeg, yuvj422p, 1280x720, q=2-31, 25 tbr, 25 tbn,
25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[NULL @ 0x3bb0680] input is not MJPEG/AVI1
[NULL @ 0x3bb0680] Failed to open bitstream filter mjpeg2jpeg for stream 0
with codec copy: Invalid data found when processing input
[NULL @ 0x3bb0680] input is not MJPEG/AVI1
[NULL @ 0x3bb0680] Failed to open bitstream filter mjpeg2jpeg for stream 0
with codec copy: Invalid data found when processing input
[NULL @ 0x3bb0680] input is not MJPEG/AVI1
[NULL @ 0x3bb0680] Failed to open bitstream filter mjpeg2jpeg for stream 0
with codec copy: Invalid data found when processing input
[NULL @ 0x3bb0680] input is not MJPEG/AVI1
[NULL @ 0x3bb0680] Failed to open bitstream filter mjpeg2jpeg for stream 0
with codec copy: Invalid data found when processing input
[NULL @ 0x3bb0680] input is not MJPEG/AVI1
[NULL @ 0x3bb0680] Failed to open bitstream filter mjpeg2jpeg for stream 0
with codec copy: Invalid data found when processing input
[NULL @ 0x3bb0680] input is not MJPEG/AVI1
[NULL @ 0x3bb0680] Failed to open bitstream filter mjpeg2jpeg for stream 0
with codec copy: Invalid data found when processing input
[NULL @ 0x3bb0680] input is not MJPEG/AVI1
[NULL @ 0x3bb0680] Failed to open bitstream filter mjpeg2jpeg for stream 0
with codec copy: Invalid data found when processing input
[NULL @ 0x3bb0680] input is not MJPEG/AVI1
[NULL @ 0x3bb0680] Failed to open bitstream filter mjpeg2jpeg for stream 0
with codec copy: Invalid data found when processing input
[NULL @ 0x3bb0680] input is not MJPEG/AVI1
[NULL @ 0x3bb0680] Failed to open bitstream filter mjpeg2jpeg for stream 0
with codec copy: Invalid data found when processing input
[NULL @ 0x3bb0680] input is not MJPEG/AVI1
[NULL @ 0x3bb0680] Failed to open bitstream filter mjpeg2jpeg for stream 0
with codec copy: Invalid data found when processing input
[NULL @ 0x3bb0680] input is not MJPEG/AVI1
[NULL @ 0x3bb0680] Failed to open bitstream filter mjpeg2jpeg for stream 0
with codec copy: Invalid data found when processing input
[NULL @ 0x3bb0680] input is not MJPEG/AVI1
[NULL @ 0x3bb0680] Failed to open bitstream filter mjpeg2jpeg for stream 0
with codec copy: Invalid data found when processing input
[NULL @ 0x3bb0680] input is not MJPEG/AVI1
[NULL @ 0x3bb0680] Failed to open bitstream filter mjpeg2jpeg for stream 0
with codec copy: Invalid data found when processing input
[NULL @ 0x3bb0680] input is not MJPEG/AVI1
[NULL @ 0x3bb0680] Failed to open bitstream filter mjpeg2jpeg for stream 0
with codec copy: Invalid data found when processing input
[NULL @ 0x3bb0680] input is not MJPEG/AVI1
[NULL @ 0x3bb0680] Failed to open bitstream filter mjpeg2jpeg for stream 0
with codec copy: Invalid data found when processing input
[NULL @ 0x3bb0680] input is not MJPEG/AVI1
[NULL @ 0x3bb0680] Failed to open bitstream filter mjpeg2jpeg for stream 0
with codec copy: Invalid data found when processing input
[NULL @ 0x3bb0680] input is not MJPEG/AVI1
[NULL @ 0x3bb0680] Failed to open bitstream filter mjpeg2jpeg for stream 0
with codec copy: Invalid data found when processing input
[NULL @ 0x3bb0680] input is not MJPEG/AVI1
[NULL @ 0x3bb0680] Failed to open bitstream filter mjpeg2jpeg for stream 0
with codec copy: Invalid data found when processing input
[NULL @ 0x3bb0680] input is not MJPEG/AVI1
[NULL @ 0x3bb0680] Failed to open bitstream filter mjpeg2jpeg for stream 0
with codec copy: Invalid data found when processing input
[NULL @ 0x3bb0680] input is not MJPEG/AVI1
[NULL @ 0x3bb0680] Failed to open bitstream filter mjpeg2jpeg for stream 0
with codec copy: Invalid data found when processing input
[NULL @ 0x3bb0680] input is not MJPEG/AVI1
[NULL @ 0x3bb0680] Failed to open bitstream filter mjpeg2jpeg for stream 0
with codec copy: Invalid data found when processing input
[NULL @ 0x3bb0680] input is not MJPEG/AVI1
[NULL @ 0x3bb0680] Failed to open bitstream filter mjpeg2jpeg for stream 0
with codec copy: Invalid data found when processing input
frame= 22 fps=0.0 q=-1.0 Lsize= 4199kB time=00:00:00.88
bitrate=39084.4kbits/s speed=58.8x
video:4199kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.000000%
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this
bug tracker.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5151>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list