Opened 4 years ago
Closed 4 years ago
#8952 closed defect (needs_more_info)
Play but coding errors
Reported by: | Proletarian | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
I trying make mkv file from mp4 by this command:
ffmpeg.exe -i "input.mp4" -vcodec copy "output.mkv"
I get a working file in the output, but when re-encoding I get the following error:
Opening an input file: input.mp4.
[NULL @ 00000000005c5940] Opening 'input.mp4' for reading
[file @ 00000000005c6240] Setting default whitelist 'file,crypto,data'
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c5940] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c5940] ISO: File Type Major Brand: isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c5940] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c5940] Processing st: 0, edit list 0 - media time: 2090, duration: 24819030
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c5940] drop a frame at curr_cts: 0 @ 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c5940] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c5940] STSC entry 11872 is invalid (first=1 count=1 id=1)
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c5940] STSC entry 11871 is invalid (first=1 count=1 id=1)
......
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c5940] STSC entry 1 is invalid (first=1 count=1 id=1)
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c5940] Before avformat_find_stream_info() pos: 15755454 bytes read:340142 seeks:1 nb_streams:2
This error slows down transcoding. What is it?
Attachments (1)
Change History (10)
comment:1 by , 4 years ago
Version: | unspecified → git-master |
---|
comment:2 by , 4 years ago
Summary: | Play but → Play but coding errors |
---|
follow-up: 4 comment:3 by , 4 years ago
Your video has 7.5 fps to 120 fps variable framerate. I mean...
comment:4 by , 4 years ago
Perhaps... but if I use this command: ffmpeg -i input.mp4 -vcodec copy -acodec copy output.mp4 I get a file which i can then convert mkv or any other format without errors (or warnings??? I do not understand what it means - STSC entry XXX is invalid).
comment:5 by , 4 years ago
First of all, -vcodec copy is deprecated. You should use -c:v copy -c:a copy. Second of all, it looks like those STSC entries are invalid and need to be removed. Chrome/chromium asked to fix ffmpeg in that part. https://github.com/FFmpeg/FFmpeg/commit/9e67447a4ffacf28af8bace33faf3ea432ddc43e
And again what were you using to record your screen? Does it support VRR (G-sync, FreeSync)??
comment:6 by , 4 years ago
Status: | new → open |
---|
Why url = 0x206c7275 ("url ") is not parsed by ffmpeg??? URL and URN are different things.
See https://github.com/m-khomutov/debug-fmp4/blob/79c15eb76ce07c3960faaaf485be371ef63738c8/atom.h#L23
comment:7 by , 4 years ago
Component: | ffmpeg → undetermined |
---|
To make this a valid ticket please test current FFmpeg git head and attach the command line including the complete, uncut console output here in the ticket, do not use external resources (except for large sample files as you did).
by , 4 years ago
Attachment: | ffmpeg-20201028-132053.log added |
---|
comment:8 by , 4 years ago
I used ffmpeg-N-99756-g8b1bb4f38e-win64-gpl, this video - https://mega.nz/file/ENpySZ4Z#LzXa42SwHzeS8y5_x5BiJxJ9QmSHuA0bNfSVFPeseUM , and this command: ffmpeg.exe -i input.mp4 -c:v copy -c:a copy out.mkv -report
comment:9 by , 4 years ago
Resolution: | → needs_more_info |
---|---|
Status: | open → closed |
Sorry, I don't understand the issue: The output file plays fine here, is there any reason to assume the warnings are wrong?
Video: https://mega.nz/file/lQwXkALb#c1xBuVVWOSBSunxlH7K6nfoClGZZSHP-yZToq0KN1Fw Log: https://mega.nz/file/8EpVlISJ#T6zH00BZqtp0ejndHOcisrl9M_YKyi1VFa2Xs4vVMxU