mmco: unref short failure error and freeze playback of video streams

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

mmco: unref short failure error and freeze playback of video streams

Johan 750
Hi Everbody,

I'm using mplayer/ffmpeg to playback 4 h264 streams generated by
ip-camera's. The four streams will play just fine for about 70
minutes. Then one of the four streams generates the following message
and all four streams stop playing:

[h264 @ 0x8a7c520]Missing reference picture
[h264 @ 0x8a7c520]decode_slice_header error
[h264 @ 0x8a7c520]mmco: unref short failure

I'm using mplayer-vaapi (latest greatest from the top of my head
10-2012) with a git checkout of ffmpeg (15-02-2012).

Does anybody have any idea what could have gone wrong here?

Thanks!
Johan
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: mmco: unref short failure error and freeze playback of video streams

Carl Eugen Hoyos
Johan 750 <johan750 <at> gmail.com> writes:

> I'm using mplayer-vaapi (latest greatest from the top of my head

Then you are wrong here.

> 10-2012) with a git checkout of ffmpeg (15-02-2012).

If the problem is reproducible with FFmpeg alone
(without using MPlayer), please post the failing
FFmpeg command line together with complete, uncut
console output to this mailing list.
If current MPlayer from mplayerhq.hu allows to
reproduce the problem, please post on mplayer-users.

If the problem is not reproducible with current
MPlayer, then please report it to whoever offered the
download for the version you are using (maybe Intel).
Please do not report va-api problems to mplayer-users.

Carl Eugen

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: mmco: unref short failure error and freeze playback of video streams

gergely
Hi Eugen,
I reproduced the same issue here with plain ffmpeg, so I can provide you the commandline output.

I'm trying to concatenate and convert some .MTS files produced by our Panasonic AG-HMC150 Camera at the moment, and I got the same mmco errors as the OP.
However, the converter started to convert the files, so it seems that's not a critical error. I'm curious, because I have never saw this error.

Output:
C:\VSQ\CONFORG\20130718\recordings>ffmpeg -i 00000.mts -i 00001.mts -i 00002.mts -i 00003.mts -i 00004.mts -i 00005.mts -filter_complex "[0:0] [0:1] [1:0] [1:1] [2:0] [2:1] [3:0] [3:1] [4:0] [4:1] [5:0] [5:1] concat=n=6:v=1:a=1 [v] [a]" -map [v] -map [a] -strict experimental -c:v libx264 -b:v 2200k -profile:v main -preset:v slow -c:a aac -b:a 128k -ac 2 -f mp4 video_0_merged.mp4
ffmpeg version N-54762-g38b701a Copyright (c) 2000-2013 the FFmpeg developers
  built on Jul 15 2013 18:47:20 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 39.100 / 52. 39.100
  libavcodec     55. 18.102 / 55. 18.102
  libavformat    55. 12.102 / 55. 12.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 81.101 /  3. 81.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[h264 @ 00000000002fe260] mmco: unref short failure
[mpegts @ 0000000000367fe0] PES packet size mismatch
Input #0, mpegts, from '00000.mts':
  Duration: 00:26:16.72, start: 3307.145500, bitrate: 21754 kb/s
  Program 1
    Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
    Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s
[h264 @ 00000000043302e0] mmco: unref short failure
Input #1, mpegts, from '00001.mts':
  Duration: 00:26:25.39, start: 4883.433500, bitrate: 21638 kb/s
  Program 1
    Stream #1:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
    Stream #1:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s
[h264 @ 0000000005533d20] mmco: unref short failure
Input #2, mpegts, from '00002.mts':
  Duration: 00:26:24.88, start: 6468.425500, bitrate: 21647 kb/s
  Program 1
    Stream #2:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
    Stream #2:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s
[h264 @ 000000000037ca00] mmco: unref short failure
Input #3, mpegts, from '00003.mts':
  Duration: 00:26:25.36, start: 8052.905500, bitrate: 21635 kb/s
  Program 1
    Stream #3:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
    Stream #3:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s
[h264 @ 00000000055368c0] mmco: unref short failure
Input #4, mpegts, from '00004.mts':
  Duration: 00:26:24.84, start: 9637.897500, bitrate: 21644 kb/s
  Program 1
    Stream #4:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
    Stream #4:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s
[h264 @ 0000000004e76020] mmco: unref short failure
Input #5, mpegts, from '00005.mts':
  Duration: 00:00:56.61, start: 11222.313500, bitrate: 20949 kb/s
  Program 1
    Stream #5:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
    Stream #5:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s
[libx264 @ 000000000036fd40] using SAR=1/1
[libx264 @ 000000000036fd40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 000000000036fd40] profile Main, level 3.2
[libx264 @ 000000000036fd40] 264 - core 133 r2334 a3ac64b - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x1:0x111 me=umh subme=8 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=abr mbtree=1 bitrate=2200 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'video_0_merged.mp4':
  Metadata:
    encoder         : Lavf55.12.102
    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 2200 kb/s, 12800 tbn, 50 tbc
    Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 128 kb/s
Stream mapping:
  Stream #0:0 (h264) -> concat:in0:v0
  Stream #0:1 (ac3) -> concat:in0:a0
  Stream #1:0 (h264) -> concat:in1:v0
  Stream #1:1 (ac3) -> concat:in1:a0
  Stream #2:0 (h264) -> concat:in2:v0
  Stream #2:1 (ac3) -> concat:in2:a0
  Stream #3:0 (h264) -> concat:in3:v0
  Stream #3:1 (ac3) -> concat:in3:a0
  Stream #4:0 (h264) -> concat:in4:v0
  Stream #4:1 (ac3) -> concat:in4:a0
  Stream #5:0 (h264) -> concat:in5:v0
  Stream #5:1 (ac3) -> concat:in5:a0
  concat:out:v0 -> Stream #0:0 (libx264)
  concat:out:a0 -> Stream #0:1 (aac)
Press [q] to stop, [?] for help
[h264 @ 0000000005d39220] mmco: unref short failure
frame= 2289 fps= 51 q=28.0 size=   12645kB time=00:00:45.54 bitrate=2274.3kbits/s dup=23 drop=0
Reply | Threaded
Open this post in threaded view
|

Re: mmco: unref short failure error and freeze playback of video streams

Carl Eugen Hoyos
gergely <Gergely.Lukacsy <at> streamnet.hu> writes:

> > [h264  <at>  00000000002fe260] mmco: unref short failure

Can you reproduce the message with one of the following
commands?
$ ffmpeg -i 00000.mts
$ ffmpeg -i 00001.mts
$ ffmpeg -i 00002.mts
$ ffmpeg -i 00003.mts
$ ffmpeg -i 00004.mts
$ ffmpeg -i 00005.mts

Carl Eugen

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: mmco: unref short failure error and freeze playback of video streams

gergely
Yes, I get the same message for all inputs, even using the newest static version. In the meantime, the conversion ended successfully.

C:\...\recordings>ffmpeg -i 00001.mts
ffmpeg version N-54921-g436616f Copyright (c) 2000-2013 the FFmpeg developers
  built on Jul 24 2013 18:07:04 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-lib
vpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 40.100 / 52. 40.100
  libavcodec     55. 19.100 / 55. 19.100
  libavformat    55. 12.102 / 55. 12.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 81.103 /  3. 81.103
  libswscale      2.  4.100 /  2.  4.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
[h264 @ 0000000000336e20] mmco: unref short failure
Input #0, mpegts, from '00001.mts':
  Duration: 00:26:25.39, start: 4883.433500, bitrate: 21638 kb/s
  Program 1
    Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
    Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s
At least one output file must be specified

Carl Eugen Hoyos wrote
gergely <Gergely.Lukacsy <at> streamnet.hu> writes:

> > [h264  <at>  00000000002fe260] mmco: unref short failure

Can you reproduce the message with one of the following
commands?
$ ffmpeg -i 00000.mts
$ ffmpeg -i 00001.mts
$ ffmpeg -i 00002.mts
$ ffmpeg -i 00003.mts
$ ffmpeg -i 00004.mts
$ ffmpeg -i 00005.mts

Carl Eugen

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: mmco: unref short failure error and freeze playback of video streams

Carl Eugen Hoyos
gergely <Gergely.Lukacsy <at> streamnet.hu> writes:

> Yes, I get the same message for all inputs

Please provide a sample.

Please do not top-post here, Carl Eugen

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: mmco: unref short failure error and freeze playback of video streams

gergely
This post was updated on .
Carl Eugen:
> Please provide a sample.

Here you go: http://dload.streamnet.hu/4090982482cb4a163ff480ba480b90e3/
I've chosen the smallest one, it's 141.3 MB. This is the ending of the video, though.
Reply | Threaded
Open this post in threaded view
|

Re: mmco: unref short failure error and freeze playback of video streams

Carl Eugen Hoyos
gergely <Gergely.Lukacsy <at> streamnet.hu> writes:

> Carl Eugen:
> > Please provide a sample.
>
> Here you go:
> http://dload.streamnet.hu/4090982482cb4a163ff480ba480b90e3/

Is this the original recording from a camera or
was the sample cut somehow (in the beginning)?

Carl Eugen

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: mmco: unref short failure error and freeze playback of video streams

gergely
Carl Eugen Hoyos:

> Is this the original recording from a camera or
> was the sample cut somehow (in the beginning)?
>
> Carl Eugen

Yes, it's one of the original files. (The size of the other chunks are 4 Gigabytes, so I gave you the smallest.)

Regards, G.
Reply | Threaded
Open this post in threaded view
|

Re: mmco: unref short failure error and freeze playback of video streams

Carl Eugen Hoyos
gergely <Gergely.Lukacsy <at> streamnet.hu> writes:

> Carl Eugen Hoyos:
>
> > Is this the original recording from a camera or
> > was the sample cut somehow (in the beginning)?
>
> Yes, it's one of the original files.

I opened ticket #2811

> (The size of the other chunks are 4
> Gigabytes, so I gave you the smallest.)

Thank you!

Carl Eugen

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: mmco: unref short failure error and freeze playback of video streams

Carl Eugen Hoyos
In reply to this post by gergely
gergely <Gergely.Lukacsy <at> streamnet.hu> writes:

> I'm trying to concatenate and convert some .MTS
> files produced by our Panasonic AG-HMC150 Camera
> at the moment, and I got the same mmco errors as
> the OP.

Should be fixed, thank you for the report!

Carl Eugen

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: mmco: unref short failure error and freeze playback of video streams

Baby Octopus
This post has NOT been accepted by the mailing list yet.
Hi,

The same issue is reproducible with libav too(through gst-libav)

I know libav is not supported here :) But if someone can point me to patch for this, I'll be more than happy to fix it there :)

Thanks

~BO