Mpeg Movie won't play ...
Posted: Sun Oct 11, 2015 11:49 am
I'm trying to get a mpeg movie to play but no luck so far :/ so I read a bit more carefully the renpy movies reference page...
and it says that a audio track is required. lets add one with ffmpeg (using version 2.8)
original file, mediainfo output:
I searched the web and came up with this:
mediainfo output:
The move is now "playing" but stuttering like hell? What I'm doing wrong?
Thanks ...
and it says that a audio track is required. lets add one with ffmpeg (using version 2.8)
original file, mediainfo output:
Code: Select all
General
Complete name : input.mpg
Format : MPEG-PS
File size : 9.68 MiB
Duration : 10s 0ms
Overall bit rate : 8 123 Kbps
Writing library : encoded by TMPGEnc (ver. 2.525.64.184)
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 1
Format settings, BVOP : Yes
Format settings, Matrix : Default
Format settings, GOP : M=3, N=9
Duration : 10s 0ms
Bit rate : 8 000 Kbps
Width : 800 pixels
Height : 600 pixels
Display aspect ratio : 4:3
Frame rate : 30.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.556
Time code of first frame : 00:00:00:00
Time code source : Group of pictures header
Stream size : 9.49 MiB (98%)
Writing library : TMPGEnc 2.525.64.184
Code: Select all
ffmpeg -f lavfi -i aevalsrc=0 -i input.mpg -vcodec copy -acodec mp2 -ab 128000 -map 0:0 -map 1:0 -shortest -strict experimental -y out.mpg
Code: Select all
General
Complete name : out.mpg
Format : MPEG-PS
File size : 9.73 MiB
Duration : 10s 0ms
Overall bit rate : 8 163 Kbps
Writing library : encoded by TMPGEnc (ver. 2.525.64.184)
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 1
Format settings, BVOP : Yes
Format settings, Matrix : Default
Format settings, GOP : M=3, N=9
Duration : 10s 0ms
Bit rate : 7 872 Kbps
Maximum bit rate : 8 000 Kbps
Width : 800 pixels
Height : 600 pixels
Display aspect ratio : 4:3
Frame rate : 30.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.547
Time code of first frame : 00:00:00:00
Time code source : Group of pictures header
Stream size : 9.38 MiB (96%)
Writing library : TMPGEnc 2.525.64.184
Audio
ID : 192 (0xC0)
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Duration : 9s 979ms
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel count : 1 channel
Sampling rate : 44.1 KHz
Compression mode : Lossy
Delay relative to video : -11ms
Stream size : 156 KiB (2%)
Thanks ...