x264 dimensions not set / float point exception
I keep getting floating point exceptions after doing the following. I have attached mencoder output. /opt/mplayer/bin/mencoder -oac mp3lame -srate 44100 -ovc x264 -vf harddup -of lavf -o integra-lavf.mp4 integra.mp4 /opt/mplayer/bin/mencoder -ovc copy -oac copy -nosound -of rawvideo integra-lavf.mp4 -o video.h264 /opt/mplayer/bin/mencoder -ovc copy -oac copy -of rawaudio integra-lavf.mp4 -o audio.mp3 MP4Box -fps 30 -new integra-mp4box.mp4 -add video.h264 -add audio.mp3 Then... /opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o integra-reencode.mp4 integra-mp4box.mp4 /opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o integra-reencode.mp4 integra-lavf.mp4 That last two give me Floating point exception. I have uploaded integra.mp4 and integra-lavf.mp4 and integra-mp4box.mp4 to the following location: http://www.calcmaster.net/downloads/fpx/ I have had this happen on MP4Box files and other .mp4 files. I'm not exactly sure what triggers it. I can get around this by encoding to .mp4 with mencoder and not using lavf, then reencoding that file using mencoder lavf. -Joseph
On Thu, 23 Dec 2010 10:38:31 -0500, Joseph Miller wrote:
I keep getting floating point exceptions after doing the following. I have attached mencoder output.
/opt/mplayer/bin/mencoder -oac mp3lame -srate 44100 -ovc x264 -vf harddup -of lavf -o integra-lavf.mp4 integra.mp4 /opt/mplayer/bin/mencoder -ovc copy -oac copy -nosound -of rawvideo integra-lavf.mp4 -o video.h264 /opt/mplayer/bin/mencoder -ovc copy -oac copy -of rawaudio integra-lavf.mp4 -o audio.mp3 MP4Box -fps 30 -new integra-mp4box.mp4 -add video.h264 -add audio.mp3
Then...
/opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o integra-reencode.mp4 integra-mp4box.mp4 /opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o integra-reencode.mp4 integra-lavf.mp4
That last two give me Floating point exception.
I have uploaded integra.mp4 and integra-lavf.mp4 and integra-mp4box.mp4 to the following location: http://www.calcmaster.net/downloads/fpx/
I have had this happen on MP4Box files and other .mp4 files. I'm not exactly sure what triggers it. I can get around this by encoding to .mp4 with mencoder and not using lavf, then reencoding that file using mencoder lavf.
-Joseph
try -nosound or -demuxer mov probably related to dis bug: http://bugzilla.mplayerhq.hu/show_bug.cgi?id=1337 -compn
On Thu, Dec 23, 2010 at 10:12 PM, compn <tempn@twmi.rr.com> wrote:
On Thu, 23 Dec 2010 10:38:31 -0500, Joseph Miller wrote:
I keep getting floating point exceptions after doing the following. I have attached mencoder output.
/opt/mplayer/bin/mencoder -oac mp3lame -srate 44100 -ovc x264 -vf harddup -of lavf -o integra-lavf.mp4 integra.mp4 /opt/mplayer/bin/mencoder -ovc copy -oac copy -nosound -of rawvideo integra-lavf.mp4 -o video.h264 /opt/mplayer/bin/mencoder -ovc copy -oac copy -of rawaudio integra-lavf.mp4 -o audio.mp3 MP4Box -fps 30 -new integra-mp4box.mp4 -add video.h264 -add audio.mp3
Then...
/opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o integra-reencode.mp4 integra-mp4box.mp4 /opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o integra-reencode.mp4 integra-lavf.mp4
That last two give me Floating point exception.
I have uploaded integra.mp4 and integra-lavf.mp4 and integra-mp4box.mp4 to the following location: http://www.calcmaster.net/downloads/fpx/
I have had this happen on MP4Box files and other .mp4 files. I'm not exactly sure what triggers it. I can get around this by encoding to .mp4 with mencoder and not using lavf, then reencoding that file using mencoder lavf.
-Joseph
try -nosound or -demuxer mov probably related to dis bug: http://bugzilla.mplayerhq.hu/show_bug.cgi?id=1337
-nosound allows a few frames to be encoded but -demuxer mov does nothing different. -nosound still gives me the "dimensions not set" message though. I'm pretty much just a hack when it comes to serious programming or debugging, but I'm thinking I'm going to need to start attempting some debugging. -Joseph
On Fri, 24 Dec 2010 10:56:34 -0500, Joseph Miller wrote:
On Thu, Dec 23, 2010 at 10:12 PM, compn <tempn@twmi.rr.com> wrote:
On Thu, 23 Dec 2010 10:38:31 -0500, Joseph Miller wrote:
I keep getting floating point exceptions after doing the following. I have attached mencoder output.
/opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o integra-reencode.mp4 integra-mp4box.mp4 /opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o integra-reencode.mp4 integra-lavf.mp4
That last two give me Floating point exception.
I have uploaded integra.mp4 and integra-lavf.mp4 and integra-mp4box.mp4 to the following location: http://www.calcmaster.net/downloads/fpx/
I have had this happen on MP4Box files and other .mp4 files. I'm not
the problem with this bug is that its hard to reproduce. can you tell us what cpu you are using ? try running your mencoder on a different box, another user with the same fpe found he couldnt reproduce it on another box either. your samples work on my p4 1.5ghz: F:\>mencoder -oac faac -ovc x264 -of lavf -o integra-reencode.mp4 integra-mp4box.mp4 MEncoder Sherpya-SVN-r32492-4.2.5 (C) 2000-2010 MPlayer Team 161 audio & 353 video codecs success: format: 0 data: 0x0 - 0xf7802 libavformat file format detected. [lavf] stream 0: video (h264), -vid 0 [lavf] stream 1: audio (mp3), -aid 0, -alang und VIDEO: [H264] 400x304 24bpp 30.000 fps 240.5 kbps (29.4 kbyte/s) [V] filefmt:44 fourcc:0x34363248 size:400x304 fps:30.000 ftime:=0.0333 ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 44100 Hz, 2 ch, s16le, 32.0 kbit/2.27% (ratio: 4000->176400) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== ** MUXER_LAVF ***************************************************************** REMEMBER: MEncoder's libavformat muxing is presently broken and can generate INCORRECT files in the presence of B-frames. Moreover, due to bugs MPlayer will play these INCORRECT files as if nothing were wrong! ******************************************************************************* OK, exit. Opening video filter: [expand osd=1] Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== Pos: 0.0s 1f ( 7%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0] 1 duplicate frame(s)! Muxer frame buffer cannot allocate memory! Pos: 0.0s 2f ( 7%) 0.00fps Trem: 0min 0mb A-V:0.003 [0:0] Movie-Aspect is 1.32:1 - prescaling to correct movie aspect. x264 [info]: using SAR=1/1 x264 [info]: using cpu capabilities: MMX2 SSE2 Cache64 x264 [info]: profile High, level 2.1 Fontconfig error: Cannot load default config file Fontconfig failed to select a font. Trying without fontconfig... Fontconfig failed to select a font. Trying without fontconfig... 1 duplicate frame(s)! Muxer frame buffer cannot allocate memory! Pos: 0.0s 42f ( 7%) 0.00fps Trem: 0min 0mb A-V:0.068 [0:0] Skipping frame! Pos: 0.0s 43f ( 7%) 0.00fps Trem: 0min 0mb A-V:0.031 [0:0] VIDEO CODEC ID: 28 AUDIO CODEC ID: 15002, TAG: 0 Writing header... [mp4 @ 0102c758]Codec for stream 0 does not use global headers but container format requires global headers [mp4 @ 0102c758]Codec for stream 1 does not use global headers but container format requires global headers Pos: 2.1s 106f (17%) 17.09fps Trem: 0min 0mb A-V:0.067 [221:88] Skipping frame! Pos: 19.2s 620f (100%) 11.93fps Trem: 0min 0mb A-V:0.030 [223:93] Flushing video frames. Writing index... Video stream: 226.874 kbit/s (28359 B/s) size: 582309 bytes 20.533 secs 620 frames Audio stream: 93.084 kbit/s (11635 B/s) size: 229379 bytes 19.714 secs x264 [info]: frame I:3 Avg QP:20.73 size: 7087 x264 [info]: frame P:221 Avg QP:25.07 size: 1743 x264 [info]: frame B:392 Avg QP:29.22 size: 448 x264 [info]: consecutive B-frames: 11.6% 2.9% 19.6% 65.9% x264 [info]: mb I I16..4: 37.1% 33.2% 29.8% x264 [info]: mb P I16..4: 6.8% 2.4% 1.4% P16..4: 36.2% 16.2% 5.5% 0.0% 0.0% skip:31.6% x264 [info]: mb B I16..4: 1.1% 0.1% 0.1% B16..8: 43.0% 3.9% 0.2% direct: 0.4% skip:51.1% L0:47.5% L1:49.0% BI: 3.5% x264 [info]: 8x8 transform intra:21.0% inter:68.7% x264 [info]: coded y,uvDC,uvAC intra: 21.0% 26.9% 6.1% inter: 8.7% 8.1% 0.7% x264 [info]: i16 v,h,dc,p: 40% 53% 3% 4% x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 27% 35% 5% 3% 3% 6% 3% 6% x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 47% 18% 2% 3% 2% 5% 1% 3% x264 [info]: i8c dc,h,v,p: 57% 33% 8% 1% x264 [info]: Weighted P-Frames: Y:11.3% x264 [info]: ref P L0: 59.7% 19.4% 16.4% 4.1% 0.4% x264 [info]: ref B L0: 87.3% 10.6% 2.1% x264 [info]: ref B L1: 94.4% 5.6% x264 [info]: kb/s:226.87 F:\>
On Fri, Dec 24, 2010 at 1:44 PM, compn <tempn@twmi.rr.com> wrote:
On Fri, 24 Dec 2010 10:56:34 -0500, Joseph Miller wrote:
On Thu, Dec 23, 2010 at 10:12 PM, compn <tempn@twmi.rr.com> wrote:
On Thu, 23 Dec 2010 10:38:31 -0500, Joseph Miller wrote:
I keep getting floating point exceptions after doing the following. I have attached mencoder output.
/opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o integra-reencode.mp4 integra-mp4box.mp4 /opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o integra-reencode.mp4 integra-lavf.mp4
That last two give me Floating point exception.
I have uploaded integra.mp4 and integra-lavf.mp4 and integra-mp4box.mp4 to the following location: http://www.calcmaster.net/downloads/fpx/
I have had this happen on MP4Box files and other .mp4 files. I'm not
the problem with this bug is that its hard to reproduce. can you tell us what cpu you are using ?
try running your mencoder on a different box, another user with the same fpe found he couldnt reproduce it on another box either.
your samples work on my p4 1.5ghz:
Interesting. I have tried with both a PhenomII quad core and my Intel Core i3. I want to say that I had fewer problems with Ubuntu 10.04, but I'm unable to verify because all my boxes are 10.10 now. I did try as far back as SVN 2010-01-01. -Joseph
On Fri, Dec 24, 2010 at 2:17 PM, Joseph Miller <josephcmiller2@gmail.com> wrote:
On Fri, Dec 24, 2010 at 1:44 PM, compn <tempn@twmi.rr.com> wrote:
On Fri, 24 Dec 2010 10:56:34 -0500, Joseph Miller wrote:
On Thu, Dec 23, 2010 at 10:12 PM, compn <tempn@twmi.rr.com> wrote:
On Thu, 23 Dec 2010 10:38:31 -0500, Joseph Miller wrote:
I keep getting floating point exceptions after doing the following. I have attached mencoder output.
/opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o integra-reencode.mp4 integra-mp4box.mp4 /opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o integra-reencode.mp4 integra-lavf.mp4
That last two give me Floating point exception.
I have uploaded integra.mp4 and integra-lavf.mp4 and integra-mp4box.mp4 to the following location: http://www.calcmaster.net/downloads/fpx/
I have had this happen on MP4Box files and other .mp4 files. I'm not
the problem with this bug is that its hard to reproduce. can you tell us what cpu you are using ?
try running your mencoder on a different box, another user with the same fpe found he couldnt reproduce it on another box either.
your samples work on my p4 1.5ghz:
Interesting. I have tried with both a PhenomII quad core and my Intel Core i3. I want to say that I had fewer problems with Ubuntu 10.04, but I'm unable to verify because all my boxes are 10.10 now. I did try as far back as SVN 2010-01-01.
The decvideo module shows the no picture: DECVIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family DECVIDEO: INFO: libavcodec init OK! DECVIDEO: Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) CPLAYER: ========================================================================== DECVIDEO: vd_ffmpeg data: 1000000, 15006467, 6e534ac, 10017b42 DECVIDEO: [h264 @ 0xd3bc60]no picture STATUSLINE: Pos: 0.0s 1f ( 6%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0] DECVIDEO: vd_ffmpeg data: 1000000, 1019a41, 1bf22b6, 85841830 DECVIDEO: [h264 @ 0xd3bc60]no picture MENCODER: 1 duplicate frame(s)! MUXER: VIDEO CODEC ID: 28 MUXER: AUDIO CODEC ID: 15002, TAG: 0 MUXER: Writing header... GLOBAL: [mp4 @ 0xcc8c40]dimensions not set Floating point exception A working file produces: DECVIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family DECVIDEO: INFO: libavcodec init OK! DECVIDEO: Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) CPLAYER: ========================================================================== DECVIDEO: vd_ffmpeg data: 5061900, 24cb0a15, 3330fa13, 9cbda201 DECVIDEO: [ffmpeg] aspect_ratio: 1.315789 DECVIDEO: VDec: vo config request - 400 x 304 (preferred colorspace: Planar YV12) DECVIDEO: Trying filter chain: expand x264 CPLAYER: Movie-Aspect is 1.32:1 - prescaling to correct movie aspect. x264 [info]: using SAR=1/1 x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 x264 [info]: profile High, level 2.1
On Fri, Dec 24, 2010 at 2:37 PM, Joseph Miller <josephcmiller2@gmail.com> wrote:
On Fri, Dec 24, 2010 at 2:17 PM, Joseph Miller <josephcmiller2@gmail.com> wrote:
On Fri, Dec 24, 2010 at 1:44 PM, compn <tempn@twmi.rr.com> wrote:
On Fri, 24 Dec 2010 10:56:34 -0500, Joseph Miller wrote:
On Thu, Dec 23, 2010 at 10:12 PM, compn <tempn@twmi.rr.com> wrote:
On Thu, 23 Dec 2010 10:38:31 -0500, Joseph Miller wrote:
I keep getting floating point exceptions after doing the following. I have attached mencoder output.
/opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o integra-reencode.mp4 integra-mp4box.mp4 /opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o integra-reencode.mp4 integra-lavf.mp4
That last two give me Floating point exception.
I have uploaded integra.mp4 and integra-lavf.mp4 and integra-mp4box.mp4 to the following location: http://www.calcmaster.net/downloads/fpx/
I have had this happen on MP4Box files and other .mp4 files. I'm not
the problem with this bug is that its hard to reproduce. can you tell us what cpu you are using ?
try running your mencoder on a different box, another user with the same fpe found he couldnt reproduce it on another box either.
your samples work on my p4 1.5ghz:
Interesting. I have tried with both a PhenomII quad core and my Intel Core i3. I want to say that I had fewer problems with Ubuntu 10.04, but I'm unable to verify because all my boxes are 10.10 now. I did try as far back as SVN 2010-01-01.
The decvideo module shows the no picture:
DECVIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family DECVIDEO: INFO: libavcodec init OK! DECVIDEO: Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) CPLAYER: ========================================================================== DECVIDEO: vd_ffmpeg data: 1000000, 15006467, 6e534ac, 10017b42 DECVIDEO: [h264 @ 0xd3bc60]no picture STATUSLINE: Pos: 0.0s 1f ( 6%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0] DECVIDEO: vd_ffmpeg data: 1000000, 1019a41, 1bf22b6, 85841830 DECVIDEO: [h264 @ 0xd3bc60]no picture MENCODER: 1 duplicate frame(s)! MUXER: VIDEO CODEC ID: 28 MUXER: AUDIO CODEC ID: 15002, TAG: 0 MUXER: Writing header... GLOBAL: [mp4 @ 0xcc8c40]dimensions not set Floating point exception
A working file produces:
DECVIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family DECVIDEO: INFO: libavcodec init OK! DECVIDEO: Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) CPLAYER: ========================================================================== DECVIDEO: vd_ffmpeg data: 5061900, 24cb0a15, 3330fa13, 9cbda201 DECVIDEO: [ffmpeg] aspect_ratio: 1.315789 DECVIDEO: VDec: vo config request - 400 x 304 (preferred colorspace: Planar YV12) DECVIDEO: Trying filter chain: expand x264 CPLAYER: Movie-Aspect is 1.32:1 - prescaling to correct movie aspect. x264 [info]: using SAR=1/1 x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 x264 [info]: profile High, level 2.1
I guess I should include mplayer results too. Here's the file that won't re-encode, but the output is from mplayer (which plays the file): DECVIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family DECVIDEO: INFO: libavcodec init OK! DECVIDEO: Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) CPLAYER: ========================================================================== CPLAYER: ========================================================================== DECAUDIO: Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 DECAUDIO: AUDIO: 44100 Hz, 2 ch, s16le, 48.0 kbit/3.40% (ratio: 6000->176400) DECAUDIO: Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) CPLAYER: ========================================================================== CPLAYER: AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) CPLAYER: Starting playback... DECVIDEO: vd_ffmpeg data: 1000000, 15006467, 6e534ac, 10017b42 DECVIDEO: [h264 @ 0xe87760]no picture DECVIDEO: vd_ffmpeg data: 1000000, 1019a41, 1bf22b6, 85841830 DECVIDEO: [h264 @ 0xe87760]no picture DECVIDEO: vd_ffmpeg data: 1000000, 1029e41, 2e7f453c, 45e08ee4 DECVIDEO: [ffmpeg] aspect_ratio: 1.315789 DECVIDEO: VDec: vo config request - 400 x 304 (preferred colorspace: Planar YV12) DECVIDEO: Trying filter chain: vo CPLAYER: Movie-Aspect is 1.32:1 - prescaling to correct movie aspect. CPLAYER: VO: [xv] 400x304 => 400x304 Planar YV12 DECVIDEO: *** [vo] Exporting mp_image_t, 400x304x12bpp YUV planar, 182400 bytes DECVIDEO: (imgfmt: 32315659, planes: (nil),(nil),(nil) strides: 0,0,0, chroma: 200x152, shift: h:1,v:1)
On Fri, Dec 24, 2010 at 2:43 PM, Joseph Miller <josephcmiller2@gmail.com> wrote:
On Fri, Dec 24, 2010 at 2:37 PM, Joseph Miller <josephcmiller2@gmail.com> wrote:
On Fri, Dec 24, 2010 at 2:17 PM, Joseph Miller <josephcmiller2@gmail.com> wrote:
On Fri, Dec 24, 2010 at 1:44 PM, compn <tempn@twmi.rr.com> wrote:
On Fri, 24 Dec 2010 10:56:34 -0500, Joseph Miller wrote:
On Thu, Dec 23, 2010 at 10:12 PM, compn <tempn@twmi.rr.com> wrote:
On Thu, 23 Dec 2010 10:38:31 -0500, Joseph Miller wrote: >I keep getting floating point exceptions after doing the following. I >have attached mencoder output. > >/opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o >integra-reencode.mp4 integra-mp4box.mp4 >/opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o >integra-reencode.mp4 integra-lavf.mp4 > >That last two give me Floating point exception. > >I have uploaded integra.mp4 and integra-lavf.mp4 and >integra-mp4box.mp4 to the following location: >http://www.calcmaster.net/downloads/fpx/ > >I have had this happen on MP4Box files and other .mp4 files. I'm not
the problem with this bug is that its hard to reproduce. can you tell us what cpu you are using ?
try running your mencoder on a different box, another user with the same fpe found he couldnt reproduce it on another box either.
your samples work on my p4 1.5ghz:
Interesting. I have tried with both a PhenomII quad core and my Intel Core i3. I want to say that I had fewer problems with Ubuntu 10.04, but I'm unable to verify because all my boxes are 10.10 now. I did try as far back as SVN 2010-01-01.
The decvideo module shows the no picture:
DECVIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family DECVIDEO: INFO: libavcodec init OK! DECVIDEO: Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) CPLAYER: ========================================================================== DECVIDEO: vd_ffmpeg data: 1000000, 15006467, 6e534ac, 10017b42 DECVIDEO: [h264 @ 0xd3bc60]no picture STATUSLINE: Pos: 0.0s 1f ( 6%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0] DECVIDEO: vd_ffmpeg data: 1000000, 1019a41, 1bf22b6, 85841830 DECVIDEO: [h264 @ 0xd3bc60]no picture MENCODER: 1 duplicate frame(s)! MUXER: VIDEO CODEC ID: 28 MUXER: AUDIO CODEC ID: 15002, TAG: 0 MUXER: Writing header... GLOBAL: [mp4 @ 0xcc8c40]dimensions not set Floating point exception
A working file produces:
DECVIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family DECVIDEO: INFO: libavcodec init OK! DECVIDEO: Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) CPLAYER: ========================================================================== DECVIDEO: vd_ffmpeg data: 5061900, 24cb0a15, 3330fa13, 9cbda201 DECVIDEO: [ffmpeg] aspect_ratio: 1.315789 DECVIDEO: VDec: vo config request - 400 x 304 (preferred colorspace: Planar YV12) DECVIDEO: Trying filter chain: expand x264 CPLAYER: Movie-Aspect is 1.32:1 - prescaling to correct movie aspect. x264 [info]: using SAR=1/1 x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 x264 [info]: profile High, level 2.1
I guess I should include mplayer results too. Here's the file that won't re-encode, but the output is from mplayer (which plays the file):
DECVIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family DECVIDEO: INFO: libavcodec init OK! DECVIDEO: Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) CPLAYER: ========================================================================== CPLAYER: ========================================================================== DECAUDIO: Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 DECAUDIO: AUDIO: 44100 Hz, 2 ch, s16le, 48.0 kbit/3.40% (ratio: 6000->176400) DECAUDIO: Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) CPLAYER: ========================================================================== CPLAYER: AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) CPLAYER: Starting playback... DECVIDEO: vd_ffmpeg data: 1000000, 15006467, 6e534ac, 10017b42 DECVIDEO: [h264 @ 0xe87760]no picture DECVIDEO: vd_ffmpeg data: 1000000, 1019a41, 1bf22b6, 85841830 DECVIDEO: [h264 @ 0xe87760]no picture DECVIDEO: vd_ffmpeg data: 1000000, 1029e41, 2e7f453c, 45e08ee4 DECVIDEO: [ffmpeg] aspect_ratio: 1.315789 DECVIDEO: VDec: vo config request - 400 x 304 (preferred colorspace: Planar YV12) DECVIDEO: Trying filter chain: vo CPLAYER: Movie-Aspect is 1.32:1 - prescaling to correct movie aspect. CPLAYER: VO: [xv] 400x304 => 400x304 Planar YV12 DECVIDEO: *** [vo] Exporting mp_image_t, 400x304x12bpp YUV planar, 182400 bytes DECVIDEO: (imgfmt: 32315659, planes: (nil),(nil),(nil) strides: 0,0,0, chroma: 200x152, shift: h:1,v:1)
OK some good news, -demuxer h264es seems to allow the encoding to progress for the file muxed with lavf, but it doesn't decode any sound. -demuxer h264es causes segfault with MP4Box muxed file.
On Fri, 24 Dec 2010 15:36:07 -0500, Joseph Miller wrote:
On Fri, Dec 24, 2010 at 2:43 PM, Joseph Miller <josephcmiller2@gmail.com> wrote:
On Fri, Dec 24, 2010 at 2:37 PM, Joseph Miller <josephcmiller2@gmail.com> wrote:
On Fri, Dec 24, 2010 at 2:17 PM, Joseph Miller <josephcmiller2@gmail.com> wrote:
On Fri, Dec 24, 2010 at 1:44 PM, compn <tempn@twmi.rr.com> wrote:
On Fri, 24 Dec 2010 10:56:34 -0500, Joseph Miller wrote:
On Thu, Dec 23, 2010 at 10:12 PM, compn <tempn@twmi.rr.com> wrote: > On Thu, 23 Dec 2010 10:38:31 -0500, Joseph Miller wrote: >>I keep getting floating point exceptions after doing the following. I >>have attached mencoder output. >> >>/opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o >>integra-reencode.mp4 integra-mp4box.mp4 >>/opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o >>integra-reencode.mp4 integra-lavf.mp4 >> >>That last two give me Floating point exception. >> >>I have uploaded integra.mp4 and integra-lavf.mp4 and >>integra-mp4box.mp4 to the following location: >>http://www.calcmaster.net/downloads/fpx/ >> >>I have had this happen on MP4Box files and other .mp4 files. I'm not
the problem with this bug is that its hard to reproduce. can you tell us what cpu you are using ?
try running your mencoder on a different box, another user with the same fpe found he couldnt reproduce it on another box either.
your samples work on my p4 1.5ghz:
Interesting. I have tried with both a PhenomII quad core and my Intel Core i3. I want to say that I had fewer problems with Ubuntu 10.04, but I'm unable to verify because all my boxes are 10.10 now. I did try as far back as SVN 2010-01-01.
The decvideo module shows the no picture:
DECVIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family DECVIDEO: INFO: libavcodec init OK! DECVIDEO: Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) CPLAYER: ========================================================================== DECVIDEO: vd_ffmpeg data: 1000000, 15006467, 6e534ac, 10017b42 DECVIDEO: [h264 @ 0xd3bc60]no picture STATUSLINE: Pos: 0.0s 1f ( 6%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0] DECVIDEO: vd_ffmpeg data: 1000000, 1019a41, 1bf22b6, 85841830 DECVIDEO: [h264 @ 0xd3bc60]no picture MENCODER: 1 duplicate frame(s)! MUXER: VIDEO CODEC ID: 28 MUXER: AUDIO CODEC ID: 15002, TAG: 0 MUXER: Writing header... GLOBAL: [mp4 @ 0xcc8c40]dimensions not set Floating point exception
A working file produces:
DECVIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family DECVIDEO: INFO: libavcodec init OK! DECVIDEO: Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) CPLAYER: ========================================================================== DECVIDEO: vd_ffmpeg data: 5061900, 24cb0a15, 3330fa13, 9cbda201 DECVIDEO: [ffmpeg] aspect_ratio: 1.315789 DECVIDEO: VDec: vo config request - 400 x 304 (preferred colorspace: Planar YV12) DECVIDEO: Trying filter chain: expand x264 CPLAYER: Movie-Aspect is 1.32:1 - prescaling to correct movie aspect. x264 [info]: using SAR=1/1 x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 x264 [info]: profile High, level 2.1
I guess I should include mplayer results too. Here's the file that won't re-encode, but the output is from mplayer (which plays the file):
DECVIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family DECVIDEO: INFO: libavcodec init OK! DECVIDEO: Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) CPLAYER: ========================================================================== CPLAYER: ========================================================================== DECAUDIO: Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 DECAUDIO: AUDIO: 44100 Hz, 2 ch, s16le, 48.0 kbit/3.40% (ratio: 6000->176400) DECAUDIO: Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) CPLAYER: ========================================================================== CPLAYER: AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) CPLAYER: Starting playback... DECVIDEO: vd_ffmpeg data: 1000000, 15006467, 6e534ac, 10017b42 DECVIDEO: [h264 @ 0xe87760]no picture DECVIDEO: vd_ffmpeg data: 1000000, 1019a41, 1bf22b6, 85841830 DECVIDEO: [h264 @ 0xe87760]no picture DECVIDEO: vd_ffmpeg data: 1000000, 1029e41, 2e7f453c, 45e08ee4 DECVIDEO: [ffmpeg] aspect_ratio: 1.315789 DECVIDEO: VDec: vo config request - 400 x 304 (preferred colorspace: Planar YV12) DECVIDEO: Trying filter chain: vo CPLAYER: Movie-Aspect is 1.32:1 - prescaling to correct movie aspect. CPLAYER: VO: [xv] 400x304 => 400x304 Planar YV12 DECVIDEO: *** [vo] Exporting mp_image_t, 400x304x12bpp YUV planar, 182400 bytes DECVIDEO: (imgfmt: 32315659, planes: (nil),(nil),(nil) strides: 0,0,0, chroma: 200x152, shift: h:1,v:1)
OK some good news, -demuxer h264es seems to allow the encoding to progress for the file muxed with lavf, but it doesn't decode any sound. -demuxer h264es causes segfault with MP4Box muxed file.
yeah i'm guessing the demuxer/'no picture' is the cause, then the packets are passed onto mencoder lavf muxer and thats where it dies, as it has no dimensions for the first frame and screws itself. does -ss 1 make it work ? -compn
On Fri, Dec 24, 2010 at 4:37 PM, compn <tempn@twmi.rr.com> wrote:
On Fri, 24 Dec 2010 15:36:07 -0500, Joseph Miller wrote:
On Fri, Dec 24, 2010 at 2:43 PM, Joseph Miller <josephcmiller2@gmail.com> wrote:
On Fri, Dec 24, 2010 at 2:37 PM, Joseph Miller <josephcmiller2@gmail.com> wrote:
On Fri, Dec 24, 2010 at 2:17 PM, Joseph Miller <josephcmiller2@gmail.com> wrote:
On Fri, Dec 24, 2010 at 1:44 PM, compn <tempn@twmi.rr.com> wrote:
On Fri, 24 Dec 2010 10:56:34 -0500, Joseph Miller wrote: >On Thu, Dec 23, 2010 at 10:12 PM, compn <tempn@twmi.rr.com> wrote: >> On Thu, 23 Dec 2010 10:38:31 -0500, Joseph Miller wrote: >>>I keep getting floating point exceptions after doing the following. I >>>have attached mencoder output. >>> >>>/opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o >>>integra-reencode.mp4 integra-mp4box.mp4 >>>/opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o >>>integra-reencode.mp4 integra-lavf.mp4 >>> >>>That last two give me Floating point exception. >>> >>>I have uploaded integra.mp4 and integra-lavf.mp4 and >>>integra-mp4box.mp4 to the following location: >>>http://www.calcmaster.net/downloads/fpx/ >>> >>>I have had this happen on MP4Box files and other .mp4 files. I'm not
the problem with this bug is that its hard to reproduce. can you tell us what cpu you are using ?
try running your mencoder on a different box, another user with the same fpe found he couldnt reproduce it on another box either.
your samples work on my p4 1.5ghz:
Interesting. I have tried with both a PhenomII quad core and my Intel Core i3. I want to say that I had fewer problems with Ubuntu 10.04, but I'm unable to verify because all my boxes are 10.10 now. I did try as far back as SVN 2010-01-01.
The decvideo module shows the no picture:
DECVIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family DECVIDEO: INFO: libavcodec init OK! DECVIDEO: Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) CPLAYER: ========================================================================== DECVIDEO: vd_ffmpeg data: 1000000, 15006467, 6e534ac, 10017b42 DECVIDEO: [h264 @ 0xd3bc60]no picture STATUSLINE: Pos: 0.0s 1f ( 6%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0] DECVIDEO: vd_ffmpeg data: 1000000, 1019a41, 1bf22b6, 85841830 DECVIDEO: [h264 @ 0xd3bc60]no picture MENCODER: 1 duplicate frame(s)! MUXER: VIDEO CODEC ID: 28 MUXER: AUDIO CODEC ID: 15002, TAG: 0 MUXER: Writing header... GLOBAL: [mp4 @ 0xcc8c40]dimensions not set Floating point exception
A working file produces:
DECVIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family DECVIDEO: INFO: libavcodec init OK! DECVIDEO: Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) CPLAYER: ========================================================================== DECVIDEO: vd_ffmpeg data: 5061900, 24cb0a15, 3330fa13, 9cbda201 DECVIDEO: [ffmpeg] aspect_ratio: 1.315789 DECVIDEO: VDec: vo config request - 400 x 304 (preferred colorspace: Planar YV12) DECVIDEO: Trying filter chain: expand x264 CPLAYER: Movie-Aspect is 1.32:1 - prescaling to correct movie aspect. x264 [info]: using SAR=1/1 x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 x264 [info]: profile High, level 2.1
I guess I should include mplayer results too. Here's the file that won't re-encode, but the output is from mplayer (which plays the file):
DECVIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family DECVIDEO: INFO: libavcodec init OK! DECVIDEO: Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) CPLAYER: ========================================================================== CPLAYER: ========================================================================== DECAUDIO: Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 DECAUDIO: AUDIO: 44100 Hz, 2 ch, s16le, 48.0 kbit/3.40% (ratio: 6000->176400) DECAUDIO: Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) CPLAYER: ========================================================================== CPLAYER: AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) CPLAYER: Starting playback... DECVIDEO: vd_ffmpeg data: 1000000, 15006467, 6e534ac, 10017b42 DECVIDEO: [h264 @ 0xe87760]no picture DECVIDEO: vd_ffmpeg data: 1000000, 1019a41, 1bf22b6, 85841830 DECVIDEO: [h264 @ 0xe87760]no picture DECVIDEO: vd_ffmpeg data: 1000000, 1029e41, 2e7f453c, 45e08ee4 DECVIDEO: [ffmpeg] aspect_ratio: 1.315789 DECVIDEO: VDec: vo config request - 400 x 304 (preferred colorspace: Planar YV12) DECVIDEO: Trying filter chain: vo CPLAYER: Movie-Aspect is 1.32:1 - prescaling to correct movie aspect. CPLAYER: VO: [xv] 400x304 => 400x304 Planar YV12 DECVIDEO: *** [vo] Exporting mp_image_t, 400x304x12bpp YUV planar, 182400 bytes DECVIDEO: (imgfmt: 32315659, planes: (nil),(nil),(nil) strides: 0,0,0, chroma: 200x152, shift: h:1,v:1)
OK some good news, -demuxer h264es seems to allow the encoding to progress for the file muxed with lavf, but it doesn't decode any sound. -demuxer h264es causes segfault with MP4Box muxed file.
yeah i'm guessing the demuxer/'no picture' is the cause, then the packets are passed onto mencoder lavf muxer and thats where it dies, as it has no dimensions for the first frame and screws itself.
does -ss 1 make it work ?
No, this doesn't work. There is definitely something wrong with the way the demuxer reads this or something wrong with the lavf muxer that created it. Should I be contacting ffmpeg-devel? -Joseph
On Fri, 24 Dec 2010 16:44:42 -0500, Joseph Miller wrote:
On Fri, Dec 24, 2010 at 4:37 PM, compn <tempn@twmi.rr.com> wrote:
On Fri, 24 Dec 2010 15:36:07 -0500, Joseph Miller wrote:
On Fri, Dec 24, 2010 at 2:43 PM, Joseph Miller <josephcmiller2@gmail.com> wrote:
On Fri, Dec 24, 2010 at 2:37 PM, Joseph Miller <josephcmiller2@gmail.com> wrote:
On Fri, Dec 24, 2010 at 2:17 PM, Joseph Miller <josephcmiller2@gmail.com> wrote:
On Fri, Dec 24, 2010 at 1:44 PM, compn <tempn@twmi.rr.com> wrote: > On Fri, 24 Dec 2010 10:56:34 -0500, Joseph Miller wrote: >>On Thu, Dec 23, 2010 at 10:12 PM, compn <tempn@twmi.rr.com> wrote: >>> On Thu, 23 Dec 2010 10:38:31 -0500, Joseph Miller wrote: >>>>I keep getting floating point exceptions after doing the following. I >>>>have attached mencoder output. >>>> >>>>/opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o >>>>integra-reencode.mp4 integra-mp4box.mp4 >>>>/opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o >>>>integra-reencode.mp4 integra-lavf.mp4 >>>> >>>>That last two give me Floating point exception. >>>> >>>>I have uploaded integra.mp4 and integra-lavf.mp4 and >>>>integra-mp4box.mp4 to the following location: >>>>http://www.calcmaster.net/downloads/fpx/ >>>> >>>>I have had this happen on MP4Box files and other .mp4 files. I'm not > > the problem with this bug is that its hard to reproduce. can you tell > us what cpu you are using ? > > try running your mencoder on a different box, another user with the > same fpe found he couldnt reproduce it on another box either. > > your samples work on my p4 1.5ghz: >
Interesting. I have tried with both a PhenomII quad core and my Intel Core i3. I want to say that I had fewer problems with Ubuntu 10.04, but I'm unable to verify because all my boxes are 10.10 now. I did try as far back as SVN 2010-01-01.
The decvideo module shows the no picture:
DECVIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family DECVIDEO: INFO: libavcodec init OK! DECVIDEO: Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) CPLAYER: ========================================================================== DECVIDEO: vd_ffmpeg data: 1000000, 15006467, 6e534ac, 10017b42 DECVIDEO: [h264 @ 0xd3bc60]no picture STATUSLINE: Pos: 0.0s 1f ( 6%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0] DECVIDEO: vd_ffmpeg data: 1000000, 1019a41, 1bf22b6, 85841830 DECVIDEO: [h264 @ 0xd3bc60]no picture MENCODER: 1 duplicate frame(s)! MUXER: VIDEO CODEC ID: 28 MUXER: AUDIO CODEC ID: 15002, TAG: 0 MUXER: Writing header... GLOBAL: [mp4 @ 0xcc8c40]dimensions not set Floating point exception
A working file produces:
DECVIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family DECVIDEO: INFO: libavcodec init OK! DECVIDEO: Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) CPLAYER: ========================================================================== DECVIDEO: vd_ffmpeg data: 5061900, 24cb0a15, 3330fa13, 9cbda201 DECVIDEO: [ffmpeg] aspect_ratio: 1.315789 DECVIDEO: VDec: vo config request - 400 x 304 (preferred colorspace: Planar YV12) DECVIDEO: Trying filter chain: expand x264 CPLAYER: Movie-Aspect is 1.32:1 - prescaling to correct movie aspect. x264 [info]: using SAR=1/1 x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 x264 [info]: profile High, level 2.1
I guess I should include mplayer results too. Here's the file that won't re-encode, but the output is from mplayer (which plays the file):
DECVIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family DECVIDEO: INFO: libavcodec init OK! DECVIDEO: Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) CPLAYER: ========================================================================== CPLAYER: ========================================================================== DECAUDIO: Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 DECAUDIO: AUDIO: 44100 Hz, 2 ch, s16le, 48.0 kbit/3.40% (ratio: 6000->176400) DECAUDIO: Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) CPLAYER: ========================================================================== CPLAYER: AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) CPLAYER: Starting playback... DECVIDEO: vd_ffmpeg data: 1000000, 15006467, 6e534ac, 10017b42 DECVIDEO: [h264 @ 0xe87760]no picture DECVIDEO: vd_ffmpeg data: 1000000, 1019a41, 1bf22b6, 85841830 DECVIDEO: [h264 @ 0xe87760]no picture DECVIDEO: vd_ffmpeg data: 1000000, 1029e41, 2e7f453c, 45e08ee4 DECVIDEO: [ffmpeg] aspect_ratio: 1.315789 DECVIDEO: VDec: vo config request - 400 x 304 (preferred colorspace: Planar YV12) DECVIDEO: Trying filter chain: vo CPLAYER: Movie-Aspect is 1.32:1 - prescaling to correct movie aspect. CPLAYER: VO: [xv] 400x304 => 400x304 Planar YV12 DECVIDEO: *** [vo] Exporting mp_image_t, 400x304x12bpp YUV planar, 182400 bytes DECVIDEO: (imgfmt: 32315659, planes: (nil),(nil),(nil) strides: 0,0,0, chroma: 200x152, shift: h:1,v:1)
OK some good news, -demuxer h264es seems to allow the encoding to progress for the file muxed with lavf, but it doesn't decode any sound. -demuxer h264es causes segfault with MP4Box muxed file.
yeah i'm guessing the demuxer/'no picture' is the cause, then the packets are passed onto mencoder lavf muxer and thats where it dies, as it has no dimensions for the first frame and screws itself.
does -ss 1 make it work ?
No, this doesn't work. There is definitely something wrong with the way the demuxer reads this or something wrong with the lavf muxer that created it. Should I be contacting ffmpeg-devel?
well yes, michael maintains muxer_lavf but no, ffmpeg-devel is for patches, and ffmpeg-user (or roundup) wants bugs to be reproduced with ffmpeg. and i'm pretty sure you wont be able to crash ffmpeg with this particular bug. its a bug in between the demuxers and muxers in mencoder. if you arent doing anything with subtitles its probably a better idea to just dump mencoder and use ffmpeg. -compn
On Fri, Dec 24, 2010 at 5:21 PM, compn <tempn@twmi.rr.com> wrote:
On Fri, 24 Dec 2010 16:44:42 -0500, Joseph Miller wrote:
On Fri, Dec 24, 2010 at 4:37 PM, compn <tempn@twmi.rr.com> wrote:
On Fri, 24 Dec 2010 15:36:07 -0500, Joseph Miller wrote:
On Fri, Dec 24, 2010 at 2:43 PM, Joseph Miller <josephcmiller2@gmail.com> wrote:
On Fri, Dec 24, 2010 at 2:37 PM, Joseph Miller <josephcmiller2@gmail.com> wrote:
On Fri, Dec 24, 2010 at 2:17 PM, Joseph Miller <josephcmiller2@gmail.com> wrote: > On Fri, Dec 24, 2010 at 1:44 PM, compn <tempn@twmi.rr.com> wrote: >> On Fri, 24 Dec 2010 10:56:34 -0500, Joseph Miller wrote: >>>On Thu, Dec 23, 2010 at 10:12 PM, compn <tempn@twmi.rr.com> wrote: >>>> On Thu, 23 Dec 2010 10:38:31 -0500, Joseph Miller wrote: >>>>>I keep getting floating point exceptions after doing the following. I >>>>>have attached mencoder output. >>>>> >>>>>/opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o >>>>>integra-reencode.mp4 integra-mp4box.mp4 >>>>>/opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o >>>>>integra-reencode.mp4 integra-lavf.mp4 >>>>> >>>>>That last two give me Floating point exception. >>>>> >>>>>I have uploaded integra.mp4 and integra-lavf.mp4 and >>>>>integra-mp4box.mp4 to the following location: >>>>>http://www.calcmaster.net/downloads/fpx/ >>>>> >>>>>I have had this happen on MP4Box files and other .mp4 files. I'm not >> >> the problem with this bug is that its hard to reproduce. can you tell >> us what cpu you are using ? >> >> try running your mencoder on a different box, another user with the >> same fpe found he couldnt reproduce it on another box either. >> >> your samples work on my p4 1.5ghz: >> > > Interesting. I have tried with both a PhenomII quad core and my Intel > Core i3. I want to say that I had fewer problems with Ubuntu 10.04, > but I'm unable to verify because all my boxes are 10.10 now. I did > try as far back as SVN 2010-01-01. >
The decvideo module shows the no picture:
DECVIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family DECVIDEO: INFO: libavcodec init OK! DECVIDEO: Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) CPLAYER: ========================================================================== DECVIDEO: vd_ffmpeg data: 1000000, 15006467, 6e534ac, 10017b42 DECVIDEO: [h264 @ 0xd3bc60]no picture STATUSLINE: Pos: 0.0s 1f ( 6%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0] DECVIDEO: vd_ffmpeg data: 1000000, 1019a41, 1bf22b6, 85841830 DECVIDEO: [h264 @ 0xd3bc60]no picture MENCODER: 1 duplicate frame(s)! MUXER: VIDEO CODEC ID: 28 MUXER: AUDIO CODEC ID: 15002, TAG: 0 MUXER: Writing header... GLOBAL: [mp4 @ 0xcc8c40]dimensions not set Floating point exception
A working file produces:
DECVIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family DECVIDEO: INFO: libavcodec init OK! DECVIDEO: Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) CPLAYER: ========================================================================== DECVIDEO: vd_ffmpeg data: 5061900, 24cb0a15, 3330fa13, 9cbda201 DECVIDEO: [ffmpeg] aspect_ratio: 1.315789 DECVIDEO: VDec: vo config request - 400 x 304 (preferred colorspace: Planar YV12) DECVIDEO: Trying filter chain: expand x264 CPLAYER: Movie-Aspect is 1.32:1 - prescaling to correct movie aspect. x264 [info]: using SAR=1/1 x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 x264 [info]: profile High, level 2.1
I guess I should include mplayer results too. Here's the file that won't re-encode, but the output is from mplayer (which plays the file):
DECVIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family DECVIDEO: INFO: libavcodec init OK! DECVIDEO: Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) CPLAYER: ========================================================================== CPLAYER: ========================================================================== DECAUDIO: Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 DECAUDIO: AUDIO: 44100 Hz, 2 ch, s16le, 48.0 kbit/3.40% (ratio: 6000->176400) DECAUDIO: Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) CPLAYER: ========================================================================== CPLAYER: AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) CPLAYER: Starting playback... DECVIDEO: vd_ffmpeg data: 1000000, 15006467, 6e534ac, 10017b42 DECVIDEO: [h264 @ 0xe87760]no picture DECVIDEO: vd_ffmpeg data: 1000000, 1019a41, 1bf22b6, 85841830 DECVIDEO: [h264 @ 0xe87760]no picture DECVIDEO: vd_ffmpeg data: 1000000, 1029e41, 2e7f453c, 45e08ee4 DECVIDEO: [ffmpeg] aspect_ratio: 1.315789 DECVIDEO: VDec: vo config request - 400 x 304 (preferred colorspace: Planar YV12) DECVIDEO: Trying filter chain: vo CPLAYER: Movie-Aspect is 1.32:1 - prescaling to correct movie aspect. CPLAYER: VO: [xv] 400x304 => 400x304 Planar YV12 DECVIDEO: *** [vo] Exporting mp_image_t, 400x304x12bpp YUV planar, 182400 bytes DECVIDEO: (imgfmt: 32315659, planes: (nil),(nil),(nil) strides: 0,0,0, chroma: 200x152, shift: h:1,v:1)
OK some good news, -demuxer h264es seems to allow the encoding to progress for the file muxed with lavf, but it doesn't decode any sound. -demuxer h264es causes segfault with MP4Box muxed file.
yeah i'm guessing the demuxer/'no picture' is the cause, then the packets are passed onto mencoder lavf muxer and thats where it dies, as it has no dimensions for the first frame and screws itself.
does -ss 1 make it work ?
No, this doesn't work. There is definitely something wrong with the way the demuxer reads this or something wrong with the lavf muxer that created it. Should I be contacting ffmpeg-devel?
well yes, michael maintains muxer_lavf but no, ffmpeg-devel is for patches, and ffmpeg-user (or roundup) wants bugs to be reproduced with ffmpeg. and i'm pretty sure you wont be able to crash ffmpeg with this particular bug. its a bug in between the demuxers and muxers in mencoder.
if you arent doing anything with subtitles its probably a better idea to just dump mencoder and use ffmpeg.
I thought I had the same problem with ffmpeg recently as well, but since you mentioned it, I went back and retried. Seems to be working very well. Now I just have to relearn all the command line options, haha. But finally, encoding to aac/h264 in .mp4 container and direct import to Cinelerra! Thanks for all your help. -Joseph
On Fri, 24 Dec 2010 19:24:12 -0500, Joseph Miller wrote:
On Fri, Dec 24, 2010 at 5:21 PM, compn <tempn@twmi.rr.com> wrote:
On Fri, 24 Dec 2010 16:44:42 -0500, Joseph Miller wrote:
On Fri, Dec 24, 2010 at 4:37 PM, compn <tempn@twmi.rr.com> wrote:
On Fri, 24 Dec 2010 15:36:07 -0500, Joseph Miller wrote:
On Fri, Dec 24, 2010 at 2:43 PM, Joseph Miller <josephcmiller2@gmail.com> wrote:
On Fri, Dec 24, 2010 at 2:37 PM, Joseph Miller <josephcmiller2@gmail.com> wrote: > On Fri, Dec 24, 2010 at 2:17 PM, Joseph Miller <josephcmiller2@gmail.com> wrote: >> On Fri, Dec 24, 2010 at 1:44 PM, compn <tempn@twmi.rr.com> wrote: >>> On Fri, 24 Dec 2010 10:56:34 -0500, Joseph Miller wrote: >>>>On Thu, Dec 23, 2010 at 10:12 PM, compn <tempn@twmi.rr.com> wrote: >>>>> On Thu, 23 Dec 2010 10:38:31 -0500, Joseph Miller wrote: >>>>>>I keep getting floating point exceptions after doing the following. I >>>>>>have attached mencoder output. >>>>>> >>>>>>/opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o >>>>>>integra-reencode.mp4 integra-mp4box.mp4 >>>>>>/opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o >>>>>>integra-reencode.mp4 integra-lavf.mp4 >>>>>> >>>>>>That last two give me Floating point exception. >>>>>> >>>>>>I have uploaded integra.mp4 and integra-lavf.mp4 and >>>>>>integra-mp4box.mp4 to the following location: >>>>>>http://www.calcmaster.net/downloads/fpx/ >>>>>> >>>>>>I have had this happen on MP4Box files and other .mp4 files. I'm not >>> >>> the problem with this bug is that its hard to reproduce. can you tell >>> us what cpu you are using ? >>> >>> try running your mencoder on a different box, another user with the >>> same fpe found he couldnt reproduce it on another box either. >>> >>> your samples work on my p4 1.5ghz: >>> >> >> Interesting. I have tried with both a PhenomII quad core and my Intel >> Core i3. I want to say that I had fewer problems with Ubuntu 10.04, >> but I'm unable to verify because all my boxes are 10.10 now. I did >> try as far back as SVN 2010-01-01. >> > > The decvideo module shows the no picture: > > DECVIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family > DECVIDEO: INFO: libavcodec init OK! > DECVIDEO: Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) > CPLAYER: ========================================================================== > DECVIDEO: vd_ffmpeg data: 1000000, 15006467, 6e534ac, 10017b42 > DECVIDEO: [h264 @ 0xd3bc60]no picture > STATUSLINE: Pos: 0.0s 1f ( 6%) 0.00fps Trem: 0min 0mb > A-V:0.000 [0:0] > DECVIDEO: vd_ffmpeg data: 1000000, 1019a41, 1bf22b6, 85841830 > DECVIDEO: [h264 @ 0xd3bc60]no picture > MENCODER: > 1 duplicate frame(s)! > MUXER: VIDEO CODEC ID: 28 > MUXER: AUDIO CODEC ID: 15002, TAG: 0 > MUXER: Writing header... > GLOBAL: [mp4 @ 0xcc8c40]dimensions not set > Floating point exception > > > > A working file produces: > > DECVIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family > DECVIDEO: INFO: libavcodec init OK! > DECVIDEO: Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) > CPLAYER: ========================================================================== > DECVIDEO: vd_ffmpeg data: 5061900, 24cb0a15, 3330fa13, 9cbda201 > DECVIDEO: [ffmpeg] aspect_ratio: 1.315789 > DECVIDEO: VDec: vo config request - 400 x 304 (preferred colorspace: > Planar YV12) > DECVIDEO: Trying filter chain: expand x264 > CPLAYER: Movie-Aspect is 1.32:1 - prescaling to correct movie aspect. > x264 [info]: using SAR=1/1 > x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 > x264 [info]: profile High, level 2.1 >
I guess I should include mplayer results too. Here's the file that won't re-encode, but the output is from mplayer (which plays the file):
DECVIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family DECVIDEO: INFO: libavcodec init OK! DECVIDEO: Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) CPLAYER: ========================================================================== CPLAYER: ========================================================================== DECAUDIO: Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 DECAUDIO: AUDIO: 44100 Hz, 2 ch, s16le, 48.0 kbit/3.40% (ratio: 6000->176400) DECAUDIO: Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) CPLAYER: ========================================================================== CPLAYER: AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) CPLAYER: Starting playback... DECVIDEO: vd_ffmpeg data: 1000000, 15006467, 6e534ac, 10017b42 DECVIDEO: [h264 @ 0xe87760]no picture DECVIDEO: vd_ffmpeg data: 1000000, 1019a41, 1bf22b6, 85841830 DECVIDEO: [h264 @ 0xe87760]no picture DECVIDEO: vd_ffmpeg data: 1000000, 1029e41, 2e7f453c, 45e08ee4 DECVIDEO: [ffmpeg] aspect_ratio: 1.315789 DECVIDEO: VDec: vo config request - 400 x 304 (preferred colorspace: Planar YV12) DECVIDEO: Trying filter chain: vo CPLAYER: Movie-Aspect is 1.32:1 - prescaling to correct movie aspect. CPLAYER: VO: [xv] 400x304 => 400x304 Planar YV12 DECVIDEO: *** [vo] Exporting mp_image_t, 400x304x12bpp YUV planar, 182400 bytes DECVIDEO: (imgfmt: 32315659, planes: (nil),(nil),(nil) strides: 0,0,0, chroma: 200x152, shift: h:1,v:1)
OK some good news, -demuxer h264es seems to allow the encoding to progress for the file muxed with lavf, but it doesn't decode any sound. -demuxer h264es causes segfault with MP4Box muxed file.
yeah i'm guessing the demuxer/'no picture' is the cause, then the packets are passed onto mencoder lavf muxer and thats where it dies, as it has no dimensions for the first frame and screws itself.
does -ss 1 make it work ?
No, this doesn't work. There is definitely something wrong with the way the demuxer reads this or something wrong with the lavf muxer that created it. Should I be contacting ffmpeg-devel?
well yes, michael maintains muxer_lavf but no, ffmpeg-devel is for patches, and ffmpeg-user (or roundup) wants bugs to be reproduced with ffmpeg. and i'm pretty sure you wont be able to crash ffmpeg with this particular bug. its a bug in between the demuxers and muxers in mencoder.
if you arent doing anything with subtitles its probably a better idea to just dump mencoder and use ffmpeg.
I thought I had the same problem with ffmpeg recently as well, but since you mentioned it, I went back and retried. Seems to be working very well. Now I just have to relearn all the command line options, haha. But finally, encoding to aac/h264 in .mp4 container and direct import to Cinelerra! Thanks for all your help.
ehe no problem, thanks for taking the time to make a bugreport with samples. one day we'll figure out what the problem is. (i forgot to mention that the bug you are hitting was first reported in 2008, so your checking of svn 01-01-2010 wont be able to find the regression) -compn
compn <tempn@twmi.rr.com> wrote:
if you arent doing anything with subtitles its probably a better idea to just dump mencoder and use ffmpeg.
Last time I looked (a couple years ago) ffmpeg did not allow nearly as much control over libx264 options as mencoder did, and ffmpeg did not respect libx264's default values for those options, while mencoder did. At the time, I concluded that ffmpeg was useless for doing H.264 compression. Has ffmpeg improved in this regard? AMC
On Wed, Dec 29, 2010 at 5:39 PM, Adam M. Costello <mplayer-dev-eng.amc+s0+@nicemice.net> wrote:
compn <tempn@twmi.rr.com> wrote:
if you arent doing anything with subtitles its probably a better idea to just dump mencoder and use ffmpeg.
Last time I looked (a couple years ago) ffmpeg did not allow nearly as much control over libx264 options as mencoder did, and ffmpeg did not respect libx264's default values for those options, while mencoder did. At the time, I concluded that ffmpeg was useless for doing H.264 compression. Has ffmpeg improved in this regard?
ffmpeg provides this list of options in its placebo preset for x264 encoding. It doesn't include all of the options, but quite a few. It is missing the aq_mode and psy (which are referenced in the mencoder man page for psnr tuning). coder=1 flags=+loop cmp=+chroma partitions=+parti8x8+parti4x4+partp8x8+partp4x4+partb8x8 me_method=tesa subq=10 me_range=24 g=250 keyint_min=25 sc_threshold=40 i_qfactor=0.71 b_strategy=2 qcomp=0.6 qmin=10 qmax=51 qdiff=4 bf=16 refs=16 directpred=3 trellis=2 flags2=+bpyramid+mixed_refs+wpred+dct8x8-fastpskip wpredp=2 rc_lookahead=60
participants (3)
-
Adam M. Costello -
compn -
Joseph Miller