[FFmpeg-user] muxing raw h.264 and aac. End of Stream unit error.

prathamesh at fairdealentertainment.com prathamesh at fairdealentertainment.com
Sat Sep 19 16:22:10 CEST 2015


Hi,

I used the below command to get raw h.264 video file and aac audio file 
from source mp4 video.

fmpeg -i s1.mp4 -acodec aac -strict -2 -b:a 128k testA.aac -vcodec 
libx264 -r 30000/1001 -s 720x480 -aspect 16:9 -profile:v main -level:v 
3.1 -x264opts 
aud:force-cfr:ref=1:keyint=15:min-keyint=15:scenecut=-1:bframes=2:b-adapt=0:b-pyramid=none:weightb=0:weightp=0 
-b:v 1500k -minrate 1500k -maxrate 1500k -bufsize 1835k -nal-hrd cbr -f 
h264 testA.h264

I muxed the audio and video into Mpeg 2 TS using Manzanita mp2tsme, the 
muxed file plays well on the pc, but when my client checks with ts 
analyzer it shows error "AVC video end of bitstream unit not found" and 
the file wont play.

Can somebody kindly help me in finding a solution for this.What command 
should I use in ffmpeg to set the End of stream unit?

Thanks & Regards.


More information about the ffmpeg-user mailing list