View Full Version : how to encode a x264 file like this?
fsnfs
5th January 2011, 10:15
My equrement can only play the file which must be fully match the file like the following link:
original MP4 file:
http://www.mediafire.com/?0rer711je1y4s4r
modified but failed, it can not play in my DV:
http://www.mediafire.com/?cu7cohvulypa14j
modified and succeed, it can play in my DV:
http://www.mediafire.com/?1ddy1y78645wkyz
(and I don't konw what is the different between these 3 files)
I try alot, such as:
(1) level 4.0 --no-cabac --min-keyint 0 --b-adapt 2 --ref 2 --weightp 0 --subme 0
(2) main --level 4 --ref 2 --crf 20 --vbv-maxrate 20000 --vbv-bufsize 20000
(3) ...
but not succeed. I don't konw how to set the profile of this. Anyone can tell me how to encode this x264 file? or use another software to encode this x264 file?
The succeeded one which is used a software "My MP4Box GUI" to splited.
fsnfs
5th January 2011, 10:19
rar part 1:
http://forum.doom9.org/attachment.php?attachmentid=11922&stc=1&d=1294218163
rar part 2:
http://forum.doom9.org/attachment.php?attachmentid=11923&stc=1&d=1294218302
rar part 3:
http://forum.doom9.org/attachment.php?attachmentid=11924&stc=1&d=1294218461
rar part 4:
http://forum.doom9.org/attachment.php?attachmentid=11925&stc=1&d=1294218657
rar part 5:
http://forum.doom9.org/attachment.php?attachmentid=11926&stc=1&d=1294218714
rar part 6:
http://forum.doom9.org/attachment.php?attachmentid=11927&stc=1&d=1294219083
uploading progress error, follow attachment only show one of six file
nm
5th January 2011, 11:36
Upload to MediaFire, attachments aren't available until a mod approves them and I'm not sure if large video files are tolerated.
What is the name and model of your player device?
fsnfs
5th January 2011, 16:24
Upload to MediaFire, attachments aren't available until a mod approves them and I'm not sure if large video files are tolerated.
What is the name and model of your player device?
my device is a DV- Sanyo FH1
I want to play movies when on my trip.
fsnfs
5th January 2011, 16:27
the attachments is uploaded in this forum. the file only 1.33m (1sec) , I rar it to six parts
nm
5th January 2011, 16:38
the attachments is uploaded in this forum
But we can't download them until they are approved by higher powers. The common practice here is to upload sample clips to a file sharing site.
Blue_MiSfit
5th January 2011, 17:05
Yes please do use Mediafire or other free file hosting services. This way you won't have to split the file either :)
Thanks!
Derek
fsnfs
6th January 2011, 06:22
thank you! I uploaded to Mediafire, here is my link:
http://www.mediafire.com/?0rer711je1y4s4r
Blue_MiSfit
7th January 2011, 00:01
So you want to encode video clips on your PC to put in your camera, and use the camera as a viewing device, eh? :)
Interesting!
Based on your file, here's what I would suggest:
x264.exe input.avs --profile main --level 4 --ref 2 --crf 20 --vbv-maxrate 20000 --vbv-bufsize 20000
Adjust the CRF number to get a different bitrate. This SHOULD work, but you may need more restriction.
Derek
fsnfs
7th January 2011, 01:53
So you want to encode video clips on your PC to put in your camera, and use the camera as a viewing device, eh? :)
Interesting!
Based on your file, here's what I would suggest:
x264.exe input.avs --profile main --level 4 --ref 2 --crf 20 --vbv-maxrate 20000 --vbv-bufsize 20000
Adjust the CRF number to get a different bitrate. This SHOULD work, but you may need more restriction.
Derek
I have try it before, failed.May be should know the Frame-type option (tff or bff?) and Partitions option (p8x8 or p4x4?) :(
Blue_MiSfit
7th January 2011, 02:05
That example was progressive-scan, i.e. no field order.
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4.0
Format settings, CABAC : No
Format settings, ReFrames : 2 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1s 468ms
Bit rate mode : Variable
Bit rate : 5 905 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 59.940 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.048
Stream size : 1.03 MiB (79%)
Language : English
Strangely, it's also coded at 1080p59.94, which technically requires level 4.2.
The partitions should have nothing to do with it. I just now realized this was encoded with CAVLC (--no-cabac), so it's good you at least tried that :)
As a device primarily designed to only play its own recordings, there may be some bizarre eccentricities with the decoder in your camera, unfortunately. Have you ever played any third party content on it?
What resolution / frame rate is the content you're trying to encode for this camera?
Derek
fsnfs
7th January 2011, 09:26
the following MP4 file had been modified by MP4BOX_GUI. It can be play in this DV
http://www.mediafire.com/?1ddy1y78645wkyz
I notice that the copyright information is removed, and the HeaderSize and FooterSize is changed.
fsnfs
7th January 2011, 09:30
I have try no-cabac before, it does't work at all.
it's coded at 1080p59.94, but shows that it is Main@L4, should I encode L4.2? I also try Main@L4 and Main@L4.2 but failed.
what about the frame-type option? May it do something of this ?
the resolution and frame I try to encode is the same as the source: 1920x1080 / 60fps
sneaker_ger
7th January 2011, 12:47
Try this file:
http://www.mediafire.com/?lqqizzezc79upfe
fsnfs
7th January 2011, 14:23
Try this file:
http://www.mediafire.com/?lqqizzezc79upfe
the same result:failed.
the difference between "?lqqizzezc79upfe" and "?1ddy1y78645wkyz" are as follow:
file: ___________lqqizzezc79upfe ___________ 1ddy1y78645wkyz
Average DRF: 25.44__________________ 20.133333
Standard deviation: 1.061319 _________ 0.426874
Max DRF: 28 _____________________ 22
DRF<25: 0 ( 0.000 %) _________DRF<20: 0
DRF=25: 64 ( 85.333 %) _________ DRF=20: 54
DRF=26: 0 ( 0.000 %) _________ DRF=21: 4
DRF=27: 0 ( 0.000 %) _________ DRF=22: 2
DRF=28: 11 ( 14.667 %) _________ DRF>22: 0
DRF>28: 0 ( 0.000 %)
P-slices average DRF: 25.452054 ______20.118644
P-slices std. deviation: 1.073224 ____ 0.415167
P-slices max DRF: 28 ______________ 22
I-slices average DRF: 25 _____________ 21
I-slices std. deviation: 0 ______________21
I-slices max DRF: 25 ________________21
P-slices: 73_______________________59
I-slices:2 _________________________1
fsnfs
7th January 2011, 14:28
is the DRF the key to the problem?
the DRF Graph:
sneaker_ger
7th January 2011, 14:39
I'm out then. I tried a different muxer and deactivated weightp, b-frames (Main supports them, I know) and cabac...
fsnfs
7th January 2011, 17:18
I found that:
original MP4 file:
http://www.mediafire.com/?0rer711je1y4s4r
modified but failed, it can not play in my DV:
http://www.mediafire.com/?cu7cohvulypa14j
modified and succeed, it can play in my DV:
http://www.mediafire.com/?1ddy1y78645wkyz
I don't konw what is the different between them.
fsnfs
9th January 2011, 10:46
Any one who has a idea?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.