[FFmpeg-user] How to make AVI files from LGRH7500recordingwhichwill play on it?

Mark Vos mccmvos at xs4all.nl
Tue Dec 20 21:29:40 CET 2011


----- Original Message ----- 
From: "Dave Bevan" <dave.bevan at bbc.co.uk>
To: "FFmpeg user questions and RTFMs" <ffmpeg-user at ffmpeg.org>
Sent: Tuesday, December 20, 2011 8:29 PM
Subject: Re: [FFmpeg-user] How to make AVI files from 
LGRH7500recordingwhichwill play on it?


>>> Hi Mark.
>>>
>>> ...
>>>>I would be very gratefull if some expert could provide a clue, or even
>>>>better a command line I could try for ffmpeg (Windows build).
>>> ...
>>>
>>> Do a ffmpeg -i <your_original_filename_from_the_recorder>.avi and post 
>>> the
>>> entire output to the list. It will give us an idea of what version you 
>>> are
>>> running and the original, as created by the recorder, file format.
>>>
>>> --D.
>>>
>
>
> The relevant segment from your output was:
>
>
>>Input #0, mpeg, from 'VTS_01_1.VOB':
>>  Duration: 00:05:00.44, start: 0.218044, bitrate: 4245 kb/s
>>    Stream #0:0[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s
>>    Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 
>> 16:15 DAR 4:3], 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
>
>
> So, using http://code.google.com/p/ffmbc/, I did this:
>
> $ ffmbc -i 201112165232EU-SPAIN-ZAPATEROY_RAJOY.mpg -target dvd mark.vob
> FFmbc version 0.7-rc4
> Copyright (c) 2008-2011 Baptiste Coudurier and the FFmpeg developers
> Input #0, mpeg, from '201112165232EU-SPAIN-ZAPATEROY_RAJOY.mpg':
>  Duration: 00:00:57.21, start: 0.270644, bitrate: 7117 kb/s
>    Stream #0.0[0x1e0](und): Video: mpeg2video (Main), yuv420p, 720x576i 
> tff [PAR 64:45 DAR 16:9], 6500 kb/s, 25.00 fps
>    Stream #0.1[0x1c0](und): Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s
> Output #0, dvd, to 'mark.vob':
>  Metadata:
>    encoder: FFmbc 0.7
>    Stream #0.0(und): Video: mpeg2video, yuv420p, 720x576p [PAR 64:45 DAR 
> 16:9], 6000 kb/s, 25.00 fps
>    Stream #0.1(und): Audio: ac3, 48000 Hz, stereo, s16, 448 kb/s
> Stream mapping:
>  Stream #0.0 -> #0.0
>  Stream #0.1 -> #0.1
> Press [q] to stop, [?] for help
> [mpeg2video @ 0x1d098a0] rc buffer underflow
> frame= 1431 fps=137 q=2.0 Lsize=   45660kB time=00:00:57.20 
> bitrate=6539.3kbits/s    00:00:00.46
> video:41681kB audio:3131kB global headers:0kB muxing overhead 1.893800%
>
>
> FFmbc has -target, so selecting "dvd" created a file with the same 
> properties (mpeg2video, ac3 audio) as your source VOB file.
>
> Carl will whine about not using a current version, but this is what I use, 
> and it's created what you want - the "output" section matches what I think 
> you need.
>
> Rgds,


Thanks for your reply, but I don't quite grasp what you have done. I need to 
make an AVI file (xvid/divx or whatever) from my original recorded 
VTS_01_1.VOB. And, to be more specific, one that can also be played on the 
LG RH7500. I'm at a loss with all the parameters :-(
I'm not a video guru, just a modest computer user...
Could you suggest an ffmpeg command line to accomplish this?
Is info from an AVI file (from internet made by someone else, which does 
play fine) of any help?

-----------------
D:\temp3\ffmpeg\bin>ffmpeg -i archie.avi
ffmpeg version N-35709-g7d531e8, Copyright (c) 2000-2011 the FFmpeg 
developers
  built on Dec 12 2011 13:50:00 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm  
--en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger 
 -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil    51. 32. 0 / 51. 32. 0
  libavcodec   53. 43. 0 / 53. 43. 0
  libavformat  53. 24. 0 / 53. 24. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 53. 0 /  2. 53. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[mpeg4 @ 020D9C20] Invalid and inefficient vfw-avi packed B frames detected

Seems stream 0 codec frame rate differs from container frame rate: 30000.00 
(300
00/1) -> 29.97 (30000/1001)
Input #0, avi, from 'archie.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.4.1 (build 2178/release)
    IAS1            : English
  Duration: 00:25:31.49, start: 0.000000, bitrate: 1094 kb/s
    Stream #0:0: Video: mpeg4 (DX50 / 0x30355844), yuv420p, 640x480 [SAR 1:1 
DAR
 4:3], 29.97 fps, 29.97 tbr, 29.97 tbn, 30k tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 
112 kb
/s
At least one output file must be specified

D:\temp3\ffmpeg\bin>
-----------------





regards,

|\  /|
| \/ |@rk
 \../
  \/os



More information about the ffmpeg-user mailing list