Page 1 of 1

Transcoding

PostPosted: Mon Aug 18, 2014 12:09 pm
by limiteddi
Has anyone tried transcoding with this product? Wonder how it would handle ffmpeg or vlc transcoding?

Re: Transcoding

PostPosted: Mon Aug 18, 2014 4:20 pm
by diabloss
It is a small ARM , dunno how realiable could be using transcoding alongside with decrypting and multicast streaming.

Re: Transcoding

PostPosted: Mon Aug 18, 2014 11:18 pm
by updatelee
a quick google search shows that gstreamer and IMX6 support transcoding, but I havent tried it. Search and give it a go

UDL

Re: Transcoding

PostPosted: Tue Aug 19, 2014 4:33 am
by piotrasd
yeep i.MX6 have hardware transcoder even for 2 streams ;)

and i found https://github.com/Freescale/gstreamer-imx :)

Re: Transcoding

PostPosted: Mon Aug 25, 2014 3:03 pm
by steven
Hi All

Later we will release a new product which use ST chip to transcode 4 streams at the same time
and up to 1080P : ),more information will be released later. :)

Thanks

Kind Regards

steven

Re: Transcoding

PostPosted: Mon Sep 22, 2014 7:35 pm
by nrm
The examples on the Freescale are the best reference you could get for the TBS2910.

https://community.freescale.com/docs/DOC-93448

* There is a limit for the number of pipelines which can be run simultaneously, for high resolution input files, at most two for 1080p and four for 720p.

Perhaps it works for 8x480p streams. I've tested Gstreamer-imx and it works great. Still some issues with H264 that I'm trying to understand, but so far video hardware decoding->encoding is quite stable.

Regards,
Nuno

Re: Transcoding

PostPosted: Mon Sep 22, 2014 9:48 pm
by vpeter
nrm, woulkd be possible to capture DVB stream and transcode it to lower reslution in real-time?

Re: Transcoding

PostPosted: Tue Sep 23, 2014 9:52 pm
by nrm
Yes,

From file previously recorded from DVB:
https://dl.dropboxusercontent.com/u/63418458/hls/sky.ts

RATE=2000 ; gst-launch-1.0 --gst-debug-level=2 -vv filesrc location=sky.ts typefind=true ! tsdemux name=demux demux. ! queue ! mpegvideoparse ! imxvpudec ! imxvpuenc_h264 bitrate=$RATE gop-size=16 ! h264parse ! mux. demux. ! queue ! mpegaudioparse ! mux. mpegtsmux name=mux ! udpsink port=8889 host=127.0.0.1

From the same DVB/TS stream

RATE=2000 ; gst-launch-1.0 --gst-debug-level=5 -vv udpsrc port=5000 typefind=true ! tsdemux name=demux demux. ! queue ! mpegvideoparse ! imxvpudec ! imxvpuenc_h264 bitrate=$RATE gop-size=16 ! h264parse ! mux. demux. ! queue ! mpegaudioparse ! mux. mpegtsmux name=mux ! udpsink port=8889 host=10.0.0.55

You can then open the stream on VLC (machine's ip 10.0.0.55) using udp://@:8889

Though this might seem to work at first, Gstreamer stops streaming after a while and I still don't know why.

Here are the gists I used to install gstreamer-imx. I used Linux 12.04 I think, the one from linaro.
https://gist.github.com/nrmmota
1) libfslvpuwrap
2) gstreamer