Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#5217 closed defect (fixed)

Could not find codec parameters for stream 0 (Video: none (avc3 / 0x33637661), none, 704x396, 773 kb/s): unknown codec

Reported by: remitamine Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: mov
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
ffplay can't play bbc dash videos while the file can be played with GPAC MP4Client.
there is some realted info here https://www.mail-archive.com/get_iplayer@lists.infradead.org/msg08371.html

i couldn't connect to upload.ffmpeg.org for uploading the simple.
the bbc steams are geo reastricted(UK only).
if there is one of the developers that can access them i will put the method to extract the dash video.

How to reproduce:

ffmpeg started on 2016-02-04 at 11:43:54
Report written to "ffmpeg-20160204-114354.log"
Command line:
ffmpeg -report -v 9 -loglevel 99 -i "EastEnders, 02_02_2016-b06zvg58.mp4"
ffmpeg version N-78270-gca71e60 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (GCC)
  configuration: 
  libavutil      55. 17.100 / 55. 17.100
  libavcodec     57. 24.101 / 57. 24.101
  libavformat    57. 24.100 / 57. 24.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 28.100 /  6. 28.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-i' ... matched as input file with argument 'EastEnders, 02_02_2016-b06zvg58.mp4'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Applying option v (set logging level) with argument 9.
Applying option loglevel (set logging level) with argument 99.
Successfully parsed a group of options.
Parsing a group of options: input file EastEnders, 02_02_2016-b06zvg58.mp4.
Successfully parsed a group of options.
Opening an input file: EastEnders, 02_02_2016-b06zvg58.mp4.
[file @ 0x36d50c0] Setting default whitelist 'file'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x36d47a0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x36d47a0] ISO: File Type Major Brand: iso6
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x36d47a0] Unknown dref type 0x08206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x36d47a0] Before avformat_find_stream_info() pos: 164859178 bytes read:14516224 seeks:442
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x36d47a0] max_analyze_duration 5000000 reached at 5000000 microseconds st:0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x36d47a0] Could not find codec parameters for stream 0 (Video: none, 1 reference frame (avc3 / 0x33637661), none, 704x396 (0x0), 1/25000, 773 kb/s): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x36d47a0] After avformat_find_stream_info() pos: 1232374 bytes read:15778952 seeks:443 frames:125
EastEnders, 02_02_2016-b06zvg58.mp4: could not find codec parameters
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'EastEnders, 02_02_2016-b06zvg58.mp4':
  Metadata:
    major_brand     : iso6
    minor_version   : 0
    compatible_brands: iso6dash
  Duration: 00:28:21.00, start: 0.040000, bitrate: 776 kb/s
    Stream #0:0(und), 125, 1/25000: Video: none, 1 reference frame (avc3 / 0x33637661), none, 704x396 (0x0), 1/25000, 773 kb/s, 25 fps, 25 tbr, 25k tbn, 25k tbc (default)
    Metadata:
      handler_name    : USP Video Handler
      encoder         : AVC Coding
Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 0x36dd300] Statistics: 15778952 bytes read, 443 seeks

Attachments (1)

bbc_dash_video.mp4 (2.0 MB ) - added by remitamine 8 years ago.
BBC dash video only cut

Download all attachments as: .zip

Change History (6)

comment:1 by Carl Eugen Hoyos, 8 years ago

Keywords: mov added; dash avc3 iso6dash removed

Please upload the input file.

$ ftp upload.ffmpeg.org
Connected to jones.videolan.org

Feel free to use another file server like http://www.datafilehost.com

by remitamine, 8 years ago

Attachment: bbc_dash_video.mp4 added

BBC dash video only cut

comment:2 by remitamine, 8 years ago

this is what i get:

ftp: connect to address 138.195.131.196: Connection refused
ftp: no response from host

i uploaded a 2MB file as an attachment and i will try to use http://www.datafilehost.com/.

Last edited 8 years ago by remitamine (previous) (diff)

comment:3 by remitamine, 8 years ago

this the url of 10MB sample video: http://www.datafilehost.com/d/da4e8318.

comment:4 by Carl Eugen Hoyos, 8 years ago

Component: undeterminedavformat
Resolution: fixed
Status: newclosed

Should be fixed in a36c737490d981cfad90164fb4e58902774d4414
Thank you for the sample!

comment:5 by remitamine, 8 years ago

Thank you.
now i can encode HD videos and play them with mpv(vdpau hwaccel).
there is only some warnings:
[mp4 @ 0x1d72640] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly

and this(repeated many times):
[mp4 @ 0x1d72640] pts has no value

anyway the result file is playable.

Note: See TracTickets for help on using tickets.