Hi list,

I am aware that the subject might be misleading, but I'm having a hard time 
converting a video file into another format that is readable by my software.

I'm using MATLAB to read video files; under Linux, this means that either the 
files must be uncompressed AVI or "MPEG" files, although I have no further 
specification on the latter as far as codec information goes. I assume it to be 
MPEG2.

I have two functions that read either AVI or MPEG but both are not well 
documented and do not give out any verbose information if they fail.

These files work for the MPEG import:
[tcprobe] MPEG elementary stream (ES)
[tcprobe] summary for Video_001.mpg, (*) = not default, 0 = not detected
import frame size: -g 384x288 [720x576] (*)
     aspect ratio: 4:3 (*)
       frame rate: -f 25.000 [25.000] frc=3 
   no audio track: use "null" import module for audio

I have no "uncompressed AVI" files available so I couldn't test them. BUT I 
have compressed AVIs here:
[tcprobe] RIFF data, AVI video
[avilib] V: 25.000 fps, codec=MP43, frames=2756, width=720, height=576
[avilib] A: 44100 Hz, format=0x01, bits=16, channels=2, bitrate=1411 kbps,
[avilib]    1320 chunks, 19407308 bytes, CBR
[tcprobe] summary for Video001.avi, (*) = not default, 0 = not detected
import frame size: -g 720x576 [720x576] 
       frame rate: -f 25.000 [25.000] frc=3 
      audio track: -a 0 [0] -e 44100,16,2 [48000,16,2] -n 0x1 [0x2000] (*)
                   bitrate=1411 kbps
           length: 2756 frames, frame_time=40 msec, duration=0:01:50.240

The problem is now that I need to access the compressed AVIs. I can either 
transcode them to be uncompressed, or to the above MPEG format. I don't care 
which format is used, but I need to know whether any of this is possible using 
transcode?

I have tried with the "-y raw" option, but this fails. If I transcode the AVI 
using ffmpeg as export module, tcprobe still says it is an AVI. How could I 
change the container format, then?

Thanks for any help. I hope this has not been too confusing.

Stephan
-- 
"I get to go to lots of overseas places, like Canada."
                                -- Britney Spears

Reply via email to