You could try this ffmpeg command:
ffmpeg -i file.mpg -vcodec copy -bsf:v h264_mp4toannexb 00001.ts
Do you have to replay the VDR files with a FF-card or xinelib frontend?
With xinelib this ts files should work.
BR,
Stephan.
--
https://www.loescher-online.de/
Am 07.01.25 um 8:10 PM schrieb Marko Mäkelä:
> I got some video files in MPEG PS format.
>
> These files would not play in VDR even if put them in directories named
> after timestamps and name them 00001.ts. The command vdr --genindex
> fails to create any index file.
>
> However, if I first convert them to MPEG TS format with
>
> ffmpeg -i file.mpg -c copy 00001.ts
>
> then VDR will recognize and play the files (but report at least one
> error per second).
>
> I was wondering if there is a way to play MPEG PS recordings in VDR, or
> a FUSE program that would make the recordings appear as something that
> VDR recognizes. If I understand correctly, the MPEG PES format that VDR
> originally used (the 001.vdr files) is kind of a subset of the PS format.
>
> If possible, I'd like to avoid any such conversion, at most add some
> index files for VDR playback.
>
> I found
https://github.com/vdr-projects/vdr-plugin-dvd which should be
> able to deal with the video format (DVD uses MPEG PS), but I suppose it
> would only work with an actual DVD (if it is compatible with a current
> VDR version).
>
> Marko