Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VCL Media Player/MP4/H.264 decoder is stupid enough to add a black frame.

2 views
Skip to first unread message

Skybuck Flying

unread,
Jul 31, 2022, 3:32:06 PM7/31/22
to
This fucks up repeat mode and shows a black frame at the end of the video loop.

Stupid fucking morons !

Also do the world a big favor and add a "ping pong" repeat loop.

Where the playback pings pongs back and forth... through time

From Start to Back
and then
From Back to Start
and then
Repeat.

I just took me 2 hours and 45 minutes to get a ping pong loop working.

It did work with dir /s /o:-N and then copieing the input image sequence to output image sequence and then using virtual dub to make AVI/RGB888 video...

Openshot video couldn't do it properly... cause it made mistakes in the frames with the dumbass buggy time reverse mode... it produces hickups.

Then after inputting the AVI/RGB888 from virtualdub into openshot and exporting it to MP4/H.264 and setting VCL media player to "normal repeat" it discover this black frame at the end, how fucking annoying.

It also display a stupid title at the start... haha.

There were also other playback issues when exporting/saving with virtualdub to avi/internal dib decoder fails to decompress it or whatever..

There are so many issues with all of these software packages, shame on you video editor makers, test it better, make it better !

I have no time to register at VCL forum.

Reporting bugs should take 3 minutes anonymous.

Somebody else report this at their motherfuckig forum, fucking idiots.

Bye,
Skybuck.

Paul

unread,
Jul 31, 2022, 10:11:02 PM7/31/22
to
It's possible you need to prepare your video a different way.

For AVI2 OpenDML, that would be virtually impossible (playing backwards).
It gets tied in knots when seeking. That is one lousy-ass format.

Cinepak has nice seek behavior, but it is a total pig from
any other point of view. To transcode to Cinepak takes... eternity.

And there is a good chance, if you post your special video to
Youtube, Youtube will re-encode it... and ruin it again. So any
bidirectional videos you make in your own kitchen, stay in
your kitchen.

If the video format you propose to use has GOPs, you should
round the number of frames to an even number of GOPs. For example,
if GOP is 12, and you're making 24FPS (GOP is half a second),
then 1200 images in the video would be good, as that is divisible
by 12. At 30FPS, the GOP selection might be 15. If you really
expect your reversible video to work, it needs a nicely rounded
number of GOPs (groups of pictures).

I'm no video expert, but I've done the odd experiment.

Even your sound needs to be prepared the right way. An MP3
would reverse poorly. A WAV (PCM) might be better, but you'll
have to test.

Paul

Paul

unread,
Aug 1, 2022, 4:28:45 AM8/1/22
to
On 7/31/2022 10:10 PM, Paul wrote:
> On 7/31/2022 3:32 PM, Skybuck Flying wrote:
>> This fucks up repeat mode and shows a black frame at the end of the video loop.
>>
>> Stupid fucking morons !
>>
>> Also do the world a big favor and add a "ping pong" repeat loop.
>>
>> Where the playback pings pongs back and forth... through time
>>
>>  From Start to Back
>> and then
>>  From Back to Start
>> and then
>> Repeat.
>>
>> I just took me 2 hours and 45 minutes to get a ping pong loop working.
>>
>> It did work with dir /s /o:-N and then copieing the input image sequence to output image sequence and then using virtual dub to make AVI/RGB888 video...
>>
>> Openshot video couldn't do it properly... cause it made mistakes in the frames with the dumbass buggy time reverse mode... it produces hickups.
>>
>> Then after inputting the AVI/RGB888 from virtualdub into openshot and exporting it to MP4/H.264 and setting VCL media player to "normal repeat" it discover this black frame at the end, how fucking annoying.
>>
>> It also display a stupid title at the start... haha.
>>
>> There were also other playback issues when exporting/saving with virtualdub to avi/internal dib decoder fails to decompress it or whatever..
>>
>> There are so many issues with all of these software packages, shame on you video editor makers, test it better, make it better !
>>
>> I have no time to register at VCL forum.
>>
>> Reporting bugs should take 3 minutes anonymous.
>>
>> Somebody else report this at their motherfuckig forum, fucking idiots.
>>
>> Bye,
>>    Skybuck.
>>
>
> It's possible you need to prepare your video a different way.

Let's say your current video consists of four frames.

1 2 3 4

And you want it to play forwards, then backwards. You could make
two folders with the movie in it. One with images 1 2 3 4.
The second with images 4 3 2 1

1 2 3 4 4 3 2 1

Now, if I renumber the files in the right-hand folder, it looks like this.

1 2 3 4 5 6 7 8

Then, using FFMPEG again, you can convert all eight images, into a video.
The video only plays in the forward direction, but looks like it is going
forward and backward. If you put it into a loop playing forward over and over
again, it looks like this.

1 2 3 4 4 3 2 1 1 2 3 4 4 3 2 1 1 2 3 4 4 3 2 1

In other words, by doing nothing more than rearranging some frames,
the video needs no special properties at all. It just needs a renaming script.

I didn't do the soundtrack here, just made a movie out of a folder full
of image frames. a0000.jpg up to a9999.jpg .

ffmpeg -r 24 -i a%04d.jpg -s 720x480 -c:v libx264 -preset slow -movflags +faststart movie.mp4

Paul

Skybuck Flying

unread,
Aug 13, 2022, 8:25:24 PM8/13/22
to
This is more or less what I did... removing the middle frame.

I used ms-dos command dir and output it via a pipe command into a file... and used sorting and negative sorting ! =D

Then copy & pasted and renamed the files manually... still faster than writing a special program for it I guess.

Checked all frames with virtual dub... somehow managed to glue them together into a video, can't remember which tool was used... maybe virtual dub... think so...

AVI takes some time to load... can cause some stutter but eventually it will play smooth.

VCL media player has a repeat button that can be processed to make it repeat.

This repeat mode is necessary to keep the video playing endlessly.

This is where VCL media player fails to be a nice repeat player... it inserts a black frame at the end !

Try yourself with AVI and H.264 code and let me know the results ! =D

Black frame or no black frame at end when playing with VCL media player, also what version of VCL media player ! ;) =D

Bye,
Skybuck.


0 new messages