FAQ  •  Register  •  Login

MKV remuxing without transcoding

<<

ssmanian

Serviio newbie

Posts: 6

Joined: Mon Feb 20, 2012 8:29 pm

Post Mon Feb 20, 2012 9:05 pm

MKV remuxing without transcoding

I have a Synology NAS running Serviio, the renderer is a Sharp Aquos. I can usually watch movies from the NAS fairly well. When playing MKV files, I see that my serviio is running ffmpeg to transcode these mkv files to stf's.. Because of the lack of CPU power on the Synology, it takes several hours and sometimes days to convert these, which makes it nearly useless. After reading through this forum and synology forums, I have tried to run ffmpeg and once the stf file is created, I rename it to mpeg and use it. This is to avoid the transcoding on the fly everytime. However, the mpeg does not have audio, that makes it useless. I have read in some of the forums that you dont have to transcode the mkv files, just remuxing them would work. Is that right? If so how do I do that?

Secondly, can I have a background task that would convert these MKVs and store them in mpeg or some other format (without a lot of loss in quality) so that I dont have to transcode these files on the fly and just use them? If so how do can I do that. The following is the output of ffmpeg of the file that I was complaining to not have any audio.

DiskStation> ffmpeg -i kalvarey-temp-124-MPEG2PS.stf
ffmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Sep 4 2011 02:28:29 with gcc 4.2.1
configuration: --arch=arm --target-os=linux --cross-prefix=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi- --enable-cross-compile --enable-optimizations --disable-yasm --disable-altivec --enable-pic --enable-shared --disable-static --disable-swscale-alpha --disable-ffserver --disable-ffplay --enable-libmp3lame
libavutil 50. 40. 1 / 50. 40. 1
libavcodec 52.120. 0 / 52.120. 0
libavformat 52.108. 0 / 52.108. 0
libavdevice 52. 4. 0 / 52. 4. 0
libavfilter 1. 77. 0 / 1. 77. 0
libswscale 0. 14. 0 / 0. 14. 0
Input #0, mpeg, from 'kalvarey-temp-124-MPEG2PS.stf':
Duration: 00:02:52.29, start: 1.000000, bitrate: 23193 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 1920x816 [PAR 1:1 DAR 40:17], 104857 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
At least one output file must be specified
DiskStation>

Thanks
Senthil
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Mon Feb 20, 2012 9:36 pm

Re: MKV remuxing without transcoding

thats correct that file has not audio track.
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

ssmanian

Serviio newbie

Posts: 6

Joined: Mon Feb 20, 2012 8:29 pm

Post Mon Feb 20, 2012 11:32 pm

Re: MKV remuxing without transcoding

Thanks for the reply. Can you please let me know why the original mkv file plays fine with audio on a VLC player. So what would be the reason for ffmpeg to transcode it without the audio?

Also, can I just remux the mkv file without transcoding it?

Thanks
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Mon Feb 20, 2012 11:53 pm

Re: MKV remuxing without transcoding

ssmanian wrote:Thanks for the reply. Can you please let me know why the original mkv file plays fine with audio on a VLC player. So what would be the reason for ffmpeg to transcode it without the audio?

Also, can I just remux the mkv file without transcoding it?

Thanks


i wouldnt know as i havent seen info on original file, but sharp have bad support so answer is more than likely going to be no.
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

ssmanian

Serviio newbie

Posts: 6

Joined: Mon Feb 20, 2012 8:29 pm

Post Fri Feb 24, 2012 2:23 am

Re: MKV remuxing without transcoding

Update - After playing with ffmpeg for a while, I was able to transcode the mkv file to a stf file using ffmpeg and renamed it to mpeg. My TV can play this well and I did not notice much of a degrade in the picture quality. Transcoding on a synology with a low power CPU is extremely slow and painful but atleast there is a way to play these files.

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 15 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.