[FFmpeg-devel] .trp file format

Vladimir Pantelic pan
Mon Aug 27 19:46:33 CEST 2007


M?ns Rullg?rd wrote:
> Vladimir Pantelic <pan at nt.tu-darmstadt.de> writes:
> 
>> Mike Melanson wrote:
>>> Vladimir Pantelic wrote:
>>>> M?ns Rullg?rd wrote:
>>>> 
>>>>>>> Also, where did you get the TRP file? That might help us.
>>>>>> .trp file is a MPEG-TS file with H.264 video stream.
>>>>> Who calls such files by that name?  It's certainly no standard naming
>>>>> convention.
>>>> 
>>>> No, but I have such files as well, from a big european telco, so
>>>> the extension has some useage...
>>> 
>>> Any chance you could provide a small sample to the usual place?
>>
>> I'd love to, but I have to check the legal status on these first....
> 
> If they are nothing but regular MPEG TS files with a funny name we
> don't really need any samples.  However, if they are indeed special in
> some way we'd love to have a closer look.

 From what ffplay (and mplayer and myself) say, they are ordinary TS files:
(No, I'm not running latest SVN :-) ):

 > ffplay -stats test.trp
Input #0, mpegts, from 'test.trp':KB vq=    0KB sq=    0B
   Duration: 00:00:04.2, start: 2.206667, bitrate: 4785 kb/s
   Stream #0.0[0x1022]: Video: h264, yuv420p, 720x576, 25.00 fps(r)
   Stream #0.1[0x1023]: Audio: mp2, 48000 Hz, stereo, 128 kb/s



 > mplayer test.trp
MPlayer 1.0rc1-SUSE Linux 10.2 (i686)-Packman-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz (Family: 6, Model: 15, 
Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing test.trp.
TS file format detected.
VIDEO H264(pid=4130) AUDIO MPA(pid=4131) NO SUBS (yet)!  PROGRAM N. 1
FPS seems to be: 25.000000
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[AO SDL] Samplerate: 48000Hz Channels: Stereo Format s16le
AO: [sdl] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.36:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 786x576 Planar YV12
A:   3.2 V:   3.2 A-V:  0.027 ct: -0.059  26/ 26 21%  2%  0.6% 0 0
Exiting... (Quit)








More information about the ffmpeg-devel mailing list