News:

--

Main Menu

Slideshow on certain TS files

Started by IcePlanet, June 15, 2025, 10:38:22 AM

Previous topic - Next topic

IcePlanet

From recent update Avidemux was working perfectly for me, but now I have some 'strange' TS files (recorded by satelite receiver) where after encoding slideshow is present instead of video. When I cut out 1min section it encodes correctly and all is OK.

Attached are 3 media info files:
1. Original TS
2. Resulting MKV slideshow

Also I uploaded 2 packages to wetransfer, one is the small one min file that encodes correctly, second is complete packet that encodes to slideshow.

Please let me know if I'm doing something wrong, or how to change the parameters. The encoding process finished correctly.


Geo_log

Quote from: IcePlanet on June 15, 2025, 10:38:22 AMsecond is complete packet that encodes to slideshow
Here is the result of your script executed on Avidemux 2.8.2 (241214_-fflibs 7.0.2-VC++).

eumagga0x2a

Cannot reproduce the issue with the current git master either.

IcePlanet

What I'm doing wrong? I believe to have the latest version installed (250526_b008a4d7098-fflibs 7.0.2-VC++).
Have tried multiple times also with other versions 281 - release, 241212_ce994de41a6) and always getting the same result.
Same py file, tried multiple times, in fact now before posting again to make sure it was not my mistake to use 'old' version.
Was comparing the resulting files and see that 250526 has resulting audio bitrate 76.7 kb/s and file size is 176878038, 241212 has resulting audio bitrate 42.3 kb/s and file size 166012900, version from @Geo_log has 40.6 kb/s and file size 165250253. But I do not believe this is the reason. There is no other difference.

Any ideas what I should try more?

IcePlanet

To make sure tested with 241214 encoding finished now and got the same slideshow. Seems like error is on my side, but can not find it.

IcePlanet

FOUND IT - For unknown reasons there was in HW Accel ticked "Decode video using DXVA2 (windows)". After removing the tick it worked perfectly.
I do not remember changing this settings, but it was obviously changed by me for reasons that I also do not remember. Thank you for all the checks and sorry for wasting of your time.

eumagga0x2a

#6
Quote from: IcePlanet on June 16, 2025, 10:07:55 PMFor unknown reasons there was in HW Accel ticked "Decode video using DXVA2 (windows)". After removing the tick it worked perfectly.

Using hw decoder is normally very beneficial for the efficiency of any processing (and VDPAU on Linux/NVIDIA works with your sample), but it looks like field-encoded source video stream poses a problem for the hw accel infrastructure of the graphics driver on your system. Could you please provide admlog.txt from just launching Avidemux to get an idea of the graphics card and driver in use?

You don't need to run encoding to verify the issue, just enable filtered video playback in Avidemux.

eumagga0x2a

Quote from: eumagga0x2a on Today at 06:01:49 AMYou don't need to run encoding to verify the issue, just enable filtered video playback in Avidemux.

Actually, just play the source video back in Avidemux, no matter filtered or not. The "slideshow" happens obviously already at the stage of decoding the video stream.

Anyway, I cannot reproduce the issue on Windows 11 with 250526_b008a4d7098-fflibs 7.0.2-VC++ and DXVA2 hw decoding enabled either. Same with my local cross-compiled build off the latest git master.

The problems you experience with DXVA2 decoding enabled are probably a result of some limitation of the graphics card hw or graphics driver on your system.