Page 1 of 1

Converting TS to MP4 problem. How to record MKV video to MKV or MP4?

Posted: 14 Feb 2016 17:42
by Llaycrymossa
Hi! I have a problem with VLC Media Player. I open my MKV file. Then I want to record small part of video (15 seconds) using record button in VLC. When record is done, I check it, VLC can plays it, everything is ok.
BUT. The video format is .TS and I would like to have it in MKV or MP4 format. So then I go back to VLC and I try to convert this 15 seconds piece from .TS to .MP4.

But everytime I click convert, the window immediately disappears and it acts like it is ''super speed done'' and it is in my output folder. Then I open the converted file but the error shows up with this message:
VLC can t recognize the input's format: The format of file:///C:/Users/_/_/2200.mp4 cannot be detected. Have a look at the log for details. (the details are bellow)

Is it possible to change recording output format somehow?
I just want my 15 sec file to be MP4 or MKV.

I have been searching the whole internet, but nothing. Please help, I really don t know what to do.
AND please, I don't want to use any other software. I want to solve this problem.
Thank you!

DETAILS:

Code: Select all

core debug: adding item `2200.mp4' ( file:///C:/Users/user/Desktop/2200.mp4 ) core debug: processing request item: 2200.mp4, node: Playlist, skip: 0 core debug: rebuilding array of current - root Playlist core debug: rebuild done - 3 items, index 2 core debug: starting playback of the new playlist item core debug: resyncing on 2200.mp4 core debug: 2200.mp4 is at 2 core debug: creating new input thread core debug: Creating an input for '2200.mp4' core debug: Creating an input for '2200.mp4' core debug: requesting art for 2200.mp4 core debug: using timeshift granularity of 50 MiB, in path 'C:\Users\user\AppData\Local\Temp' core debug: `file:///C:/Users/user/Desktop/2200.mp4' gives access `file' demux `' path `/C:/Users/Daniela/Desktop/2200.mp4' core debug: specified demux `any' core debug: creating demux: access='file' demux='any' location='/C:/Users/user/Desktop/2200.mp4' file='C:\Users\Daniela\Desktop\2200.mp4' core debug: looking for access_demux module matching "file": 12 candidates core debug: no access_demux modules matched core debug: looking for meta fetcher module matching "any": 1 candidates core debug: creating access 'file' location='/C:/Users/Daniela/Desktop/2200.mp4', path='C:\Users\user\Desktop\2200.mp4' core debug: looking for access module matching "file": 21 candidates filesystem debug: opening file `C:\Users\user\Desktop\2200.mp4' core debug: using access module "filesystem" core debug: Using stream method for AStream* lua debug: Trying Lua scripts in C:\Users\user\AppData\Roaming\vlc\lua\meta\fetcher core debug: starting pre-buffering lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher core debug: received first data after 0 ms core debug: looking for stream_filter module matching "any": 6 candidates lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: no stream_filter modules matched core debug: looking for stream_filter module matching "record": 6 candidates core debug: using stream_filter module "record" core debug: creating demux: access='file' demux='any' location='/C:/Users/user/Desktop/2200.mp4' file='C:\Users\Daniela\Desktop\2200.mp4' core debug: looking for demux module matching "mp4": 66 candidates mp4 debug: found an empty box (null size) mp4 debug: found an empty box (null size) es error: cannot peek es error: cannot peek mod debug: MOD validation failed (ext=mp4) lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac avcodec debug: trying url: C:\Users\user\Desktop\2200.mp4 avcodec debug: CPU flags: 0x010053db core debug: no meta fetcher modules matched core debug: searching art for 2200.mp4 core debug: looking for art finder module matching "any": 2 candidates avcodec debug: detected format: mov,mp4,m4a,3gp,3g2,mj2 avcodec error: Could not open C:\Users\user\Desktop\2200.mp4: Unknown error lua debug: Trying Lua scripts in C:\Users\user\AppData\Roaming\vlc\lua\playlist lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\playlist lua debug: Trying Lua scripts in C:\Users\user\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\anevia_streams.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\anevia_xml.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\appletrailers.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\bbc_co_uk.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\break.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac core debug: no art finder modules matched core debug: looking for meta fetcher module matching "any": 1 candidates lua debug: Trying Lua scripts in C:\Users\user\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\canalplus.luac core debug: using meta fetcher module "lua" core debug: removing module "lua" core debug: searching art for 2200.mp4 core debug: looking for art finder module matching "any": 2 candidates lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\cue.luac lua debug: Trying Lua scripts in C:\Users\user\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\dailymotion.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\extreme.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac qt4 debug: IM: Setting an input lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\france2.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\googlevideo.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac core debug: no art finder modules matched core debug: art not found for 2200.mp4 lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\jamendo.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\joox.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\katsomo.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\koreus.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\lelombrik.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\liveleak.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\metacafe.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\metachannels.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\mpora.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\pinkbike.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\pluzz.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\rockbox_fm_presets.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\soundcloud.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\vimeo.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\youtube.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\youtube_homepage.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\zapiks.luac ps error: cannot peek vobsub debug: could not read vobsub IDX file core debug: no demux modules matched core error: no suitable demux module for `file/any:///C:/Users/user/Desktop/2200.mp4' core debug: removing module "record" core debug: removing module "filesystem" core debug: finished input core debug: dead input core debug: meta ok for (null), need to fetch art core debug: changing item without a request (current 2/3) core debug: nothing to play core debug: looking for meta fetcher module matching "any": 1 candidates lua debug: Trying Lua scripts in C:\Users\user\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: no meta fetcher modules matched core debug: searching art for 2200.mp4 core debug: looking for art finder module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\user\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac core debug: no art finder modules matched core debug: looking for meta fetcher module matching "any": 1 candidates lua debug: Trying Lua scripts in C:\Users\user\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: using meta fetcher module "lua" core debug: removing module "lua" core debug: searching art for 2200.mp4 core debug: looking for art finder module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\user\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac core debug: no art finder modules matched core debug: art not found for 2200.mp4 qt4 debug: IM: Deleting the input

Re: Converting TS to MP4 problem. How to record MKV video to MKV or MP4?

Posted: 15 Feb 2016 08:23
by Lotesdelere
Is it possible to change recording output format somehow?
No, the record button records streams in their native formats but depending on the formats it will automatically use the best container according to these streams.
vobsub debug: could not read vobsub IDX file
Looks like your source file is containing some stream(s), maybe subtitles, that VLC can't deal with or can't mux.

In your case, the best is to use a dedicated video editor.
Some examples of free and open source ones, among other ones:
Avidemux
Shotcut

Re: Converting TS to MP4 problem. How to record MKV video to MKV or MP4?

Posted: 30 Aug 2016 18:21
by papyon
hi .
i an new in English.and so sorry.and very happy to see your good forum.
so:
i have a problem l when i want to record any stream with Vlc. because the recorded clip is in .ts format but i want with MPEG-4 (h264) format.
so how can i adjust my recorder?
for example my url is:
http://alarabiya-geo-live.hls.adaptive. ... ream1.m3u8

and i need catch after recording with mp4.
thank you very well.
i am waiting you .and you have my gmail address.

Re: Converting TS to MP4 problem. How to record MKV video to MKV or MP4?

Posted: 30 Aug 2016 21:07
by WinfridT
Before it takes a long time to find a direct solution -
vlc should be able to convert a .ts file to .mp4

Start vlc, then CTRL+R - this will open a dialog to convert a video