Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#1 | Link |
Registered User
Join Date: Oct 2012
Posts: 2
|
P frame only intra refresh
Is it possible with x264 to create a P frame only intra refresh stream/file?
I have a test file from another encoder that is all P frames + recovery points I am trying to recreate with this command: x264 --input-res 1920x1080 --intra-refresh out.yuv --b-pyramid none --ref 0 -b 0 -o out.264 But I always get an I frame at the start |
![]() |
![]() |
![]() |
#5 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,427
|
Quote:
I think bidirectional prediction could be used to make a non-IDR first frame playable using intra refresh if predicted blocks in the first frame refer to intra blocks later in the GOP. But I'd be surprised someone would bother to make such an esoteric encoder feature. And that would require B-frames as well. An interesting concept for a "crazy encoder stunt." |
|
![]() |
![]() |
![]() |
#6 | Link |
Registered User
Join Date: Dec 2013
Posts: 279
|
For streaming SPS and PPS have to be transferred for decode as well. When streaming with RTP or similar these are relayed by the application layer, which gets them from the encoder or from the start of the stream the encoder put out. I dont know if it is possible to insert SPS/PPS at random points at certain P frames with x264 out of the box. So you may need this first I frame for stream headers.
By the way you should use more reference frames than 0, more like 3 or 4. |
![]() |
![]() |
![]() |
Tags |
intra_refresh |
Thread Tools | Search this Thread |
Display Modes | |
|
|