# Casparcg Recording Issue

**URL:** <https://casparcgforum.org/t/casparcg-recording-issue/6888>\
**Category:** General\
**Tags:** server\
**Created:** [November 5, 2024, 3:36am UTC](https://casparcgforum.org/t/casparcg-recording-issue/6888 "2024-11-05T03:36:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rakibhossen](https://casparcgforum.org/user_avatar/casparcgforum.org/rakibhossen/32/463_2.png) [@rakibhossen](https://casparcgforum.org/u/rakibhossen)\
**Post date:** [November 5, 2024, 3:36am UTC](https://casparcgforum.org/t/casparcg-recording-issue/6888/1 "2024-11-05T03:36:41Z")

</div>

When I record a file XDCAMHD422, DNXHD, or h264, The file records successfully.  
After recording the file, while checking the file with VLC, the duration of the file is almost half. and its play like 2x speed I try different player but result is same.  
I try with server version 2.07 it works fine only DNXHD. But DNXHD record file bitrate is too high 185 Mbps also unable to set bitrate with DNXHD

It should Record files normally like any other ingest system.  
should record files with any codec like Adobe Premiere Pro, OBS, Vmix, and other recording software.  
Should record file without any issue and able to set bitrate or set recording profile

Steps to reproduce  
Play Any clip from clip list “PLAY 1-1 Filename\_in\_mediadirectory”  
Record the file using the command “ADD 1 FILE “Output.mov” -vcodec dnxhd45 -preset ultrafast -tune fastdecode\r\n”  
I use this command to record XDCAM “ADD 1 FILE “Test 422.mxf” -b:v 50000000 -codec:a pcm\_s24le -codec:v mpeg2video -filter:v format=yuv422p,tinterlace=4 -alternate\_scan:v 1 -g:v 12 -bf:v 2 -minrate:v 50000k -maxrate:v 50000k -color\_primaries:v bt709 -color\_trc:v 1 -colorspace:v 1”  
Check the file using vlc or any other player or editing software

same issue facing with UDP Stream on casparcg.  
kindly see the uploaded video  
[https://drive.google.com/drive/folders/1acPTX6tUWi36C5-W\_U9D3zahv2YTJ0HN?usp=sharing](https://drive.google.com/drive/folders/1acPTX6tUWi36C5-W_U9D3zahv2YTJ0HN?usp=sharing)

 ![Capture](https://casparcgforum.org/uploads/default/original/2X/d/d351d97eade705b1b2114d652c735786eef36790.png)

---

<div class="post-metadata">

**Author:** ![didikunz](https://casparcgforum.org/user_avatar/casparcgforum.org/didikunz/32/7_2.png) [@didikunz](https://casparcgforum.org/u/didikunz)\
**Post date:** [November 8, 2024, 4:17pm UTC](https://casparcgforum.org/t/casparcg-recording-issue/6888/2 "2024-11-08T16:17:03Z")

</div>

Hi,

please post this in the forum, I don’t know much about recording with Caspar, I do HTML templates and such stuff mostly.

---

<div class="post-metadata">

**Author:** ![rakibhossen](https://casparcgforum.org/user_avatar/casparcgforum.org/rakibhossen/32/463_2.png) [@rakibhossen](https://casparcgforum.org/u/rakibhossen)\
**Post date:** [November 21, 2024, 7:01pm UTC](https://casparcgforum.org/t/casparcg-recording-issue/6888/3 "2024-11-21T19:01:58Z")

</div>

I finally found the solution.  
Today, I tried using another machine. I recorded the file using this command

`ADD 1 FILE “Test stereo feed.mxf” -b:v 35000000 -codec:a pcm_s24le -codec:v mpeg2video -filter:v interlace,zscale=rangein=full:range=limited:primaries=709:transfer=709:matrix=709,format=yuv420p -alternate_scan:v 1 -g:v 12 -bf:v 2 -minrate:v 35000k -maxrate:v 35000k -color_primaries:v bt709 -color_trc:v 1 -colorspace:v 1 -filter:a pan=stereo|c0=c0|c1=c1`

& surprisingly the recorded file was no issue it was perfect.  
I tried to identify the issue finally I found that it was GPU, My previous systems did not have GPU, I disabled the GPU and tried to record the file the issue happened again & I confirmed that the issue was GPU.

Thanks everyone for helping me.

---

<div class="post-metadata">

**Author:** ![jcruz19](https://casparcgforum.org/letter_avatar_proxy/v4/letter/j/ee59a6/32.png) [@jcruz19](https://casparcgforum.org/u/jcruz19)\
**Post date:** [December 12, 2024, 12:37pm UTC](https://casparcgforum.org/t/casparcg-recording-issue/6888/4 "2024-12-12T12:37:34Z")

</div>

Hi @rakibhossensweet, I have the same problem you had, I have tried many things but they have not worked for me, I still have the same problem. my computer has a GeForce GTX 1050 TI nvdia graphics card, but when recording always uses the CPU and not the GPU, I would like you to help me either by sending me your casparcg settings, commands, etc… beforehand, thank you very much.

---

<div class="post-metadata">

**Author:** ![rakibhossen](https://casparcgforum.org/user_avatar/casparcgforum.org/rakibhossen/32/463_2.png) [@rakibhossen](https://casparcgforum.org/u/rakibhossen)\
**Post date:** [December 16, 2024, 8:28pm UTC](https://casparcgforum.org/t/casparcg-recording-issue/6888/5 "2024-12-16T20:28:07Z")

</div>

> [@rakibhossen](#):
>
> When I record a file XDCAMHD422, DNXHD, or h264, The file records successfully.  
> After recording the file, while checking the file with VLC, the duration of the file is almost half. and its play like 2x speed I try different player but result is same.  
> I try with server version 2.07 it works fine only DNXHD. But DNXHD record file bitrate is too high 185 Mbps also unable to set bitrate with DNXHD
> 
> It should Record files normally like any other ingest system.  
> should record files with any codec like Adobe Premiere Pro, OBS, Vmix, and other recording software.  
> Should record file without any issue and able to set bitrate or set recording profile
> 
> Steps to reproduce  
> Play Any clip from clip list “PLAY 1-1 Filename\_in\_mediadirectory”  
> Record the file using the command “ADD 1 FILE “Output.mov” -vcodec dnxhd45 -preset ultrafast -tune fastdecode\r\n”  
> I use this command to record XDCAM “ADD 1 FILE “Test 422.mxf” -b:v 50000000 -codec:a pcm\_s24le -codec:v mpeg2video -filter:v format=yuv422p,tinterlace=4 -alternate\_scan:v 1 -g:v 12 -bf:v 2 -minrate:v 50000k -maxrate:v 50000k -color\_primaries:v bt709 -color\_trc:v 1 -colorspace:v 1”  
> Check the file using vlc or any other player or editing software
> 
> same issue facing with UDP Stream on casparcg.  
> kindly see the uploaded video

Sorry @jcruz19 for my late reply.  
Would you share the startup screen of Caspar server?  
You can also find in the console screen is the server detects NVIDIA graphics card .  
I also use the same Nvidia 1050 TI Graphics card, and it works fine.  
If any help is needed you can contact me on WhatsApp at +8801774275468.

 ![Caspar](https://casparcgforum.org/uploads/default/original/2X/4/4e8e4cae607fc08d422993d25e1fa8100cac3c14.png)

 ![Caspar-2.33 lts](https://casparcgforum.org/uploads/default/original/2X/3/39c4fad70033bca5eee1ec7b0726d781fecc9392.png)
