Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#18 closed enhancement (fixed)

support lvf h264 file

Reported by: compn Owned by: Michael Niedermayer
Priority: wish Component: avcodec
Version: git Keywords: h264 lvf
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

http://samples.mplayerhq.hu/camera-dvr/test.lvf
works in elecard avchd player
somewhat works with h264es demuxer

probably needs small change by h264 guru to work.

file comes from chinese dvr product.

Change History (5)

comment:1 by Carl Eugen Hoyos, 13 years ago

Reproduced by developer: set
Status: newopen

Decoded frames are completely grey, mplayer -demuxer h264es shows a few unrecognisable artefacts.

ffmpeg -i test.lvf -f null -
FFmpeg version git-N-28626-g797ef67, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar 25 2011 09:09:01 with gcc 4.5.2
  configuration: --cc=/usr/local/gcc-4.5.2/bin/gcc --enable-gpl
  libavutil    50. 40. 0 / 50. 40. 0
  libavcodec   52.114. 0 / 52.114. 0
  libavformat  52.103. 0 / 52.103. 0
  libavdevice  52.  3. 0 / 52.  3. 0
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
[h264 @ 0x11f0fd0] concealing 330 DC, 330 AC, 330 MV errors
    Last message repeated 5 times
[h264 @ 0x11ee650] max_analyze_duration reached
[h264 @ 0x11ee650] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (50/2)
Input #0, h264, from 'test.lvf':
  Duration: N/A, bitrate: N/A
    Stream #0.0: Video: h264 (Baseline), yuv420p, 352x240, 25 fps, 25 tbr, 1200k tbn, 50 tbc
[buffer @ 0x14a9d90] w:352 h:240 pixfmt:yuv420p
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf52.103.0
    Stream #0.0: Video: rawvideo, yuv420p, 352x240, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press ctrl-c to stop encoding
[h264 @ 0x11f0fd0] concealing 330 DC, 330 AC, 330 MV errors
    Last message repeated 629 times  -0kB time=19.00 bitrate=  -0.0kbits/s
[h264 @ 0x11f0fd0] concealing 166 DC, 166 AC, 166 MV errors
frame=  631 fps=  0 q=0.0 Lsize=      -0kB time=25.24 bitrate=  -0.0kbits/s
video:0kB audio:0kB global headers:0kB muxing overhead -inf%

comment:2 by pross, 13 years ago

Partial description of file format: http://blog.sina.com.cn/s/blog_6a0759f80100kge2.html
(chinese)

comment:3 by Michael Niedermayer, 13 years ago

Component: FFmpegavcodec
Resolution: fixed
Status: openclosed

Seems my last commit to h264 fixed this too

comment:4 by Carl Eugen Hoyos, 12 years ago

Keywords: h264 added

comment:5 by Carl Eugen Hoyos, 11 years ago

Keywords: lvf added
Note: See TracTickets for help on using tickets.