[Helix-producer-issues] [Bug 15476] New: Fix log msg for av input using lossless audio codec failure case

Helix Bug Tracker <[email protected]> Wed, 05 Jun 2013 23:44:14 -0700
Newsgroups gmane.comp.multimedia.helix.devel
Message-ID <51b03d57.6492420a.4acf.fffff326SMTPIN_ADDED_MISSING@mx.google.com>
https://bugs.helixcommunity.org/show_bug.cgi?id=15476



guest created:

          Priority: P4                                                      
  Operating System: All                                                     
        AssignedTo: produceriz                                              
         QAContact: produceriz                                              
           Summary: Fix log msg for av input using lossless audio codec fail
                    ure case                                                
          Severity: S4                                                      
            Status: NEW                                                     
 Last changed date: 2004-04-26 16:40:25                                     
          Hardware: x86                                                     
           Version: unspecified                                             
           Tracker: Settings Files                                          
           Project: helix-producer                                          
  Target Milestone: Beta                                                    

This problem appears with producerdna_all-052103-429 build.

Encoding av input using following audience template fails.

<?xml version="1.0" encoding="UTF-8"?>
<audience xmlns="http://ns.real.com/tools/audience.2.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
	xsi:schemaLocation="http://ns.real.com/tools/audience.2.0 
http://ns.real.com/tools/audience.2.0.xsd">
	<avgBitrate type="uint">225000</avgBitrate>
	<maxBitrate type="uint">256000</maxBitrate>
	<streams>
		<stream xsi:type="videoStream">
			<pluginName type="string">rn-videocodec-
realvideo</pluginName>
			<codecName type="string">rv9</codecName>
			<quality type="uint">70</quality>
			<maxStartupLatency 
type="double">4</maxStartupLatency>
			<maxFrameRate type="double">30</maxFrameRate>
			<maxKeyFrameInterval 
type="double">10</maxKeyFrameInterval>
			<enableLossProtection 
type="bool">false</enableLossProtection>
		</stream>
		
		<stream xsi:type="audioStream">
				<pluginName type="string">rn-audiocodec-
lossless</pluginName>
				<!-- 8 kHz Mono -->
				<codecName 
type="string">ralf</codecName>
				<codecFlavor type="uint">0</codecFlavor>
				<streamContext type="bag">
					<presentationType 
type="string">audio-only</presentationType>
					<audioMode 
type="string">music</audioMode>
				</streamContext>
		</stream>
				<!-- Audio-only voice Stream -->
		<stream xsi:type="audioStream">		
				<pluginName type="string">rn-audiocodec-
lossless</pluginName>
				<!-- 8 kHz Mono -->
				<codecName 
type="string">ralf</codecName>
				<codecFlavor type="uint">0</codecFlavor>
				<streamContext type="bag">
					<presentationType 
type="string">audio-only</presentationType>
					<audioMode 
type="string">voice</audioMode>
				</streamContext>
		</stream>

	</streams>
</audience>

How to repeat:
1)Install producer.zip on windows machine.
2)Copy above audience into notepad and save it as loss-256k.rpad and save it 
under "\producer\audience\" directory.
3)Encode av file using this audience.
producer -i hello.avi -ad loss-256k
4)Observe that encoding fails.

Actual Result:
a)When input is audio only avi and audience is 'loss-256k' encoding is successful.
b)When input = audio-video avi and audiene is 'loss-256k' following error appears
Helix(TM) DNA Producer 9.2 Build number: 9.2.0.174
Error: Audience missing audioStream stream
Error: Failed to set up loss-256k Audience for encoding
Error: Failed to set up MediaProfile for encoding
Error: PipelineMgr failed to start encoding
Error: PipelineMgr could not start encoding
Error: CHXTEncodingJob::startEncodingSession failed to start encoding
Error: Job failed to start encoding
Error: Encoding failed!
Done  Errors: 8 Warnings: 0

Expected Result: Encoding should be successful.
------- Additional Comments From guest 2013-05-06 23:44 GMT-0800 -------
This bug is a clone of bug #353, created by guest

-- 
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact
You are on the CC list for the bug, or are watching someone who is.
You are in the CC list for the product the bug is within.


This e-mail is sent to you automatically from the Helix Bug Tracker.  Please, do
not respond to this message, but instead edit your Bug Tracker user preferences
to change when Bug Tracker sends you e-mail.