Slugshot
20th September 2010, 23:13
Hi,
I try to create a m1v file with mpeg codec from a single jpeg (used as background picture for Dreambox satellite receivers) with the following specs:
Format : MPEG Video
Format version : Version 2
File size : 90.5 KiB
Duration : 33ms
Overall bit rate : 22.5 Mbps
Video
Format : MPEG Video
Format version : Version 2
Format profile : Main@High
Format settings, Matrix : Default
Duration : 33ms
Bit rate mode : Variable
Bit rate : 19.4 Mbps
Width : 1280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 30.000 fps
Standard : Component
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.310
Stream size : 78.1 KiB (86%)
This one was created with mpeg2enc and plays fine on my Dreambox. I used following code to created the file:
mpeg2enc <path to input *.yuv> -v 0 -f 13 -x xRES -y yRES -a 3 -4 1 -2 1 -q 1 -H --level high -o <path to output *.m1v
The input for mpeg2enc is a JPEG file transformed with the following code:
jpeg2yuv -v 0 -f 30 -n1 -I p -A 16:9 -j <path to input *.jpg>
But when i try to create an equivalent *.m1v file with mencoder the mediainfo looks like follows and wonīt be played on my Dream:
Format : MPEG-PS
File size : 146 KiB
Duration : 33ms
Overall bit rate : 29.9 Mbps
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format settings, Matrix : Default
Duration : 33ms
Bit rate mode : Variable
Width : 1280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 30.000 fps
Scan type : Progressive
I used following code to create the m1v with mencoder:
mencoder mf://<path to input *.jpg> -mf fps=30:type=jpg -ovc lavc -lavcopts vcodec=mjpeg -o <path to output *.m1v>
I also tried the "-of mpeg" flag without getting a playable result.
Enclosed you will find the playable m1v I created with mpeg2enc.
I need to use mencoder on a Linux system to create my file with the specs from the one created with mpeg2enc. No other tools are available. It would be nice to hear any suggestions.
So far
Andy
I try to create a m1v file with mpeg codec from a single jpeg (used as background picture for Dreambox satellite receivers) with the following specs:
Format : MPEG Video
Format version : Version 2
File size : 90.5 KiB
Duration : 33ms
Overall bit rate : 22.5 Mbps
Video
Format : MPEG Video
Format version : Version 2
Format profile : Main@High
Format settings, Matrix : Default
Duration : 33ms
Bit rate mode : Variable
Bit rate : 19.4 Mbps
Width : 1280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 30.000 fps
Standard : Component
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.310
Stream size : 78.1 KiB (86%)
This one was created with mpeg2enc and plays fine on my Dreambox. I used following code to created the file:
mpeg2enc <path to input *.yuv> -v 0 -f 13 -x xRES -y yRES -a 3 -4 1 -2 1 -q 1 -H --level high -o <path to output *.m1v
The input for mpeg2enc is a JPEG file transformed with the following code:
jpeg2yuv -v 0 -f 30 -n1 -I p -A 16:9 -j <path to input *.jpg>
But when i try to create an equivalent *.m1v file with mencoder the mediainfo looks like follows and wonīt be played on my Dream:
Format : MPEG-PS
File size : 146 KiB
Duration : 33ms
Overall bit rate : 29.9 Mbps
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format settings, Matrix : Default
Duration : 33ms
Bit rate mode : Variable
Width : 1280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 30.000 fps
Scan type : Progressive
I used following code to create the m1v with mencoder:
mencoder mf://<path to input *.jpg> -mf fps=30:type=jpg -ovc lavc -lavcopts vcodec=mjpeg -o <path to output *.m1v>
I also tried the "-of mpeg" flag without getting a playable result.
Enclosed you will find the playable m1v I created with mpeg2enc.
I need to use mencoder on a Linux system to create my file with the specs from the one created with mpeg2enc. No other tools are available. It would be nice to hear any suggestions.
So far
Andy