Hi,
I'm using RPi2 with Raspbian. I'm trying to find best solution for transcoding .ts files from tvheadend. At the moment the best is using Gstreamer because I can handle best performace. With Gssreamer I can transcode 1 minute .ts FHD video file to .mkv 480x270 in 30 secons which is in my opinion very good performance and I want to keep it.
But I have problem with Gstreamer to make conversion .ts to mkv (or .mp4) with audio. Important is that I have to have output video resized.
Here is example which is working but no audio:
Here is another example which working, this time with with audio, but I can't resize video by changing omxh264enc parameters from example above:Code:gst-launch-1.0 -v filesrc location=1.ts ! tsdemux parse-private-sections=false name=demux ! queue ! ac3parse ! matroskamux name=stream streamable=true demux. ! queue ! h264parse ! omxh264dec ! omxh264enc target-bitrate=1572864 control-rate=variable ! video/x-h264,stream-format=byte-stream,profile=high,width=480,height=270,framerate=25/1 ! h264parse ! filesink location=1.mkv
Anyone has some command for gst-launch-1.0 to nice converting .ts to mkv (or mp4) with audio working?Code:gst-launch-1.0 filesrc location=1.ts ! decodebin name=demux demux. ! queue ! audioresample ! "audio/x-raw,rate=44100" ! audioconvert ! "audio/x-raw,format=F32LE" ! vorbisenc ! mux. matroskamux name=mux ! filesink location=1.mkv demux. ! queue ! videoconvert ! omxh264enc ! "video/x-h264,profile=high" ! h264parse ! mux.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 1 of 1
Thread
Similar Threads
-
How to convert any video to AVI or MP4 or MKV with burned in subtitles
By Baldrick in forum User guidesReplies: 42Last Post: 19th Nov 2015, 05:41 -
How to convert Blu-ray to standard DVD-Video (or MKV,MP4) using free tools
By Baldrick in forum User guidesReplies: 4Last Post: 22nd Oct 2015, 20:39 -
How 2 convert MP4 w/3 audio trax+1 vid trac into MP4 w/1 audio+video trac?
By Whitezombie455 in forum Video ConversionReplies: 11Last Post: 17th Nov 2013, 02:14 -
Convert amazon video to mkv or mp4
By angelroj7 in forum Video ConversionReplies: 3Last Post: 27th Aug 2013, 07:31 -
unable to convert full video from mkv to mp4
By srikanth3d in forum Video ConversionReplies: 1Last Post: 21st Apr 2013, 12:59