Avoids unknown codec errors for #1, still need a real fix.
This commit is contained in:
		
							parent
							
								
									cbcc1560e6
								
							
						
					
					
						commit
						bd84b86869
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								dve
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								dve
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -22,7 +22,7 @@ OPTIONS:
 | 
			
		|||
    -h  this help message.
 | 
			
		||||
    -c  number of chunks to split input file into. (default=${CHUNKS})
 | 
			
		||||
    -d  do not copy encoder, assume it already exists remotely.
 | 
			
		||||
    -e  avconv binary to use. (default=${ENC})
 | 
			
		||||
    -e  ffmpeg binary to use. (default=${ENC})
 | 
			
		||||
    -l  comma separated list of hosts to use to encode. (default=${SERVERS})
 | 
			
		||||
    -m  min length of individual video chunks, in seconds. (default=${MINLEN})
 | 
			
		||||
    -o  encoding options. (default=${OPTS})
 | 
			
		||||
| 
						 | 
				
			
			@ -138,7 +138,7 @@ done
 | 
			
		|||
NUMSERVERS=`echo ${SERVERS} | sed -r 's/,/ /g' | wc -w`
 | 
			
		||||
 | 
			
		||||
echo "Creating chunks to encode"
 | 
			
		||||
cat "$CHUNKFILE" | parallel --gnu --eta -j 1 $ENC -y -v ${VERBOSE} -fflags +genpts -i \"$1\" -ss {} -t ${TIMING[1]} -c copy -f matroska ${OUTDIR}/chunk-{}.orig
 | 
			
		||||
cat "$CHUNKFILE" | parallel --gnu --eta -j 1 $ENC -y -v ${VERBOSE} -fflags +genpts -i \"$1\" -ss {} -t ${TIMING[1]} -c:v copy -c:a copy -c:s copy -f matroska ${OUTDIR}/chunk-{}.orig
 | 
			
		||||
 | 
			
		||||
CWD=`pwd`
 | 
			
		||||
cd "$OUTDIR"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue