So I decided to kill some time playing with transcoding and I'm getting frustrated..
Im not even sure if this is possible..
I m trying to transcode an mpeg2 stream to h264..
So far I only managed to get it working not longer then 10 minutes after that stream just drops...
While it's working cpu is averaging around 50% so no big deal I suppose...
Output is h264/aac as command...no buffers or glitches..
Command i m using right now is this tough I tryed loads and loads of different versions...
Code
ffmpeg -threads 4 -c:v mpeg2_mmal -v panic -hide_banner -nostats -i pipe:0 -map 0:0 -map 0:1 -map 0:2? -c:v h264_omx -s 480x270 -b:v 768k -pix_fmt yuv420p -bufsize 3000k -c:a aac -ac 1 -ar 22050 -c:s copy -f mpegts -r 25 pipe:1
Anyone got this working?Or I m asking too much from my little computer