This forum has been archived. All content is frozen. Please use KDE Discuss instead.

loading .ts HD clips

Tags: None
(comma "," separated)
User avatar
opensourcecat
Moderator
Posts
76
Karma
0
OS

loading .ts HD clips

Sun Jan 23, 2011 10:36 pm
Hi Guys
Recently i found myself in the need of elaborate video recorded from a dreambox decoder grabbed directly from a satellite stream. I should work on them as soon as they are recorded and make different version to upload on an ftp server, one to be easily burned onto a video DVD (better an iso) and another to be played from a media player. Both things can be easily accomplished with kdenlinve.

The problem i encountered at first is that while kdenlive can load the ts file and starts making thumbnails i can just work with the audio, the video is black. I have this problem with HD ts streams (h264/ac3 on ts container).

At the beginning i tought that was just a matter of container so i exctracted the video with:

ffmpeg -i file.ts -an -vcodec copy -f h264 file.mp4

This command gives a lot of errors on the command line but eventually produces a readable media, but while other players can read the video, kdenlive does not show it leaving the video track completely black. So it is clearly a problem on the h264 stream coming from the dreambox:

Input #0, mpegts, from 'partita.ts':
Duration: 02:35:00.19, start: 56435.152367, bitrate: 5341 kb/s
Program 7742
Stream #0.0[0xa5]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 57.21 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0.1[0x19a](ita): Audio: ac3, 48000 Hz, stereo, s16, 384 kb/s
Stream #0.2[0x19b](und): Audio: ac3, 48000 Hz, stereo, s16, 384 kb/s
Stream #0.3[0x318]: Data: [5][0][0][0] / 0x0005
Stream #0.4[0x812]: Data: [5][0][0][0] / 0x0005
Stream #0.5[0x1a2](ara): Audio: mp2, 48000 Hz, 2 channels, s16, 192 kb/s
Stream #0.6[0x83b]: Data: [5][0][0][0] / 0x0005
Stream #0.7[0x898]: Data: [5][0][0][0] / 0x0005


How can i help debuggin this? Should i open a bugzilla entry?



User avatar
opensourcecat
Moderator
Posts
76
Karma
0
OS

Re: loading .ts HD clips

Tue Jan 25, 2011 2:37 pm
Hi tanks for reply

This is what mediainfo says (25.0fps!!??)


General
ID : 15E0
Complete name : /media/LaCie/partita.ts
Format : MPEG-TS
File size : 5.78 GiB
Duration : 2h 34mn
Overall bit rate : 5 341 Kbps

Video
ID : 165 (0xA5)
Menu ID : 7742 (0x1E3E)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Format settings, GOP : M=1, N=40
Duration : 2h 34mn
Bit rate : 4 108 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Standard : Component
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.079
Stream size : 4.45 GiB (77%)
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

About converting it to DNxHD i tried to leave it converting overnight and after 8 hours it was barely at 50% converting 6fps. Strange because it started at 24 and i have an intel core i3.

I will try to demux with tsmuxer




Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]