Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
2nd December 2017, 19:54 | #14541 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
If you need more info please open a thread in video subforum, is off topic here.
__________________
BeHappy, AviSynth audio transcoder. |
|
13th December 2017, 08:09 | #14545 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
|
It's not much different to copying files. Mostly sequential reading from one file, and mostly sequential writing into a few other files. I would try to avoid both reading and writing over LAN due to low speed.
|
1st January 2018, 05:33 | #14547 | Link |
Registered User
Join Date: May 2015
Posts: 78
|
I was trying to convert a .ts file to mkv. I got a message about the audio track not being "clean". See below. What does that mean? Thanks and happy new year.
Code:
eac3to v3.34 command line: eac3to war_requiem.ts 1: v.h264 2: a.flac ------------------------------------------------------------------------------ TS, 1 video track, 1 audio track, 1:30:00, 50p 1: h264/AVC, 720p50 (16:9) 2: AC3, German, 2.0 channels, 448kbps, 48kHz, dialnorm: -23dB, 9ms [v01] Extracting video track number 1... [a02] Extracting audio track number 2... [a02] Removing AC3 dialog normalization... [a02] Decoding with libav/ffmpeg... [a02] Applying RAW/PCM delay... [a02] Reducing depth from 64 to 24 bits... [a02] Encoding FLAC with libFlac... [v01] Creating file "v.h264"... [a02] This track is not clean. <WARNING> [a02] Creating file "a.flac"... [a02] Audio has a gap of 32ms at playtime 0:00:02. <WARNING> [a02] Starting 2nd pass... [a02] Extracting audio track number 2... [a02] Removing AC3 dialog normalization... [a02] Decoding with libav/ffmpeg... [a02] Applying RAW/PCM delay... [a02] Reducing depth from 64 to 24 bits... [a02] Encoding FLAC with libFlac... [a02] Realizing RAW/PCM gaps... [a02] Creating file "a.flac"... Video track 1 contains 270021 frames. eac3to processing took 1 hour, 18 minutes. Done. [edit2]mediainfo -f Code:
General Count : 327 Count of stream of this kind : 1 Kind of stream : General Kind of stream : General Stream identifier : 0 ID : 1 ID : 1 (0x1) Count of video streams : 1 Count of audio streams : 1 Video_Format_List : AVC Video_Format_WithHint_List : AVC Codecs Video : AVC Audio_Format_List : AC-3 Audio_Format_WithHint_List : AC-3 Audio codecs : AC3 Audio_Language_List : German Complete name : C:\0\War_Requiem.ts Folder name : C:\0 File name : War_Requiem File extension : ts Format : MPEG-TS Format : MPEG-TS Format/Extensions usually used : ts m2t m2s m4t m4s tmf ts tp trp ty Commercial name : MPEG-TS Internet media type : video/MP2T Codec : MPEG-TS Codec : MPEG-TS Codec/Extensions usually used : ts m2t m2s m4t m4s tmf ts tp trp ty File size : 6321633292 File size : 5.89 GiB File size : 6 GiB File size : 5.9 GiB File size : 5.89 GiB File size : 5.887 GiB Duration : 5400380.000000 Duration : 1 h 30 min Duration : 1 h 30 min 0 s 380 ms Duration : 1 h 30 min Duration : 01:30:00.380 Duration : 01:30:00:23 Duration : 01:30:00.380 (01:30:00:23) Overall bit rate mode : VBR Overall bit rate mode : Variable Overall bit rate : 9364703 Overall bit rate : 9 365 kb/s Maximum Overall bit rate : 35500000 Maximum Overall bit rate : 35.5 Mb/s Frame rate : 50.000 Frame rate : 50.000 FPS Frame count : 270023 Stream size : 315367443 Stream size : 301 MiB (5%) Stream size : 301 MiB Stream size : 301 MiB Stream size : 301 MiB Stream size : 300.8 MiB Stream size : 301 MiB (5%) Proportion of this stream : 0.04989 File creation date : UTC 2017-12-31 22:57:08.222 File creation date (local) : 2017-12-31 17:57:08.222 File last modification date : UTC 2015-10-16 14:42:01.150 File last modification date (local) : 2015-10-16 09:42:01.150 OverallBitRate_Precision_Min : 9364702 OverallBitRate_Precision_Max : 9364704 Video Count : 338 Count of stream of this kind : 1 Kind of stream : Video Kind of stream : Video Stream identifier : 0 StreamOrder : 0-0 ID : 4113 ID : 4113 (0x1011) Menu ID : 1 Menu ID : 1 (0x1) Format : AVC Format/Info : Advanced Video Codec Format/Url : http://developers.videolan.org/x264.html Commercial name : AVC Format profile : High@L4 Format settings : CABAC / 4 Ref Frames Format settings, CABAC : Yes Format settings, CABAC : Yes Format settings, ReFrames : 4 Format settings, ReFrames : 4 frames Format settings, GOP : M=4, N=32 Internet media type : video/H264 Codec ID : 27 Codec : AVC Codec : AVC Codec/Family : AVC Codec/Info : Advanced Video Codec Codec/Url : http://developers.videolan.org/x264.html Codec profile : High@L4 Codec settings : CABAC / 4 Ref Frames Codec settings, CABAC : Yes Codec_Settings_RefFrames : 4 Duration : 5400460 Duration : 1 h 30 min Duration : 1 h 30 min 0 s 460 ms Duration : 1 h 30 min Duration : 01:30:00.460 Duration : 01:30:00:23 Duration : 01:30:00.460 (01:30:00:23) Bit rate mode : VBR Bit rate mode : Variable Bit rate : 8449420 Bit rate : 8 449 kb/s Maximum bit rate : 40000000 Maximum bit rate : 40.0 Mb/s Width : 1280 Width : 1 280 pixels Height : 720 Height : 720 pixels Sampled_Width : 1280 Sampled_Height : 720 Pixel aspect ratio : 1.000 Display aspect ratio : 1.778 Display aspect ratio : 16:9 Frame rate : 50.000 Frame rate : 50.000 FPS Frame count : 270023 Resolution : 8 Resolution : 8 bits Colorimetry : 4:2:0 Color space : YUV Chroma subsampling : 4:2:0 Chroma subsampling : 4:2:0 Bit depth : 8 Bit depth : 8 bits Scan type : Progressive Scan type : Progressive Interlacement : PPF Interlacement : Progressive Bits/(Pixel*Frame) : 0.183 Delay : 600000.000 Delay : 10 min 0 s Delay : 10 min 0 s 0 ms Delay : 10 min 0 s Delay : 00:10:00.000 Delay, origin : Container Delay, origin : Container Stream size : 5703844345 Stream size : 5.31 GiB (90%) Stream size : 5 GiB Stream size : 5.3 GiB Stream size : 5.31 GiB Stream size : 5.312 GiB Stream size : 5.31 GiB (90%) Proportion of this stream : 0.90227 Buffer size : 30000000 Audio Count : 306 Count of stream of this kind : 1 Kind of stream : Audio Kind of stream : Audio Stream identifier : 0 StreamOrder : 0-1 ID : 4352 ID : 4352 (0x1100) Menu ID : 1 Menu ID : 1 (0x1) Format : AC-3 Format/Info : Audio Coding 3 Commercial name : AC-3 Format settings, Endianness : Big Codec ID : 129 Codec : AC3 Codec : AC3 Duration : 5400384 Duration : 1 h 30 min Duration : 1 h 30 min 0 s 384 ms Duration : 1 h 30 min Duration : 01:30:00.384 Duration : 01:30:43:29 Duration : 01:30:00.384 (01:30:43:29) Bit rate mode : CBR Bit rate mode : Constant Bit rate : 448000 Bit rate : 448 kb/s Channel(s) : 2 Channel(s) : 2 channels Channel positions : Front: L R Channel positions : 2/0/0 ChannelLayout : L R Samples per frame : 1536 Sampling rate : 48000 Sampling rate : 48.0 kHz Samples count : 259218432 Frame rate : 31.250 Frame rate : 31.250 FPS (1536 spf) Frame count : 168762 Resolution : 16 Resolution : 16 bits Bit depth : 16 Bit depth : 16 bits Compression mode : Lossy Compression mode : Lossy Delay : 600009.000 Delay : 10 min 0 s Delay : 10 min 0 s 9 ms Delay : 10 min 0 s Delay : 00:10:00.009 Delay, origin : Container Delay, origin : Container Delay relative to video : 9 Delay relative to video : 9 ms Delay relative to video : 9 ms Delay relative to video : 9 ms Delay relative to video : 00:00:00.009 Video0 delay : 9 Video0 delay : 9 ms Video0 delay : 9 ms Video0 delay : 9 ms Video0 delay : 00:00:00.009 Stream size : 302421504 Stream size : 288 MiB (5%) Stream size : 288 MiB Stream size : 288 MiB Stream size : 288 MiB Stream size : 288.4 MiB Stream size : 288 MiB (5%) Proportion of this stream : 0.04784 Language : de Language : German Language : German Language : de Language : deu Language : de Service kind : CM Service kind : Complete Main bsid : 6 dialnorm : -23 dialnorm : -23 dB compr : -0.28 compr : -0.28 dB dsurmod : 1 dsurmod : Not Dolby Surround encoded acmod : 2 lfeon : 0 dialnorm_Average : -23 dialnorm_Average : -23 dB dialnorm_Minimum : -27 dialnorm_Minimum : -27 dB dialnorm_Maximum : -23 dialnorm_Maximum : -23 dB dialnorm_Count : 1885 compr_Average : -0.13 compr_Average : -0.13 dB compr_Minimum : -0.28 compr_Minimum : -0.28 dB compr_Maximum : 2.36 compr_Maximum : 2.36 dB compr_Count : 1885 dynrng_Average : 0.11 dynrng_Average : 0.11 dB dynrng_Minimum : 0.00 dynrng_Minimum : 0.00 dB dynrng_Maximum : 2.15 dynrng_Maximum : 2.15 dB dynrng_Count : 1885 format_identifier : AC-3 Last edited by Ripman; 1st January 2018 at 06:53. |
1st January 2018, 13:09 | #14548 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
Extract and split the AC3 track. http://forum.doom9.org/showthread.ph...95#post1447695
__________________
BeHappy, AviSynth audio transcoder. |
|
1st January 2018, 15:59 | #14549 | Link | |
Registered User
Join Date: May 2015
Posts: 78
|
Quote:
Code:
FileSize : 302421504 bytes ---------- First valid Header Time eq. : 5400384 ms. SamplCod : 0 (0:48, 1:44.1, 2:32 KHz.) BitRate : 448 Kb/s ChanMode : 2 (1:1/0, 2:2/0, 3:3/0, 4:2/1, 5:3/1, 6:2/2, 7:3/2) FrameSize: 1792 bytes ---------- Process ( 25.000000 fps is used for Trim) Time: 0 ms. Written: 69 frames 2.0 ( 2208 ms.) Time: 2208 ms. Written: 2 frames 5.1 ( 64 ms.) Trim(55, 56) Time: 2272 ms. Skipped: 1792 bytes (Maybe: 32 ms.) Time: 2304 ms. Written: 168665 frames 5.1 ( 5397280 ms.) Trim(58, 134989) Time: 5399584 ms. Written: 6 frames 2.0 ( 192 ms.) Time: 5399776 ms. Written: 9 frames 5.1 ( 288 ms.) Trim(134994, 135000) Time: 5400064 ms. Written: 1 frames 2.0 ( 32 ms.) Time: 5400096 ms. Written: 3 frames 5.1 ( 96 ms.) Trim(135002, 135003) Time: 5400192 ms. Skipped: 1792 bytes (Maybe: 32 ms.) Time: 5400224 ms. Written: 5 frames 2.0 ( 160 ms.) ---------- End of File Total time: 5400384 ms. at EOF T. written: 168679 frames 5.1. T. written: 81 frames 2.0. I could go back to the source .ts file, trim 2.304 secs from the start, preserve the next 5397280 ms (01:29:57.28), discard everything after that, and then extract the audio. Or, I could "zero-out" the first 2 frames (64ms) from the SplitAc3 5.1ch output, and everything after (64ms + 5397280 ms). Does this sound about right? How do I account for delays in the original audio stream? Thanks again. Last edited by Ripman; 1st January 2018 at 18:54. |
|
1st January 2018, 19:34 | #14550 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Nothing in MediaInfo.
Is a typical problem, the output length is 3 times the expected because 5.1 have 3 times samples than 2.0 Quote:
But if the video is OK you can use the 5.1 extracted by SplitAc3 with: eac3to split51.ac3 one.ac3 -64ms (the first 2 frames) eac3to one.ac3 two.ac3 +2304ms (audio/video delay) And, maybe, you can delete the last 12 frames with DelayCut, only if sound bad.
__________________
BeHappy, AviSynth audio transcoder. |
|
2nd January 2018, 14:17 | #14551 | Link | |
Registered User
Join Date: May 2015
Posts: 78
|
Quote:
|
|
3rd January 2018, 18:26 | #14555 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
mp4 muxing for avc/hevc would also be useful because LSMASHVideoSource/LibavSMASHSource can open it without indexing. (something I miss from the mkv format)
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
3rd January 2018, 18:48 | #14556 | Link |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
|
Agreed
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
|
3rd January 2018, 23:38 | #14557 | Link |
Registered User
Join Date: May 2015
Posts: 78
|
I like ffmpeg too. But I ended up at mkvmerge years ago, and the developer is pretty accessible via doom9.
Are there specific ffmpeg mkv capabilities that you use or prefer? Any capabilities that exist in ffmpeg but not in mkvmerge? Thanks. |
4th January 2018, 09:31 | #14558 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
I think the discussion was meant about muxing libraries which mkvtoolnix probably don't expose, the ffmpeg library for muxing/demuxing is called libavformat I believe.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists Last edited by stax76; 4th January 2018 at 09:34. |
Tags |
eac3to |
|
|