You are not logged in.

#1 2008-08-07 13:22:10

11010010110
Member
Registered: 2008-01-14
Posts: 284

converting Real video clips to something else

I have some Real media clips created in ~1999. I want to convert them to something that opens more smoothly in linux

I have ffmpeg xine kaffeine installed

Some clips make kaffeine crash

Some open in maybe 2 FPS frame rate

1 How do i convert them ?

2 How do some open at all ? (ffmpeg refuses to convert any of them)




FFmpeg output on clips that wont open :

ffmpeg -i m3d.rm m3d.mp4 
FFmpeg version UNKNOWN, Copyright (c) 2000-2008 Fabrice Bellard, et al. 
   configuration: --prefix=/usr --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-libfaac --enable-libfaad --enable-liba52 --enable-libxvid --enable-libx264 --enable-libtheora --enable-postproc --enable-shared --enable-pthreads --enable-x11grab --enable-swscale 
libavutil version: 49.7.0 
libavcodec version: 51.60.0 
libavformat version: 52.17.0 
libavdevice version: 52.0.0 
built on Jul 15 2008 21:58:27, gcc: 4.3.1 20080626 (prerelease) 
[NULL @ 0xb7cdf9b0]Unsupported video codec 
[NULL @ 0xb7cdf9b0]Unsupported video codec 
[NULL @ 0xb7cdf9b0]Unsupported video codec 
m3d.rm: memory allocation error occurred

FFmpeg output on clips that open

ffmpeg -i episode1.rm episode1.mp4 
FFmpeg version UNKNOWN, Copyright (c) 2000-2008 Fabrice Bellard, et al. 
   configuration: --prefix=/usr --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-libfaac --enable-libfaad --enable-liba52 --enable-libxvid --enable-libx264 --enable-libtheora --enable-postproc --enable-shared --enable-pthreads --enable-x11grab --enable-swscale 
libavutil version: 49.7.0 
libavcodec version: 51.60.0 
libavformat version: 52.17.0 
libavdevice version: 52.0.0 
built on Jul 15 2008 21:58:27, gcc: 4.3.1 20080626 (prerelease) 
[NULL @ 0xb7b609b0]Unsupported video codec 
[NULL @ 0xb7b609b0]Unsupported video codec 
[NULL @ 0xb7b609b0]Unsupported video codec 
Input #0, rm, from 'episode1.rm': 
Duration: 00:22:32.32, start: 0.000000, bitrate: 315 kb/s 
Stream #0.0: Data: 0x0000, 64 kb/s 
Stream #0.1: Data: 0x0000, 285 kb/s 
Stream #0.2: Data: 0x0000 
Stream #0.3: Audio: cook, 8000 Hz, mono, 8 kb/s 
Stream #0.4: Video: rv20, 320x240, 30 kb/s, 12.00 tb(r) 
Stream #0.5: Video: rv20, 320x240, 20 kb/s, 12.00 tb(r) 
Stream #0.6: Video: rv20, 320x240, 14 kb/s, 12.00 tb(r) 
Stream #0.7: Audio: cook, 22050 Hz, stereo, 44 kb/s 
Stream #0.8: Video: rv20, 320x240, 180 kb/s, 12.00 tb(r) 
Stream #0.9: Video: rv20, 320x240, 124 kb/s, 12.00 tb(r) 
Stream #0.10: Audio: cook, 44100 Hz, stereo, 64 kb/s 
Stream #0.11: Video: rv20, 320x240, 285 kb/s, 12.00 tb(r) 
Stream #0.12: Audio: cook, 8000 Hz, mono, 8 kb/s 
Stream #0.13: Audio: cook, 8000 Hz, mono, 8 kb/s 
Stream #0.14: Video: rv20, yuv420p, 320x240, 30 kb/s, 12.00 tb(r) 
Stream #0.15: Video: rv20, 320x240, 30 kb/s, 12.00 tb(r) 
Stream #0.16: Video: rv20, 320x240, 30 kb/s, 12.00 tb(r) 
Stream #0.17: Video: rv20, 320x240, 14 kb/s, 12.00 tb(r) 
swScaler: Unknown format is not supported as input pixel format 
Cannot get resampling context

Offline

#2 2008-08-07 14:58:46

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: converting Real video clips to something else

Mplayer (with the codecs package) and VLC can read and transcode most RealPlayer files. The FFmpeg devs don't care enough. They have the code in the GOC tree, but the guy working on it would rather do other things and no one else wants to pick it up. Although rv20 should work. Hmmm?

Last edited by skottish (2008-08-07 14:59:23)

Offline

#3 2008-08-07 15:54:23

11010010110
Member
Registered: 2008-01-14
Posts: 284

Re: converting Real video clips to something else

Tested now in vlc and mplayer

Vlc crashes on all videos

Mplayer plays allmost nice the ones that kaffeine plays

When it is open a lot of error messages open and close in the background like a constant rush. The video is delayed a tiny bit with each message and eventually comes out of sync with the audio

Offline

#4 2008-08-07 17:31:56

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: converting Real video clips to something else

If VLC can't play them, then there may be something wrong with the headers. VLC has the highest error tolerance of just about anything in the universe. FFmpeg on the other hand has almost none by design. They're very strict in everything they do (hurray!).

That top file you posted is strange. I've never seen anything like it. Ten video tracks?

Offline

#5 2008-08-07 18:34:47

11010010110
Member
Registered: 2008-01-14
Posts: 284

Re: converting Real video clips to something else

Offline

#6 2008-08-07 19:22:22

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: converting Real video clips to something else

Yeah, Mplayer and FFplay are both reporting header errors. I think that this may be one of RealPlayer's infamous variable bitrate files and that's why it's showing so many different tracks. I tried to dump the contents of the file to see if it would help and it doesn't. VLC doesn't play nicely with E17, so I don't have it installed.

Offline

#7 2008-08-07 21:19:53

11010010110
Member
Registered: 2008-01-14
Posts: 284

Re: converting Real video clips to something else

ash ~ cd Desktop/
ash Desktop mencoder episode1.rm -ovc lavc -oac mp3lame -o episode1.avi
MEncoder 1.0rc2-4.3.1 (C) 2000-2007 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Model: 8, Stepping: 10)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
115 audio & 237 video codecs
success: format: 0  data: 0x0 - 0x32cbfe0
REAL file format detected.
Stream description: audio/x-pn-multirate-realaudio logical stream
Stream mimetype: logical-audio/x-pn-multirate-realaudio
Stream description: video/x-pn-multirate-realvideo logical stream
Stream mimetype: logical-video/x-pn-multirate-realvideo
Stream description: fileinfo
Stream mimetype: logical-fileinfo
Stream description: Audio Stream
Stream mimetype: audio/x-pn-multirate-realaudio
[real] Audio stream found, -aid 0
Stream description: Video Stream
Stream mimetype: video/x-pn-multirate-realvideo
[real] Video stream found, -vid 1
Stream description: Video Stream
Stream mimetype: video/x-pn-multirate-realvideo
[real] Video stream found, -vid 4
Stream description: Video Stream
Stream mimetype: video/x-pn-multirate-realvideo
[real] Video stream found, -vid 5
Stream description: Audio Stream
Stream mimetype: audio/x-pn-multirate-realaudio
[real] Audio stream found, -aid 6
Stream description: Video Stream
Stream mimetype: video/x-pn-multirate-realvideo
[real] Video stream found, -vid 7
Stream description: Video Stream
Stream mimetype: video/x-pn-multirate-realvideo
[real] Video stream found, -vid 8
Stream description: Audio Stream
Stream mimetype: audio/x-pn-multirate-realaudio
[real] Audio stream found, -aid 9
Stream description: Video Stream
Stream mimetype: video/x-pn-multirate-realvideo
[real] Video stream found, -vid 10
Stream description: Audio Stream
Stream mimetype: audio/x-pn-realaudio
[real] Audio stream found, -aid 11
Stream description: Audio Stream
Stream mimetype: audio/x-pn-multirate-realaudio
[real] Audio stream found, -aid 12
Stream description: Video Stream
Stream mimetype: video/x-pn-realvideo
[real] Video stream found, -vid 13
Stream description: Video Stream
Stream mimetype: video/x-pn-multirate-realvideo
[real] Video stream found, -vid 14
Stream description: Video Stream
Stream mimetype: video/x-pn-multirate-realvideo
[real] Video stream found, -vid 15
Stream description: Video Stream
Stream mimetype: video/x-pn-multirate-realvideo
[real] Video stream found, -vid 17
Something went wrong, no index chunk found on given address (138975915)
Something went wrong, no data chunk found on given address (6128)
VIDEO:  [RV20]  320x240  24bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:11  fourcc:0x30325652  size:320x240  fps:30.00  ftime:=0.0333
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 64.7 kbit/4.58% (ratio: 8086->176400)
Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffrv20] vfm: ffmpeg (FFmpeg RV20 decoder)
==========================================================================
MP3 audio selected.

Flushing video frames.
Filters have not been configured! Empty file?
Writing index...
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

Video stream:      nan kbit/s  (-2147483648 B/s)  size: 0 bytes  0.000 secs  0 frames

Audio stream:      nan kbit/s  (-2147483648 B/s)  size: 0 bytes  0.000 secs
Segmentation fault

Offline

Board footer

Powered by FluxBB