News:

--

Main Menu

Problem with a file

Started by dragmore88, August 30, 2018, 11:53:38 AM

Previous topic - Next topic

dragmore88

Symptom; file shows a black screen, with the lower 10% of the lines garbled..
File plays fine in VLC, mpc-hc, ffmpeg, kodi etc..

Avidemux 2.7.1

file:
ormat                                   : MPEG-4
Commercial name                          : DNxHD 120
Format profile                           : QuickTime
Codec ID                                 : qt   0000.02 (qt  )
File size                                : 14.8 GiB
Duration                                 : 17 min 20 s
Overall bit rate mode                    : Constant
Overall bit rate                         : 122 Mb/s
Writing application                      : Lavf57.83.100

Video
ID                                       : 1
Format                                   : VC-3
Commercial name                          : DNxHD 120
Format version                           : Version 1
Format profile                           : HD@SQ
Codec ID                                 : AVdn
Codec ID/Info                            : Avid DNxHD
Duration                                 : 17 min 20 s
Bit rate mode                            : Constant
Bit rate                                 : 121 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:2
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 2.339
Stream size                              : 14.7 GiB (99%)
Language                                 : English

Audio
ID                                       : 2
Format                                   : PCM
Format settings                          : Little / Signed
Codec ID                                 : sowt
Duration                                 : 17 min 20 s
Bit rate mode                            : Constant
Bit rate                                 : 768 kb/s
Channel(s)                               : 1 channel
Channel positions                        : Front: C
Sampling rate                            : 48.0 kHz
Bit depth                                : 16 bits
Stream size                              : 95.3 MiB (1%)
Language                                 : English
Default                                  : Yes
Alternate group                          : 1

Match ftyp
[MP4]MP4/MOV/3GP file detected...
[mxfHeader] Cannot open that (14000000)
[openDML] Cannot open that
[probe] 11:52:35-662  [picHeader] Cannot open that
[asfHeader] Cannot open that
match :0 / 455 (probeSize:1048576)
[PS Demuxer] Not a ps file
** opening 3gpp files **[lookupMainAtoms] 11:52:35-664 Analyzing file and atoms
[parseMvhd] 11:52:35-665 Warning: movie scale is 1000
[parseTrack] 11:52:35-665 Parsing Track
[parseTrack] 11:52:35-665 EDTS atom found
[parseEdts] 11:52:35-665 Parsing Edts, trackType=0
[parseEdts] 11:52:35-665 ELST atom found
[parseElst] 11:52:35-666 [ELST] Found 1 entries in list, version=0
[parseElst] 11:52:35-666 Duration : 1040960, mediaTime:0 speed=65536
[parseElst] 11:52:35-666 **  Computed delay =0
[parseMdia] 11:52:35-666 <<Parsing Mdia>>
[HDLR]
[parseMdia] 11:52:35-667 hdlr video found
[parseStbl] 11:52:35-667 <<Parsing Stbl>>
[parseStbl] 11:52:35-667 [STSD] VIDEO AVdn, size 274
[STSD] vendor FFMP
[STSD] width :1920
[STSD] height :1080
[STSD] datasize :0
[STSD] FrameCount :1
Codec string :20 <Lavc57.107.100 dnxhd>
LEFT:186
Reading , got ACLR
[parseStbl] 11:52:35-668 stts:0
[parseStbl] 11:52:35-668 Time stts atom found (1)
[parseStbl] 11:52:35-668 Using myscale 12800
[parseStbl] 11:52:35-668 606208 frames /26024 nbsz..
[parseStbl] 11:52:35-669       nbCo: 26024
[indexify] 11:52:35-672 Build Track index
[indexify] 11:52:35-673 Index done
[parseStbl] 11:52:35-673 Movie duration = 1040960
[parseStbl] 11:52:35-674 # images = 26024
[parseStbl] 11:52:35-674 Avg fps 25000.000000
[parseTrack] 11:52:35-674 Parsing Track
[parseTrack] 11:52:35-674 EDTS atom found
[parseEdts] 11:52:35-674 Parsing Edts, trackType=0
[parseEdts] 11:52:35-675 ELST atom found
[parseElst] 11:52:35-675 [ELST] Found 1 entries in list, version=0
[parseElst] 11:52:35-675 Duration : 1040960, mediaTime:0 speed=65536
[parseElst] 11:52:35-675 **  Computed delay =0
[parseMdia] 11:52:35-676 <<Parsing Mdia>>
[HDLR]
[parseMdia] 11:52:35-676 hdlr audio found
[parseStbl] 11:52:35-676 <<Parsing Stbl>>
[STSD] AUDIO <sowt>, 0x736f7774, size 60
[STSD]Revision       :0
[STSD]Vendor         :
[STSD]Channels       :1
[STSD]Bit per sample :16
[STSD]Encoding       :0
[STSD]Packet size    :0
[STSD]Fq:48000
[STSD]Fq       :48000
Bytes left : 24
[STSD] chan:1 bpp:16 encoding:0 fq:48000 (left 24)
[parseStbl] 11:52:35-677 [MP4] Overriding bytePer packet with 2
[parseStbl] 11:52:35-677 stts:0
[parseStbl] 11:52:35-678 Time stts atom found (1)
[parseStbl] 11:52:35-678 Using myscale 48000
[parseStbl] 11:52:35-679 2 frames /49966080 nbsz..
[parseStbl] 11:52:35-680       nbCo: 26024
Cur audio track :0
[indexify] 11:52:35-683 Build Track index
[processAudio] 11:52:37-805 All the same size: 2 (total size 99932160 bytes)
[processAudio] 11:52:37-806 Byte per frame =2
[processAudio] 11:52:37-806 SttsC[0] = 1, sttsN[0]=49966080
[processAudio] 11:52:37-818 Total size in sample : 49966080
[processAudio] 11:52:37-818 Sample size          : 2
[processAudio] 11:52:37-819 Found 99932160 bytes, spread over 26024 blocks
[splitAudio] 11:52:37-819 No very large blocks found, 99932160 bytes present over 26024 blocks
[processAudio] 11:52:37-820 xx Byte per packet =2
[processAudio] 11:52:37-820 xx Sample per packet =1
[processAudio] 11:52:37-820 Index done (sample same size)
[parseStbl] 11:52:37-820 Indexed audio, nb blocks:0
[parseStbl] 11:52:37-821 Indexed audio, nb blocks:26024 (final)
[lookupMainAtoms] 11:52:37-821 Done finding main atoms

[adjustElstDelay] 11:52:37-821 Delay for track 0 : raw = 0, scaled  = 0 with scale=12800
[adjustElstDelay] 11:52:37-822 Delay for track 1 : raw = 0, scaled  = 0 with scale=48000
[adjustElstDelay] 11:52:37-822 Elst minimum = 0 us
[refineFps] 11:52:37-823 MinDelta=40000 us
[refineFps] 11:52:37-823 Computed fps1000=25000
[open] 11:52:37-824 3gp/mov file successfully read..
[open] 11:52:37-824 Nb images       : 26024
[open] 11:52:37-824 Movie duration  : 00:17:20,960
[open] 11:52:37-824 Last video PTS  : 00:17:20,920
[open] 11:52:37-825 Last video DTS  : 00:17:20,920
[ADM_PP] 11:52:37-826 Initializing postproc
[cleanup] 11:52:37-826 Deleting post proc
[update] 11:52:37-826 updating post proc
[update] 11:52:37-826 Disabled
[addFile] 11:52:37-826 Clearing video filters
[ADM_vf_clearFilters] 11:52:37-827 clear filters
[getAudioCodec] 11:52:37-828 [audioCodec] Audio codec:  WAV
[ADM_AudiocodecWav] 11:52:37-828 Creating not swapped wav decoder (PCM)
[ADM_edAudioTrackFromVideo] 11:52:37-828 Creating edAudio from video track 0 at 761a6f0
[Editor] Decoder FCC:  (00000000)
[ADM_getDecoder] 11:52:37-831 Searching decoder in plugins
[tryCreatingVideoDecoder] 11:52:37-831 No decoder found in plugin
[ADM_getDecoder] 11:52:37-831 Searching decoder in coreVideoCodec(1920 x 1080, extradataSize:0)...
[ADM_coreCodecGetDecoder] 11:52:37-832 Searching decoder in coreVideoCodec(1920 x 1080, extradataSize:0)...

using RGB codec
[addReferenceVideo] 11:52:37-832 Original frame increment 00:00:00,040 = 40000 us
[addReferenceVideo] 11:52:37-833 min increment 00:00:00,040 = 40000 us
[addReferenceVideo] 11:52:37-833 max increment 00:00:00,040 = 40000 us
[addReferenceVideo] 11:52:37-834 About 40000 microseconds per frame
[addReferenceVideo] 11:52:37-834 The first frame DTS = 0 ms
[ADM_verifyDts] 11:52:37-834 Verifying DTS....
[ADM_verifyDts] 11:52:37-834 Checking from 1 to 26024
[ADM_verifyDts] 11:52:37-835 Pass 2..
[ADM_verifyDts] 11:52:37-835 DTS verified
[Editor] No B frame with that codec, PTS=DTS
[updateRefVideo] 11:52:37-835 First PTS is 00:00:00,000
Current duration 1040960 ms real one 1040960 ms
[checkForDoubledFps] 11:52:37-836 Checking for doubled FPS.., time increment ceiling = 72000
[checkForDoubledFps] 11:52:37-837 Checking DTS...
[checkTiming] 11:52:37-837    Good : 0
[checkTiming] 11:52:37-837    Bad  : 26023
[checkForDoubledFps] 11:52:37-838 Checking PTS...
[checkTiming] 11:52:37-838    Good : 0
[checkTiming] 11:52:37-838    Bad  : 26023
[checkForDoubledFps] 11:52:37-838 Cannot halve fps
[destroy] 11:52:37-839 Destroying preview
[renderDisplayResize] 11:52:37-839 Render to 1920x1080 zoom=0.5000, old one =0 x 0, zoom=1.0000, renderer=0000000000000000
[spawnRenderer] 11:52:37-840 OpenGl is disabled
[simpleRender] 11:52:37-840 creating simple render.
[init] 11:52:37-841 init, simple render. w=1920, h=1080,zoom=0.5000
[spawnRenderer] 11:52:37-846 simpleRenderer init ok
[UI_resize] 11:52:37-851 Resizing the main window to 1138x761 px
Paint event
[RDR] Resizing to 960 x 540
[renderCompleteRedrawRequest] 11:52:37-866 RedrawRequest
[A_ResetMarkers] 11:52:37-870 Video Total duration : 00:17:20,960 ms
[setMarkerBPts] 11:52:37-871 Selection's end point set to 00:17:20,960 (1040960000 us)
[rewind] 11:52:37-872 Rewinding
[switchToSegment] 11:52:37-872 Trying to switch to seg 0 with startTime in reference pic= 0 ms
[seektoTime] 11:52:37-873 Seeking to a keyframe at 0 ms
[seektoTime] 11:52:37-873 Seeking to frame 0 at 0 ms
[DecodePictureUpToIntra] 11:52:37-873 Decoding up to intra frame 0, ref: 0
[edCache] Flush
[switchToSegment] 11:52:37-883 Switched ok to segment 0 (dontdecode=0)
[rewind] 11:52:37-883 Rewinding
[switchToSegment] 11:52:37-884 Trying to switch to seg 0 with startTime in reference pic= 0 ms
[seektoTime] 11:52:37-884 Seeking to a keyframe at 0 ms
[seektoTime] 11:52:37-884 Seeking to frame 0 at 0 ms
[DecodePictureUpToIntra] 11:52:37-884 Decoding up to intra frame 0, ref: 0
[edCache] Flush
[switchToSegment] 11:52:37-889 Switched ok to segment 0 (dontdecode=0)
[start] 11:52:37-890 admPreview,starting
[convertLinearTimeToSeg] 11:52:37-890 Frame time=0, taking first segment
Paint event
[convertLinearTimeToSeg] 11:52:37-900 Frame time=0, taking first segment
Paint event
[updateLoaded] 11:52:37-909  conf updated
[AudioEncoder] Selected copy for index 0, tag 0x0
Paint event
[HandleAction] 11:52:41-474 ************ OPEN_APP_FOLDER **************

eumagga0x2a

Avidemux doesn't support DNxHD, it starts with the Mp4 demuxer which defaults to

Quote[Editor] Decoder FCC:  (00000000)

for unknown codecs. Avidemux matches fcc equal zero to Windows Bitmap which doesn't go too well for DNxHD.

dragmore88

ok, is it possible to get support for it ? As ffmpeg/lav supports it, and i thought that avidemux used the same libraries..


eumagga0x2a

Reading support for .mov/mp4 done. However, you can hardly do anything useful with that other than re-encoding.

dragmore88

well, i only need to convert it to FFv1/Huff or something similar thats frameaccurate.

dragmore88

Maybe a stupid question; does a nightly compile, including this git change, exist for download?

eumagga0x2a

Not yet. You can always build your own on Linux for Windows.

eumagga0x2a

#7
r180901 nightlies have been uploaded --> win64

Saving DNxHD in copy mode works with AVI as target container. When re-encoding to huff choose "HUFFYUV" instead of "FF HUFFYUV" in the configuration of (FF)HUFFYUV encoder to avoid color conversion to yuv420p.

By the way, DNxHD like MJPEG consists of keyframes only, so cutting is always frame-accurate.