Skip to content

Video seek not working on chrome #559

Open
@kashif-somthinglogical

Description

@kashif-somthinglogical

I am using the following code to transcode the video file to mp4

var result = await FFMpegArguments
            .FromFileInput(pathToVideoFile)
            .OutputToFile(outputPath, true, options => options
                .WithVideoCodec(VideoCodec.LibX264)
                .WithConstantRateFactor(21)
                .WithAudioCodec(AudioCodec.Aac)
                .WithVideoFilters(filterOptions => filterOptions
                    .Scale(VideoSize.FullHd))
                .WithDuration(mediaInfo.Duration)
                .WithFastStart()
                .ForceFormat(format))
            .NotifyOnProgress(progress => LogProgress(videoId, pathToVideoFile, format, progress, stopwatch, ref lastLoggedMinute), mediaInfo.Duration)
            .ProcessAsynchronously();

while the code works and videos are played fine on all browsers, the video seek doesn't work on chrome, it works fine on other browsers. Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions