Error occurred when encoding audio to "LPCM/WAV" !

MAXZRV

New member
When i encoding audio to "LPCM/WAV" type with "Video Intelligent Recode"
It's show "Output graph aborted at module: Output muxer, error: FFmpeg muxer: error writing packet."

And when i encoding audio to "LPCM/WAV" type with "Video Force Recode".
Encoding is succeeded, but audio sample rate only 24KHz (Original is 48KHz).

What's going on? How can i do?

Encoding with "Video Intelligent Recode" Log
Code:
2014-06-20 11:57:31 Log file cleared, previous file renamed to: C:\Users\***\AppData\Roaming\VideoReDo-TVSuite4\VideoReDo_2014-06-20 (03).Log
2014-06-20 11:57:31 VideoReDo TVSuite started. Licensed to: ***, Version: 4.21.9.680 - May 27 2014, AVP On (00cf001c-240}
2014-06-20 11:58:04 Setting output options from profile: Audio Recode Required
H.264 Matroska MKV
2014-06-20 11:58:05 H.264, Starting stream open for: F:\RecData\720P\20130907\0_HD1\20130908_1750_CH13_0_HD1_C_1.ts
2014-06-20 11:58:05 H.264, Opening file: F:\RecData\720P\20130907\0_HD1\20130908_1750_CH13_0_HD1_C_1.ts, filetype is: H264  PIDs: xFBF / xFC0 
2014-06-20 11:58:06 Graph monitoring thread started.
2014-06-20 11:58:06 Adding module to graph: H264 smart editor
2014-06-20 11:58:06 Adding module to graph: H264 decoder
2014-06-20 11:58:06 Adding module to graph: H264 encoder
2014-06-20 11:58:06 Adding module to graph: Stream Splitter
2014-06-20 11:58:06 Adding module to graph: Audio recoder
2014-06-20 11:58:06 Adding module to graph: Audio recoder
2014-06-20 11:58:06 Adding module to graph: Output muxer
2014-06-20 11:58:06 Graph, monitoring thread received terminate signal.
2014-06-20 11:58:06 Graph monitoring thread finished.
2014-06-20 11:58:06 Graph monitoring thread started.
2014-06-20 11:58:06 Adding module to graph: Stream Splitter
2014-06-20 11:58:06 Adding module to graph: Audio recoder
2014-06-20 11:58:06 Adding module to graph: Audio recoder
2014-06-20 11:58:06 Adding module to graph: Output muxer
2014-06-20 11:58:06 Setting graph input port: 0 to module: Output muxer port: 0 Accepts EOF
2014-06-20 11:58:06 Setting graph input port: 1 to module: Stream Splitter port: 0 Accepts EOF
2014-06-20 11:58:06 Connecting output of Stream Splitter (0) to input of Audio recoder (0)
2014-06-20 11:58:06 Connecting output of Audio recoder (0) to input of Output muxer (2)
2014-06-20 11:58:06 Connecting output of Stream Splitter (1) to input of Audio recoder (0)
2014-06-20 11:58:06 Connecting output of Audio recoder (0) to input of Output muxer (3)
2014-06-20 11:58:06 Graph, passes required: 1
2014-06-20 11:58:06 Graph, Output encoding bitrate: 6.8080 Mbps
2014-06-20 11:58:06 Graph, Encoding dimension:      1920 x 1080
2014-06-20 11:58:06 Graph, Cropping rect:           (0 x 0 ) - (1920 x 1080)
2014-06-20 11:58:06 Graph, Maximum GOP:             0
2014-06-20 11:58:06 Stream Splitter: Starting audio, Splitter thread.
2014-06-20 11:58:06 StreamProcess: Stream: 0, Starting audio coding thread.
2014-06-20 11:58:06 StreamProcess: Stream: 1, Starting audio coding thread.
2014-06-20 11:58:06 StreamProcess: Staring output muxer thread.
2014-06-20 11:58:06 Source video information:
 File:                                     Name : F:\RecData\720P\20130907\0_HD1\20130908_1750_CH13_0_HD1_C_1.ts
                                           Size : 0.526 GB
                                       Duration : 00:09:41.29
                                       Mux type : TS Stream
                                    TS mux rate : 6.616 Mbps
 Video:                                Encoding : H.264
                                  VideoStreamID : xFBF
                                     Frame rate : 29.97 fps
                                  Encoding size : 1920 x 1080
                                   Aspect ratio : 16:9
                                Header bit rate : 6.808 Mbps
                                     VBV buffer : 442 KBytes
                                        Profile : High/4.0
                                    Progressive : Interlaced
                                         Chroma : 4:2:0
                                   Entropy mode : CABAC
                                       Bit rate : 6.955 Mbps
                                     Captioning : None found
 Audio Stream: 1 (Primary)                Codec : AAC
                                         Format : LOAS/LATM
                                       Channels : 2.0
                                       Language : eng
                                            PID : xFC0
                                  PES Stream Id : xC1
                                  Sampling rate : 48000
 Audio Stream: 2                          Codec : AAC
                                         Format : LOAS/LATM
                                       Channels : 2.0
                                       Language : eng
                                            PID : xFC1
                                  PES Stream Id : xC1
                                  Sampling rate : 48000

2014-06-20 11:58:06 Audio recoder-0. Stream 0, Recoding audio, changing: AAC to LPCM
2014-06-20 11:58:06 Audio recoder-1. Stream 1, Recoding audio, changing: AAC to LPCM
2014-06-20 11:58:06 H.264, Starting new Frame Accurate Output Segment: start:0.000 (00:00:00.00),  end:4181948.044 (01:09:41.29), Mux delta:       0.00 
2014-06-20 11:58:06 Audio recoder-0. Stream 0, Recoding audio, changing bitrate from 0 to 1536000
2014-06-20 11:58:06 Audio recoder-1. Stream 1, Recoding audio, changing bitrate from 0 to 1536000
2014-06-20 11:58:06 Preparing to send status to: 0 Audio volume changed
2014-06-20 11:58:06 Sending status: 'Audio volume changed' to module: 'Output muxer - 0', Type: Video frame
2014-06-20 11:58:06 Preparing to send status to: 0 Audio volume changed
2014-06-20 11:58:06 Sending status: 'Audio volume changed' to module: 'Stream Splitter - 0', Type: Audio frame
2014-06-20 11:58:06 Adding new graph range, Start:          0 (00:00:00.00), End: 4181948.04 (01:09:41.29)
2014-06-20 11:58:06 FFmpeg muxer, video write error, current frame, originalPTS:      33.38, PTS:     233.37, DTS:     233.37
                                                    previous frame, originalPTS:     100.11, PTS:     300.10, DTS:     300.10
2014-06-20 11:58:06 Output graph aborted at module: Output muxer, error: FFmpeg muxer: error writing packet.
2014-06-20 11:58:08 Output muxer processing thread complete. Video in: 3, Out: 2, Buffer: 0
2014-06-20 11:58:08 Output muxer processing thread complete. Audio stream 0 In: 5, Out: 5, Buffer: 0
2014-06-20 11:58:09 Muxer add / delete audio: stream: 0, add: 0  delete 0, sync:    -213.33
2014-06-20 11:58:09 Output muxer processing thread complete. Audio stream 1 In: 5, Out: 5, Buffer: 0
2014-06-20 11:58:09 Muxer add / delete audio: stream: 1, add: 0  delete 0, sync:    -213.33
2014-06-20 11:58:11 Stream Splitter: Process thread complete.  Audio frames, In: 86,  Out: 86
2014-06-20 11:58:11 Graph, monitoring thread received terminate signal.
2014-06-20 11:58:11 AudioRecoder thread complete. Stream: 1, Audio Frames, In:43, Out: 68
2014-06-20 11:58:11 AudioRecoder thread complete. Stream: 0, Audio Frames, In:43, Out: 68
2014-06-20 11:58:11 Graph monitoring thread finished.
Encoding with "Video Force Recode" Log
Code:
2014-06-20 12:21:40 Log file cleared, previous file renamed to: C:\Users\***\AppData\Roaming\VideoReDo-TVSuite4\VideoReDo_2014-06-20 (04).Log
2014-06-20 12:21:40 VideoReDo TVSuite started. Licensed to: ***, Version: 4.21.9.680 - May 27 2014, AVP On (00cf001c-240}
2014-06-20 12:22:03 Setting output options from profile: Major Recode Required
H.264 Matroska MKV
2014-06-20 12:22:04 H.264, Starting stream open for: F:\RecData\720P\20130907\0_HD1\20130908_1750_CH13_0_HD1_C_1.ts
2014-06-20 12:22:04 H.264, Opening file: F:\RecData\720P\20130907\0_HD1\20130908_1750_CH13_0_HD1_C_1.ts, filetype is: H264  PIDs: xFBF / xFC0 
2014-06-20 12:22:04 Graph monitoring thread started.
2014-06-20 12:22:04 Graph, monitoring thread received terminate signal.
2014-06-20 12:22:04 Graph monitoring thread finished.
2014-06-20 12:22:05 Graph monitoring thread started.
2014-06-20 12:22:05 Adding module to graph: H264 decoder
2014-06-20 12:22:05 Adding module to graph: Stream Splitter
2014-06-20 12:22:05 Adding module to graph: H264 encoder
2014-06-20 12:22:05 Adding module to graph: Audio recoder
2014-06-20 12:22:05 Adding module to graph: Audio recoder
2014-06-20 12:22:05 Adding module to graph: Output muxer
2014-06-20 12:22:05 Setting graph input port: 0 to module: H264 decoder port: 0 Accepts EOF
2014-06-20 12:22:05 Setting graph input port: 3 to module: H264 decoder port: 1 
2014-06-20 12:22:05 Connecting output of H264 decoder (0) to input of H264 encoder (0)
2014-06-20 12:22:05 Connecting output of H264 encoder (0) to input of Output muxer (0)
2014-06-20 12:22:05 Setting graph input port: 1 to module: Stream Splitter port: 0 Accepts EOF
2014-06-20 12:22:05 Connecting output of Stream Splitter (0) to input of Audio recoder (0)
2014-06-20 12:22:05 Connecting output of Audio recoder (0) to input of Output muxer (2)
2014-06-20 12:22:05 Connecting output of Stream Splitter (1) to input of Audio recoder (0)
2014-06-20 12:22:05 Connecting output of Audio recoder (0) to input of Output muxer (3)
2014-06-20 12:22:05 Graph, passes required: 1
2014-06-20 12:22:05 Graph, Output encoding bitrate: 18.0000 Mbps
2014-06-20 12:22:05 Graph, Encoding dimension:      1920 x 1080
2014-06-20 12:22:05 Graph, Cropping rect:           (0 x 0 ) - (1920 x 1080)
2014-06-20 12:22:05 Graph, Maximum GOP:             0
2014-06-20 12:22:05 H264 decoder: Starting video, H264 decoder thread.
2014-06-20 12:22:05 Stream Splitter: Starting audio, Splitter thread.
2014-06-20 12:22:05 H264 encoder: Starting video, H264 encoder thread.
2014-06-20 12:22:05 StreamProcess: Stream: 0, Starting audio coding thread.
2014-06-20 12:22:05 H.264 Encoder error: C043:H.264 Validation Error: bit rate value does not match HRD model. Should be 17999872.
2014-06-20 12:22:05 Audio recoder-0. Stream 0, Recoding audio, changing: AAC to LPCM
2014-06-20 12:22:05 StreamProcess: Stream: 1, Starting audio coding thread.
2014-06-20 12:22:05 H.264 Encoder error: C044:H.264 Validation Error: bit rate buffer size value does not match HRD model. Should be 2249984.
2014-06-20 12:22:05 Audio recoder-0. Stream 0, Recoding audio, changing bitrate from 0 to 1536000
2014-06-20 12:22:05 Audio recoder-1. Stream 1, Recoding audio, changing: AAC to LPCM
2014-06-20 12:22:05 H.264 Encoder error: C001:H.264 Validation Check: 2 error(s) found.
2014-06-20 12:22:05 Audio recoder-1. Stream 1, Recoding audio, changing bitrate from 0 to 1536000
2014-06-20 12:22:05 H.264 encoder info: C002:H.264 Validation Check: parameters have been adjusted.
2014-06-20 12:22:05 Source video information:
 File:                                     Name : F:\RecData\720P\20130907\0_HD1\20130908_1750_CH13_0_HD1_C_1.ts
                                           Size : 0.526 GB
                                       Duration : 00:09:41.29
                                       Mux type : TS Stream
                                    TS mux rate : 6.616 Mbps
 Video:                                Encoding : H.264
                                  VideoStreamID : xFBF
                                     Frame rate : 29.97 fps
                                  Encoding size : 1920 x 1080
                                   Aspect ratio : 16:9
                                Header bit rate : 6.808 Mbps
                                     VBV buffer : 442 KBytes
                                        Profile : High/4.0
                                    Progressive : Interlaced
                                         Chroma : 4:2:0
                                   Entropy mode : CABAC
                                       Bit rate : 6.955 Mbps
                                     Captioning : None found
 Audio Stream: 1 (Primary)                Codec : AAC
                                         Format : LOAS/LATM
                                       Channels : 2.0
                                       Language : eng
                                            PID : xFC0
                                  PES Stream Id : xC1
                                  Sampling rate : 48000
 Audio Stream: 2                          Codec : AAC
                                         Format : LOAS/LATM
                                       Channels : 2.0
                                       Language : eng
                                            PID : xFC1
                                  PES Stream Id : xC1
                                  Sampling rate : 48000

2014-06-20 12:22:05 StreamProcess: Staring output muxer thread.
2014-06-20 12:22:05 H.264 encoder info: Creating MainConcept (Consumer) H.264/AVC video encoder ...
2014-06-20 12:22:05 H.264, Starting new Frame Accurate Output Segment: start:0.000 (00:00:00.00),  end:4181948.044 (01:09:41.29), Mux delta:       0.00 
2014-06-20 12:22:05 H.264 encoder info:   Version:  8.7.0.28412
2014-06-20 12:22:05 Preparing to send status to: 0 Audio volume changed
2014-06-20 12:22:05 H.264 encoder info:   Platform: Windows 32bit
2014-06-20 12:22:05 Sending status: 'Audio volume changed' to module: 'H264 decoder - 0', Type: Video frame
2014-06-20 12:22:05 Preparing to send status to: 0 Audio volume changed
2014-06-20 12:22:05 Sending status: 'Audio volume changed' to module: 'Stream Splitter - 0', Type: Audio frame
2014-06-20 12:22:05 Adding new graph range, Start:          0 (00:00:00.00), End: 4181948.04 (01:09:41.29)
2014-06-20 13:03:54 H.264 (MA), Found last Audio:  581888.01  00:09:41.27, Video: 4181948.04  01:09:41.29
2014-06-20 13:03:54 Changing graph current end range from: 4181948.04 (01:09:41.29), to:  581888.01 (00:09:41.27)
2014-06-20 13:03:54 Stream Splitter: Process thread complete.  Audio frames, In: 27276,  Out: 27276
2014-06-20 13:03:54 AudioRecoder thread complete. Stream: 1, Audio Frames, In:13639, Out: 24239
2014-06-20 13:03:54 AudioRecoder thread complete. Stream: 0, Audio Frames, In:13637, Out: 24235
2014-06-20 13:03:54 Graph, monitoring thread received terminate signal.
2014-06-20 13:03:54 Graph monitoring thread finished.
2014-06-20 13:03:55 H264 decoder: Process thread complete.  Video frames, In: 17442,  Out: 17435
2014-06-20 13:03:55 H.264 encoder info: 
H.264 Encoding Done.
2014-06-20 13:03:55 H.264 encoder info: --------------------------------------------------------------------------------
2014-06-20 13:03:55 H.264 encoder info: Frames: 17435 incoming, 17435 encoded
2014-06-20 13:03:55 H.264 encoder info: Bits written: 5596138.95 kbits (699517.37 kbytes)
2014-06-20 13:03:55 H.264 encoder info: Avg. Bitrate: 9619.53 kbits per second
2014-06-20 13:03:55 H.264 encoder info: Time elapsed: 2510.18 seconds
2014-06-20 13:03:55 H.264 encoder info: --------------------------------------------------------------------------------
2014-06-20 13:03:55 H264 encoder: Process thread complete.  Video frames, In: 17435,  Out: 17436
2014-06-20 13:03:55 Output muxer processing thread complete. Video in: 17436, Out: 17436, Buffer: 0
2014-06-20 13:03:55 Output muxer processing thread complete. Audio stream 0 In: 24241, Out: 24239, Buffer: 0
2014-06-20 13:03:55 Muxer add / delete audio: stream: 0, add: 6  delete 2, sync:      49.50
2014-06-20 13:03:55 Output muxer processing thread complete. Audio stream 1 In: 24245, Out: 24243, Buffer: 0
2014-06-20 13:03:55 Muxer add / delete audio: stream: 1, add: 6  delete 2, sync:      49.50
2014-06-20 13:03:56 Output complete. 
                 Input file: F:\RecData\720P\20130907\0_HD1\20130908_1750_CH13_0_HD1_C_1.ts
                Output file: F:\RecData\720P\20130907\0_HD1\20130908_1750_CH13_0_HD1_C_1 (02).mkv
                       Mode: Frame Accurate
    ~ Output file:	F:\RecData\720P\20130907\0_HD1\20130908_1750_CH13_0_HD1_C_1 (02).mkv
    Video output frames:	17435
    Audio output frames:	48482
    Processing time (secs):	2511
    Processed frames/sec:	6.94
    Actual Video Bitrate:   	9.62 Mbps
    * Audio resync frames removed:	4
    * Audio resync frames added:	12

2014-06-20 13:03:56 Displaying output complete dialog: 0
 

Danr

Administrator
Staff member
Will ask DanH to check into this. He's the expert on all things related to MP4/MKV.
 
Top Bottom