ffmpeg error

alt=
DannyA
@dannya
9 years ago
584 posts
I am facing issue when creating mp4 files. It happens on some media and all others working fine.


FFMPEG Error:

ffmpeg version N-50408-gdc666d3 Copyright (c) 2000-2013 the FFmpeg developers built on Feb 28 2013 23:01:11 with gcc 4.3.2 (Debian 4.3.2-1.1) configuration: --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame libavutil 52. 17.103 / 52. 17.103 libavcodec 54. 92.100 / 54. 92.100 libavformat 54. 63.102 / 54. 63.102 libavdevice 54. 3.103 / 54. 3.103 libavfilter 3. 41.100 / 3. 41.100 libswscale 2. 2.100 / 2. 2.100 libswresample 0. 17.102 / 0. 17.102 libpostproc 52. 2.100 / 52. 2.100 [mp3 @ 0x1075ffe0] max_analyze_duration 5000000 reached at 5015510 microseconds [mp3 @ 0x1075ffe0] Estimating duration from bitrate, this may be inaccurate Input #0, mp3, from '/home/cleartracks/public_html/data/cache/xtMix/xtDistribLicense_335_distriblicense_sample_file.mp3': Duration: 00:15:43.05, start: 0.000000, bitrate: 128 kb/s Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s [mjpeg @ 0x10762360] invalid id 217 [image2 @ 0x107619e0] decoding for stream 0 failed [image2 @ 0x107619e0] Could not find codec parameters for stream 0 (Video: mjpeg): unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options /home/cleartracks/public_html/data/cache/xtMix/temp_image.jpg: could not find codec parameters |
updated by @dannya: 06/26/15 12:34:56PM
michael
@michael
9 years ago
7,717 posts
Here is that error on stackoverflow if its of any use:
http://stackoverflow.com/questions/3735823/ffmpeg-not-finding-codec-parameters

Quote: What ffmpeg is actually trying to tell you is, that your file has extension of jpeg, but the file actually is bmp or some other format.

With a suggestion on how to work-around it.

Quote: Some people here say that it is because the mjpeg codec cannot really be found. They suggested installing it from the source. I feel that it is more likely that the mjpeg is not installed. I feel there are two solutions for this.

You can try to install that codec and see if it helps MJpeg Download For Win
You can try forcing the ffmpeg to export it into a different codec Try: ffmpeg -f image2 -i /tmp/img%03d.jpg -vcodec mpeg2video video.mpg

brian
@brian
9 years ago
10,148 posts
Looking at this it looks like we have the analyze and probe durations setup on the audio conversions, but not on video - I will check that out and get them added in.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
9 years ago
10,148 posts
Also - looks like the video is using the "motion jpeg" codec, which if remember right is an old Matrox codec - not sure it's really supported any more. Do you have a link to the video that I can download it here and test it?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
DannyA
@dannya
9 years ago
584 posts
It's actually not a video. What we are trying to do is take the original song image and our 128k mp3 and generate an mp4. This is used to embed in twitter as an audio card.

Like we mentioned, it works with some and not others.

Sending failed files via email.
updated by @dannya: 05/27/15 08:51:14AM

Tags